Searched refs:timeRemaining (Results 1 – 4 of 4) sorted by relevance
100 long timeRemaining = msec; in waitForOpen() local101 while (mDevice == null && timeRemaining > 0) { in waitForOpen()102 wait(timeRemaining); in waitForOpen()103 timeRemaining = deadline - System.currentTimeMillis(); in waitForOpen()509 long timeRemaining = msec; in waitForStatus() local510 while (mStatus == null && timeRemaining > 0) { in waitForStatus()511 wait(timeRemaining); in waitForStatus()512 timeRemaining = deadline - System.currentTimeMillis(); in waitForStatus()
324 long timeRemaining = timeout; in waitOnTestThread() local325 while (!doneCriteria.call() && timeRemaining > 0) { in waitOnTestThread()326 this.wait(timeRemaining); in waitOnTestThread()327 timeRemaining = waitEnd - SystemClock.uptimeMillis(); in waitOnTestThread()
119 long timeRemaining; in calculateTimeRemaining() local122 timeRemaining = System.currentTimeMillis() - mMarkerTimeStamp.get(lastTimestamp); in calculateTimeRemaining()123 return TIME_TO_ADD_MARKER - timeRemaining; in calculateTimeRemaining()
134 long timeRemaining = msec; in waitForOpen() local135 while (mDevice == null && timeRemaining > 0) { in waitForOpen()136 wait(timeRemaining); in waitForOpen()137 timeRemaining = deadline - System.currentTimeMillis(); in waitForOpen()