Searched refs:maxWaitTime (Results 1 – 2 of 2) sorted by relevance
54 private boolean nestedWaitForDeviceOnline(long maxWaitTime) { in nestedWaitForDeviceOnline() argument55 long maxTime = System.currentTimeMillis() + maxWaitTime; in nestedWaitForDeviceOnline()
2066 public synchronized boolean waitForEvent(long maxWaitTime) { in waitForEvent() argument2067 if (maxWaitTime == 0) { in waitForEvent()2071 long remainingTime = maxWaitTime; in waitForEvent()2078 remainingTime = maxWaitTime - (System.currentTimeMillis() - startTime); in waitForEvent()2109 public synchronized void waitAndReset(long maxWaitTime) { in waitAndReset() argument2110 waitForEvent(maxWaitTime); in waitAndReset()