Home
last modified time | relevance | path

Searched refs:waitTime (Results 1 – 10 of 10) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/
DIDeviceStateMonitor.java56 public boolean waitForBootComplete(final long waitTime); in waitForBootComplete() argument
64 public boolean waitForDeviceShell(final long waitTime); in waitForDeviceShell() argument
74 public IDevice waitForDeviceAvailable(final long waitTime); in waitForDeviceAvailable() argument
94 public boolean waitForDeviceBootloader(long waitTime); in waitForDeviceBootloader() argument
108 public boolean waitForDeviceNotAvailable(long waitTime); in waitForDeviceNotAvailable() argument
116 public boolean waitForDeviceInRecovery(long waitTime); in waitForDeviceInRecovery() argument
DNativeDeviceStateMonitor.java101 public IDevice waitForDeviceOnline(long waitTime) { in waitForDeviceOnline() argument
102 if (waitForDeviceState(TestDeviceState.ONLINE, waitTime)) { in waitForDeviceOnline()
137 public boolean waitForDeviceNotAvailable(long waitTime) { in waitForDeviceNotAvailable() argument
142 boolean result = waitForDeviceState(TestDeviceState.NOT_AVAILABLE, waitTime); in waitForDeviceNotAvailable()
153 public boolean waitForDeviceInRecovery(long waitTime) { in waitForDeviceInRecovery() argument
154 return waitForDeviceState(TestDeviceState.RECOVERY, waitTime); in waitForDeviceInRecovery()
161 public boolean waitForDeviceShell(final long waitTime) { in waitForDeviceShell() argument
162 CLog.i("Waiting %d ms for device %s shell to be responsive", waitTime, in waitForDeviceShell()
166 while (System.currentTimeMillis() - startTime < waitTime) { in waitForDeviceShell()
194 public IDevice waitForDeviceAvailable(final long waitTime) { in waitForDeviceAvailable() argument
[all …]
DDeviceStateMonitor.java44 protected boolean waitForPmResponsive(final long waitTime) { in waitForPmResponsive() argument
46 waitTime, getSerialNumber()); in waitForPmResponsive()
49 while (System.currentTimeMillis() - startTime < waitTime) { in waitForPmResponsive()
79 protected boolean postOnlineCheck(final long waitTime) { in postOnlineCheck() argument
81 if (!waitForPmResponsive(waitTime)) { in postOnlineCheck()
85 return super.postOnlineCheck(waitTime - elapsedTime); in postOnlineCheck()
DRemoteAndroidDevice.java183 public void waitForAdbConnect(final long waitTime) throws DeviceNotAvailableException { in waitForAdbConnect() argument
184 CLog.i("Waiting %d ms for adb connection.", waitTime); in waitForAdbConnect()
186 while (System.currentTimeMillis() - startTime < waitTime) { in waitForAdbConnect()
194 String.format("No adb connection after %sms.", waitTime), getSerialNumber()); in waitForAdbConnect()
DINativeDevice.java908 public void waitForDeviceAvailable(final long waitTime) throws DeviceNotAvailableException; in waitForDeviceAvailable() argument
928 public void waitForDeviceOnline(final long waitTime) throws DeviceNotAvailableException; in waitForDeviceOnline() argument
948 public boolean waitForDeviceNotAvailable(final long waitTime); in waitForDeviceNotAvailable() argument
958 public boolean waitForDeviceInRecovery(final long waitTime); in waitForDeviceInRecovery() argument
966 public boolean waitForDeviceShell(final long waitTime); in waitForDeviceShell() argument
DWaitDeviceRecovery.java95 void setWaitTime(long waitTime) { in setWaitTime() argument
96 mWaitTime = waitTime; in setWaitTime()
DNativeDevice.java2343 int waitTime = 0; in connectToWifiNetwork() local
2378 waitTime = rnd.nextInt(backoffSlotCount) * slotTime; in connectToWifiNetwork()
2381 CLog.e("Waiting for %d ms before reconnecting to %s...", waitTime, wifiSsid); in connectToWifiNetwork()
2382 getRunUtil().sleep(waitTime); in connectToWifiNetwork()
3107 public void waitForDeviceOnline(long waitTime) throws DeviceNotAvailableException { in waitForDeviceOnline() argument
3108 if (mStateMonitor.waitForDeviceOnline(waitTime) == null) { in waitForDeviceOnline()
3127 public void waitForDeviceAvailable(long waitTime) throws DeviceNotAvailableException { in waitForDeviceAvailable() argument
3128 if (mStateMonitor.waitForDeviceAvailable(waitTime) == null) { in waitForDeviceAvailable()
3147 public boolean waitForDeviceNotAvailable(long waitTime) { in waitForDeviceNotAvailable() argument
3148 return mStateMonitor.waitForDeviceNotAvailable(waitTime); in waitForDeviceNotAvailable()
[all …]
/tools/tradefederation/core/tests/src/com/android/tradefed/device/
DDeviceStateMonitorTest.java682 public IDevice waitForDeviceOnline(long waitTime) { in testWaitForDeviceAvailable()
686 public boolean waitForBootComplete(long waitTime) { in testWaitForDeviceAvailable()
690 protected boolean waitForPmResponsive(long waitTime) { in testWaitForDeviceAvailable()
694 protected boolean waitForStoreMount(long waitTime) { in testWaitForDeviceAvailable()
711 public IDevice waitForDeviceOnline(long waitTime) { in testWaitForDeviceAvailable_notOnline()
729 public IDevice waitForDeviceOnline(long waitTime) { in testWaitForDeviceAvailable_notBootComplete()
733 public boolean waitForBootComplete(long waitTime) { in testWaitForDeviceAvailable_notBootComplete()
750 public IDevice waitForDeviceOnline(long waitTime) { in testWaitForDeviceAvailable_pmNotResponsive()
754 public boolean waitForBootComplete(long waitTime) { in testWaitForDeviceAvailable_pmNotResponsive()
758 protected boolean waitForPmResponsive(long waitTime) { in testWaitForDeviceAvailable_pmNotResponsive()
[all …]
DMockDeviceManager.java94 public boolean waitForDeviceShell(long waitTime) { in setNumDevicesCustomRealNoRecovery()
/tools/tradefederation/core/src/com/android/tradefed/result/
DBugreportCollector.java233 public void setDeviceWaitTime(int waitTime) { in setDeviceWaitTime() argument
234 mDeviceWaitTimeSecs = waitTime; in setDeviceWaitTime()