/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/ |
D | IDeviceStateMonitor.java | 97 public IDevice waitForDeviceAvailable(final long waitTime); in waitForDeviceAvailable() method 108 public IDevice waitForDeviceAvailable(); in waitForDeviceAvailable() method 118 return waitForDeviceAvailable(waitTime); in waitForDeviceAvailableInRecoverPath()
|
/tools/tradefederation/core/javatests/com/android/tradefed/util/ |
D | AdbRootElevatorTest.java | 52 mMockDevice.waitForDeviceAvailable(); in testEnablesAndDisablesRoot() 58 inOrder.verify(mMockDevice).waitForDeviceAvailable(); in testEnablesAndDisablesRoot() 68 mMockDevice.waitForDeviceAvailable(); in testRootAlreadyEnabled_doesNotEnableOrDisableRoot() 73 inOrder.verify(mMockDevice).waitForDeviceAvailable(); in testRootAlreadyEnabled_doesNotEnableOrDisableRoot()
|
D | DeviceRecoveryModeUtilTest.java | 55 verify(mMockManagedDevice, times(1)).waitForDeviceAvailable(Mockito.anyLong()); in testBootOutOfRecovery()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/ |
D | DeviceManagerFuncTest.java | 54 mUsbDevice.waitForDeviceAvailable(30 * 1000); in testReconnectDeviceToTcp_backUsb() 88 mUsbDevice.waitForDeviceAvailable(); in testReconnectDeviceToTcp_reboot()
|
D | DeviceStateMonitorTest.java | 812 assertEquals(mMockDevice, mMonitor.waitForDeviceAvailable(WAIT_TIMEOUT_NOT_REACHED_MS)); in testWaitForDeviceAvailable() 874 assertEquals(mMockDevice, mMonitor.waitForDeviceAvailable(WAIT_TIMEOUT_NOT_REACHED_MS)); in testWaitForDeviceAvailable_mounted() 890 assertNull(mMonitor.waitForDeviceAvailable(WAIT_TIMEOUT_NOT_REACHED_MS)); in testWaitForDeviceAvailable_notOnline() 914 assertNull(mMonitor.waitForDeviceAvailable(WAIT_TIMEOUT_REACHED_MS)); in testWaitForDeviceAvailable_notBootComplete() 940 assertNull(mMonitor.waitForDeviceAvailable(WAIT_TIMEOUT_REACHED_MS)); in testWaitForDeviceAvailable_pmNotResponsive() 973 assertNull(mMonitor.waitForDeviceAvailable(WAIT_TIMEOUT_REACHED_MS)); in testWaitForDeviceAvailable_notMounted()
|
D | WaitDeviceRecoveryTest.java | 95 when(mMockMonitor.waitForDeviceAvailable(Mockito.anyLong())).thenReturn(mMockDevice); in testRecoverDevice_success() 135 when(mMockMonitor.waitForDeviceAvailable()).thenReturn(mMockDevice); in testRecoverDevice_unavailable_recovers() 204 when(mMockMonitor.waitForDeviceAvailable(Mockito.anyLong())).thenReturn(null); in testRecoverDevice_unresponsive() 261 when(mMockMonitor.waitForDeviceAvailable(Mockito.anyLong())).thenReturn(mMockDevice); in testRecoverDevice_fastboot()
|
/tools/tradefederation/core/javatests/com/android/tradefed/targetprep/ |
D | RestartSystemServerTargetPreparerTest.java | 67 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testSetUp_bootComplete() 81 .waitForDeviceAvailable(); in testSetUp_bootNotComplete() 101 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testTearDown_restart()
|
D | CompileBootImageWithSpeedTargetPreparerTest.java | 67 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testSpeed() 80 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testSpeedProfile()
|
D | StopServicesSetupTest.java | 115 inOrder.verify(mMockDevice).waitForDeviceAvailable(); in testTearDown() 118 verify(mMockDevice).waitForDeviceAvailable(); in testTearDown()
|
D | SystemUpdaterDeviceFlasherTest.java | 87 mInOrder.verify(mMockDevice).waitForDeviceAvailable(); in testFlash() 118 mInOrder.verify(mMockDevice, times(0)).waitForDeviceAvailable(); in testFlashSameBuild()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/ |
D | GTestFuncTest.java | 71 mDevice.waitForDeviceAvailable(); in setUp() 194 getDevice().waitForDeviceAvailable(); in testRun_deviceReboot() 214 getDevice().waitForDeviceAvailable(); in testRun_timeout()
|
/tools/tradefederation/core/src/com/android/tradefed/targetprep/sync/ |
D | DeviceSyncHelper.java | 91 device.waitForDeviceAvailable(); in syncFiles() 130 device.waitForDeviceAvailable(15 * 60 * 1000); in syncFiles()
|
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/ |
D | DeviceAvailableChecker.java | 29 device.waitForDeviceAvailable(); in postExecutionCheck()
|
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/retry/ |
D | ResultsPlayerTest.java | 121 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testReplay() 155 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testReplayModules() 193 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testReplay_oneTest() 231 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testReplay_MultiTest()
|
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/ |
D | RestartSystemServerTargetPreparer.java | 40 device.waitForDeviceAvailable(); in restartSystemServer()
|
D | RemoveSystemAppPreparer.java | 53 device.waitForDeviceAvailable(); in setUp()
|
D | EraseUserDataPreparer.java | 50 device.waitForDeviceAvailable(); in setUp()
|
D | StopServicesSetup.java | 55 device.waitForDeviceAvailable(); in tearDown()
|
D | CompileBootImageWithSpeedTargetPreparer.java | 61 device.waitForDeviceAvailable(); in setUp()
|
D | PushFileInvoker.java | 79 device.waitForDeviceAvailable(); in setUp()
|
D | SideloadOtaTargetPreparer.java | 85 device.waitForDeviceAvailable(); in postUpdateActions()
|
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/ |
D | ActivityStatusCheckerFuncTest.java | 49 mTestDevice.waitForDeviceAvailable(); in setUp()
|
/tools/tradefederation/core/src/com/android/tradefed/util/ |
D | DeviceRecoveryModeUtil.java | 65 managedDevice.waitForDeviceAvailable(timeoutMs); in bootOutOfRecovery()
|
/tools/tradefederation/core/javatests/com/android/tradefed/device/connection/ |
D | AdbSshConnectionTest.java | 185 when(mMockMonitor.waitForDeviceAvailable(Mockito.anyLong())).thenReturn(mMockIDevice); in testPowerwashGce() 261 when(mMockMonitor.waitForDeviceAvailable(Mockito.anyLong())).thenReturn(mMockIDevice); in testPowerwashOxygenGce() 332 when(mMockMonitor.waitForDeviceAvailable(Mockito.anyLong())).thenReturn(mMockIDevice); in testPowerwashMultiInstance() 493 when(mMockMonitor.waitForDeviceAvailable(Mockito.anyLong())).thenReturn(mMockIDevice); in testPreInvocationLaunchedDeviceSetup() 663 when(mMockMonitor.waitForDeviceAvailable(Mockito.anyLong())).thenReturn(mMockIDevice); in testSnapshotGce()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | NestedRemoteDevice.java | 95 waitForDeviceAvailable(); in resetVirtualDevice()
|