Searched refs:remainingTime (Results 1 – 4 of 4) sorted by relevance
109 long remainingTime = getOptions().getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup() local110 if (remainingTime < 0) { in preInvocationSetup()116 CLog.d("%sms left before timeout after GCE launch returned", remainingTime); in preInvocationSetup()125 if (getMonitor().waitForDeviceAvailable(remainingTime / WAIT_TIME_DIVISION) in preInvocationSetup()
79 long remainingTime = getOptions().getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup() local80 if (remainingTime < 0) { in preInvocationSetup()
439 long remainingTime = maxTime - (getCurrentTime() - initialTime); in runEscalatingTimedRetry() local440 if (remainingTime <= 0) { in runEscalatingTimedRetry()443 } else if (remainingTime < pollInterval) { in runEscalatingTimedRetry()445 pollInterval = remainingTime; in runEscalatingTimedRetry()
2071 long remainingTime = maxWaitTime; in waitForEvent() local2072 while (!mEventReceived && remainingTime > 0) { in waitForEvent()2074 wait(remainingTime); in waitForEvent()2078 remainingTime = maxWaitTime - (System.currentTimeMillis() - startTime); in waitForEvent()