Home
last modified time | relevance | path

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

/tools/tradefederation/core/src/com/android/tradefed/device/connection/
DAdbSshConnection.java110 long remainingTime = getDevice().getOptions().getGceCmdTimeout(); in initializeConnection() local
133 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()
/tools/tradefederation/core/common_util/com/android/tradefed/util/
DRunUtil.java684 long remainingTime = maxTime - (getCurrentTime() - initialTime); in runEscalatingTimedRetry() local
685 if (remainingTime <= 0) { in runEscalatingTimedRetry()
688 } else if (remainingTime < pollInterval) { in runEscalatingTimedRetry()
690 pollInterval = remainingTime; in runEscalatingTimedRetry()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java2492 long remainingTime = maxWaitTime; in waitForEvent() local
2493 while (!mEventReceived && remainingTime > 0) { in waitForEvent()
2495 wait(remainingTime); in waitForEvent()
2499 remainingTime = maxWaitTime - (System.currentTimeMillis() - startTime); in waitForEvent()