Home
last modified time | relevance | path

Searched refs:remainingTime (Results 1 – 4 of 4) sorted by relevance

/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DRemoteAndroidVirtualDevice.java102 long remainingTime = getOptions().getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup() local
103 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()
DManagedRemoteDevice.java89 long remainingTime = options.getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup() local
90 if (remainingTime < 0) { in preInvocationSetup()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java468 long remainingTime = maxTime - (getCurrentTime() - initialTime); in runEscalatingTimedRetry() local
469 if (remainingTime <= 0) { in runEscalatingTimedRetry()
472 } else if (remainingTime < pollInterval) { in runEscalatingTimedRetry()
474 pollInterval = remainingTime; in runEscalatingTimedRetry()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java2195 long remainingTime = maxWaitTime; in waitForEvent() local
2196 while (!mEventReceived && remainingTime > 0) { in waitForEvent()
2198 wait(remainingTime); in waitForEvent()
2202 remainingTime = maxWaitTime - (System.currentTimeMillis() - startTime); in waitForEvent()