/tools/tradefederation/core/src/com/android/tradefed/device/ |
D | NativeDeviceStateMonitor.java | 101 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 …]
|
D | IDeviceStateMonitor.java | 56 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
|
D | DeviceStateMonitor.java | 44 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()
|
D | INativeDevice.java | 1001 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
|
D | RemoteAndroidDevice.java | 236 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()
|
D | NativeDevice.java | 2547 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 …]
|
D | WaitDeviceRecovery.java | 95 void setWaitTime(long waitTime) { in setWaitTime() argument 96 mWaitTime = waitTime; in setWaitTime()
|
/tools/tradefederation/core/tests/src/com/android/tradefed/device/ |
D | DeviceStateMonitorTest.java | 682 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 …]
|
D | MockDeviceManager.java | 94 public boolean waitForDeviceShell(long waitTime) { in setNumDevicesCustomRealNoRecovery()
|
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/ |
D | NestedDeviceStateMonitor.java | 43 protected boolean postOnlineCheck(final long waitTime) { in postOnlineCheck() argument 45 if (!super.postOnlineCheck(waitTime)) { in postOnlineCheck() 51 return nestedWaitForDeviceOnline(waitTime - elapsedTime); in postOnlineCheck()
|
D | RemoteAndroidVirtualDevice.java | 305 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/ |
D | StreamProtoReceiver.java | 177 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/ |
D | TradefedSandbox.java | 141 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/ |
D | BugreportCollector.java | 233 public void setDeviceWaitTime(int waitTime) { in setDeviceWaitTime() argument 234 mDeviceWaitTimeSecs = waitTime; in setDeviceWaitTime()
|
/tools/dexter/testdata/expected/ |
D | medium.rewrite | 22567 .local v18, "waitTime", long
|
D | medium.wrap_invoke | 22567 .local v18, "waitTime", long
|
D | medium.scratch_regs | 28502 .local v18, "waitTime", long
|
D | medium.exit_hook | 24317 .local v18, "waitTime", long
|
D | medium.entry_hook | 23581 .local v18, "waitTime", long
|
D | medium.compact_cfg | 27065 .local v18, "waitTime", long
|