commit | 1c522df25f9524eaa0273538b3de0b9ad1b8fcea | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Wed Feb 10 16:41:10 2016 -0800 |
committer | Yabin Cui <yabinc@google.com> | Fri Mar 11 11:11:11 2016 -0800 |
tree | f2eb88134aca78ed69565d586b54d59c2e1c4f04 | |
parent | 0ba21cff07ceafeaa43e17aa26e341d961f6f29f [diff] |
applypatch: use vector to store data in FileContents. Cherry pick this patch because it fixes the problem that a newed Value is released by free(). Bug: 26906416 Change-Id: Ib53b445cd415a1ed5e95733fbc4073f9ef4dbc43 (cherry picked from commit d6c93afcc28cc65217ba65eeb646009c4f15a2ad)
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
# 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