commit | ee9b95544a7af548e98f2b7a080e2eb7abaaf981 | [log] [tgz] |
---|---|---|
author | Tao Bao <tbao@google.com> | Thu Oct 13 16:04:07 2016 -0700 |
committer | Tao Bao <tbao@google.com> | Thu Oct 13 16:07:15 2016 -0700 |
tree | ce8d6b05ae34ac8b4102e7907b5d01f7b762fe30 | |
parent | c5b4b719134a1d2d3b06a81f92a00b24e527248d [diff] |
Fix the prefix matching for uncrypt status. Also change its logging statement from PLOG to LOG, since android::base::StartsWith() doesn't set errno. Test: Build and reboot into recovery image. Check last_log. Change-Id: I55ac7eec24228db76a13580958b4a4330b06cf57
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