Searched refs:maxWaitTime (Results 1 – 2 of 2) sorted by relevance
2190 public synchronized boolean waitForEvent(long maxWaitTime) { in waitForEvent() argument2191 if (maxWaitTime == 0) { in waitForEvent()2195 long remainingTime = maxWaitTime; in waitForEvent()2202 remainingTime = maxWaitTime - (System.currentTimeMillis() - startTime); in waitForEvent()2233 public synchronized void waitAndReset(long maxWaitTime) { in waitAndReset() argument2234 waitForEvent(maxWaitTime); in waitAndReset()
55 private boolean nestedWaitForDeviceOnline(long maxWaitTime) { in nestedWaitForDeviceOnline() argument56 long maxTime = System.currentTimeMillis() + maxWaitTime; in nestedWaitForDeviceOnline()