summaryrefslogtreecommitdiffstats
path: root/tests (unfollow)
Commit message (Expand)AuthorFilesLines
2018-10-29Clean up the zipfile creation in InstallTestTianjie Xu1-99/+40
2018-10-25Remove the load_keys functionTianjie Xu1-75/+9
2018-10-25Add sanity check when loading public keys for OTA packageTianjie Xu1-0/+32
2018-10-23Add a function to construct the GRSurface in testTianjie Xu1-3/+14
2018-10-23ui: Add constness to Draw- functions.Tao Bao1-9/+9
2018-10-23minui: Move GRSurface into a class.Tao Bao1-0/+32
2018-10-23Add function to show localized rescue party menuTianjie Xu1-0/+37
2018-10-18Load X509 keys from ziparchiveTianjie Xu1-7/+84
2018-10-13Implement the graphic menusTianjie Xu1-14/+45
2018-10-12Add function to load the key from x509.pem fileTianjie Xu1-0/+84
2018-10-05Compare the fingerprint before reading the partitionTianjie Xu1-15/+87
2018-10-02Reland: "recovery_test_component: Add libbinderthreadstate as static Jayant Chowdhary1-1/+2
2018-10-01Move to new isolation test runner.Christopher Ferris1-7/+4
2018-09-28Revert "recovery_test_component: Add libbinderthreadstate as static dependency."Remi NGUYEN VAN1-2/+1
2018-09-27recovery_test_component: Add libbinderthreadstate as static dependency.Jayant Chowdhary1-1/+2
2018-09-21Refactor update_verifier into a classTianjie Xu1-23/+40
2018-09-13Move the parse of last_install to recovery-persistTianjie Xu1-0/+75
2018-08-31applypatch: {Load,Save}FileContents return bool values.Tao Bao1-5/+5
2018-08-31applypatch: Refactor applypatch().Tao Bao2-99/+101
2018-08-28Remove otafaultTianjie Xu2-2/+1
2018-08-20tests: Remove {old,new}.file.Tao Bao4-50/+55
2018-08-17updater: Add TransferList class.Tao Bao2-10/+68
2018-08-16updater: Add SourceInfo::{ReadAll,DumpBuffer,Overlaps}.Tao Bao1-0/+116
2018-08-16Fixing the Mac SDK buildAndreas Huber1-0/+7
2018-08-16tests: Add the missing tests in applypatch_modes_test.cpp.Tao Bao1-19/+2
2018-08-15tests: Move to Android.bp.Tao Bao8-235/+220
2018-08-14Track the change to update_engine_sideload path.Tao Bao1-1/+1
2018-08-14Add the hash_tree_info class in CommandTianjie Xu1-0/+20
2018-08-14recovery uses IHealth::getServiceYifan Hong1-13/+0
2018-08-13Reland "Build and use minadbd as a shared library."Tao Bao1-2/+0
2018-08-13updater: Move libupdater to Soong.Tao Bao1-5/+5
2018-08-13tests: Create res-testdata for testdata pickup.Tao Bao7-5/+11
2018-08-08Revert "Build and use minadbd as a shared library."Tao Bao1-1/+1
2018-08-07Build and use minadbd as a shared library.Tao Bao1-1/+1
2018-08-06Dynamically load device-specific recovery UI lib.Tao Bao1-1/+1
2018-08-06Add an updater function to compute hash treeTianjie Xu3-0/+83
2018-07-30recovery: Add ability to interrupt UIJerry Zhang1-1/+38
2018-07-25Add proto3 support for care_mapTianjie Xu2-20/+96
2018-07-23Revert "Make recovery libraries shared / recovery_available"Hridya Valsaraju1-7/+0
2018-07-20applypatch: Change applypatch command-line arguments.Tao Bao1-191/+107
2018-07-20Make recovery libraries shared / recovery_availableJerry Zhang1-0/+7
2018-07-17Fix the arguments passed to getopt_long(3).Tao Bao1-0/+10
2018-07-12tests: Clean up the temporary dirs post-run.Tao Bao2-21/+22
2018-07-12applypatch: Fix the return type of FreeSpaceForFile().Tao Bao1-6/+18
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 Bao2-86/+50
2018-07-09updater: Remove the support for sha1_check().Tao Bao1-33/+28
2018-07-07updater: Add ABORT command.Tao Bao2-3/+34
2018-07-06tests: Split unit tests out of component/applypatch_test.cpp.Tao Bao3-289/+331
2018-06-25updater: Check the number of args in Command::Parse.Tao Bao1-0/+25
2018-06-25updater: Add Command parsing codes.Tao Bao2-0/+277
2018-06-19Drop the dependency on AB_OTA_UPDATER flag.Tao Bao2-93/+85
2018-06-14tests: Skip ScreenRecoveryUITest on gr_init failure.Tao Bao1-1/+38
2018-06-07updater: Remove the redundant check on line count.Tao Bao1-2/+21
2018-06-06ui: join only if joinable.Tao Bao1-0/+5
2018-06-05tests: Specify the death test style to avoid flakiness.Tao Bao2-0/+5
2018-06-04tests: Add ResumableUpdaterTest.Tao Bao1-0/+227
2018-05-26updater: Add Commmand class to manage BBOTA commands.Tao Bao2-0/+38
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 Xu3-32/+75
2018-05-24tests: Refactor the common lines in UpdaterTest.Tao Bao1-286/+182
2018-05-22ui: Use std::thread to create input/progress threads.Tao Bao1-2/+10
2018-05-17Move stuff from recovery into librecovery.Tao Bao1-1/+1
2018-05-17Move stuff from recovery into librecovery.Tao Bao1-2/+14
2018-05-14wear_ui: Address a TODO regarding {intro,loop}_frames.Tao Bao1-3/+53
2018-05-12Clean up the Makefile for recovery and tests.Tao Bao1-28/+71
2018-05-09screen_ui: Fix an issue in RTL locale detection.Tao Bao1-1/+1
2018-05-09tests: Add tests for ScreenRecoveryUI.Tao Bao4-0/+168
2018-05-04otautil: Rename dir/sys/thermal utils.Tao Bao5-8/+8
2018-05-03Move menu headers/items to std::vector<std::string>.Tao Bao1-12/+15
2018-05-03screen_ui: Merge Menu::Start() into its ctor.Tao Bao1-21/+7
2018-04-28Merge libmounts into libotautil.Tao Bao1-1/+0
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 Bao2-13/+4
2018-04-19applypatch: Dump patch info on mismatching patching result.Tao Bao1-0/+5
2018-04-16tests: Move ResourcesTest into component test.Tao Bao3-101/+126
2018-04-14Expose PngHandler via resources.h.Tao Bao1-95/+55
2018-04-13Remove the old log files if cache space is insufficient for OTATianjie Xu1-0/+129
2018-04-02tests: Pick up testdata with LOCAL_TEST_DATA.Tao Bao4-62/+25
2018-03-24Factor out a menu class for screen uiTianjie Xu2-1/+201
2018-03-24Factor out a menu class for screen uiTianjie Xu2-1/+201
2018-03-23update_verifier: Support verifying product partition.Tao Bao1-2/+1
2018-03-23update_verifier: Support verifying product partition.Tao Bao1-2/+1
2018-03-20tests: Split ApplyPatchModesTest.PatchModeEmmcTarget.Tao Bao1-45/+74
2018-03-20tests: Add ApplyPatchModesTest.PatchModeEmmcTargetWithBsdiffPatch test.Tao Bao1-0/+51
2018-03-13recovery: add libhidl-gen-utils depedencyYifan Hong1-0/+1
2018-03-13tests: Add ApplyPatchModesTest.PatchModeEmmcTargetWithBsdiffPatch test.Tao Bao1-0/+51
2018-03-08recovery: add libhidl-gen-utils depedencyYifan Hong1-0/+1
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-12-20StartsWith allows a std::string prefix now.Elliott Hughes1-1/+1
2017-11-09Load-balancing update_verifier worker threads.Tao Bao1-0/+80
2017-11-07otautil: Remove the aborts in RangeSet::Parse().Tao Bao1-14/+64
2017-11-04Clean up fuse_sideload and add a testcase.Tao Bao1-4/+66
2017-11-03Switch to bionic gtest in bootable/recoveryTianjie Xu4-238/+142
2017-11-02tests: Clean up the files in TemporaryDir.Tao Bao1-5/+9
2017-11-01Add libbrotli as a dependency for libbsdiffTianjie Xu1-0/+1
2017-11-01Fix the size mismatch in imgdiffTianjie Xu4-53/+36
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 Bao4-4/+5
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-29otafault: Remove the use of LOCAL_WHOLE_STATIC_LIBRARIES.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 Xu2-11/+4
2017-08-22Allow comparison against multi serial nums for A/B packageTianjie Xu1-13/+58
2017-08-19Move Image/ImageChunk/PatchChunk declaration into header filesTianjie Xu1-1/+1
2017-08-10tests: Add the missing dependency on libhidlbase.Tao Bao1-1/+2
2017-08-10tests: Add the missing dependency on libhidlbase.Tao Bao1-1/+2
2017-08-01Add implemention of SortedRangeSetTianjie Xu1-0/+47
2017-07-27otautil: Clean up dirCreateHierarchy().Tao Bao1-21/+11
2017-07-25otautil: Delete dirUnlinkHierarchy().Tao Bao1-32/+0
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 Xu2-3/+3
2017-07-08Add support to decompress brotli compressed new dataTianjie Xu2-0/+68
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 Zeuthen2-1/+5
2017-05-24update_verifier: Support AVB.David Zeuthen2-1/+5
2017-05-24kill package_extract_dirTianjie Xu3-229/+0
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 Bao2-2/+18
2017-05-02Move sysMapFile and sysReleaseMap into MemMapping class.Tao Bao4-41/+30
2017-04-27Separate libupdate_verifier module and add testcases.Tao Bao2-0/+89
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-20Call libvintf to verify package compatibility.Tao Bao1-0/+3
2017-04-19Call libvintf to verify package compatibility.Tao Bao1-0/+3
2017-04-19Add tests for read_metadata_from_package().Tao Bao1-0/+50
2017-04-19Add tests for update_binary_command().Tao Bao2-0/+92
2017-04-18Add tests for update_binary_command().Tao Bao2-0/+91
2017-04-13Verify the package compatibility with libvintf.Tao Bao2-1/+59
2017-04-12Verify the package compatibility with libvintf.Tao Bao2-1/+59
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 Bao3-49/+4
2017-04-03Change the internal representation in RangeSet.Tao Bao1-6/+34
2017-03-31Move parse_range() and range_overlaps() into RangeSet.Tao Bao2-0/+86
2017-03-30tests: Remove LOCAL_ADDITIONAL_DEPENDENCIES.Tao Bao1-4/+0
2017-03-29Add test config to minadbd_testDan Shi2-0/+33
2017-03-29Fix the bad merge (duplicate tests).Tao Bao1-45/+0
2017-03-29Merge "Add the missing sr-Latn into png files and rename the png locale header" am: 713d915636 am: dc235b5ab9Tianjie Xu1-10/+11
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 Bao3-3/+46
2017-03-28tests: Construct two bad packages at runtime for VerifierTest.Tao Bao3-3/+46
2017-03-27tests: Construct signature-boundary.zip at runtime.Tao Bao2-2/+18
2017-03-25Add the missing sr-Latn into png files and rename the png locale headerTianjie Xu1-10/+11
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-21Refactor asn1_decoder functions into a class.Tao Bao1-217/+180
2017-03-21verify_file: Add constness to a few addresses.Tao Bao1-14/+14
2017-03-18Add testcases for load_keys().Tao Bao1-0/+57
2017-03-18Remove the dead #include's in verifier.cpp.Tao Bao1-1/+0
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 Xu2-6/+123
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-10recovery: replacing fs_mgr_read_fstab() with new fs_mgr APIsBowgo Tsai1-12/+5
2017-03-07Refractor the code for imgdiffTianjie Xu2-0/+57
2017-03-03Fix an error on bootloadermessager test teardownTianjie Xu1-2/+4
2017-03-03Recovery Test: add SideloadTest to test FUSE support on targetWei Wang2-0/+22
2017-03-01Skip BootloaderMessageTest, UncryptTest for devices without /miscTianjie Xu3-3/+111
2017-02-02Use bspatch from external/bsdiff.Sen Jiang1-0/+2
2017-01-24Remove '_static' suffix from libext2* references.Alex Deymo1-1/+1
2017-01-19Add checkers and tests for empty locale in PNG fileTianjie Xu3-2/+167
2017-01-11Remove "_static" suffix from libsparseAlex Deymo1-1/+1
2017-01-11Remove "_static" suffix from libext4_utils.Alex Deymo1-1/+1
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-22tests: Add test coverage for DirUtil.Tao Bao2-0/+151
2016-12-22tests: Add testcase for ZipUtil.Tao Bao2-1/+193
2016-12-22tests: Replace the O_RDONLY in access(2).Tao Bao2-8/+16
2016-12-20Add tests for imgdiff.Tao Bao2-0/+477
2016-12-17Add a checker for signature boundary in verifierTianjie Xu2-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 Bao2-0/+140
2016-12-14Add tests for setup-bcb and clear-bcb via uncrypt.Tao Bao2-0/+176
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 Bao2-0/+61
2016-11-18updater: Add testcase for package_extract_dir().Tao Bao2-0/+98
2016-11-17updater: Add "write_value()" function.Tao Bao1-0/+33
2016-11-16updater: Fix the wrong return value for package_extract_file().Tao Bao4-20/+86
2016-11-15updater: Fix the wrong return value for package_extract_file().Tao Bao4-20/+86
2016-11-09updater: Add more testcase for symlink().Tao Bao1-6/+39
2016-11-08Move recovery_test.cpp out of unit testTianjie Xu3-92/+99
2016-11-08Make make_parent() to take const argumentTianjie Xu1-0/+22
2016-11-08otautil: Clean up SysUtil.cpp.Tao Bao2-6/+147
2016-11-07otautil: Clean up SysUtil.cpp.Tao Bao2-6/+147
2016-11-04tests: Fix unit/zip_test.cpp.Tao Bao1-59/+50
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 Bao4-31/+23
2016-11-01applypatch: Add testcases for applypatch executable.Tao Bao7-257/+324
2016-10-29applypatch: Switch the parameter of Value** to std::vector.Tao Bao1-126/+138
2016-10-26tests: Generate testdata for 2nd arch.Tao Bao1-1/+12
2016-10-19Add a unit test for applypatch_checkTianjie Xu1-0/+5
2016-10-18Replace minzip with libziparchiveTianjie Xu5-3/+104
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 Bao2-6/+93
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-04recovery: drop log/logger.hMark Salyzyn1-1/+0
2016-10-04edify: Move the testcases to gtest.Tao Bao2-0/+158
2016-09-30Turn on -Werror for recoveryTianjie Xu1-1/+2
2016-09-30Turn on -Werror for recoveryTianjie Xu1-1/+2
2016-09-01Switch recovery to libbase loggingTianjie Xu1-2/+3
2016-09-01Switch recovery to libbase loggingTianjie Xu1-2/+3
2016-09-01Switch recovery to libbase loggingTianjie Xu1-2/+3
2016-08-26Fix clang-tidy warnings in bootable/recovery.Chih-Hung Hsieh1-1/+1
2016-08-06Fix references to libcrypto_utils_static.Josh Gao1-2/+2
2016-08-01Clean up verifier testcases.Tao Bao21-41/+30
2016-06-16tests: Remove obsolete MTD support.Tao Bao1-1/+0
2016-06-16tests: Remove obsolete MTD support.Tao Bao1-1/+0
2016-06-16tests: Remove obsolete MTD support.Tao Bao1-1/+0
2016-04-29Add ability to show "installing security update"Tianjie Xu1-0/+1
2016-04-20Fix matches_locale functionTianjie Xu2-1/+34
2016-04-14Use BoringSSL instead of mincrypt to speed up package verification.Elliott Hughes5-109/+26
2016-04-06Convert recovery to use BoringSSL instead of mincrypt.Mattias Nissler5-109/+28
2016-03-31recovery: use __android_log_pmsg_file_write for log filesMark Salyzyn2-0/+94
2016-03-28recovery: use __android_log_pmsg_file_write for log filesMark Salyzyn2-0/+94
2016-03-12Port applypatch.sh tests to recovery_component_testsJed Estep7-8/+429
2016-02-22Fix verifier test base testdata directory after merge conflictJed Estep1-1/+1
2016-02-05Change on-device directory for recovery test dataJed Estep2-2/+2
2016-02-05verifier_test: Suppress the unused parameter warnings.Tao Bao1-8/+9
2016-02-04Refactor existing tests to use gtestJed Estep22-3/+413
2015-11-16recovery: Switch to clangTao Bao1-0/+1
2015-06-03recovery: Switch to clangTao Bao1-0/+1
2014-10-17More test makefile cleanup.Dan Albert1-24/+23
2013-10-10Add support for ECDSA signaturesKenny Root2-0/+264