summaryrefslogtreecommitdiffstats
path: root/tests/component (unfollow)
Commit message (Expand)AuthorFilesLines
2018-07-20applypatch: Change applypatch command-line arguments.Tao Bao1-191/+107
2018-07-11Remove the debug code for bspatch flakinessTianjie Xu1-66/+2
2018-07-10updater: Let read_file() return Value::Type::STRING.Tao Bao1-0/+23
2018-07-10edify: Rename parse_string to ParseString and let it take std::string.Tao Bao2-69/+66
2018-07-10edify: Remove VAL_INVALID and move ValueType into Value class.Tao Bao1-2/+2
2018-07-10applypatch: Restrict applypatch_check to eMMC targets.Tao Bao1-1/+3
2018-07-09updater: Remove the support for sha1_check().Tao Bao1-33/+28
2018-07-07updater: Add ABORT command.Tao Bao1-3/+10
2018-07-06tests: Split unit tests out of component/applypatch_test.cpp.Tao Bao1-268/+4
2018-06-19Drop the dependency on AB_OTA_UPDATER flag.Tao Bao1-89/+85
2018-06-07updater: Remove the redundant check on line count.Tao Bao1-2/+21
2018-06-04tests: Add ResumableUpdaterTest.Tao Bao1-0/+227
2018-05-25tests: Setup last_command_file for UpdaterTest.Tao Bao1-13/+15
2018-05-24Convert deflate image chunks to raw if the raw data is smallerTianjie Xu1-32/+75
2018-05-24tests: Refactor the common lines in UpdaterTest.Tao Bao1-286/+182
2018-05-04otautil: Rename dir/sys/thermal utils.Tao Bao2-3/+3
2018-04-26Rename CacheLocation to Paths.Tao Bao2-13/+12
2018-04-26Dump the uncompressed data's SHA1 to debug flaky testsTianjie Xu1-2/+52
2018-04-24Dump debug information for apply_patch unit testsTianjie Xu1-1/+12
2018-04-20Make update_verifier generic across verified boot versions.Tao Bao1-5/+4
2018-04-19applypatch: Dump patch info on mismatching patching result.Tao Bao1-0/+5
2018-04-16tests: Move ResourcesTest into component test.Tao Bao1-0/+120
2018-04-13Remove the old log files if cache space is insufficient for OTATianjie Xu1-0/+129
2018-03-23update_verifier: Support verifying product partition.Tao Bao1-2/+1
2018-03-20tests: Split ApplyPatchModesTest.PatchModeEmmcTarget.Tao Bao1-45/+74
2018-03-13tests: Add ApplyPatchModesTest.PatchModeEmmcTargetWithBsdiffPatch test.Tao Bao1-0/+51
2018-02-28Add a singleton CacheLocation to replace the hard coded locationsTianjie Xu2-9/+17
2018-02-23Remove the assumption of target chunk size in imgdiffTianjie Xu1-0/+101
2018-02-07Log the last command to cacheTianjie Xu1-0/+217
2017-11-04Clean up fuse_sideload and add a testcase.Tao Bao1-4/+66
2017-11-03Switch to bionic gtest in bootable/recoveryTianjie Xu3-235/+135
2017-11-02tests: Clean up the files in TemporaryDir.Tao Bao1-5/+9
2017-11-01Fix the size mismatch in imgdiffTianjie Xu1-50/+27
2017-10-26tests: Take the ownership of the FD when calling fdopen.Tao Bao2-29/+29
2017-10-24Use SuffixArrayIndexInterface opaque type instead of the underlying data pointer.Alex Deymo1-1/+1
2017-10-20Finish the new data receiver when update failsTianjie Xu1-87/+133
2017-10-16otautil: Move RangeSet implementation into rangeset.cpp.Tao Bao1-0/+1
2017-10-11Move rangeset.h and print_sha1.h into otautil.Tao Bao2-2/+2
2017-10-09Revert "Revert "Move error_code.h into otautil.""Tao Bao1-1/+1
2017-10-05Revert "Move error_code.h into otautil."Tao Bao1-1/+1
2017-10-04Move error_code.h into otautil.Tao Bao1-1/+1
2017-09-21Output split information for imgdiff when handling large apksTianjie Xu1-8/+40
2017-09-13Fix the dangling pointer when setting up arguments of imgdiffTianjie Xu1-6/+9
2017-09-11Close cmd_pipe properly after updater test finishesTianjie Xu1-8/+14
2017-09-06Improve imgdiff for large zip filesTianjie Xu1-5/+334
2017-08-29Turn on -Wall for recovery modulesTianjie Xu1-8/+0
2017-08-22Allow comparison against multi serial nums for A/B packageTianjie Xu1-13/+58
2017-07-24tests: Add a test to cover legacy care_map.txt handling.Tao Bao1-0/+13
2017-07-24tests: Add a test to cover legacy care_map.txt handling.Tao Bao1-0/+13
2017-07-22Fix a case when brotli writer fails to write last few blocks of dataTianjie Xu1-4/+15
2017-07-21Fix a case when brotli writer fails to write last few blocks of dataTianjie Xu1-4/+15
2017-07-19Fix the android-cloexec-* warnings in bootable/recoveryTianjie Xu1-2/+2
2017-07-08Add support to decompress brotli compressed new dataTianjie Xu1-0/+67
2017-07-07Fix a rare failure for imgdiff when random data equals gzip headerTianjie Xu1-0/+33
2017-06-23Remove the obsolete package_extract_dir() testTianjie Xu1-96/+0
2017-06-23update_verifier: Support AVB.David Zeuthen1-1/+1
2017-05-24update_verifier: Support AVB.David Zeuthen1-1/+1
2017-05-16Print SHA1 of the patch if bsdiff fails with data errorTianjie Xu1-0/+39
2017-05-08Add a binary path param to update_binary_command().Tao Bao1-10/+74
2017-05-03fuse_sideload: Change the minimal block size to 4096.Tao Bao1-2/+17
2017-05-02Move sysMapFile and sysReleaseMap into MemMapping class.Tao Bao2-3/+3
2017-04-27Separate libupdate_verifier module and add testcases.Tao Bao1-0/+83
2017-04-26applypatch: Remove the obsolete support for "applypatch -s".Tao Bao1-14/+0
2017-04-24Add more tests for verify_package_compatibility().Tao Bao1-0/+84
2017-04-21tests: Remove obsolete classes in applypatch_test.Tao Bao1-49/+2
2017-04-20Add more tests for verify_package_compatibility().Tao Bao1-0/+84
2017-04-19Add tests for read_metadata_from_package().Tao Bao1-0/+50
2017-04-19Add tests for update_binary_command().Tao Bao1-0/+87
2017-04-18Add tests for update_binary_command().Tao Bao1-0/+87
2017-04-13Verify the package compatibility with libvintf.Tao Bao1-0/+57
2017-04-12Verify the package compatibility with libvintf.Tao Bao1-0/+57
2017-04-08Abort the update if there's not enough new dataTianjie Xu1-0/+66
2017-04-05tests: Use get_bootloader_message_blk_device() to find /misc.Tao Bao2-6/+4
2017-03-29Fix the bad merge (duplicate tests).Tao Bao1-45/+0
2017-03-28tests: Add a test for --wipe_ab into UncryptTest.Tao Bao1-103/+82
2017-03-28applypatch: Let Apply{BSDiff,Image}Patch accept std::function.Tao Bao1-56/+24
2017-03-28applypatch: Change the ssize_t length parameters to size_t.Tao Bao1-1/+1
2017-03-28tests: Construct two bad packages at runtime for VerifierTest.Tao Bao1-3/+46
2017-03-28tests: Construct two bad packages at runtime for VerifierTest.Tao Bao1-3/+46
2017-03-27tests: Construct signature-boundary.zip at runtime.Tao Bao1-2/+18
2017-03-23updater: Fix the broken case for apply_patch_check().Tao Bao1-0/+49
2017-03-22Remove malloc in edify functionsTianjie Xu2-3/+5
2017-03-18Add testcases for load_keys().Tao Bao1-0/+57
2017-03-17Drop the dependency on 'ui' in verify_file().Tao Bao1-105/+46
2017-03-17Drop the dependency on 'ui' in verify_file().Tao Bao1-104/+45
2017-03-17Add a test to perform block_image_updateTianjie Xu1-5/+115
2017-03-16More cleanup to imgdiff & imgpatchTianjie Xu1-4/+5
2017-03-16applypatch: Drop the support for patching non-EMMC targets.Tao Bao1-124/+0
2017-03-13updater: Remove some obsoleted functions for file-based OTA.Tao Bao1-113/+0
2017-03-07Refractor the code for imgdiffTianjie Xu1-0/+56
2017-03-03Fix an error on bootloadermessager test teardownTianjie Xu1-2/+4
2017-03-03Recovery Test: add SideloadTest to test FUSE support on targetWei Wang1-0/+21
2017-03-01Skip BootloaderMessageTest, UncryptTest for devices without /miscTianjie Xu2-3/+61
2017-01-06tests: Add testcase for show_progress() and set_progress().Tao Bao1-0/+50
2017-01-04recovery: Fix the broken UI text.Tao Bao1-32/+38
2016-12-28imgdiff: Fix an edge case that leads to infinite loop.Tao Bao1-0/+80
2016-12-20Add tests for imgdiff.Tao Bao1-0/+448
2016-12-17Add a checker for signature boundary in verifierTianjie Xu1-1/+2
2016-12-15Add update_bootloader_message() to fix two-step OTAs.Tao Bao1-0/+26
2016-12-15tests: Add tests for bootloader_message.Tao Bao1-0/+139
2016-12-14Add tests for setup-bcb and clear-bcb via uncrypt.Tao Bao1-0/+174
2016-12-13Add a stub recovery UI.Sen Jiang1-1/+1
2016-11-22tests: Add testcases for EMMC targets.Tao Bao1-31/+144
2016-11-18updater: Refactor set_stage() and get_stage() functions.Tao Bao1-0/+59
2016-11-18updater: Add testcase for package_extract_dir().Tao Bao1-0/+96
2016-11-17updater: Add "write_value()" function.Tao Bao1-0/+33
2016-11-16updater: Fix the wrong return value for package_extract_file().Tao Bao1-17/+75
2016-11-15updater: Fix the wrong return value for package_extract_file().Tao Bao1-17/+75
2016-11-09updater: Add more testcase for symlink().Tao Bao1-6/+39
2016-11-08Make make_parent() to take const argumentTianjie Xu1-0/+22
2016-11-04updater: Add a testcase for RenameFn().Tao Bao1-0/+29
2016-11-04updater: Fix a bug in DeleteFn().Tao Bao1-0/+33
2016-11-03updater: Fix an off-by-1 bug in file_getprop().Tao Bao1-0/+50
2016-11-03tests: Set up testdata path for continuous native tests.Tao Bao2-16/+2
2016-11-01applypatch: Add testcases for applypatch executable.Tao Bao1-256/+322
2016-10-29applypatch: Switch the parameter of Value** to std::vector.Tao Bao1-126/+138
2016-10-19Add a unit test for applypatch_checkTianjie Xu1-0/+5
2016-10-18Replace minzip with libziparchiveTianjie Xu1-1/+2
2016-10-15Change StringValue to use std::stringTianjie Xu3-81/+67
2016-10-13edify: Some clean-ups to libedify.Tao Bao2-6/+23
2016-10-11updater: Kill the duplicate PrintSha1() in install.cpp.Tao Bao1-7/+36
2016-10-11Refactor libupdater into a seperate module.Tao Bao1-0/+71
2016-10-05edify: Move State.script and State.errmsg to std::string.Tao Bao1-6/+1
2016-10-04edify: Move State.script and State.errmsg to std::string.Tao Bao1-6/+1
2016-10-04edify: Move the testcases to gtest.Tao Bao1-0/+156
2016-08-26Fix clang-tidy warnings in bootable/recovery.Chih-Hung Hsieh1-1/+1
2016-08-01Clean up verifier testcases.Tao Bao1-41/+26
2016-04-29Add ability to show "installing security update"Tianjie Xu1-0/+1
2016-04-14Use BoringSSL instead of mincrypt to speed up package verification.Elliott Hughes1-108/+23
2016-04-06Convert recovery to use BoringSSL instead of mincrypt.Mattias Nissler1-108/+23
2016-03-12Port applypatch.sh tests to recovery_component_testsJed Estep2-6/+393
2016-02-22Fix verifier test base testdata directory after merge conflictJed Estep1-1/+1
2016-02-05Change on-device directory for recovery test dataJed Estep1-1/+1
2016-02-05verifier_test: Suppress the unused parameter warnings.Tao Bao1-8/+9
2016-02-04Refactor existing tests to use gtestJed Estep1-0/+267