platform_bootable_recovery/applypatch
Tao Bao 36c3511952 applypatch: Add testcases for applypatch executable.
Refactor applypatch/main.cpp into libapplypatch_modes so that we can add
testcases.

Some changes to applypatch/main.cpp:
 - Replace char** argv with const char**;
 - Use android::base::Split() to split ":";
 - Use android::base::ParseUInt().

Bug: 32383590
Test: Unit tests pass, install-recovery.sh works.

Change-Id: I44e7bfa5ab717d439ea1d0ee9ddb7b2c40bb95a4
2016-11-01 14:40:14 -07:00
..
include/applypatch applypatch: Switch the parameter of Value** to std::vector. 2016-10-28 16:46:12 -07:00
testdata relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
Android.mk applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
applypatch.cpp applypatch: Switch the parameter of Value** to std::vector. 2016-10-28 16:46:12 -07:00
applypatch.sh refactor applypatch and friends 2010-02-22 15:30:33 -08:00
applypatch_main.cpp applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
applypatch_modes.cpp applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
applypatch_modes.h applypatch: Add testcases for applypatch executable. 2016-11-01 14:40:14 -07:00
bspatch.cpp Change StringValue to use std::string 2016-10-15 01:18:23 +00:00
freecache.cpp Fix the improper use of LOCAL_WHOLE_STATIC_LIBRARIES. 2016-03-03 14:52:44 -08:00
imgdiff.cpp Revert "Fix memory/resource handling in imgdiff.cpp, using unique_ptr and vector." 2016-06-01 13:15:44 -07:00
imgdiff.h relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
imgdiff_test.sh relocate applypatch; add type system and new functions to edify 2010-02-18 14:22:12 -08:00
imgpatch.cpp Change StringValue to use std::string 2016-10-15 01:18:23 +00:00
libimgpatch.pc applypatch: Add libimgpatch.pc 2016-02-16 11:35:29 -08:00
Makefile Add include/ to the Makefile include path. 2016-03-14 14:25:33 -07:00
NOTICE Add NOTICE file 2012-04-06 13:51:00 -07:00
utils.cpp Change StringValue to use std::string 2016-10-15 01:18:23 +00:00
utils.h Change StringValue to use std::string 2016-10-15 01:18:23 +00:00