Home
last modified time | relevance | path

Searched refs:currentTimeMillis (Results 1 – 25 of 127) sorted by relevance

123456

/tools/tradefederation/core/src/com/android/tradefed/device/
DNativeDeviceStateMonitor.java179 long startTime = System.currentTimeMillis(); in waitForDeviceShell()
181 while (System.currentTimeMillis() - startTime < waitTime) { in waitForDeviceShell()
221 long startTime = System.currentTimeMillis(); in waitForDeviceAvailable()
226 long elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable()
230 elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable()
252 long startTime = System.currentTimeMillis(); in waitForBootComplete()
254 while ((System.currentTimeMillis() - startTime) < waitTime) { in waitForBootComplete()
294 long startTime = System.currentTimeMillis(); in waitForStoreMount()
299 while (System.currentTimeMillis() - startTime < waitTime) { in waitForStoreMount()
403 long startTime = System.currentTimeMillis(); in waitForDeviceBootloaderOrFastbootd()
[all …]
DWifiHelper.java211 long startTime = System.currentTimeMillis(); in waitForWifiState()
212 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiState()
308 long startTime = System.currentTimeMillis(); in waitForIp()
310 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForIp()
384 long startTime = System.currentTimeMillis(); in waitForWifiEnabled()
386 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiEnabled()
405 long startTime = System.currentTimeMillis(); in waitForWifiDisabled()
407 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiDisabled()
DDeviceStateMonitor.java47 long startTime = System.currentTimeMillis(); in waitForPmResponsive()
49 while (System.currentTimeMillis() - startTime < waitTime) { in waitForPmResponsive()
80 long startTime = System.currentTimeMillis(); in postOnlineCheck()
84 long elapsedTime = System.currentTimeMillis() - startTime; in postOnlineCheck()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceBatteryLevelChecker.java121 long startTime = System.currentTimeMillis(); in run()
166 System.currentTimeMillis() - startTime, new HashMap<String, Metric>()); in run()
243 Long lastReportTime = System.currentTimeMillis(); in runBatteryCharging()
246 long startTime = System.currentTimeMillis(); in runBatteryCharging()
248 if (System.currentTimeMillis() - lastReportTime > mLoggingPollTime * 60 * 1000) { in runBatteryCharging()
253 lastReportTime = System.currentTimeMillis(); in runBatteryCharging()
255 if (System.currentTimeMillis() - startTime > mMaxRunTime) { in runBatteryCharging()
319 return System.currentTimeMillis(); in getCurrentTimeMs()
DNoisyDryRunTest.java100 long timeout = currentTimeMillis() + mTimeoutMilliSec; in checkFileWithTimeout()
102 while (!(canRead = checkFile(file)) && currentTimeMillis() < timeout) { in checkFileWithTimeout()
131 long currentTimeMillis() { in currentTimeMillis() method in NoisyDryRunTest
132 return System.currentTimeMillis(); in currentTimeMillis()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java154 mInvocationStartTime = System.currentTimeMillis(); in invocationStarted()
231 moduleBuilder.setStartTime(createTimeStamp(System.currentTimeMillis())); in testModuleStarted()
247 moduleBuilder.setEndTime(createTimeStamp(System.currentTimeMillis())); in testModuleEnded()
270 testRunStarted(runName, testCount, attemptNumber, System.currentTimeMillis()); in testRunStarted()
368 testStarted(test, System.currentTimeMillis()); in testStarted()
391 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded()
/tools/tradefederation/core/src/com/android/tradefed/util/
DSl4aBluetoothUtil.java614 long endTime = System.currentTimeMillis() + mBtPairTimeoutMs; in waitUntilPaired()
615 while (System.currentTimeMillis() < endTime) { in waitUntilPaired()
667 long endTime = System.currentTimeMillis() + mBtConnectionTimeoutMs; in waitForRemainingProfilesConnected()
668 while (System.currentTimeMillis() < endTime in waitForRemainingProfilesConnected()
690 long endTime = System.currentTimeMillis() + mBtConnectionTimeoutMs; in waitForRemainingProfilesDisconnected()
691 while (System.currentTimeMillis() < endTime in waitForRemainingProfilesDisconnected()
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java116 long start = System.currentTimeMillis(); in run()
125 System.currentTimeMillis() - start, new HashMap<String, Metric>()); in run()
185 bootStart = System.currentTimeMillis(); in testFastboot()
199 onlineTime = System.currentTimeMillis() - bootStart; in testFastboot()
212 bootTime = System.currentTimeMillis() - bootStart; in testFastboot()
/tools/tradefederation/core/src/com/android/tradefed/testtype/suite/
DITestSuite.java461 long startTime = System.currentTimeMillis(); in stageTestArtifacts()
486 long elapsedTime = System.currentTimeMillis() - startTime; in stageTestArtifacts()
554 randomSeed = System.currentTimeMillis(); in randomizeTestModules()
810 long startTime = System.currentTimeMillis(); in runPreModuleCheck()
861 long startTime = System.currentTimeMillis(); in runPostModuleCheck()
911 listener.testRunStarted(identifier + "_" + moduleName, 0, 0, System.currentTimeMillis()); in reportModuleCheckerResult()
916 System.currentTimeMillis() - startTime, new HashMap<String, Metric>()); in reportModuleCheckerResult()
/tools/tradefederation/core/src/com/android/tradefed/invoker/
DTestInvocation.java218 long startTime = System.currentTimeMillis(); in performInvocation()
363 InvocationMetricKey.DEVICE_DONE_TIMESTAMP, System.currentTimeMillis()); in performInvocation()
391 long latency = System.currentTimeMillis() - mStopRequestTime; in performInvocation()
400 elapsedTime = System.currentTimeMillis() - startTime; in performInvocation()
845 long start = System.currentTimeMillis(); in invoke()
848 long fetchBuildDuration = System.currentTimeMillis() - start; in invoke()
1007 mStopRequestTime = System.currentTimeMillis(); in notifyInvocationStopped()
DRemoteInvocationExecution.java418 endTime = System.currentTimeMillis() + maxTimeout; in isStillRunning()
435 currentTimeOnProto = System.currentTimeMillis(); in isStillRunning()
446 if (System.currentTimeMillis() - currentTimeOnProto > 7200000) { // 2 hours in isStillRunning()
457 currentTimeOnProto = System.currentTimeMillis(); in isStillRunning()
483 if (endTime != null && System.currentTimeMillis() > endTime) { in isStillRunning()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedDeviceStateMonitor.java45 long startTime = System.currentTimeMillis(); in postOnlineCheck()
49 long elapsedTime = System.currentTimeMillis() - startTime; in postOnlineCheck()
56 long maxTime = System.currentTimeMillis() + maxWaitTime; in nestedWaitForDeviceOnline()
58 while (maxTime > System.currentTimeMillis()) { in nestedWaitForDeviceOnline()
/tools/tradefederation/contrib/src/com/android/wireless/tests/
DRadioHelper.java135 long startTime = System.currentTimeMillis(); in radioActivation()
136 while ((System.currentTimeMillis() - startTime) < ACTIVATION_WAITING_TIME) { in radioActivation()
152 long startTime = System.currentTimeMillis(); in waitForDataSetup()
153 while ((System.currentTimeMillis() - startTime) < MAX_DATA_SETUP_TIME) { in waitForDataSetup()
/tools/tradefederation/core/test_framework/com/android/tradefed/targetprep/
DTemperatureThrottlingWaiter.java70 long start = System.currentTimeMillis(); in setUp()
82 (System.currentTimeMillis() - start) / 1000); in setUp()
85 if ((System.currentTimeMillis() - start) > maxWaitMs) { in setUp()
100 (System.currentTimeMillis() - start) / 1000); in setUp()
DWaitForDeviceDatetimePreparer.java112 long start = System.currentTimeMillis(); in waitForDeviceDatetime()
113 while ((System.currentTimeMillis() - start) < datetimeWaitTimeout) { in waitForDeviceDatetime()
115 long now = System.currentTimeMillis() / 1000; in waitForDeviceDatetime()
/tools/tradefederation/core/src/com/android/tradefed/util/sl4a/
DSl4aEventDispatcher.java118 long deadline = System.currentTimeMillis() + timeout; in popEvent()
119 while (System.currentTimeMillis() < deadline){ in popEvent()
144 long deadline = System.currentTimeMillis() + timeout; in waitForEvent()
145 while (System.currentTimeMillis() < deadline){ in waitForEvent()
/tools/tradefederation/core/tests/src/com/android/tradefed/testtype/suite/
DITestSuiteIntegrationTest.java244 mListener.invocationEnded(System.currentTimeMillis()); in testSimplePassRun()
285 mainInvocationForwarder.invocationEnded(System.currentTimeMillis()); in testSimplePassRun_withLoggedFile()
340 mListener.invocationEnded(System.currentTimeMillis()); in testSimpleRun_withFail()
368 mListener.invocationEnded(System.currentTimeMillis()); in testRun_incomplete()
400 mListener.invocationEnded(System.currentTimeMillis()); in testRun_DeviceNotAvailable()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceFlashPreparer.java212 start = System.currentTimeMillis(); in setUp()
214 queueTime = System.currentTimeMillis() - start; in setUp()
228 start = System.currentTimeMillis(); in setUp()
231 flashingTime = System.currentTimeMillis() - start; in setUp()
DDeviceUpdateTargetPreparer.java74 long start = System.currentTimeMillis(); in setUp()
79 TimeUnit.MILLISECONDS.toSeconds((System.currentTimeMillis() - start))); in setUp()
85 TimeUnit.MILLISECONDS.toSeconds((System.currentTimeMillis() - start))); in setUp()
/tools/tradefederation/core/src/com/android/tradefed/command/
DCommandScheduler.java296 mCreationTime = System.currentTimeMillis(); in ExecutableCommand()
581 mStartTime = System.currentTimeMillis(); in run()
632 long elapsedTime = System.currentTimeMillis() - mStartTime; in run()
1936 long curTime = System.currentTimeMillis(); in displayInvocationsInfo()
2097 long curTime = System.currentTimeMillis(); in displayCommandQueue()
2194 long startTime = System.currentTimeMillis(); in waitForEvent()
2202 remainingTime = maxWaitTime - (System.currentTimeMillis() - startTime); in waitForEvent()
/tools/tradefederation/core/src/com/android/tradefed/result/
DSubprocessResultsReporter.java101 testEnded(testId, System.currentTimeMillis(), metrics); in testEnded()
164 testRunStarted(runName, testCount, attemptNumber, System.currentTimeMillis()); in testRunStarted()
186 testStarted(testId, System.currentTimeMillis()); in testStarted()
203 new InvocationStartedEventInfo(context.getTestTag(), System.currentTimeMillis()); in invocationStarted()
DTestResultListener.java53 testStarted(test, System.currentTimeMillis()); in testStarted()
103 mCurrentResult.setEndTime(System.currentTimeMillis()); in testRunEnded()
111 reportTestFinish(test, System.currentTimeMillis()); in reportTestFinish()
/tools/tradefederation/contrib/src/com/android/uicd/tests/
DUiConductorTest.java171 long runStartTime = System.currentTimeMillis(); in run()
183 System.currentTimeMillis() - runStartTime, new HashMap<String, String>()); in run()
196 listener.testStarted(testDesc, System.currentTimeMillis()); in runTest()
235 listener.testEnded(testDesc, System.currentTimeMillis(), new HashMap<String, String>()); in runTest()
/tools/tradefederation/contrib/src/com/android/media/tests/
DVideoMultimeterTest.java186 long calibrationStartTime = System.currentTimeMillis(); in doCalibration()
188 System.currentTimeMillis() - calibrationStartTime <= CALIBRATION_TIMEOUT_MS) { in doCalibration()
343 long testStartTime = System.currentTimeMillis(); in run()
350 long durationMs = System.currentTimeMillis() - testStartTime; in run()
/tools/tradefederation/contrib/src/com/android/monkey/
DMonkeyBase.java301 long startTime = System.currentTimeMillis(); in run()
311 System.currentTimeMillis() - startTime, new HashMap<String, Metric>()); in run()
363 long start = System.currentTimeMillis(); in runMonkey()
401 duration = System.currentTimeMillis() - start; in runMonkey()

123456