Home
last modified time | relevance | path

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

12345678910>>...18

/frameworks/rs/tests/java_api/RSUnitTests/src/com/android/rs/unittest/
DUT_reduce.java299 final long javaTimeStart = java.lang.System.currentTimeMillis(); in addint1D()
301 final long javaTimeEnd = java.lang.System.currentTimeMillis(); in addint1D()
303 final long rsTimeStart = java.lang.System.currentTimeMillis(); in addint1D()
307 final long copyTimeStart = java.lang.System.currentTimeMillis(); in addint1D()
311 final long kernelTimeStart = java.lang.System.currentTimeMillis(); in addint1D()
313 final long rsTimeEnd = java.lang.System.currentTimeMillis(); in addint1D()
330 final long javaTimeStart = java.lang.System.currentTimeMillis(); in addint2D()
332 final long javaTimeEnd = java.lang.System.currentTimeMillis(); in addint2D()
334 final long rsTimeStart = java.lang.System.currentTimeMillis(); in addint2D()
340 final long copyTimeStart = java.lang.System.currentTimeMillis(); in addint2D()
[all …]
/frameworks/rs/tests/java_api/RSUnitTests/supportlibsrc_gen/com/android/rs/unittest/
DUT_reduce.java301 final long javaTimeStart = java.lang.System.currentTimeMillis(); in addint1D()
303 final long javaTimeEnd = java.lang.System.currentTimeMillis(); in addint1D()
305 final long rsTimeStart = java.lang.System.currentTimeMillis(); in addint1D()
309 final long copyTimeStart = java.lang.System.currentTimeMillis(); in addint1D()
313 final long kernelTimeStart = java.lang.System.currentTimeMillis(); in addint1D()
315 final long rsTimeEnd = java.lang.System.currentTimeMillis(); in addint1D()
332 final long javaTimeStart = java.lang.System.currentTimeMillis(); in addint2D()
334 final long javaTimeEnd = java.lang.System.currentTimeMillis(); in addint2D()
336 final long rsTimeStart = java.lang.System.currentTimeMillis(); in addint2D()
342 final long copyTimeStart = java.lang.System.currentTimeMillis(); in addint2D()
[all …]
/frameworks/layoutlib/bridge/src/android/os/
DSystemClock_Delegate.java43 return System_Delegate.currentTimeMillis() - System_Delegate.bootTimeMillis(); in uptimeMillis()
53 return System_Delegate.currentTimeMillis() - System_Delegate.bootTimeMillis(); in elapsedRealtime()
73 return System_Delegate.currentTimeMillis(); in currentThreadTimeMillis()
85 return System_Delegate.currentTimeMillis() * 1000; in currentThreadTimeMicro()
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/
DBluetoothTestUtils.java85 mCompletedTime = System.currentTimeMillis(); in setFiredFlag()
632 long start = System.currentTimeMillis(); in startScan()
635 while (System.currentTimeMillis() - start < START_STOP_SCAN_TIMEOUT) { in startScan()
670 long start = System.currentTimeMillis(); in stopScan()
673 while (System.currentTimeMillis() - start < START_STOP_SCAN_TIMEOUT) { in stopScan()
699 long start = System.currentTimeMillis(); in enablePan()
701 long stop = System.currentTimeMillis(); in enablePan()
717 long start = System.currentTimeMillis(); in disablePan()
719 long stop = System.currentTimeMillis(); in disablePan()
784 start = System.currentTimeMillis(); in pairOrAcceptPair()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/
DVelocityTest.java50 long t = System.currentTimeMillis(); in testClear()
65 long t = System.currentTimeMillis(); in testDragAcceleration()
76 long t = System.currentTimeMillis(); in testDragDeceleration()
88 long t = System.currentTimeMillis(); in testDragLinearHorizontal()
101 long t = System.currentTimeMillis(); in testDragLinearVertical()
118 long t = System.currentTimeMillis(); in testDragWith2Points()
135 long t = System.currentTimeMillis(); in testStabilityInNbPoints()
157 long t = System.currentTimeMillis(); in testStabilityInTime()
179 long t = System.currentTimeMillis(); in testStabilityInSpace()
201 long t = System.currentTimeMillis(); in testStabilityOfComputation()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DTraceTest.java40 long start = System.currentTimeMillis(); in testNativeTracingFromJava()
48 long end = System.currentTimeMillis(); in testNativeTracingFromJava()
60 long start = System.currentTimeMillis(); in disableTestNativeTracingFromC()
62 long end = System.currentTimeMillis(); in disableTestNativeTracingFromC()
74 long start = System.currentTimeMillis(); in testMethodTracing()
78 long end = System.currentTimeMillis(); in testMethodTracing()
/frameworks/rs/tests/java_api/ComputePerf/src/com/example/android/rs/computeperf/
DLaunchTest.java42 long t = java.lang.System.currentTimeMillis(); in XLW()
45 t = java.lang.System.currentTimeMillis() - t; in XLW()
50 long t = java.lang.System.currentTimeMillis(); in XYW()
53 t = java.lang.System.currentTimeMillis() - t; in XYW()
/frameworks/base/core/java/com/android/internal/util/
DFileRotator.java181 public void rewriteActive(Rewriter rewriter, long currentTimeMillis) in rewriteActive() argument
183 final String activeName = getActiveName(currentTimeMillis); in rewriteActive()
188 public void combineActive(final Reader reader, final Writer writer, long currentTimeMillis) in combineActive() argument
210 }, currentTimeMillis); in combineActive()
304 private String getActiveName(long currentTimeMillis) { in getActiveName() argument
313 if (info.isActive() && info.startMillis < currentTimeMillis in getActiveName()
324 info.startMillis = currentTimeMillis; in getActiveName()
334 public void maybeRotate(long currentTimeMillis) { in maybeRotate() argument
335 final long rotateBefore = currentTimeMillis - mRotateAgeMillis; in maybeRotate()
336 final long deleteBefore = currentTimeMillis - mDeleteAgeMillis; in maybeRotate()
[all …]
/frameworks/rs/tests/java_api/LatencyBenchmark/src/com/example/android/rs/computebench/
DBenchmark.java39 long t = java.lang.System.currentTimeMillis(); in run()
45 t = java.lang.System.currentTimeMillis() - t; in run()
52 t = java.lang.System.currentTimeMillis(); in run()
56 t = java.lang.System.currentTimeMillis() - t; in run()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyLogger.java335 data.timeStamp = System.currentTimeMillis(); in uidStateChanged()
345 data.timeStamp = System.currentTimeMillis(); in event()
356 data.timeStamp = System.currentTimeMillis(); in networkBlocked()
368 data.timeStamp = System.currentTimeMillis(); in uidPolicyChanged()
379 data.timeStamp = System.currentTimeMillis(); in meterednessChanged()
389 data.timeStamp = System.currentTimeMillis(); in userRemoved()
400 data.timeStamp = System.currentTimeMillis(); in restrictBackgroundChanged()
410 data.timeStamp = System.currentTimeMillis(); in deviceIdleModeEnabled()
421 data.timeStamp = System.currentTimeMillis(); in appIdleStateChanged()
432 data.timeStamp = System.currentTimeMillis(); in appIdleWlChanged()
[all …]
DNetworkStatsRecorder.java216 long currentTimeMillis) { in recordSnapshotLocked() argument
232 final long end = currentTimeMillis; in recordSnapshotLocked()
296 public void maybePersistLocked(long currentTimeMillis) { in maybePersistLocked() argument
300 forcePersistLocked(currentTimeMillis); in maybePersistLocked()
302 mRotator.maybeRotate(currentTimeMillis); in maybePersistLocked()
309 public void forcePersistLocked(long currentTimeMillis) { in forcePersistLocked() argument
314 mRotator.rewriteActive(mPendingRewriter, currentTimeMillis); in forcePersistLocked()
315 mRotator.maybeRotate(currentTimeMillis); in forcePersistLocked()
/frameworks/ex/common/java/com/android/common/
DOperationScheduler.java162 long now = currentTimeMillis(); in getNextTimeMillis()
256 .putLong(PREFIX + "moratoriumSetTimeMillis", currentTimeMillis())); in setMoratoriumTimeMillis()
270 setMoratoriumTimeMillis(ms + currentTimeMillis()); in setMoratoriumTimeHttp()
306 .putLong(PREFIX + "lastSuccessTimeMillis", currentTimeMillis())); in onSuccess()
316 editor.putLong(PREFIX + "lastErrorTimeMillis", currentTimeMillis()); in onTransientError()
383 protected long currentTimeMillis() { in currentTimeMillis() method in OperationScheduler
384 return System.currentTimeMillis(); in currentTimeMillis()
/frameworks/base/telecomm/java/android/telecom/Logging/
DSessionManager.java153 System.currentTimeMillis(), false, callerIdentification); in startSession()
182 sessionInfo.methodPath, System.currentTimeMillis(), in startExternalSession()
215 threadSession.getShortMethodName(), System.currentTimeMillis(), in createSubsession()
272 subsession.setExecutionStartTimeMs(System.currentTimeMillis()); in continueSession()
301 completedSession.markSessionCompleted(System.currentTimeMillis()); in endSession()
337 System.currentTimeMillis() - subsession.getExecutionStartTimeMilliseconds(); in endParentSessions()
345 System.currentTimeMillis() - subsession.getExecutionStartTimeMilliseconds(); in endParentSessions()
398 long currentTimeMs = System.currentTimeMillis(); in cleanupStaleSessions()
/frameworks/base/core/java/android/app/
DSharedPreferencesImpl.java459 final long startTime = System.currentTimeMillis(); in apply()
472 + " applied after " + (System.currentTimeMillis() - startTime) in apply()
580 startTime = System.currentTimeMillis(); in commit()
594 + " committed after " + (System.currentTimeMillis() - startTime) in commit()
710 startTime = System.currentTimeMillis(); in writeToFile()
716 existsTime = System.currentTimeMillis(); in writeToFile()
749 backupExistsTime = System.currentTimeMillis(); in writeToFile()
771 outputStreamCreateTime = System.currentTimeMillis(); in writeToFile()
780 writeTime = System.currentTimeMillis(); in writeToFile()
784 fsyncTime = System.currentTimeMillis(); in writeToFile()
[all …]
DQueuedWork.java155 long startTime = System.currentTimeMillis(); in waitToFinish()
201 long waitTime = System.currentTimeMillis() - startTime; in waitToFinish()
248 startTime = System.currentTimeMillis(); in processPendingWork()
269 +(System.currentTimeMillis() - startTime) + " ms"); in processPendingWork()
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DErrorCalculator.java74 startMillis = System.currentTimeMillis(); in calcErrorRS()
95 long startMillis2 = System.currentTimeMillis(); in calcErrorRS()
107 long finalMillis = System.currentTimeMillis(); in calcErrorRS()
134 startMillis = System.currentTimeMillis(); in calcError()
149 long startMillis2 = System.currentTimeMillis(); in calcError()
167 long finalMillis = System.currentTimeMillis(); in calcError()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceLifetimeExtenderTest.java65 when(mSbn.getPostTime()).thenReturn(System.currentTimeMillis()); in testShouldExtendLifetime_should_foreground()
72 when(mSbn.getPostTime()).thenReturn(System.currentTimeMillis() - MIN_FGS_TIME_MS - 1); in testShouldExtendLifetime_shouldNot_foreground()
79 when(mSbn.getPostTime()).thenReturn(System.currentTimeMillis() - MIN_FGS_TIME_MS - 1); in testShouldExtendLifetime_shouldNot_notForeground()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java156 null, System.currentTimeMillis()), getLowChannel()); in setUp()
166 null, System.currentTimeMillis()), getLowChannel()); in setUp()
174 null, System.currentTimeMillis()), getLowChannel()); in setUp()
182 null, System.currentTimeMillis()), getLowChannel()); in setUp()
191 null, System.currentTimeMillis()), getLowChannel()); in setUp()
238 0, n, UserHandle.ALL, null, System.currentTimeMillis()); in generateRecord()
304 null, System.currentTimeMillis()), getLowChannel()); in testGroupNotifications_highestIsProxy()
310 null, System.currentTimeMillis()), getLowChannel()); in testGroupNotifications_highestIsProxy()
320 null, System.currentTimeMillis()), getDefaultChannel()); in testGroupNotifications_highestIsProxy()
DNotificationIntrusivenessExtractorTest.java50 0, n, UserHandle.ALL, null, System.currentTimeMillis()); in testNonIntrusive()
68 System.currentTimeMillis()); in testIntrusive_fillScreen()
86 System.currentTimeMillis() - HANG_TIME_MS); in testOldNotificationsNotIntrusive()
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
DCustomSurfaceView.java60 long startTime = System.currentTimeMillis(); in run()
61 while (System.currentTimeMillis() - startTime < DURATION_TO_WARMUP_MS) { in run()
65 startTime = System.currentTimeMillis(); in run()
70 endTime = System.currentTimeMillis(); in run()
/frameworks/base/services/tests/servicestests/src/com/android/server/display/
DBrightnessTrackerTest.java259 assertEquals(mInjector.currentTimeMillis(), event.timeStamp); in testBrightnessEvent()
262 assertEquals(mInjector.currentTimeMillis() - TimeUnit.SECONDS.toMillis(2), in testBrightnessEvent()
285 final long sensorTime = mInjector.currentTimeMillis(); in testBrightnessFullPopulatedEvent()
294 assertEquals(event.timeStamp, mInjector.currentTimeMillis()); in testBrightnessFullPopulatedEvent()
383 assertEquals(mInjector.currentTimeMillis(), event.timeStamp); in testLimitedSensorEvents()
389 mInjector.currentTimeMillis() - i * TimeUnit.SECONDS.toMillis(1)); in testLimitedSensorEvents()
398 mInjector.mCurrentTimeMillis = System.currentTimeMillis(); in testReadEvents()
399 long someTimeAgo = System.currentTimeMillis() - TimeUnit.HOURS.toMillis(12); in testReadEvents()
400 long twoMonthsAgo = System.currentTimeMillis() - TimeUnit.DAYS.toMillis(60); in testReadEvents()
492 Long.toString(System.currentTimeMillis() - TimeUnit.HOURS.toMillis(12)); in testFailedRead()
[all …]
/frameworks/rs/tests/java_api/ComputeBenchmark/src/com/example/android/rs/computebench/
DBenchmark.java32 long t = java.lang.System.currentTimeMillis(); in run()
35 t = java.lang.System.currentTimeMillis() - t; in run()
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/
DDateUtils.java50 return getKMLTimestamp(System.currentTimeMillis()); in getCurrentKMLTimestamp()
58 c.setTimeInMillis(System.currentTimeMillis()); in getCurrentTimestamp()
/frameworks/base/services/core/java/com/android/server/biometrics/
DLoggableMonitor.java69 mFirstAcquireTimeMs = System.currentTimeMillis(); in logOnAcquired()
73 mFirstAcquireTimeMs = System.currentTimeMillis(); in logOnAcquired()
133 ? (System.currentTimeMillis() - mFirstAcquireTimeMs) in logOnAuthenticated()
/frameworks/layoutlib/remote/tests/src/
DRemoteBridgeTest.java66 long startTime = System.currentTimeMillis(); in setupServer()
69 System.out.printf("Server started in %dms\n", System.currentTimeMillis() - startTime); in setupServer()
70 startTime = System.currentTimeMillis(); in setupServer()
81 System.currentTimeMillis() - startTime); in setupServer()

12345678910>>...18