summaryrefslogtreecommitdiffstats
path: root/tests/component (follow)
Commit message (Expand)AuthorAgeFilesLines
* Merge "Fix a case when brotli writer fails to write last few blocks of data" am: e45c8f0057 am: 80acaab52fTianjie Xu2017-07-221-4/+15
|\
| * Merge "Fix a case when brotli writer fails to write last few blocks of data"Tianjie Xu2017-07-211-4/+15
| |\
| | * Merge "Fix a case when brotli writer fails to write last few blocks of data"Tianjie Xu2017-07-211-4/+15
| | |\
| | | * Fix a case when brotli writer fails to write last few blocks of dataTianjie Xu2017-07-211-4/+15
* | | | Merge "Fix the android-cloexec-* warnings in bootable/recovery" am: 94a8ea1797 am: 6d8827e0d3Tianjie Xu2017-07-201-2/+2
|\| | |
| * | | Merge "Fix the android-cloexec-* warnings in bootable/recovery"Tianjie Xu2017-07-201-2/+2
| |\| |
| | * | Fix the android-cloexec-* warnings in bootable/recoveryTianjie Xu2017-07-191-2/+2
| | |/
* | | Merge "Add support to decompress brotli compressed new data" am: 918e6ea1b2 am: 43bdf6cad6Tianjie Xu2017-07-111-0/+67
|\| |
| * | Merge "Add support to decompress brotli compressed new data"Tianjie Xu2017-07-111-0/+67
| |\|
| | * Add support to decompress brotli compressed new dataTianjie Xu2017-07-081-0/+67
* | | Merge "Fix a rare failure for imgdiff when random data equals gzip header" am: b87a166a16 am: 8542502f1fTianjie Xu2017-07-071-0/+33
|\| |
| * | Merge "Fix a rare failure for imgdiff when random data equals gzip header"Tianjie Xu2017-07-071-0/+33
| |\|
| | * Fix a rare failure for imgdiff when random data equals gzip headerTianjie Xu2017-07-071-0/+33
* | | Merge "Remove the obsolete package_extract_dir() test" am: e916cca8a9 am: af913974a5Tianjie Xu2017-06-231-96/+0
|\| |
| * | Merge "Remove the obsolete package_extract_dir() test" am: e916cca8a9Tianjie Xu2017-06-231-96/+0
| |\|
| | * Merge "Remove the obsolete package_extract_dir() test"Tianjie Xu2017-06-231-96/+0
| | |\
| | | * Remove the obsolete package_extract_dir() testTianjie Xu2017-06-231-96/+0
* | | | Merge "update_verifier: Support AVB." am: e248e434ea am: 1f108dae49David Zeuthen2017-06-221-1/+1
|\| | |
| * | | Merge "update_verifier: Support AVB." am: e248e434eaDavid Zeuthen2017-06-221-1/+1
| |\| |
| | * | update_verifier: Support AVB.David Zeuthen2017-05-241-1/+1
| | |/
* | | Merge "Print SHA1 of the patch if bsdiff fails with data error" am: 1f9808bd48 am: 8f68accc9d am: 1562f41348Tianjie Xu2017-05-191-0/+39
|\| |
| * | Merge "Print SHA1 of the patch if bsdiff fails with data error" am: 1f9808bd48 am: 8f68accc9dTianjie Xu2017-05-191-0/+39
| |\|
| | * Print SHA1 of the patch if bsdiff fails with data errorTianjie Xu2017-05-161-0/+39
* | | Merge "Add a binary path param to update_binary_command()." am: 197304aada am: f648b5c9fc am: f49c57643dTao Bao2017-05-091-10/+74
|\| |
| * | Merge "Add a binary path param to update_binary_command()." am: 197304aada am: f648b5c9fcTao Bao2017-05-091-10/+74
| |\|
| | * Add a binary path param to update_binary_command().Tao Bao2017-05-081-10/+74
* | | Merge "fuse_sideload: Change the minimal block size to 4096." am: 4e8e56eaea am: 53b98de866 am: 6bea344d7eTao Bao2017-05-041-2/+17
|\| |
| * | Merge "fuse_sideload: Change the minimal block size to 4096." am: 4e8e56eaea am: 53b98de866Tao Bao2017-05-041-2/+17
| |\|
| | * Merge "fuse_sideload: Change the minimal block size to 4096."Tao Bao2017-05-041-2/+17
| | |\
| | | * fuse_sideload: Change the minimal block size to 4096.Tao Bao2017-05-031-2/+17
* | | | Merge "Move sysMapFile and sysReleaseMap into MemMapping class." am: fe7eecff4c am: 08d9ede8f2 am: b3eeb817abTao Bao2017-05-032-3/+3
|\| | |
| * | | Merge "Move sysMapFile and sysReleaseMap into MemMapping class." am: fe7eecff4c am: 08d9ede8f2Tao Bao2017-05-032-3/+3
| |\| |
| | * | Move sysMapFile and sysReleaseMap into MemMapping class.Tao Bao2017-05-022-3/+3
| | |/
* | | Merge "Separate libupdate_verifier module and add testcases." am: c99bb23955 am: d8c078d2c6 am: c7410924a3Tao Bao2017-04-271-0/+83
|\| |
| * | Merge "Separate libupdate_verifier module and add testcases." am: c99bb23955 am: d8c078d2c6Tao Bao2017-04-271-0/+83
| |\|
| | * Separate libupdate_verifier module and add testcases.Tao Bao2017-04-271-0/+83
* | | Merge "applypatch: Remove the obsolete support for "applypatch -s"." am: d5ae4253c1 am: 22b1fa7d61 am: 7ee4b7dd84Tao Bao2017-04-261-14/+0
|\| |
| * | Merge "applypatch: Remove the obsolete support for "applypatch -s"." am: d5ae4253c1 am: 22b1fa7d61Tao Bao2017-04-261-14/+0
| |\|
| | * applypatch: Remove the obsolete support for "applypatch -s".Tao Bao2017-04-261-14/+0
* | | Merge "Add more tests for verify_package_compatibility()." am: a9dd77fa84 am: 5f85d07e87 am: 54f8988cfeTao Bao2017-04-241-0/+84
|\| |
| * | Merge "Add more tests for verify_package_compatibility()." am: a9dd77fa84 am: 5f85d07e87Tao Bao2017-04-241-0/+84
| |\|
| | * Merge "Add more tests for verify_package_compatibility()."Tao Bao2017-04-241-0/+84
| | |\
| | | * Add more tests for verify_package_compatibility().Tao Bao2017-04-201-0/+84
* | | | Merge "tests: Remove obsolete classes in applypatch_test." am: f17aa960db am: 8a3325dc8a am: f4a8d0bba6Tao Bao2017-04-241-49/+2
|\| | |
| * | | Merge "tests: Remove obsolete classes in applypatch_test." am: f17aa960db am: 8a3325dc8aTao Bao2017-04-241-49/+2
| |\| |
| | * | tests: Remove obsolete classes in applypatch_test.Tao Bao2017-04-211-49/+2
| | |/
* | | Merge "Add tests for read_metadata_from_package()." am: e888d45950 am: c08c055ce0 am: 7b9b77f445Tao Bao2017-04-191-0/+50
|\| |
| * | Merge "Add tests for read_metadata_from_package()." am: e888d45950 am: c08c055ce0Tao Bao2017-04-191-0/+50
| |\|
| | * Add tests for read_metadata_from_package().Tao Bao2017-04-191-0/+50
* | | Merge "Add tests for update_binary_command()." am: 44f61b4ce5 am: 1fc109bdc7 am: d218dca8f9Tao Bao2017-04-191-0/+87
|\| |
| * | Merge "Add tests for update_binary_command()." am: 44f61b4ce5 am: 1fc109bdc7Tao Bao2017-04-191-0/+87
| |\|
| | * Add tests for update_binary_command().Tao Bao2017-04-181-0/+87
| | * Verify the package compatibility with libvintf.Tao Bao2017-04-131-0/+57
* | | Verify the package compatibility with libvintf. am: 62e0bc7586Tao Bao2017-04-131-0/+57
|\| |
| * | Verify the package compatibility with libvintf.Tao Bao2017-04-131-0/+57
| |\ \
| | * | Verify the package compatibility with libvintf.Tao Bao2017-04-121-0/+57
* | | | Merge "Abort the update if there's not enough new data" am: b4b0c49c48 am: bc66528cb9 am: 955c5ebeceTianjie Xu2017-04-101-0/+66
|\| | |
| * | | Merge "Abort the update if there's not enough new data" am: b4b0c49c48 am: bc66528cb9Tianjie Xu2017-04-101-0/+66
| |\ \ \ | | | |/ | | |/|
| | * | Abort the update if there's not enough new dataTianjie Xu2017-04-081-0/+66
* | | | Merge "tests: Use get_bootloader_message_blk_device() to find /misc." am: 3cd630a5a8 am: cc630bdde1 am: f25cd871ccTao Bao2017-04-052-6/+4
|\| | |
| * | | Merge "tests: Use get_bootloader_message_blk_device() to find /misc." am: 3cd630a5a8 am: cc630bdde1Tao Bao2017-04-052-6/+4
| |\| |
| | * | tests: Use get_bootloader_message_blk_device() to find /misc.Tao Bao2017-04-052-6/+4
* | | | Fix the bad merge (duplicate tests).Tao Bao2017-03-291-45/+0
* | | | resolve merge conflicts of 39ef2d7f to oc-dev-plus-aospTao Bao2017-03-291-0/+45
|\| | |
| * | | resolve merge conflicts of 39ef2d7f to oc-dev-plus-aospTao Bao2017-03-291-3/+46
| |\| |
| | * | Merge "tests: Construct two bad packages at runtime for VerifierTest."Tao Bao2017-03-291-3/+46
| | |\ \
| | | * | tests: Construct two bad packages at runtime for VerifierTest.Tao Bao2017-03-281-3/+46
* | | | | Merge "tests: Add a test for --wipe_ab into UncryptTest." am: 7b0cda5b37 am: c6df7d2937 am: 62a4e5ca98Tao Bao2017-03-291-103/+82
|\| | | |
| * | | | Merge "tests: Add a test for --wipe_ab into UncryptTest." am: 7b0cda5b37 am: c6df7d2937Tao Bao2017-03-291-103/+82
| |\| | |
| | * | | Merge "tests: Add a test for --wipe_ab into UncryptTest."Tao Bao2017-03-291-103/+82
| | |\ \ \
| | | * | | tests: Add a test for --wipe_ab into UncryptTest.Tao Bao2017-03-281-103/+82
| | | |/ /
* | | | | Merge "tests: Construct two bad packages at runtime for VerifierTest."Tao Bao2017-03-281-3/+46
|\ \ \ \ \ | |/ / / / |/| | | |
| * | | | tests: Construct two bad packages at runtime for VerifierTest.Tao Bao2017-03-281-3/+46
| | |_|/ | |/| |
* | | | Merge changes from topic 'sinkfn' am: 34df98ee6d am: 862b7e8523Tao Bao2017-03-281-56/+24
|\ \ \ \ | | |/ / | |/| |
| * | | applypatch: Let Apply{BSDiff,Image}Patch accept std::function.Tao Bao2017-03-281-56/+24
* | | | applypatch: Change the ssize_t length parameters to size_t. am: f7eb760fe7 am: d4d9ef3941Tao Bao2017-03-281-1/+1
|\| | | | |/ / |/| |
| * | applypatch: Change the ssize_t length parameters to size_t.Tao Bao2017-03-281-1/+1
| |/
* | tests: Construct signature-boundary.zip at runtime.Tao Bao2017-03-271-2/+18
* | Merge "applypatch: Drop the support for patching non-EMMC targets." am: b4c4f8c494 am: 351f69e64aTao Bao2017-03-261-124/+0
|\|
| * Merge "applypatch: Drop the support for patching non-EMMC targets."Tao Bao2017-03-261-124/+0
| |\
| | * applypatch: Drop the support for patching non-EMMC targets.Tao Bao2017-03-161-124/+0
* | | Merge "updater: Fix the broken case for apply_patch_check()." am: 9f2062657d am: 923d41ccd5Tao Bao2017-03-231-0/+49
|\| |
| * | updater: Fix the broken case for apply_patch_check().Tao Bao2017-03-231-0/+49
* | | Merge "Remove malloc in edify functions" am: 1ea869b0c6 am: 137d85333eTianjie Xu2017-03-232-3/+5
|\| |
| * | Remove malloc in edify functionsTianjie Xu2017-03-222-3/+5
* | | Merge "Add testcases for load_keys()." am: 110102f37e am: 43f5ad6e90Tao Bao2017-03-201-0/+57
|\| |
| * | Add testcases for load_keys().Tao Bao2017-03-181-0/+57
| * | Merge "Drop the dependency on 'ui' in verify_file()."Tao Bao2017-03-181-104/+45
| |\ \
| | * | Drop the dependency on 'ui' in verify_file().Tao Bao2017-03-171-104/+45
* | | | Merge "Drop the dependency on 'ui' in verify_file()."Tao Bao2017-03-181-105/+46
|\ \ \ \
| * | | | Drop the dependency on 'ui' in verify_file().Tao Bao2017-03-171-105/+46
* | | | | Merge "Add a test to perform block_image_update" am: 881b08ecd2 am: 5c06706d51Tianjie Xu2017-03-171-5/+115
|\ \ \ \ \ | | |/ / / | |/| | |
| * | | | Merge "Add a test to perform block_image_update"Tianjie Xu2017-03-171-5/+115
| |\ \ \ \ | | |_|/ / | |/| | |
| | * | | Add a test to perform block_image_updateTianjie Xu2017-03-171-5/+115
| | | |/ | | |/|
* | | | Merge "More cleanup to imgdiff & imgpatch" am: 3541934ff5 am: 91f8574061Tianjie Xu2017-03-171-4/+5
|\| | | | |_|/ |/| |
| * | More cleanup to imgdiff & imgpatchTianjie Xu2017-03-161-4/+5
| |/
* | Merge "updater: Remove some obsoleted functions for file-based OTA." am: 342717d148 am: 000f364c19Tao Bao2017-03-141-113/+0
|\|
| * updater: Remove some obsoleted functions for file-based OTA.Tao Bao2017-03-131-113/+0
* | Merge "Refractor the code for imgdiff" am: a2e7a07031 am: 68571e27d8Tianjie Xu2017-03-071-0/+56
|\|
| * Merge "Refractor the code for imgdiff"Treehugger Robot2017-03-071-0/+56
| |\
| | * Refractor the code for imgdiffTianjie Xu2017-03-071-0/+56
* | | Merge "Fix an error on bootloadermessager test teardown" am: b694ba8aab am: 536989892cTianjie Xu2017-03-031-2/+4
|\| |
| * | Merge "Fix an error on bootloadermessager test teardown"Tianjie Xu2017-03-031-2/+4
| |\ \
| | * | Fix an error on bootloadermessager test teardownTianjie Xu2017-03-031-2/+4
| | |/
* | | Merge "Recovery Test: add SideloadTest to test FUSE support on target" am: 53feebea4f am: 3d605c54e3Wei Wang2017-03-031-0/+21
|\| |
| * | Recovery Test: add SideloadTest to test FUSE support on targetWei Wang2017-03-031-0/+21
| |/
* | Merge "Skip BootloaderMessageTest, UncryptTest for devices without /misc" am: 0f26468eda am: 5cce91a95aTianjie Xu2017-03-012-3/+61
|\|
| * Skip BootloaderMessageTest, UncryptTest for devices without /miscTianjie Xu2017-03-012-3/+61
* | Merge "tests: Add testcase for show_progress() and set_progress()." am: 478a5ec9c7 am: 179fc8a82b am: ba0dad8828Tao Bao2017-01-061-0/+50
|\|
| * tests: Add testcase for show_progress() and set_progress().Tao Bao2017-01-061-0/+50
* | Merge "imgdiff: Fix an edge case that leads to infinite loop." am: 3b828d879b am: 4d37763c69 am: e513c0f2acTao Bao2017-01-041-0/+80
|\|
| * Merge "imgdiff: Fix an edge case that leads to infinite loop."Tao Bao2017-01-041-0/+80
| |\
| | * imgdiff: Fix an edge case that leads to infinite loop.Tao Bao2016-12-281-0/+80
* | | Merge "recovery: Fix the broken UI text." am: 56fc8fa376 am: 1227f6b841 am: 3806993e25Tao Bao2017-01-041-32/+38
|\| |
| * | recovery: Fix the broken UI text.Tao Bao2017-01-041-32/+38
| |/
* | Merge "Add tests for imgdiff." am: 344c8eb453 am: 4fe022c4ed am: 4e2471d6ddTao Bao2016-12-281-0/+448
|\|
| * Add tests for imgdiff.Tao Bao2016-12-201-0/+448
* | Add a checker for signature boundary in verifierTianjie Xu2016-12-171-1/+2
|/
* Add update_bootloader_message() to fix two-step OTAs.Tao Bao2016-12-151-0/+26
* Merge "tests: Add tests for bootloader_message."Tao Bao2016-12-151-0/+139
|\
| * tests: Add tests for bootloader_message.Tao Bao2016-12-151-0/+139
* | Merge "Add a stub recovery UI."Sen Jiang2016-12-141-1/+1
|\ \ | |/ |/|
| * Add a stub recovery UI.Sen Jiang2016-12-131-1/+1
* | Add tests for setup-bcb and clear-bcb via uncrypt.Tao Bao2016-12-141-0/+174
|/
* tests: Add testcases for EMMC targets.Tao Bao2016-11-221-31/+144
* updater: Refactor set_stage() and get_stage() functions.Tao Bao2016-11-181-0/+59
* updater: Add testcase for package_extract_dir().Tao Bao2016-11-181-0/+96
* updater: Add "write_value()" function.Tao Bao2016-11-171-0/+33
* updater: Fix the wrong return value for package_extract_file().Tao Bao2016-11-151-17/+75
* updater: Add more testcase for symlink().Tao Bao2016-11-091-6/+39
* Make make_parent() to take const argumentTianjie Xu2016-11-081-0/+22
* updater: Add a testcase for RenameFn().Tao Bao2016-11-041-0/+29
* updater: Fix a bug in DeleteFn().Tao Bao2016-11-041-0/+33
* updater: Fix an off-by-1 bug in file_getprop().Tao Bao2016-11-031-0/+50
* tests: Set up testdata path for continuous native tests.Tao Bao2016-11-032-16/+2
* applypatch: Add testcases for applypatch executable.Tao Bao2016-11-011-256/+322
* applypatch: Switch the parameter of Value** to std::vector.Tao Bao2016-10-291-126/+138
* Add a unit test for applypatch_checkTianjie Xu2016-10-191-0/+5
* Replace minzip with libziparchiveTianjie Xu2016-10-181-1/+2
* Change StringValue to use std::stringTianjie Xu2016-10-153-81/+67
* edify: Some clean-ups to libedify.Tao Bao2016-10-132-6/+23
* updater: Kill the duplicate PrintSha1() in install.cpp.Tao Bao2016-10-111-7/+36
* Refactor libupdater into a seperate module.Tao Bao2016-10-111-0/+71
* edify: Move State.script and State.errmsg to std::string.Tao Bao2016-10-041-6/+1
* edify: Move the testcases to gtest.Tao Bao2016-10-041-0/+156
* Fix clang-tidy warnings in bootable/recovery.Chih-Hung Hsieh2016-08-261-1/+1
* Merge \"Clean up verifier testcases.\"Tao Bao2016-08-011-41/+26
|\
| * Clean up verifier testcases.Tao Bao2016-08-011-41/+26
* | resolve merge conflicts of 5823dd4 to nyc-dev-plus-aospTianjie Xu2016-05-021-0/+1
|\ \
| * | Add ability to show "installing security update"Tianjie Xu2016-04-291-0/+1
| * | Use BoringSSL instead of mincrypt to speed up package verification.Elliott Hughes2016-04-141-108/+23
* | | resolve merge conflicts of 2bf95ac to nyc-dev-plus-aospElliott Hughes2016-04-131-108/+23
|\ \ \ | | |/ | |/|
| * | Convert recovery to use BoringSSL instead of mincrypt.Mattias Nissler2016-04-061-108/+23
* | | Merge "Port applypatch.sh tests to recovery_component_tests" into nyc-devJed Estep2016-03-122-6/+393
|\ \ \ | |/ / |/| / | |/
| * Port applypatch.sh tests to recovery_component_testsJed Estep2016-03-122-6/+393
| * Fix verifier test base testdata directory after merge conflictJed Estep2016-02-221-1/+1
* | Merge "verifier_test: Suppress the unused parameter warnings."Tao Bao2016-02-091-8/+9
|\ \
| * | verifier_test: Suppress the unused parameter warnings.Tao Bao2016-02-051-8/+9
| |/
* / Change on-device directory for recovery test dataJed Estep2016-02-051-1/+1
|/
* Refactor existing tests to use gtestJed Estep2016-02-041-0/+267