Home
last modified time | relevance | path

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

12345

/tools/tradefederation/core/src/com/android/tradefed/device/
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.java206 long startTime = System.currentTimeMillis(); in waitForWifiState()
207 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiState()
303 long startTime = System.currentTimeMillis(); in waitForIp()
305 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForIp()
379 long startTime = System.currentTimeMillis(); in waitForWifiEnabled()
381 while (System.currentTimeMillis() < (startTime + timeout)) { in waitForWifiEnabled()
400 long startTime = System.currentTimeMillis(); in waitForWifiDisabled()
402 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/contrib/src/com/android/performance/tests/
DStartupMetricsTest.java94 long initOnlineTime = System.currentTimeMillis(); in executeRebootTest()
96 long initAvailableTime = System.currentTimeMillis(); in executeRebootTest()
103 long startTime = System.currentTimeMillis(); in executeRebootTest()
105 long onlineTime = System.currentTimeMillis(); in executeRebootTest()
107 long availableTime = System.currentTimeMillis(); in executeRebootTest()
252 long startTime = System.currentTimeMillis(); in waitForBootComplete()
253 while ((System.currentTimeMillis() - startTime) < timeOut) { in waitForBootComplete()
DVellamoBenchmark.java69 long testStartTime = System.currentTimeMillis(); in run()
81 long benchmarkStartTime = System.currentTimeMillis(); in run()
94 isTimedOut = (System.currentTimeMillis() - benchmarkStartTime >= TIMEOUT_MS); in run()
152 long durationMs = System.currentTimeMillis() - testStartTime; in run()
DGLBenchmarkTest.java145 long testStartTime = System.currentTimeMillis(); in run()
162 long benchmarkStartTime = System.currentTimeMillis(); in run()
171 isTimedOut = (System.currentTimeMillis() - benchmarkStartTime >= TIMEOUT_MS); in run()
204 long durationMs = System.currentTimeMillis() - testStartTime; in run()
/tools/tradefederation/core/src/com/android/tradefed/testtype/
DDeviceBatteryLevelChecker.java137 Long lastReportTime = System.currentTimeMillis(); in run()
140 long startTime = System.currentTimeMillis(); in run()
142 if (System.currentTimeMillis() - lastReportTime > mLoggingPollTime * 60 * 1000) { in run()
146 lastReportTime = System.currentTimeMillis(); in run()
148 if (System.currentTimeMillis() - startTime > mMaxRunTime) { in run()
DNoisyDryRunTest.java96 long timeout = currentTimeMillis() + mTimeoutMilliSec; in checkFileWithTimeout()
98 while (!(canRead = checkFile(file)) && currentTimeMillis() < timeout) { in checkFileWithTimeout()
127 long currentTimeMillis() { in currentTimeMillis() method in NoisyDryRunTest
128 return System.currentTimeMillis(); in currentTimeMillis()
/tools/tradefederation/core/src/com/android/tradefed/device/cloud/
DNestedDeviceStateMonitor.java44 long startTime = System.currentTimeMillis(); in postOnlineCheck()
48 long elapsedTime = System.currentTimeMillis() - startTime; in postOnlineCheck()
55 long maxTime = System.currentTimeMillis() + maxWaitTime; in nestedWaitForDeviceOnline()
57 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/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()
DDeviceFlashPreparer.java193 start = System.currentTimeMillis(); in setUp()
195 queueTime = System.currentTimeMillis() - start; in setUp()
207 start = System.currentTimeMillis(); in setUp()
210 flashingTime = System.currentTimeMillis() - start; 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()
DConnectionChecker.java38 long startTime = System.currentTimeMillis(); in setUp()
41 if (System.currentTimeMillis() - startTime > timeout) { in setUp()
/tools/tradefederation/contrib/src/com/android/fastboot/tests/
DFastbootTest.java114 long start = System.currentTimeMillis(); in run()
123 System.currentTimeMillis() - start, new HashMap<String, Metric>()); in run()
182 bootStart = System.currentTimeMillis(); in testFastboot()
196 onlineTime = System.currentTimeMillis() - bootStart; in testFastboot()
209 bootTime = System.currentTimeMillis() - bootStart; in testFastboot()
/tools/tradefederation/core/src/com/android/tradefed/result/proto/
DProtoResultReporter.java132 mInvocationStartTime = System.currentTimeMillis(); in invocationStarted()
199 moduleBuilder.setStartTime(createTimeStamp(System.currentTimeMillis())); in testModuleStarted()
215 moduleBuilder.setEndTime(createTimeStamp(System.currentTimeMillis())); in testModuleEnded()
238 testRunStarted(runName, testCount, attemptNumber, System.currentTimeMillis()); in testRunStarted()
300 testStarted(test, System.currentTimeMillis()); in testStarted()
323 testEnded(test, System.currentTimeMillis(), testMetrics); in testEnded()
/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/contrib/src/com/android/stability/tests/
DRebootStressTest.java179 long startTime = System.currentTimeMillis(); in run()
205 long durationMs = System.currentTimeMillis() - startTime; in run()
252 long startTime = System.currentTimeMillis(); in doWaitAndCheck()
257 elapsedTime += System.currentTimeMillis() - startTime; in doWaitAndCheck()
/tools/tradefederation/core/tests/src/com/android/tradefed/util/
DFileIdleMonitorTest.java68 long first = System.currentTimeMillis() - 20_000L; // will be ignored in testSchedulesCheckIfTimeoutNotReached()
69 long second = System.currentTimeMillis() - 3_000L; in testSchedulesCheckIfTimeoutNotReached()
86 FileIdleMonitor monitor = createMonitor(System.currentTimeMillis() - 20_000L); in testExecutesCallbackIfTimeoutExceeded()
/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()
/tools/tradefederation/core/src/com/android/tradefed/result/
DLegacySubprocessResultsReporter.java51 testEnded(testId, System.currentTimeMillis(), metrics); in testEnded()
77 testStarted(testId, System.currentTimeMillis()); in testStarted()
90 new InvocationStartedEventInfo(buildInfo.getTestTag(), System.currentTimeMillis()); in invocationStarted()
DTestResult.java44 mStartTime = System.currentTimeMillis(); in TestResult()
129 public void setEndTime(long currentTimeMillis) { in setEndTime() argument
130 mEndTime = currentTimeMillis; in setEndTime()
/tools/tradefederation/contrib/src/com/android/uicd/tests/
DUiConductorTest.java172 long runStartTime = System.currentTimeMillis(); in run()
184 System.currentTimeMillis() - runStartTime, new HashMap<String, String>()); in run()
197 listener.testStarted(testDesc, System.currentTimeMillis()); in runTest()
236 listener.testEnded(testDesc, System.currentTimeMillis(), new HashMap<String, String>()); in runTest()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DAnimator.kt27 val startTime: Long = System.currentTimeMillis()
48 val now = System.currentTimeMillis() in <lambda>()

12345