Home
last modified time | relevance | path

Searched refs:recovery (Results 1 – 25 of 26) sorted by relevance

12

/bootable/recovery/
DAndroid.bp94 "recovery.cpp",
107 recovery: true,
111 name: "recovery",
112 recovery: true,
134 "e2fsdroid.recovery",
138 "mke2fs.conf.recovery",
139 "mke2fs.recovery",
141 "ueventd.rc.recovery",
147 name: "recovery-persist",
154 "recovery-persist.cpp",
[all …]
DAndroid.mk47 librecovery_ui.recovery
61 make_f2fs.recovery \
62 sload_f2fs.recovery
70 LOCAL_REQUIRED_MODULES += recovery-persist
72 LOCAL_REQUIRED_MODULES += recovery-refresh
DREADME.md7 * Devices using recovery-as-boot (e.g. Pixels, which set BOARD\_USES\_RECOVERY\_AS\_BOOT)
13 # Pixel devices don't support booting into recovery mode with `fastboot boot`.
18 * Devices with a separate recovery image (e.g. Nexus)
24 # To boot into the new recovery image without flashing the recovery partition:
25 fastboot boot $ANDROID_PRODUCT_OUT/recovery.img
31 mmma -j bootable/recovery
46 `recovery-refresh` and `recovery-persist` executables exist only on systems without
53 contents of pmsg buffer into /data/misc/recovery/inject.txt. Test will pass if
56 Using `adb` under recovery
59 When running recovery image from debuggable builds (i.e. `-eng` or `-userdebug` build variants, or
[all …]
Drecovery-persist.rc2 mkdir /data/misc/recovery 0770 system log
3 exec_background - system log -- /system/bin/recovery-persist
DCleanSpec.mk49 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/sbin)
52 $(call add-clean-step, rm -rf $(PRODUCT_OUT)/recovery/root/system/lib64/libinstall.so)
68 …DUCT_OUT)/obj/PACKAGING/target_files_intermediates/*-target_files-*/SYSTEM/bin/install-recovery.sh)
69 …CT_OUT)/obj/PACKAGING/target_files_intermediates/*-target_files-*/SYSTEM/etc/recovery-resource.dat)
70 …PRODUCT_OUT)/obj/PACKAGING/target_files_intermediates/*-target_files-*/SYSTEM/recovery-from-boot.p)
Drecovery-refresh.rc2 exec_background - system log -- /system/bin/recovery-refresh
D.clang-format1 # bootable/recovery project uses repohook to apply `clang-format` to the changed lines, with the
13 # default behavior for bootable/recovery project.
Drecovery_main.cpp125 boot.recovery[sizeof(boot.recovery) - 1] = '\0'; // Ensure termination in get_args()
126 std::string boot_recovery(boot.recovery); in get_args()
134 } else if (boot.recovery[0] != 0) { in get_args()
/bootable/recovery/minadbd/
DREADME.md5 recovery-specific use cases. Generally speaking, `adbd` = `libadbd` + `libadbd_services`, whereas
8 Although both modules may be installed into the recovery image, only one of them, or none, can be
12 or `none` respectively. Upon starting recovery mode, `adbd` is started in debuggable builds by
14 `bootable/recovery/etc/init.rc`.
16 - `minadbd` is started by `recovery` as needed.
17 - When requested to start `minadbd`, `recovery` stops `adbd` first, if it's running; it then forks
21 - `minadbd` communicates with `recovery` to fulfill requests regarding package installation. See
22 the comments in `bootable/recovery/install/adb_install.cpp` for the IPC protocol between
23 `recovery` and `minadbd`.
24 - Upon exiting `minadbd`, `recovery` restarts `adbd` if it was previously running.
DAndroid.bp72 "//bootable/recovery/install",
78 recovery: true,
/bootable/recovery/tests/unit/
Dbootloader_message_test.cpp36 strlcpy(boot.recovery, "message1\nmessage2\n", sizeof(boot.recovery)); in TEST()
58 strlcpy(boot.recovery, "random message", sizeof(boot.recovery)); in TEST()
68 ASSERT_EQ(expected, std::string(boot.recovery)); in TEST()
86 ASSERT_EQ("recovery\n", std::string(boot.recovery)); in TEST()
108 ASSERT_GE(expected.size(), sizeof(boot.recovery)); in TEST()
112 ASSERT_EQ(expected.substr(0, sizeof(boot.recovery) - 1), std::string(boot.recovery)); in TEST()
113 ASSERT_EQ('\0', boot.recovery[sizeof(boot.recovery) - 1]); in TEST()
Dapplypatch_modes_test.cpp61 recovery = GetEmmcTargetString(recovery_file); in SetUp()
62 ASSERT_FALSE(recovery.empty()); in SetUp()
73 std::string recovery; member in ApplyPatchModesTest
184 ASSERT_EQ(0, InvokeApplyPatchModes({ "applypatch", "--check", recovery })); in TEST_F()
Duncrypt_test.cpp137 ASSERT_EQ(message_in_bcb, std::string(boot.recovery)); in SetupOrClearBcb()
140 ASSERT_LE(message_in_bcb.size(), sizeof(boot.recovery)); in SetupOrClearBcb()
141 size_t left = sizeof(boot.recovery) - message_in_bcb.size(); in SetupOrClearBcb()
142 ASSERT_EQ(std::string(left, '\0'), std::string(&boot.recovery[message_in_bcb.size()], left)); in SetupOrClearBcb()
/bootable/recovery/recovery_utils/
DAndroid.bp41 // A utility lib that's local to recovery (in contrast, libotautil is exposed to device-specific
76 "//bootable/recovery",
77 "//bootable/recovery/install",
78 "//bootable/recovery/minadbd",
79 "//bootable/recovery/tests",
/bootable/recovery/bootloader_message/
Dbootloader_message.cpp210 memset(boot->recovery, 0, sizeof(boot->recovery)); in update_bootloader_message_in_struct()
214 std::string recovery = "recovery\n"; in update_bootloader_message_in_struct() local
216 recovery += s; in update_bootloader_message_in_struct()
218 recovery += '\n'; in update_bootloader_message_in_struct()
221 strlcpy(boot->recovery, recovery.c_str(), sizeof(boot->recovery)); in update_bootloader_message_in_struct()
/bootable/recovery/tools/image_generator/
DImageGenerator.mf1 Main-Class: com.android.recovery.tools.ImageGenerator
DREADME.md5 under recovery mode. And thus we don't need to do the manual work by running
20 strings in xml format, e.g. bootable/recovery/tools/recovery_l10n/res/
/bootable/recovery/applypatch/
Dvendor_flash_recovery.rc1 service vendor_flash_recovery /vendor/bin/install-recovery.sh
/bootable/recovery/tests/manual/
Drecovery_test.cpp51 TEST(recovery, refresh) { in TEST() argument
69 TEST(recovery, persist) { in TEST() argument
/bootable/recovery/tests/unit/host/
Dupdate_simulator_test.cpp333 { "RECOVERY/RAMDISK/etc/recovery.fstab", fstab_content_ },
354 string recovery_img_string = "recovery.img";
359 { "IMAGES/recovery.img", "" },
362 { "RECOVERY/RAMDISK/etc/recovery.fstab", fstab_content_ },
374 "EMMC:/dev/block/by-name/recovery:%zu:%s", recovery_img_string.size(), recovery_sha1.c_str());
/bootable/recovery/etc/
Dinit.rc1 import /init.recovery.${ro.hardware}.rc
75 service recovery /system/bin/recovery
76 socket recovery stream 422 system system
77 seclabel u:r:recovery:s0
79 service adbd /system/bin/adbd --root_seclabel=u:r:su:s0 --device_banner=recovery
/bootable/recovery/tools/recovery_l10n/
DREADME.md5 cd bootable/recovery && mma -j32
34 image works by running graphic tests under the recovery mode.
/bootable/recovery/bootloader_message/include/bootloader_message/
Dbootloader_message.h70 char recovery[768]; member
/bootable/recovery/tests/
DAndroid.bp23 "bootable/recovery",
/bootable/recovery/updater_sample/
DREADME.md164 1. Compile the app `mmma -j bootable/recovery/updater_sample`.
195 …[building rule](https://android.googlesource.com/platform/bootable/recovery/+/refs/heads/master/up…

12