platform_bootable_recovery/applypatch
Tianjie Xu 3bbb20f557 Add a singleton CacheLocation to replace the hard coded locations
This class allows us to set the following locations dynamically:
cache_temp_source, last_command_file, stash_directory_base.

In the updater's main function, we reset the values of these variables
to their default locations in /cache; while we can set them to temp
files in unit tests or host simulation.

Test: unit tests pass
Change-Id: I528652650caa41373617ab055d41b1f1a4ec0f87
2018-02-28 11:19:11 -08:00
..
include/applypatch Add a singleton CacheLocation to replace the hard coded locations 2018-02-28 11:19:11 -08:00
Android.bp Disable building libapplypatch on mac 2018-02-17 22:06:31 -08:00
applypatch.cpp Add a singleton CacheLocation to replace the hard coded locations 2018-02-28 11:19:11 -08:00
applypatch_main.cpp applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
applypatch_modes.cpp applypatch: Remove the obsolete support for "applypatch -s". 2017-04-25 21:23:12 -07:00
applypatch_modes.h applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
bspatch.cpp Merge "applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch." 2017-11-11 01:09:47 +00:00
freecache.cpp Add a singleton CacheLocation to replace the hard coded locations 2018-02-28 11:19:11 -08:00
imgdiff.cpp Remove the assumption of target chunk size in imgdiff 2018-02-23 10:44:05 -08:00
imgdiff_main.cpp Add tests for imgdiff. 2016-12-19 16:53:03 -08:00
imgpatch.cpp applypatch: Change the patch parameter to const Value& in Apply{BSDiff,Image}Patch. 2017-11-10 12:18:34 -08:00
NOTICE Add NOTICE file 2012-04-06 13:51:00 -07:00