Searched refs:remainingTime (Results 1 – 3 of 3) sorted by relevance
110 long remainingTime = getDevice().getOptions().getGceCmdTimeout(); in initializeConnection() local133 remainingTime = remainingTime - (getCurrentTime() - startTime); in initializeConnection()144 if (remainingTime <= 0) { in initializeConnection()152 CLog.d("%sms left before timeout after GCE launch returned", remainingTime); in initializeConnection()165 .waitForDeviceAvailable(remainingTime / WAIT_TIME_DIVISION) in initializeConnection()
684 long remainingTime = maxTime - (getCurrentTime() - initialTime); in runEscalatingTimedRetry() local685 if (remainingTime <= 0) { in runEscalatingTimedRetry()688 } else if (remainingTime < pollInterval) { in runEscalatingTimedRetry()690 pollInterval = remainingTime; in runEscalatingTimedRetry()
2492 long remainingTime = maxWaitTime; in waitForEvent() local2493 while (!mEventReceived && remainingTime > 0) { in waitForEvent()2495 wait(remainingTime); in waitForEvent()2499 remainingTime = maxWaitTime - (System.currentTimeMillis() - startTime); in waitForEvent()