Home
last modified time | relevance | path

Searched refs:waitForDeviceShell (Results 1 – 16 of 16) sorted by relevance

/tools/tradefederation/core/javatests/com/android/tradefed/build/
DBootstrapBuildProviderTest.java66 when(mMockDevice.waitForDeviceShell(Mockito.anyLong())).thenReturn(true); in testGetBuild()
87 when(mMockDevice.waitForDeviceShell(Mockito.anyLong())).thenReturn(true); in testGetBuild_add_extra_file()
138 when(mMockDevice.waitForDeviceShell(Mockito.anyLong())).thenReturn(true); in testCleanup_withExistingTestsDir()
161 when(mMockDevice.waitForDeviceShell(Mockito.anyLong())).thenReturn(true); in testCleanup_withTestsDirIsNull()
180 when(mMockDevice.waitForDeviceShell(Mockito.anyLong())).thenReturn(true); in testCleanup_withTestsDirIsNotDir()
/tools/tradefederation/core/device_build_interfaces/com/android/tradefed/device/
DIDeviceStateMonitor.java87 public boolean waitForDeviceShell(final long waitTime); in waitForDeviceShell() method
DINativeDevice.java1354 public boolean waitForDeviceShell(final long waitTime); in waitForDeviceShell() method
/tools/tradefederation/core/javatests/com/android/tradefed/device/
DWaitDeviceRecoveryTest.java94 when(mMockMonitor.waitForDeviceShell(Mockito.anyLong())).thenReturn(true); in testRecoverDevice_success()
203 when(mMockMonitor.waitForDeviceShell(Mockito.anyLong())).thenReturn(true); in testRecoverDevice_unresponsive()
260 when(mMockMonitor.waitForDeviceShell(Mockito.anyLong())).thenReturn(true); in testRecoverDevice_fastboot()
DMockDeviceManager.java77 when(mockDevice.waitForDeviceShell(Mockito.anyLong())).thenReturn(responsive); in setNumDevicesInternal()
96 public boolean waitForDeviceShell(long waitTime) { in setNumDevicesCustomRealNoRecovery()
DDeviceStateMonitorTest.java205 boolean res = mMonitor.waitForDeviceShell(WAIT_TIMEOUT_NOT_REACHED_MS); in testWaitForShellAvailable()
256 boolean res = mMonitor.waitForDeviceShell(WAIT_TIMEOUT_NOT_REACHED_MS); in testWaitForShell_becomeAvailable()
291 boolean res = mMonitor.waitForDeviceShell(WAIT_TIMEOUT_REACHED_MS); in testWaitForShell_timeout()
DDeviceManagerTest.java843 when(mMockStateMonitor.waitForDeviceShell(Mockito.anyLong())).thenReturn(Boolean.TRUE); in setCheckAvailableDeviceExpectations()
894 when(mMockStateMonitor.waitForDeviceShell(Mockito.anyLong())).thenReturn(Boolean.TRUE); in testFreeDevice_unavailable()
952 when(mMockStateMonitor.waitForDeviceShell(Mockito.anyLong())).thenReturn(Boolean.TRUE); in testFreeDevice_recovery()
1013 when(mMockStateMonitor.waitForDeviceShell(Mockito.anyLong())).thenReturn(Boolean.TRUE); in testFreeDevice_unknown()
1075 when(mMockStateMonitor.waitForDeviceShell(Mockito.anyLong())).thenReturn(Boolean.TRUE); in testFreeDevice_unknown_subName()
/tools/tradefederation/core/src/com/android/tradefed/build/
DBootstrapBuildProvider.java122 if (!device.waitForDeviceShell(mShellAvailableTimeout * 1000)) { in getBuild()
/tools/tradefederation/core/src/com/android/tradefed/device/
DWaitDeviceRecovery.java159 if (!monitor.waitForDeviceShell(mShellWaitTime)) { in recoverDevice()
DNativeDeviceStateMonitor.java214 public boolean waitForDeviceShell(final long waitTime) { in waitForDeviceShell() method in NativeDeviceStateMonitor
DDeviceManager.java463 if (testDevice.getMonitor().waitForDeviceShell(CHECK_WAIT_DEVICE_AVAIL_MS)) { in checkAndAddAvailableDevice()
DNativeDevice.java4766 public boolean waitForDeviceShell(long waitTime) { in waitForDeviceShell() method in NativeDevice
4767 return mStateMonitor.waitForDeviceShell(waitTime); in waitForDeviceShell()
/tools/tradefederation/core/javatests/com/android/tradefed/command/
DCommandSchedulerTest.java404 when(mockDevice.waitForDeviceShell(anyLong())).thenReturn(true);
1555 when(mockDevice.waitForDeviceShell(anyLong())).thenReturn(true); in testExecCommand_versioning()
/tools/tradefederation/core/javatests/com/android/tradefed/invoker/
DTestInvocationTest.java863 when(mMockDevice.waitForDeviceShell(30000L)).thenReturn(true); in stubEarlyDeviceReleaseExpectation()
868 verify(mMockDevice).waitForDeviceShell(30000L); in verifyEarlyDeviceReleaseExpectation()
/tools/tradefederation/core/src/com/android/tradefed/device/connection/
DAdbSshConnection.java222 if (!getDevice().waitForDeviceShell(CHECK_WAIT_DEVICE_AVAIL_MS)) { in reconnectForRecovery()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java1015 } else if (!device.waitForDeviceShell(30000L)) { in createReleaseMap()