Searched refs:maxWaitTime (Results 1 – 3 of 3) sorted by relevance
55 private boolean nestedWaitForDeviceOnline(long maxWaitTime) { in nestedWaitForDeviceOnline() argument56 long maxTime = System.currentTimeMillis() + maxWaitTime; in nestedWaitForDeviceOnline()
730 private boolean busyWaitFunction(Callable<BUSY_WAIT_STATUS> callable, long maxWaitTime) { in busyWaitFunction() argument734 while ((System.currentTimeMillis() - startTime) < maxWaitTime) { in busyWaitFunction()737 if (currentTotalWaitTime + nextWaitTime > maxWaitTime) { in busyWaitFunction()738 nextWaitTime = maxWaitTime - currentTotalWaitTime; in busyWaitFunction()
2487 public synchronized boolean waitForEvent(long maxWaitTime) { in waitForEvent() argument2488 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() argument2530 waitForEvent(maxWaitTime); in waitAndReset()