summaryrefslogtreecommitdiffstats
path: root/tests (unfollow)
Commit message (Expand)AuthorFilesLines
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-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-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