Tao Bao edf1b15fef applypatch: Fix the bug when constructing VAL_BLOB.
When constructing std::string from C-string, the string may be truncated
at null char. Use range constructor instead.

Bug: 32380016
Test: Use applypatch to install a previously failed recovery image.
Change-Id: Id3e2afb4a810594243cd21db526933d1fea5044b
2016-10-24 16:08:28 -07:00
2016-10-10 17:29:11 -07:00
2013-03-07 13:34:24 -08:00
2016-09-29 19:21:24 -07:00
2016-10-17 17:41:51 -07:00
2016-10-17 17:41:51 -07:00
2015-01-28 12:09:05 -08:00
2014-04-25 15:47:34 -07:00
2016-09-01 18:33:25 +00:00
2016-09-26 22:48:45 -07:00
2016-06-10 13:45:35 -07:00
2016-06-10 13:45:35 -07:00
2016-02-04 10:11:30 -08:00
2016-09-26 09:51:37 -07:00
2016-10-17 17:41:51 -07:00

The Recovery Image

Quick turn-around testing

mm -j && m ramdisk-nodeps && m recoveryimage-nodeps

# To boot into the new recovery image
# without flashing the recovery partition:
adb reboot bootloader
fastboot boot $ANDROID_PRODUCT_OUT/recovery.img

Running the tests

# After setting up environment and lunch.
mmma -j bootable/recovery

# Running the tests on device.
adb root
adb sync data

# 32-bit device
adb shell /data/nativetest/recovery_unit_test/recovery_unit_test
adb shell /data/nativetest/recovery_component_test/recovery_component_test

# Or 64-bit device
adb shell /data/nativetest64/recovery_unit_test/recovery_unit_test
adb shell /data/nativetest64/recovery_component_test/recovery_component_test
Description
No description provided
Readme 102 MiB
Languages
C++ 50.2%
C 43.6%
Makefile 1.9%
Java 1.8%
Roff 1%
Other 1.4%