/tools/tradefederation/core/src/com/android/tradefed/device/ |
TestDeviceState.java | 29 RECOVERY, 40 case RECOVERY: 41 return DeviceState.RECOVERY; 60 case RECOVERY: 61 return TestDeviceState.RECOVERY;
|
NativeDeviceStateMonitor.java | 154 return waitForDeviceState(TestDeviceState.RECOVERY, waitTime);
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
DeviceRecoveryModeUtil.java | 31 * Boots a device in recovery mode back into the main OS. 34 * @param timeoutMs how long to wait for the device to be in the recovery state 43 * Boots a device in recovery mode back into the main OS. Can optionally wait after the 44 * RECOVERY state begins, as it may not be immediately possible to send adb commands when 45 * recovery starts. 48 * @param timeoutMs how long to wait for the device to be in the recovery state 49 * @param bufferMs the number of ms to wait after the device enters the recovery state 55 if (managedDevice.getDeviceState().equals(TestDeviceState.RECOVERY)) { 56 CLog.i("Rebooting to exit recovery"); 58 CLog.i("Pausing for %d ms while recovery loads", bufferMs) [all...] |
/tools/tradefederation/core/tests/src/com/android/tradefed/util/ |
DeviceRecoveryModeUtilTest.java | 50 EasyMock.expect(mMockManagedDevice.getDeviceState()).andReturn(TestDeviceState.RECOVERY);
|
/frameworks/base/services/core/java/com/android/server/ |
RecoverySystemService.java | 41 * The recovery system service is responsible for coordinating recovery related 43 * (BCB), which will be read by the bootloader and the recovery image. It also 45 * /data partition so that it can be accessed under the recovery image. 81 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.RECOVERY, null); 259 mContext.enforceCallingOrSelfPermission(android.Manifest.permission.RECOVERY, null);
|
/frameworks/base/core/java/android/os/ |
RecoverySystem.java | 73 * recovery system (the separate partition that can be used to install 96 /** Used to communicate with recovery. See bootable/recovery/recovery.cpp. */ 97 private static final File RECOVERY_DIR = new File("/cache/recovery"); 105 * The recovery image uses this file to identify the location (i.e. blocks) 182 * the recovery system. This function will return only if the 428 @RequiresPermission(android.Manifest.permission.RECOVERY) 489 @RequiresPermission(android.Manifest.permission.RECOVERY) 504 * a partition mountable by recovery. (The set of partition [all...] |
/prebuilts/gradle-plugin/com/android/tools/fakeadbserver/fakeadbserver/25.4.0-alpha3/ |
fakeadbserver-25.4.0-alpha3.jar | |
/prebuilts/gradle-plugin/com/android/tools/devicelib/25.4.0-alpha5/ |
devicelib-25.4.0-alpha5.jar | |
/prebuilts/gradle-plugin/com/android/tools/devicelib/25.4.0-alpha6/ |
devicelib-25.4.0-alpha6.jar | |
/prebuilts/gradle-plugin/com/android/tools/devicelib/25.4.0-alpha7/ |
devicelib-25.4.0-alpha7.jar | |
/prebuilts/gradle-plugin/com/android/tools/devicelib/25.5.0-alpha-preview-02/ |
devicelib-25.5.0-alpha-preview-02.jar | |
/prebuilts/gradle-plugin/com/android/tools/devicelib/26.0.0-alpha6/ |
devicelib-26.0.0-alpha6.jar | |
/prebuilts/gradle-plugin/com/android/tools/devicelib/26.0.0-alpha7/ |
devicelib-26.0.0-alpha7.jar | |
/prebuilts/gradle-plugin/com/android/tools/devicelib/26.0.0-alpha9/ |
devicelib-26.0.0-alpha9.jar | |
/prebuilts/gradle-plugin/com/android/tools/devicelib/26.0.0-beta1/ |
devicelib-26.0.0-beta1.jar | |
/prebuilts/gradle-plugin/com/android/tools/devicelib/26.0.0-beta2/ |
devicelib-26.0.0-beta2.jar | |
/prebuilts/gradle-plugin/com/android/tools/devicelib/26.0.0-beta6/ |
devicelib-26.0.0-beta6.jar | |
/prebuilts/gradle-plugin/com/android/tools/devicelib/26.0.0-beta7/ |
devicelib-26.0.0-beta7.jar | |
/prebuilts/gradle-plugin/com/android/tools/fakeadbserver/fakeadbserver/25.4.0-alpha5/ |
fakeadbserver-25.4.0-alpha5.jar | |
/prebuilts/gradle-plugin/com/android/tools/fakeadbserver/fakeadbserver/25.4.0-alpha6/ |
fakeadbserver-25.4.0-alpha6.jar | |
/prebuilts/gradle-plugin/com/android/tools/fakeadbserver/fakeadbserver/25.4.0-alpha7/ |
fakeadbserver-25.4.0-alpha7.jar | |
/prebuilts/gradle-plugin/com/android/tools/fakeadbserver/fakeadbserver/25.5.0-alpha-preview-02/ |
fakeadbserver-25.5.0-alpha-preview-02.jar | |
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
TestDeviceFuncTest.java | 503 * <p>Expect fastboot recovery to be invoked, which will boot device back to fastboot mode and 531 * <p>Expect the result indicate failure, and recovery not to be invoked. 544 // substitute recovery mechanism to ensure recovery is not called when bad command 585 /** Verify device can be rebooted into adb recovery. */ 595 assertEquals(TestDeviceState.RECOVERY, mMonitor.getDeviceState()); 597 // Recovery is a special case to recover from, we need to call reboot on the idevice. 779 /** Test that the recovery mechanism works in {@link TestDevice#getFileEntry(String)} */ 788 // expect recovery to kick in, and reboot device back to adb so the call work [all...] |
/build/make/core/ |
Makefile | 332 INSTALLED_RECOVERYIMAGE_TARGET := $(PRODUCT_OUT)/recovery.img 645 # We build recovery as boot image if BOARD_USES_RECOVERY_AS_BOOT is true. [all...] |
/frameworks/base/services/core/java/com/android/server/power/ |
PowerManagerService.java | [all...] |