Home
last modified time | relevance | path

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

1234

/tools/tradefederation/core/src/com/android/tradefed/device/
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()
DNativeDeviceStateMonitor.java164 long startTime = System.currentTimeMillis(); in waitForDeviceShell()
166 while (System.currentTimeMillis() - startTime < waitTime) { in waitForDeviceShell()
206 long startTime = System.currentTimeMillis(); in waitForDeviceAvailable()
211 long elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable()
215 elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable()
237 long startTime = System.currentTimeMillis(); in waitForBootComplete()
239 while ((System.currentTimeMillis() - startTime) < waitTime) { in waitForBootComplete()
279 long startTime = System.currentTimeMillis(); in waitForStoreMount()
281 while (System.currentTimeMillis() - startTime < waitTime) { in waitForStoreMount()
374 long startTime = System.currentTimeMillis(); in waitForDeviceBootloader()
[all …]
DWifiHelper.java198 long startTime = System.currentTimeMillis(); in waitForWifiState()
199 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiState()
295 long startTime = System.currentTimeMillis(); in waitForIp()
297 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForIp()
371 long startTime = System.currentTimeMillis(); in waitForWifiEnabled()
373 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiEnabled()
392 long startTime = System.currentTimeMillis(); in waitForWifiDisabled()
394 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiDisabled()
/tools/tradefederation/core/prod-tests/src/com/android/wireless/tests/
DRadioHelper.java143 long startTime = System.currentTimeMillis(); in radioActivation()
144 while ((System.currentTimeMillis() - startTime) < ACTIVATION_WAITING_TIME) { in radioActivation()
160 long startTime = System.currentTimeMillis(); in waitForDataSetup()
161 while ((System.currentTimeMillis() - startTime) < MAX_DATA_SETUP_TIME) { in waitForDataSetup()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DTemperatureThrottlingWaiter.java69 long start = System.currentTimeMillis(); in setUp()
81 (System.currentTimeMillis() - start) / 1000); in setUp()
84 if ((System.currentTimeMillis() - start) > maxWaitMs) { in setUp()
99 (System.currentTimeMillis() - start) / 1000); in setUp()
DWaitForDeviceDatetimePreparer.java111 long start = System.currentTimeMillis(); in waitForDeviceDatetime()
112 while ((System.currentTimeMillis() - start) < datetimeWaitTimeout) { in waitForDeviceDatetime()
114 long now = System.currentTimeMillis() / 1000; in waitForDeviceDatetime()
DConnectionChecker.java38 long startTime = System.currentTimeMillis(); in setUp()
41 if (System.currentTimeMillis() - startTime > timeout) { in setUp()
DCpuThrottlingWaiter.java70 long start = System.currentTimeMillis(); in setUp()
89 if ((System.currentTimeMillis() - start) > maxWaitMs) { in setUp()
105 (System.currentTimeMillis() - start) / 1000); in setUp()
DDeviceFlashPreparer.java189 start = System.currentTimeMillis(); in setUp()
191 queueTime = System.currentTimeMillis() - start; in setUp()
203 start = System.currentTimeMillis(); in setUp()
206 flashingTime = System.currentTimeMillis() - start; in setUp()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceBatteryLevelChecker.java147 Long lastReportTime = System.currentTimeMillis(); in run()
150 long startTime = System.currentTimeMillis(); in run()
152 if (System.currentTimeMillis() - lastReportTime > mLoggingPollTime * 60 * 1000) { in run()
156 lastReportTime = System.currentTimeMillis(); in run()
158 if (System.currentTimeMillis() - startTime > mMaxRunTime) { in run()
DNoisyDryRunTest.java91 long timeout = currentTimeMillis() + mTimeoutMilliSec; in checkFileWithTimeout()
92 while (!file.exists() && currentTimeMillis() < timeout) { in checkFileWithTimeout()
103 long currentTimeMillis() { in currentTimeMillis() method in NoisyDryRunTest
104 return System.currentTimeMillis(); in currentTimeMillis()
DJUnitRunUtil.java48 long startTime = System.currentTimeMillis(); in runTest()
61 System.currentTimeMillis() - startTime, new HashMap<String, Metric>()); in runTest()
/tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
DStartupMetricsTest.java92 long initOnlineTime = System.currentTimeMillis(); in executeRebootTest()
94 long initAvailableTime = System.currentTimeMillis(); in executeRebootTest()
101 long startTime = System.currentTimeMillis(); in executeRebootTest()
103 long onlineTime = System.currentTimeMillis(); in executeRebootTest()
105 long availableTime = System.currentTimeMillis(); in executeRebootTest()
245 long startTime = System.currentTimeMillis(); in waitForBootComplete()
246 while ((System.currentTimeMillis() - startTime) < timeOut) { in waitForBootComplete()
DVellamoBenchmark.java78 long testStartTime = System.currentTimeMillis(); in run()
90 long benchmarkStartTime = System.currentTimeMillis(); in run()
102 isTimedOut = (System.currentTimeMillis() - benchmarkStartTime >= TIMEOUT_MS); in run()
159 long durationMs = System.currentTimeMillis() - testStartTime; in run()
/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/src/com/android/tradefed/result/
DLegacySubprocessResultsReporter.java47 testEnded(testId, System.currentTimeMillis(), metrics); in testEnded()
73 testStarted(testId, System.currentTimeMillis()); in testStarted()
86 new InvocationStartedEventInfo(buildInfo.getTestTag(), System.currentTimeMillis()); in invocationStarted()
DTestResult.java40 mStartTime = System.currentTimeMillis(); in TestResult()
124 public void setEndTime(long currentTimeMillis) { in setEndTime() argument
125 mEndTime = currentTimeMillis; in setEndTime()
/tools/loganalysis/tests/src/com/android/loganalysis/parser/
DLogcatParserFuncTest.java48 long start = System.currentTimeMillis(); in testParse()
50 long stop = System.currentTimeMillis(); in testParse()
DBugreportParserFuncTest.java48 long start = System.currentTimeMillis(); in testParse()
50 long stop = System.currentTimeMillis(); in testParse()
/tools/tradefederation/contrib/src/com/android/media/tests/
DTestRunHelper.java54 mTestStopTime = System.currentTimeMillis(); in endTest()
62 mTestStartTime = System.currentTimeMillis(); in startTest()
/tools/tradefederation/contrib/src/com/android/example/
DRebootTest.java49 start = System.currentTimeMillis(); in run()
71 listener.testRunEnded(System.currentTimeMillis() - start, emptyMap); in run()
/tools/tradefederation/core/prod-tests/src/com/android/ota/tests/
DSideloadOtaStabilityTest.java199 long startTime = System.currentTimeMillis(); in run()
245 long endTime = System.currentTimeMillis() - startTime; in run()
334 long start = System.currentTimeMillis(); in installOta()
345 double onlineTime = (System.currentTimeMillis() - start) / 1000.0; in installOta()
356 double availTime = (System.currentTimeMillis() - start) / 1000.0; in installOta()
474 long start = System.currentTimeMillis(); in doUncrypt()
488 return System.currentTimeMillis() - start; in doUncrypt()
501 long start = System.currentTimeMillis(); in waitForUncrypt()
502 while ((time = System.currentTimeMillis() - start) < UNCRYPT_TIMEOUT) { in waitForUncrypt()
/tools/tradefederation/core/tests/src/com/android/tradefed/command/
DCommandSchedulerStressApp.java99 long startTime = System.currentTimeMillis(); in main()
102 System.out.printf("Stress app ran for %s ms", System.currentTimeMillis() - startTime); in main()
/tools/tradefederation/core/prod-tests/src/com/android/stability/tests/
DRebootStressTest.java190 long startTime = System.currentTimeMillis(); in run()
212 long durationMs = System.currentTimeMillis() - startTime; in run()
252 long startTime = System.currentTimeMillis(); in doWaitAndCheck()
257 elapsedTime += System.currentTimeMillis() - startTime; in doWaitAndCheck()
/tools/tradefederation/core/src/com/android/tradefed/device/metric/
DScheduleMultipleDeviceMetricCollector.java146 mLastUpdate.put(singleMetricCollector, System.currentTimeMillis()); in setupCollection()
162 Long elapsedTime = System.currentTimeMillis() - mLastUpdate.get(singleMetricCollector); in collect()
171 mLastUpdate.put(singleMetricCollector, System.currentTimeMillis()); in collect()

1234