summaryrefslogtreecommitdiffstats
path: root/tests/unit (unfollow)
Commit message (Expand)AuthorFilesLines
2019-05-09Add Updater class and remove UpdaterInfoTianjie Xu1-92/+86
2019-05-06Track libziparchive API change.Elliott Hughes3-7/+4
2019-05-01Implement FuseBlockDataProviderxunchang3-1/+128
2019-04-30install: Return bool for a few check functions.Tao Bao1-27/+27
2019-04-30tests: Merge recovery_component_test into recovery_unit_test.Tao Bao11-0/+4406
2019-04-23matches_locale no longer accept empty locales in the png filexunchang1-2/+2
2019-03-29Move install to separate modulexunchang2-2/+2
2019-03-26Move out the code to parse block map in MemMapxunchang1-0/+61
2019-03-21Move librecovery_ui to a sub-directoryTianjie Xu1-2/+2
2019-03-14Implement FilePackage classxunchang1-0/+117
2018-12-06tests: Temporarily disable ScreenRecoveryUITest tests.Tao Bao1-18/+18
2018-11-27minui: GRSurface::Create() computes data_size on its own.Tao Bao2-14/+24
2018-11-27minui: Fix a wrong arg in calling GRSurface::Create().Tao Bao1-0/+37
2018-11-15switch to using android-base/file.h instead of android-base/test_utils.hMark Salyzyn6-6/+2
2018-11-05ui: Manage loaded resources with smart pointers.Tao Bao1-15/+15
2018-11-01minui: Add GRSurface::Clone().Tao Bao1-1/+13
2018-11-01tests: Use FRIEND_TEST in ScreenRecoveryUITest.Tao Bao1-24/+14
2018-10-31minui: Add a protected GRSurface ctor.Tao Bao2-22/+21
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-13Implement the graphic menusTianjie Xu1-14/+45
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 Bao1-56/+65
2018-08-20tests: Remove {old,new}.file.Tao Bao1-49/+54
2018-08-17updater: Add TransferList class.Tao Bao1-0/+56
2018-08-16updater: Add SourceInfo::{ReadAll,DumpBuffer,Overlaps}.Tao Bao1-0/+116
2018-08-14Add the hash_tree_info class in CommandTianjie Xu1-0/+20
2018-08-06Add an updater function to compute hash treeTianjie Xu1-0/+1
2018-07-30recovery: Add ability to interrupt UIJerry Zhang1-1/+38
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-10applypatch: Restrict applypatch_check to eMMC targets.Tao Bao1-85/+47
2018-07-07updater: Add ABORT command.Tao Bao1-0/+24
2018-07-06tests: Split unit tests out of component/applypatch_test.cpp.Tao Bao1-0/+303
2018-06-25updater: Check the number of args in Command::Parse.Tao Bao1-0/+25
2018-06-25updater: Add Command parsing codes.Tao Bao1-0/+275
2018-06-14tests: Skip ScreenRecoveryUITest on gr_init failure.Tao Bao1-1/+38
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-05-26updater: Add Commmand class to manage BBOTA commands.Tao Bao1-0/+37
2018-05-22ui: Use std::thread to create input/progress threads.Tao Bao1-2/+10
2018-05-14wear_ui: Address a TODO regarding {intro,loop}_frames.Tao Bao1-3/+53
2018-05-09screen_ui: Fix an issue in RTL locale detection.Tao Bao1-1/+1
2018-05-09tests: Add tests for ScreenRecoveryUI.Tao Bao1-0/+167
2018-05-04otautil: Rename dir/sys/thermal utils.Tao Bao3-5/+5
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-03-24Factor out a menu class for screen uiTianjie Xu1-0/+198
2018-03-24Factor out a menu class for screen uiTianjie Xu1-0/+198
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-10-11Move rangeset.h and print_sha1.h into otautil.Tao Bao1-2/+2
2017-08-19Move Image/ImageChunk/PatchChunk declaration into header filesTianjie Xu1-1/+1
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-05-24kill package_extract_dirTianjie Xu2-228/+0
2017-05-02Move sysMapFile and sysReleaseMap into MemMapping class.Tao Bao2-38/+27
2017-04-03Change the internal representation in RangeSet.Tao Bao1-6/+34
2017-03-31Move parse_range() and range_overlaps() into RangeSet.Tao Bao1-0/+84
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-25Add the missing sr-Latn into png files and rename the png locale headerTianjie Xu1-10/+11
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-01-19Add checkers and tests for empty locale in PNG fileTianjie Xu1-0/+3
2016-12-22tests: Add test coverage for DirUtil.Tao Bao1-0/+150
2016-12-22tests: Add testcase for ZipUtil.Tao Bao1-0/+191
2016-12-22tests: Replace the O_RDONLY in access(2).Tao Bao1-6/+15
2016-11-16updater: Fix the wrong return value for package_extract_file().Tao Bao1-3/+0
2016-11-15updater: Fix the wrong return value for package_extract_file().Tao Bao1-3/+0
2016-11-08Move recovery_test.cpp out of unit testTianjie Xu1-91/+0
2016-11-08otautil: Clean up SysUtil.cpp.Tao Bao1-0/+140
2016-11-07otautil: Clean up SysUtil.cpp.Tao Bao1-0/+140
2016-11-04tests: Fix unit/zip_test.cpp.Tao Bao1-59/+50
2016-10-18Replace minzip with libziparchiveTianjie Xu1-0/+93
2016-10-04recovery: drop log/logger.hMark Salyzyn1-1/+0
2016-04-20Fix matches_locale functionTianjie Xu1-0/+29
2016-03-31recovery: use __android_log_pmsg_file_write for log filesMark Salyzyn1-0/+92
2016-03-28recovery: use __android_log_pmsg_file_write for log filesMark Salyzyn1-0/+92
2016-02-04Refactor existing tests to use gtestJed Estep1-0/+238