Home
last modified time | relevance | path

Searched refs:waitForDeviceAvailable (Results 1 – 25 of 83) sorted by relevance

1234

/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DIDeviceStateMonitor.java97 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/
DAdbRootElevatorTest.java52 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()
DDeviceRecoveryModeUtilTest.java55 verify(mMockManagedDevice, times(1)).waitForDeviceAvailable(Mockito.anyLong()); in testBootOutOfRecovery()
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DDeviceManagerFuncTest.java54 mUsbDevice.waitForDeviceAvailable(30 * 1000); in testReconnectDeviceToTcp_backUsb()
88 mUsbDevice.waitForDeviceAvailable(); in testReconnectDeviceToTcp_reboot()
DDeviceStateMonitorTest.java812 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()
DWaitDeviceRecoveryTest.java95 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/
DRestartSystemServerTargetPreparerTest.java67 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testSetUp_bootComplete()
81 .waitForDeviceAvailable(); in testSetUp_bootNotComplete()
101 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testTearDown_restart()
DCompileBootImageWithSpeedTargetPreparerTest.java67 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testSpeed()
80 verify(mMockDevice, times(1)).waitForDeviceAvailable(); in testSpeedProfile()
DStopServicesSetupTest.java115 inOrder.verify(mMockDevice).waitForDeviceAvailable(); in testTearDown()
118 verify(mMockDevice).waitForDeviceAvailable(); in testTearDown()
DSystemUpdaterDeviceFlasherTest.java87 mInOrder.verify(mMockDevice).waitForDeviceAvailable(); in testFlash()
118 mInOrder.verify(mMockDevice, times(0)).waitForDeviceAvailable(); in testFlashSameBuild()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/
DGTestFuncTest.java71 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/
DDeviceSyncHelper.java91 device.waitForDeviceAvailable(); in syncFiles()
130 device.waitForDeviceAvailable(15 * 60 * 1000); in syncFiles()
/tools/tradefederation/core/src/com/android/tradefed/suite/checker/
DDeviceAvailableChecker.java29 device.waitForDeviceAvailable(); in postExecutionCheck()
/tools/tradefederation/core/javatests/com/android/tradefed/testtype/suite/retry/
DResultsPlayerTest.java121 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/
DRestartSystemServerTargetPreparer.java40 device.waitForDeviceAvailable(); in restartSystemServer()
DRemoveSystemAppPreparer.java53 device.waitForDeviceAvailable(); in setUp()
DEraseUserDataPreparer.java50 device.waitForDeviceAvailable(); in setUp()
DStopServicesSetup.java55 device.waitForDeviceAvailable(); in tearDown()
DCompileBootImageWithSpeedTargetPreparer.java61 device.waitForDeviceAvailable(); in setUp()
DPushFileInvoker.java79 device.waitForDeviceAvailable(); in setUp()
DSideloadOtaTargetPreparer.java85 device.waitForDeviceAvailable(); in postUpdateActions()
/tools/tradefederation/core/javatests/com/android/tradefed/suite/checker/
DActivityStatusCheckerFuncTest.java49 mTestDevice.waitForDeviceAvailable(); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/util/
DDeviceRecoveryModeUtil.java65 managedDevice.waitForDeviceAvailable(timeoutMs); in bootOutOfRecovery()
/tools/tradefederation/core/javatests/com/android/tradefed/device/connection/
DAdbSshConnectionTest.java185 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/
DNestedRemoteDevice.java95 waitForDeviceAvailable(); in resetVirtualDevice()

1234