Searched refs:timeRemaining (Results 1 – 4 of 4) sorted by relevance
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()
106 long timeRemaining = msec; in waitForOpen() local107 while (mDevice == null && timeRemaining > 0) { in waitForOpen()108 wait(timeRemaining); in waitForOpen()109 timeRemaining = deadline - System.currentTimeMillis(); in waitForOpen()579 long timeRemaining = msec; in waitForStatus() local580 while (mStatus == null && timeRemaining > 0) { in waitForStatus()581 wait(timeRemaining); in waitForStatus()582 timeRemaining = deadline - System.currentTimeMillis(); in waitForStatus()
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()