Searched refs:remainingTime (Results 1 – 4 of 4) sorted by relevance
102 long remainingTime = getOptions().getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup() local103 if (remainingTime < 0) { in preInvocationSetup()110 CLog.d("%sms left before timeout after GCE launch returned", remainingTime); in preInvocationSetup()119 if (getMonitor().waitForDeviceAvailable(remainingTime / WAIT_TIME_DIVISION) in preInvocationSetup()
89 long remainingTime = options.getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup() local90 if (remainingTime < 0) { in preInvocationSetup()
468 long remainingTime = maxTime - (getCurrentTime() - initialTime); in runEscalatingTimedRetry() local469 if (remainingTime <= 0) { in runEscalatingTimedRetry()472 } else if (remainingTime < pollInterval) { in runEscalatingTimedRetry()474 pollInterval = remainingTime; in runEscalatingTimedRetry()
2195 long remainingTime = maxWaitTime; in waitForEvent() local2196 while (!mEventReceived && remainingTime > 0) { in waitForEvent()2198 wait(remainingTime); in waitForEvent()2202 remainingTime = maxWaitTime - (System.currentTimeMillis() - startTime); in waitForEvent()