Searched refs:waitForDeviceShell (Results 1 – 16 of 16) sorted by relevance
66 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()
87 public boolean waitForDeviceShell(final long waitTime); in waitForDeviceShell() method
1354 public boolean waitForDeviceShell(final long waitTime); in waitForDeviceShell() method
94 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()
77 when(mockDevice.waitForDeviceShell(Mockito.anyLong())).thenReturn(responsive); in setNumDevicesInternal()96 public boolean waitForDeviceShell(long waitTime) { in setNumDevicesCustomRealNoRecovery()
205 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()
843 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()
122 if (!device.waitForDeviceShell(mShellAvailableTimeout * 1000)) { in getBuild()
159 if (!monitor.waitForDeviceShell(mShellWaitTime)) { in recoverDevice()
214 public boolean waitForDeviceShell(final long waitTime) { in waitForDeviceShell() method in NativeDeviceStateMonitor
463 if (testDevice.getMonitor().waitForDeviceShell(CHECK_WAIT_DEVICE_AVAIL_MS)) { in checkAndAddAvailableDevice()
4766 public boolean waitForDeviceShell(long waitTime) { in waitForDeviceShell() method in NativeDevice4767 return mStateMonitor.waitForDeviceShell(waitTime); in waitForDeviceShell()
404 when(mockDevice.waitForDeviceShell(anyLong())).thenReturn(true);1555 when(mockDevice.waitForDeviceShell(anyLong())).thenReturn(true); in testExecCommand_versioning()
863 when(mMockDevice.waitForDeviceShell(30000L)).thenReturn(true); in stubEarlyDeviceReleaseExpectation()868 verify(mMockDevice).waitForDeviceShell(30000L); in verifyEarlyDeviceReleaseExpectation()
222 if (!getDevice().waitForDeviceShell(CHECK_WAIT_DEVICE_AVAIL_MS)) { in reconnectForRecovery()
1015 } else if (!device.waitForDeviceShell(30000L)) { in createReleaseMap()