Home
last modified time | relevance | path

Searched refs:maxWaitTime (Results 1 – 3 of 3) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedDeviceStateMonitor.java55 private boolean nestedWaitForDeviceOnline(long maxWaitTime) { in nestedWaitForDeviceOnline() argument
56 long maxTime = System.currentTimeMillis() + maxWaitTime; in nestedWaitForDeviceOnline()
/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDeviceStateMonitor.java730 private boolean busyWaitFunction(Callable<BUSY_WAIT_STATUS> callable, long maxWaitTime) { in busyWaitFunction() argument
734 while ((System.currentTimeMillis() - startTime) < maxWaitTime) { in busyWaitFunction()
737 if (currentTotalWaitTime + nextWaitTime > maxWaitTime) { in busyWaitFunction()
738 nextWaitTime = maxWaitTime - currentTotalWaitTime; in busyWaitFunction()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java2487 public synchronized boolean waitForEvent(long maxWaitTime) { in waitForEvent() argument
2488 if (maxWaitTime == 0) { in waitForEvent()
2492 long remainingTime = maxWaitTime; in waitForEvent()
2499 remainingTime = maxWaitTime - (System.currentTimeMillis() - startTime); in waitForEvent()
2529 public synchronized void waitAndReset(long maxWaitTime) { in waitAndReset() argument
2530 waitForEvent(maxWaitTime); in waitAndReset()