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.java109 long remainingTime = getOptions().getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup() local
110 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()
DManagedRemoteDevice.java79 long remainingTime = getOptions().getGceCmdTimeout() - (getCurrentTime() - startTime); in preInvocationSetup() local
80 if (remainingTime < 0) { in preInvocationSetup()
/tools/tradefederation/core/src/com/android/tradefed/util/
DRunUtil.java439 long remainingTime = maxTime - (getCurrentTime() - initialTime); in runEscalatingTimedRetry() local
440 if (remainingTime <= 0) { in runEscalatingTimedRetry()
443 } else if (remainingTime < pollInterval) { in runEscalatingTimedRetry()
445 pollInterval = remainingTime; in runEscalatingTimedRetry()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java2071 long remainingTime = maxWaitTime; in waitForEvent() local
2072 while (!mEventReceived && remainingTime > 0) { in waitForEvent()
2074 wait(remainingTime); in waitForEvent()
2078 remainingTime = maxWaitTime - (System.currentTimeMillis() - startTime); in waitForEvent()