Home
last modified time | relevance | path

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

12345

/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/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.java178 long startTime = System.currentTimeMillis(); in waitForDeviceShell()
180 while (System.currentTimeMillis() - startTime < waitTime) { in waitForDeviceShell()
220 long startTime = System.currentTimeMillis(); in waitForDeviceAvailable()
225 long elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable()
229 elapsedTime = System.currentTimeMillis() - startTime; in waitForDeviceAvailable()
251 long startTime = System.currentTimeMillis(); in waitForBootComplete()
253 while ((System.currentTimeMillis() - startTime) < waitTime) { in waitForBootComplete()
293 long startTime = System.currentTimeMillis(); in waitForStoreMount()
298 while (System.currentTimeMillis() - startTime < waitTime) { in waitForStoreMount()
402 long startTime = System.currentTimeMillis(); in waitForDeviceBootloaderOrFastbootd()
[all …]
/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/testtype/
DDeviceBatteryLevelChecker.java121 long startTime = System.currentTimeMillis(); in run()
159 System.currentTimeMillis() - startTime, new HashMap<String, Metric>()); in run()
236 Long lastReportTime = System.currentTimeMillis(); in runBatteryCharging()
239 long startTime = System.currentTimeMillis(); in runBatteryCharging()
241 if (System.currentTimeMillis() - lastReportTime > mLoggingPollTime * 60 * 1000) { in runBatteryCharging()
246 lastReportTime = System.currentTimeMillis(); in runBatteryCharging()
248 if (System.currentTimeMillis() - startTime > mMaxRunTime) { in runBatteryCharging()
312 return System.currentTimeMillis(); in getCurrentTimeMs()
DNoisyDryRunTest.java98 long timeout = currentTimeMillis() + mTimeoutMilliSec; in checkFileWithTimeout()
100 while (!(canRead = checkFile(file)) && currentTimeMillis() < timeout) { in checkFileWithTimeout()
129 long currentTimeMillis() { in currentTimeMillis() method in NoisyDryRunTest
130 return System.currentTimeMillis(); in currentTimeMillis()
/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/loganalysis/tests/src/com/android/loganalysis/parser/
DLogcatParserFuncTest.java43 long start = System.currentTimeMillis(); in testParse()
45 long stop = System.currentTimeMillis(); in testParse()
DBugreportParserFuncTest.java42 long start = System.currentTimeMillis(); in testParse()
44 long stop = System.currentTimeMillis(); in testParse()
/tools/trebuchet/trebuchet/viewer/src/main/kotlin/traceviewer/ui/
DAnimator.kt27 val startTime: Long = System.currentTimeMillis()
48 val now = System.currentTimeMillis() in <lambda>()
/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/result/
DTestResultListener.java53 testStarted(test, System.currentTimeMillis()); in testStarted()
103 mCurrentResult.setEndTime(System.currentTimeMillis()); in testRunEnded()
111 reportTestFinish(test, System.currentTimeMillis()); in reportTestFinish()
DLegacySubprocessResultsReporter.java56 testEnded(testId, System.currentTimeMillis(), metrics); in testEnded()
82 testStarted(testId, System.currentTimeMillis()); in testStarted()
95 new InvocationStartedEventInfo(buildInfo.getTestTag(), System.currentTimeMillis()); in invocationStarted()
/tools/tradefederation/core/src/com/android/tradefed/targetprep/
DDeviceUpdateTargetPreparer.java73 long start = System.currentTimeMillis(); in setUp()
78 TimeUnit.MILLISECONDS.toSeconds((System.currentTimeMillis() - start))); in setUp()
84 TimeUnit.MILLISECONDS.toSeconds((System.currentTimeMillis() - start))); in setUp()
DGkiDeviceFlashPreparer.java147 long start = System.currentTimeMillis(); in flashGki()
151 TimeUnit.MILLISECONDS.toSeconds((System.currentTimeMillis() - start))); in flashGki()
173 TimeUnit.MILLISECONDS.toSeconds((System.currentTimeMillis() - start))); in flashGki()
258 long start = System.currentTimeMillis(); in flashDeviceImage()
262 TimeUnit.MILLISECONDS.toSeconds((System.currentTimeMillis() - start))); in flashDeviceImage()
278 TimeUnit.MILLISECONDS.toSeconds((System.currentTimeMillis() - start))); in flashDeviceImage()
/tools/tradefederation/contrib/src/com/android/example/
DRebootTest.java45 start = System.currentTimeMillis(); in run()
63 listener.testRunEnded(System.currentTimeMillis() - start, emptyMap); in run()
/tools/tradefederation/core/test_framework/com/android/tradefed/testtype/
DJUnitRunUtil.java47 long startTime = System.currentTimeMillis(); in runTest()
60 System.currentTimeMillis() - startTime, new HashMap<String, Metric>()); in runTest()
/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/contrib/src/com/android/media/tests/
DTestRunHelper.java54 mTestStopTime = System.currentTimeMillis(); in endTest()
62 mTestStartTime = System.currentTimeMillis(); in startTest()
DVideoMultimeterRunner.java71 long testStartTime = System.currentTimeMillis(); in run()
94 durationMs = System.currentTimeMillis() - testStartTime; in run()
/tools/tradefederation/core/src/com/android/tradefed/cluster/
DClusterEventUploader.java84 final long now = System.currentTimeMillis(); in uploadEvents()
98 mLastEventUploadTime = System.currentTimeMillis(); in uploadEvents()
/tools/tradefederation/core/src/com/android/tradefed/util/
DRemoteZip.java61 mLastAccess = System.currentTimeMillis(); in RemoteZip()
153 long startTime = System.currentTimeMillis(); in downloadFiles()
204 TimeUtil.formatElapsedTime(System.currentTimeMillis() - startTime), in downloadFiles()
/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()

12345