Up to higher level directory | |||
Name | Date | Size | |
---|---|---|---|
.clang-format | 05-Oct-2017 | 334 | |
adb_install.cpp | 05-Oct-2017 | 4.2K | |
adb_install.h | 05-Oct-2017 | 774 | |
Android.mk | 05-Oct-2017 | 4.9K | |
applypatch/ | 05-Oct-2017 | ||
asn1_decoder.cpp | 05-Oct-2017 | 3.6K | |
asn1_decoder.h | 05-Oct-2017 | 1.7K | |
bootloader.h | 05-Oct-2017 | 775 | |
bootloader_message/ | 05-Oct-2017 | ||
CleanSpec.mk | 05-Oct-2017 | 2.4K | |
common.h | 05-Oct-2017 | 1.2K | |
default_device.cpp | 05-Oct-2017 | 734 | |
device.cpp | 05-Oct-2017 | 2.3K | |
device.h | 05-Oct-2017 | 4.2K | |
edify/ | 05-Oct-2017 | ||
error_code.h | 05-Oct-2017 | 1.7K | |
etc/ | 05-Oct-2017 | ||
fonts/ | 05-Oct-2017 | ||
fuse_sdcard_provider.cpp | 05-Oct-2017 | 2.4K | |
fuse_sdcard_provider.h | 05-Oct-2017 | 738 | |
fuse_sideload.cpp | 05-Oct-2017 | 17K | |
fuse_sideload.h | 05-Oct-2017 | 1.4K | |
install.cpp | 05-Oct-2017 | 25.8K | |
install.h | 05-Oct-2017 | 1.7K | |
interlace-frames.py | 05-Oct-2017 | 3.5K | |
minadbd/ | 05-Oct-2017 | ||
minui/ | 05-Oct-2017 | ||
mounts.cpp | 05-Oct-2017 | 2.6K | |
mounts.h | 05-Oct-2017 | 961 | |
NOTICE | 05-Oct-2017 | 10.4K | |
otafault/ | 05-Oct-2017 | ||
otautil/ | 05-Oct-2017 | ||
print_sha1.h | 05-Oct-2017 | 1.4K | |
private/ | 05-Oct-2017 | ||
README.md | 05-Oct-2017 | 1.6K | |
recovery-persist.cpp | 05-Oct-2017 | 5.1K | |
recovery-persist.rc | 05-Oct-2017 | 116 | |
recovery-refresh.cpp | 05-Oct-2017 | 2.6K | |
recovery-refresh.rc | 05-Oct-2017 | 65 | |
recovery.cpp | 05-Oct-2017 | 55.6K | |
res-560dpi/ | 05-Oct-2017 | ||
res-hdpi/ | 05-Oct-2017 | ||
res-mdpi/ | 05-Oct-2017 | ||
res-xhdpi/ | 05-Oct-2017 | ||
res-xxhdpi/ | 05-Oct-2017 | ||
res-xxxhdpi/ | 05-Oct-2017 | ||
roots.cpp | 05-Oct-2017 | 9K | |
roots.h | 05-Oct-2017 | 1.9K | |
rotate_logs.cpp | 05-Oct-2017 | 3.7K | |
rotate_logs.h | 05-Oct-2017 | 1.4K | |
screen_ui.cpp | 05-Oct-2017 | 24.8K | |
screen_ui.h | 05-Oct-2017 | 4.7K | |
stub_ui.h | 05-Oct-2017 | 1.8K | |
tests/ | 05-Oct-2017 | ||
tools/ | 05-Oct-2017 | ||
ui.cpp | 05-Oct-2017 | 13.8K | |
ui.h | 05-Oct-2017 | 6.6K | |
uncrypt/ | 05-Oct-2017 | ||
update_verifier/ | 05-Oct-2017 | ||
updater/ | 05-Oct-2017 | ||
verifier.cpp | 05-Oct-2017 | 18.2K | |
verifier.h | 05-Oct-2017 | 2.2K | |
wear_touch.cpp | 05-Oct-2017 | 4.5K | |
wear_touch.h | 05-Oct-2017 | 1.4K | |
wear_ui.cpp | 05-Oct-2017 | 12.3K | |
wear_ui.h | 05-Oct-2017 | 2.3K |
1 The Recovery Image 2 ================== 3 4 Quick turn-around testing 5 ------------------------- 6 7 mm -j && m ramdisk-nodeps && m recoveryimage-nodeps 8 9 # To boot into the new recovery image 10 # without flashing the recovery partition: 11 adb reboot bootloader 12 fastboot boot $ANDROID_PRODUCT_OUT/recovery.img 13 14 Running the tests 15 ----------------- 16 # After setting up environment and lunch. 17 mmma -j bootable/recovery 18 19 # Running the tests on device. 20 adb root 21 adb sync data 22 23 # 32-bit device 24 adb shell /data/nativetest/recovery_unit_test/recovery_unit_test 25 adb shell /data/nativetest/recovery_component_test/recovery_component_test 26 27 # Or 64-bit device 28 adb shell /data/nativetest64/recovery_unit_test/recovery_unit_test 29 adb shell /data/nativetest64/recovery_component_test/recovery_component_test 30 31 Running the manual tests 32 ------------------------ 33 34 `recovery-refresh` and `recovery-persist` executables exist only on systems without 35 /cache partition. And we need to follow special steps to run tests for them. 36 37 - Execute the test on an A/B device first. The test should fail but it will log 38 some contents to pmsg. 39 40 - Reboot the device immediately and run the test again. The test should save the 41 contents of pmsg buffer into /data/misc/recovery/inject.txt. Test will pass if 42 this file has expected contents. 43 44 `ResourceTest` validates whether the png files are qualified as background text 45 image under recovery. 46 47 1. `adb sync data` to make sure the test-dir has the images to test. 48 2. The test will automatically pickup and verify all `_text.png` files in 49 the test dir. 50