Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/
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 …]
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
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()
DINativeDevice.java1001 public void waitForDeviceAvailable(final long waitTime) throws DeviceNotAvailableException; in waitForDeviceAvailable() argument
1021 public void waitForDeviceOnline(final long waitTime) throws DeviceNotAvailableException; in waitForDeviceOnline() argument
1041 public boolean waitForDeviceNotAvailable(final long waitTime); in waitForDeviceNotAvailable() argument
1051 public boolean waitForDeviceInRecovery(final long waitTime); in waitForDeviceInRecovery() argument
1059 public boolean waitForDeviceShell(final long waitTime); in waitForDeviceShell() argument
DRemoteAndroidDevice.java236 public void waitForAdbConnect(final long waitTime) throws DeviceNotAvailableException { in waitForAdbConnect() argument
237 CLog.i("Waiting %d ms for adb connection.", waitTime); in waitForAdbConnect()
239 while (System.currentTimeMillis() - startTime < waitTime) { in waitForAdbConnect()
247 String.format("No adb connection after %sms.", waitTime), getSerialNumber()); in waitForAdbConnect()
DNativeDevice.java2547 int waitTime = 0; in connectToWifiNetwork() local
2582 waitTime = rnd.nextInt(backoffSlotCount) * slotTime; in connectToWifiNetwork()
2585 CLog.e("Waiting for %d ms before reconnecting to %s...", waitTime, wifiSsid); in connectToWifiNetwork()
2586 getRunUtil().sleep(waitTime); in connectToWifiNetwork()
3341 public void waitForDeviceOnline(long waitTime) throws DeviceNotAvailableException { in waitForDeviceOnline() argument
3342 if (mStateMonitor.waitForDeviceOnline(waitTime) == null) { in waitForDeviceOnline()
3361 public void waitForDeviceAvailable(long waitTime) throws DeviceNotAvailableException { in waitForDeviceAvailable() argument
3362 if (mStateMonitor.waitForDeviceAvailable(waitTime) == null) { in waitForDeviceAvailable()
3381 public boolean waitForDeviceNotAvailable(long waitTime) { in waitForDeviceNotAvailable() argument
3382 return mStateMonitor.waitForDeviceNotAvailable(waitTime); in waitForDeviceNotAvailable()
[all …]
DWaitDeviceRecovery.java95 void setWaitTime(long waitTime) { in setWaitTime() argument
96 mWaitTime = waitTime; in setWaitTime()
/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/device/cloud/
DNestedDeviceStateMonitor.java43 protected boolean postOnlineCheck(final long waitTime) { in postOnlineCheck() argument
45 if (!super.postOnlineCheck(waitTime)) { in postOnlineCheck()
51 return nestedWaitForDeviceOnline(waitTime - elapsedTime); in postOnlineCheck()
DRemoteAndroidVirtualDevice.java305 protected void waitForTunnelOnline(final long waitTime) throws DeviceNotAvailableException { in waitForTunnelOnline() argument
306 CLog.i("Waiting %d ms for tunnel to be restarted", waitTime); in waitForTunnelOnline()
308 while (getCurrentTime() - startTime < waitTime) { in waitForTunnelOnline()
320 String.format("Tunnel did not come back online after %sms", waitTime), in waitForTunnelOnline()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DStreamProtoReceiver.java177 long waitTime = millis + mExtraWaitTimeForEvents; in joinReceiver() local
180 TimeUtil.formatElapsedTime(waitTime)); in joinReceiver()
181 if (!mEventReceiver.getCountDown().await(waitTime, TimeUnit.MILLISECONDS)) { in joinReceiver()
/tools/tradefederation/core/src/com/android/tradefed/sandbox/
DTradefedSandbox.java141 long waitTime = getSandboxOptions(config).getWaitForEventsTimeout(); in run() local
143 joinResult = mProtoReceiver.joinReceiver(waitTime); in run()
145 joinResult = mEventParser.joinReceiver(waitTime); in run()
/tools/tradefederation/core/src/com/android/tradefed/result/
DBugreportCollector.java233 public void setDeviceWaitTime(int waitTime) { in setDeviceWaitTime() argument
234 mDeviceWaitTimeSecs = waitTime; in setDeviceWaitTime()
/tools/dexter/testdata/expected/
Dmedium.rewrite22567 .local v18, "waitTime", long
Dmedium.wrap_invoke22567 .local v18, "waitTime", long
Dmedium.scratch_regs28502 .local v18, "waitTime", long
Dmedium.exit_hook24317 .local v18, "waitTime", long
Dmedium.entry_hook23581 .local v18, "waitTime", long
Dmedium.compact_cfg27065 .local v18, "waitTime", long