summaryrefslogtreecommitdiffstats
path: root/tests/unit/updater_test.cpp (unfollow)
Commit message (Expand)AuthorFilesLines
2019-05-22Some clean ups to the updaterTianjie Xu1-1/+3
2019-05-21Add UpdaterRuntime classTianjie Xu1-3/+9
2019-05-09Add Updater class and remove UpdaterInfoTianjie Xu1-92/+86
2019-04-30tests: Merge recovery_component_test into recovery_unit_test.Tao Bao1-0/+0
2018-11-15switch to using android-base/file.h instead of android-base/test_utils.hMark Salyzyn1-1/+0
2018-11-06tests: Add a testcase for updater overrun while patching.Tao Bao1-80/+85
2018-11-05updater: Error out on underrun during patching.Tao Bao1-0/+42
2018-08-31applypatch: Refactor applypatch().Tao Bao1-43/+36
2018-08-28Remove otafaultTianjie Xu1-1/+1
2018-08-20tests: Remove {old,new}.file.Tao Bao1-1/+1
2018-08-17updater: Add TransferList class.Tao Bao1-10/+12
2018-08-06Add an updater function to compute hash treeTianjie Xu1-0/+81
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 Bao1-30/+30
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-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-24tests: Refactor the common lines in UpdaterTest.Tao Bao1-286/+182
2018-05-04otautil: Rename dir/sys/thermal utils.Tao Bao1-1/+1
2018-04-26Rename CacheLocation to Paths.Tao Bao1-8/+7
2018-02-28Add a singleton CacheLocation to replace the hard coded locationsTianjie Xu1-7/+14
2018-02-07Log the last command to cacheTianjie Xu1-0/+217
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-11Move rangeset.h and print_sha1.h into otautil.Tao Bao1-1/+1
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-11Close cmd_pipe properly after updater test finishesTianjie Xu1-8/+14
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-06-23Remove the obsolete package_extract_dir() testTianjie Xu1-96/+0
2017-05-02Move sysMapFile and sysReleaseMap into MemMapping class.Tao Bao1-2/+2
2017-04-08Abort the update if there's not enough new dataTianjie Xu1-0/+66
2017-03-23updater: Fix the broken case for apply_patch_check().Tao Bao1-0/+49
2017-03-22Remove malloc in edify functionsTianjie Xu1-1/+2
2017-03-17Add a test to perform block_image_updateTianjie Xu1-5/+115
2017-03-13updater: Remove some obsoleted functions for file-based OTA.Tao Bao1-113/+0
2017-01-06tests: Add testcase for show_progress() and set_progress().Tao Bao1-0/+50
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-10-15Change StringValue to use std::stringTianjie Xu1-4/+4
2016-10-13edify: Some clean-ups to libedify.Tao Bao1-1/+0
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