Home
last modified time | relevance | path

Searched refs:uptimeMillis (Results 1 – 25 of 192) sorted by relevance

12345678

/frameworks/base/core/java/android/os/
DHandler.java347 public final boolean postAtTime(Runnable r, long uptimeMillis) in postAtTime() argument
349 return sendMessageAtTime(getPostMessage(r), uptimeMillis); in postAtTime()
372 public final boolean postAtTime(Runnable r, Object token, long uptimeMillis) in postAtTime() argument
374 return sendMessageAtTime(getPostMessage(r, token), uptimeMillis); in postAtTime()
547 public final boolean sendEmptyMessageAtTime(int what, long uptimeMillis) { in sendEmptyMessageAtTime() argument
550 return sendMessageAtTime(msg, uptimeMillis); in sendEmptyMessageAtTime()
570 return sendMessageAtTime(msg, SystemClock.uptimeMillis() + delayMillis); in sendMessageDelayed()
592 public boolean sendMessageAtTime(Message msg, long uptimeMillis) { in sendMessageAtTime() argument
600 return enqueueMessage(queue, msg, uptimeMillis); in sendMessageAtTime()
626 private boolean enqueueMessage(MessageQueue queue, Message msg, long uptimeMillis) { in enqueueMessage() argument
[all …]
DSystemClock.java115 long start = uptimeMillis(); in sleep()
125 duration = start + ms - uptimeMillis(); in sleep()
165 native public static long uptimeMillis(); in uptimeMillis() method in SystemClock
DPerformanceCollector.java368 mExecTime = SystemClock.uptimeMillis(); in startTiming()
389 mExecTime = SystemClock.uptimeMillis() - mExecTime; in addIteration()
397 mExecTime = SystemClock.uptimeMillis(); in addIteration()
472 mSnapshotExecTime = SystemClock.uptimeMillis(); in startPerformanceSnapshot()
484 mSnapshotExecTime = SystemClock.uptimeMillis() - mSnapshotExecTime; in endPerformanceSnapshot()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
DConnectivityManagerTestBase.java98 mLastConnectivityChangeTime = SystemClock.uptimeMillis(); in onReceive()
160 long startTime = SystemClock.uptimeMillis(); in waitForNetworkState()
167 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForNetworkState()
179 long startTime = SystemClock.uptimeMillis(); in waitForWifiState()
186 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForWifiState()
198 long startTime = SystemClock.uptimeMillis(); in waitForWifiApState()
205 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForWifiApState()
223 long startTime = SystemClock.uptimeMillis(); in waitForTetherStateChange()
226 if ((SystemClock.uptimeMillis() - startTime) > timeout) { in waitForTetherStateChange()
268 pm.goToSleep(SystemClock.uptimeMillis()); in turnScreenOff()
[all …]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/helper/
DItemTouchHelperTest.java268 long downTime = SystemClock.uptimeMillis(); in tapView()
269 long eventTime = SystemClock.uptimeMillis(); in tapView()
277 eventTime = SystemClock.uptimeMillis(); in tapView()
284 eventTime = SystemClock.uptimeMillis(); in tapView()
309 long downTime = SystemClock.uptimeMillis(); in touchAndCancelView()
310 long eventTime = SystemClock.uptimeMillis(); in touchAndCancelView()
317 eventTime = SystemClock.uptimeMillis(); in touchAndCancelView()
344 long downTime = SystemClock.uptimeMillis(); in clickView()
345 long eventTime = SystemClock.uptimeMillis(); in clickView()
352 eventTime = SystemClock.uptimeMillis(); in clickView()
[all …]
/frameworks/base/test-runner/src/android/test/
DTouchUtils.java252 long downTime = SystemClock.uptimeMillis(); in tapView()
253 long eventTime = SystemClock.uptimeMillis(); in tapView()
260 eventTime = SystemClock.uptimeMillis(); in tapView()
267 eventTime = SystemClock.uptimeMillis(); in tapView()
292 long downTime = SystemClock.uptimeMillis(); in touchAndCancelView()
293 long eventTime = SystemClock.uptimeMillis(); in touchAndCancelView()
300 eventTime = SystemClock.uptimeMillis(); in touchAndCancelView()
327 long downTime = SystemClock.uptimeMillis(); in clickView()
328 long eventTime = SystemClock.uptimeMillis(); in clickView()
336 eventTime = SystemClock.uptimeMillis(); in clickView()
[all …]
/frameworks/base/tools/layoutlib/bridge/src/android/os/
DHandler_Delegate.java35 /*package*/ static boolean sendMessageAtTime(Handler handler, Message msg, long uptimeMillis) { in sendMessageAtTime() argument
39 callback.sendMessageAtTime(handler, msg, uptimeMillis); in sendMessageAtTime()
47 void sendMessageAtTime(Handler handler, Message msg, long uptimeMillis); in sendMessageAtTime() argument
/frameworks/base/cmds/uiautomator/library/core-src/com/android/uiautomator/core/
DInteractionController.java191 final long eventTime = SystemClock.uptimeMillis(); in sendKeyAndWaitForEvent()
308 mDownTime = SystemClock.uptimeMillis();
319 final long eventTime = SystemClock.uptimeMillis();
331 final long eventTime = SystemClock.uptimeMillis();
533 SystemClock.uptimeMillis(), 0);
548 final long eventTime = SystemClock.uptimeMillis();
711 long downTime = SystemClock.uptimeMillis();
713 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(), MotionEvent.ACTION_DOWN, 1,
718 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(),
735 event = MotionEvent.obtain(downTime, SystemClock.uptimeMillis(),
[all …]
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
DImfBaseTestCase.java101 long timeoutTime = SystemClock.uptimeMillis() + WAIT_FOR_IME; in verifyEditTextAdjustment()
102 …while (newLocation[1] > rootViewHeight - IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTim… in verifyEditTextAdjustment()
134 long timeoutTime = SystemClock.uptimeMillis() + WAIT_FOR_IME; in destructiveCheckImeUp()
135 …while (Math.abs(newHeight - origHeight) < IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTi… in destructiveCheckImeUp()
/frameworks/base/services/core/java/com/android/server/policy/
DStatusBarController.java136 return SystemClock.uptimeMillis() in calculateStatusBarTransitionStartTime()
140 return SystemClock.uptimeMillis(); in calculateStatusBarTransitionStartTime()
142 return SystemClock.uptimeMillis(); in calculateStatusBarTransitionStartTime()
145 return SystemClock.uptimeMillis(); in calculateStatusBarTransitionStartTime()
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/stress/
DWifiStressTest.java158 start = SystemClock.uptimeMillis(); in testWifiScanning()
165 scanTimeSum += SystemClock.uptimeMillis() - start; in testWifiScanning()
233 long start = SystemClock.uptimeMillis(); in testWifiReconnectionAfterSleep()
237 ((SystemClock.uptimeMillis() - start) < SCREEN_OFF_TIMER)) { in testWifiReconnectionAfterSleep()
273 long startTime = SystemClock.uptimeMillis(); in testWifiReconnectionAfterSleep()
279 long connectionTime = SystemClock.uptimeMillis() - startTime; in testWifiReconnectionAfterSleep()
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
DDispatchThread.java76 long timeoutBound = SystemClock.uptimeMillis() + timeoutMs; in runJobSync()
80 if (SystemClock.uptimeMillis() > timeoutBound) { in runJobSync()
84 if (SystemClock.uptimeMillis() > timeoutBound) { in runJobSync()
DCameraStateHolder.java96 long timeBound = SystemClock.uptimeMillis() + timeoutMs; in waitForCondition()
102 if (SystemClock.uptimeMillis() > timeBound) { in waitForCondition()
/frameworks/support/design/eclair-mr1/android/support/design/widget/
DValueAnimatorCompatImplEclairMr1.java59 mStartTime = SystemClock.uptimeMillis(); in start()
153 final long elapsed = SystemClock.uptimeMillis() - mStartTime; in update()
165 if (SystemClock.uptimeMillis() >= (mStartTime + mDuration)) { in update()
/frameworks/base/media/java/android/media/
DAsyncPlayer.java69 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in startSound()
101 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in run()
197 cmd.requestTime = SystemClock.uptimeMillis(); in play()
219 cmd.requestTime = SystemClock.uptimeMillis(); in stop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/misc/
DDebugTrigger.java57 mLastKeyCodeTime = SystemClock.uptimeMillis(); in onKeyEvent()
63 if ((SystemClock.uptimeMillis() - mLastKeyCodeTime) < 750) { in onKeyEvent()
/frameworks/base/core/java/com/android/server/
DResettableTimeout.java55 mOffAt = SystemClock.uptimeMillis() + milliseconds; in go()
106 diff = mOffAt - SystemClock.uptimeMillis(); in run()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DNotificationPlayer.java155 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in startSound()
187 long delay = SystemClock.uptimeMillis() - cmd.requestTime; in run()
291 cmd.requestTime = SystemClock.uptimeMillis(); in play()
318 cmd.requestTime = SystemClock.uptimeMillis(); in play()
340 cmd.requestTime = SystemClock.uptimeMillis(); in stop()
/frameworks/base/core/java/android/util/
DTimedRemoteCaller.java117 final long startMillis = SystemClock.uptimeMillis(); in waitForResultTimedLocked()
123 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis; in waitForResultTimedLocked()
/frameworks/base/core/java/android/app/
DUiAutomation.java203 final long startTimeMillis = SystemClock.uptimeMillis(); in connect()
209 final long elapsedTimeMillis = SystemClock.uptimeMillis() - startTimeMillis; in connect()
517 final long executionStartTimeMillis = SystemClock.uptimeMillis(); in executeAndWaitForEvent()
525 final long startTimeMillis = SystemClock.uptimeMillis(); in executeAndWaitForEvent()
540 final long elapsedTimeMillis = SystemClock.uptimeMillis() - startTimeMillis; in executeAndWaitForEvent()
579 final long startTimeMillis = SystemClock.uptimeMillis(); in waitForIdle()
585 final long currentTimeMillis = SystemClock.uptimeMillis(); in waitForIdle()
/frameworks/base/graphics/java/android/graphics/drawable/
DTransitionDrawable.java137 final long time = SystemClock.uptimeMillis(); in reverseTransition()
171 mStartTimeMillis = SystemClock.uptimeMillis(); in draw()
179 (SystemClock.uptimeMillis() - mStartTimeMillis) / mDuration; in draw()
/frameworks/support/v4/java/android/support/v4/content/
DAsyncTaskLoader.java207 long now = SystemClock.uptimeMillis(); in executePendingTask()
228 mLastLoadCompleteTime = SystemClock.uptimeMillis(); in dispatchOnCancelled()
246 mLastLoadCompleteTime = SystemClock.uptimeMillis(); in dispatchOnLoadComplete()
357 SystemClock.uptimeMillis(), writer); in dump()
/frameworks/base/core/java/android/content/
DAsyncTaskLoader.java223 long now = SystemClock.uptimeMillis(); in executePendingTask()
244 mLastLoadCompleteTime = SystemClock.uptimeMillis(); in dispatchOnCancelled()
262 mLastLoadCompleteTime = SystemClock.uptimeMillis(); in dispatchOnLoadComplete()
373 SystemClock.uptimeMillis(), writer); in dump()
/frameworks/base/cmds/input/src/com/android/commands/input/
DInput.java183 long now = SystemClock.uptimeMillis(); in sendKeyEvent()
196 long now = SystemClock.uptimeMillis(); in sendTap()
205 long now = SystemClock.uptimeMillis(); in sendSwipe()
214 now = SystemClock.uptimeMillis(); in sendSwipe()
227 long now = SystemClock.uptimeMillis(); in sendMove()
/frameworks/base/core/java/com/android/internal/os/
DZygoteInit.java229 long startTime = SystemClock.uptimeMillis(); in preloadClasses()
296 + (SystemClock.uptimeMillis()-startTime) + "ms."); in preloadClasses()
335 long startTime = SystemClock.uptimeMillis(); in preloadResources()
341 + (SystemClock.uptimeMillis()-startTime) + "ms."); in preloadResources()
343 startTime = SystemClock.uptimeMillis(); in preloadResources()
349 + (SystemClock.uptimeMillis()-startTime) + "ms."); in preloadResources()
592 SystemClock.uptimeMillis()); in main()
595 SystemClock.uptimeMillis()); in main()

12345678