Searched refs:timeRemaining (Results 1 – 5 of 5) sorted by relevance
319 long timeRemaining = timeout; in waitForLoadCompletionOnTestThread() local320 while (!isLoaded() && timeRemaining > 0) { in waitForLoadCompletionOnTestThread()321 this.wait(timeRemaining); in waitForLoadCompletionOnTestThread()322 timeRemaining = waitEnd - SystemClock.uptimeMillis(); in waitForLoadCompletionOnTestThread()
90 long timeRemaining = msec; in waitForOpen() local91 while (mDevice == null && timeRemaining > 0) { in waitForOpen()92 wait(timeRemaining); in waitForOpen()93 timeRemaining = deadline - System.currentTimeMillis(); in waitForOpen()
119 long timeRemaining; in calculateTimeRemaining() local122 timeRemaining = System.currentTimeMillis() - mMarkerTimeStamp.get(lastTimestamp); in calculateTimeRemaining()123 return TIME_TO_ADD_MARKER - timeRemaining; in calculateTimeRemaining()
133 long timeRemaining = msec; in waitForOpen() local134 while (mDevice == null && timeRemaining > 0) { in waitForOpen()135 wait(timeRemaining); in waitForOpen()136 timeRemaining = deadline - System.currentTimeMillis(); in waitForOpen()
131 long timeRemaining = msec; in waitForOpen() local132 while (mDevice == null && timeRemaining > 0) { in waitForOpen()133 wait(timeRemaining); in waitForOpen()134 timeRemaining = deadline - System.currentTimeMillis(); in waitForOpen()920 long timeRemaining = msec; in waitForStatus() local921 while (mStatus == null && timeRemaining > 0) { in waitForStatus()922 wait(timeRemaining); in waitForStatus()923 timeRemaining = deadline - System.currentTimeMillis(); in waitForStatus()