Searched refs:uptimeMillis (Results 1 - 25 of 151) sorted by relevance

1234567

/frameworks/base/core/java/android/os/
H A DSystemClock.java41 * <li> <p> {@link #uptimeMillis} is counted in milliseconds since the
51 * timestamp value currently expect the {@link #uptimeMillis} clock.
66 * are always available. These functions use the {@link #uptimeMillis}
80 * {@link #uptimeMillis} clock, and require an {@link android.os.Looper
100 * Waits a given number of milliseconds (of uptimeMillis) before returning.
110 long start = uptimeMillis();
120 duration = start + ms - uptimeMillis();
144 native public static long uptimeMillis(); method in class:SystemClock
H A DHandler.java331 * at a specific time given by <var>uptimeMillis</var>.
332 * <b>The time-base is {@link android.os.SystemClock#uptimeMillis}.</b>
336 * @param uptimeMillis The absolute time at which the callback should run,
337 * using the {@link android.os.SystemClock#uptimeMillis} time-base.
346 public final boolean postAtTime(Runnable r, long uptimeMillis) argument
348 return sendMessageAtTime(getPostMessage(r), uptimeMillis);
353 * at a specific time given by <var>uptimeMillis</var>.
354 * <b>The time-base is {@link android.os.SystemClock#uptimeMillis}.</b>
358 * @param uptimeMillis The absolute time at which the callback should run,
359 * using the {@link android.os.SystemClock#uptimeMillis} tim
370 postAtTime(Runnable r, Object token, long uptimeMillis) argument
543 sendEmptyMessageAtTime(int what, long uptimeMillis) argument
587 sendMessageAtTime(Message msg, long uptimeMillis) argument
621 enqueueMessage(MessageQueue queue, Message msg, long uptimeMillis) argument
[all...]
H A DPerformanceCollector.java368 mExecTime = SystemClock.uptimeMillis();
389 mExecTime = SystemClock.uptimeMillis() - mExecTime;
397 mExecTime = SystemClock.uptimeMillis();
472 mSnapshotExecTime = SystemClock.uptimeMillis();
484 mSnapshotExecTime = SystemClock.uptimeMillis() - mSnapshotExecTime;
/frameworks/base/core/java/android/net/http/
H A DTimer.java31 mStart = mLast = SystemClock.uptimeMillis();
35 long now = SystemClock.uptimeMillis();
H A DHttpLog.java37 Log.v(LOGTAG, SystemClock.uptimeMillis() + " " + Thread.currentThread().getName() + " " + logMe);
H A DIdleCache.java76 long time = SystemClock.uptimeMillis();
131 long time = SystemClock.uptimeMillis();
/frameworks/base/tools/layoutlib/bridge/src/android/os/
H A DHandler_Delegate.java35 /*package*/ static boolean sendMessageAtTime(Handler handler, Message msg, long uptimeMillis) { argument
39 callback.sendMessageAtTime(handler, msg, uptimeMillis);
47 void sendMessageAtTime(Handler handler, Message msg, long uptimeMillis); argument
H A DSystemClock_Delegate.java49 /*package*/ static long uptimeMillis() { method in class:SystemClock_Delegate
/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java55 mOffAt = SystemClock.uptimeMillis() + milliseconds;
106 diff = mOffAt - SystemClock.uptimeMillis();
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/performance/
H A DVideoEditorPerformance.java117 final long duration2 = SystemClock.uptimeMillis();
213 startTime = SystemClock.uptimeMillis();
222 startTime = SystemClock.uptimeMillis();
229 startTime = SystemClock.uptimeMillis();
253 long beginTime = SystemClock.uptimeMillis();
260 beginTime = SystemClock.uptimeMillis();
266 beginTime = SystemClock.uptimeMillis();
325 long beginTime = SystemClock.uptimeMillis();
335 beginTime = SystemClock.uptimeMillis();
343 beginTime = SystemClock.uptimeMillis();
[all...]
/frameworks/base/core/java/android/util/
H A DTimedRemoteCaller.java117 final long startMillis = SystemClock.uptimeMillis();
123 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis;
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java264 long downTime = SystemClock.uptimeMillis();
265 long eventTime = SystemClock.uptimeMillis();
272 eventTime = SystemClock.uptimeMillis();
279 eventTime = SystemClock.uptimeMillis();
304 long downTime = SystemClock.uptimeMillis();
305 long eventTime = SystemClock.uptimeMillis();
312 eventTime = SystemClock.uptimeMillis();
339 long downTime = SystemClock.uptimeMillis();
340 long eventTime = SystemClock.uptimeMillis();
348 eventTime = SystemClock.uptimeMillis();
[all...]
/frameworks/base/core/java/com/android/internal/os/
H A DBinderInternal.java46 mLastGcTime = SystemClock.uptimeMillis();
58 * Return the system time (as reported by {@link SystemClock#uptimeMillis
59 * SystemClock.uptimeMillis()}) that the last garbage collection occurred
64 * @return Returns the time as per {@link SystemClock#uptimeMillis
65 * SystemClock.uptimeMillis()} of the last garbage collection.
/frameworks/base/media/java/android/media/
H A DAsyncPlayer.java70 long delay = SystemClock.uptimeMillis() - cmd.requestTime;
102 long delay = SystemClock.uptimeMillis() - cmd.requestTime;
167 cmd.requestTime = SystemClock.uptimeMillis();
189 cmd.requestTime = SystemClock.uptimeMillis();
/frameworks/base/tests/ImfTest/tests/src/com/android/imftest/samples/
H A DImfBaseTestCase.java101 long timeoutTime = SystemClock.uptimeMillis() + WAIT_FOR_IME;
102 while (newLocation[1] > rootViewHeight - IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTime) {
134 long timeoutTime = SystemClock.uptimeMillis() + WAIT_FOR_IME;
135 while (Math.abs(newHeight - origHeight) < IME_MIN_HEIGHT && SystemClock.uptimeMillis() < timeoutTime) {
/frameworks/base/core/java/android/app/
H A DUiAutomation.java194 final long startTimeMillis = SystemClock.uptimeMillis();
200 final long elapsedTimeMillis = SystemClock.uptimeMillis() - startTimeMillis;
459 final long executionStartTimeMillis = SystemClock.uptimeMillis();
467 final long startTimeMillis = SystemClock.uptimeMillis();
482 final long elapsedTimeMillis = SystemClock.uptimeMillis() - startTimeMillis;
521 final long startTimeMillis = SystemClock.uptimeMillis();
527 final long currentTimeMillis = SystemClock.uptimeMillis();
/frameworks/base/core/java/com/android/internal/view/
H A DBaseSurfaceHolder.java192 mLastLockTime = SystemClock.uptimeMillis();
199 long now = SystemClock.uptimeMillis();
206 now = SystemClock.uptimeMillis();
/frameworks/base/graphics/java/android/graphics/drawable/
H A DTransitionDrawable.java137 final long time = SystemClock.uptimeMillis();
171 mStartTimeMillis = SystemClock.uptimeMillis();
179 (SystemClock.uptimeMillis() - mStartTimeMillis) / mDuration;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DCameraWidgetFrame.java84 mLaunchCameraStart = SystemClock.uptimeMillis();
343 if (DEBUG) Log.d(TAG, "recovering at " + SystemClock.uptimeMillis());
366 + " at " + SystemClock.uptimeMillis());
408 if (DEBUG) Log.d(TAG, "onFocusLost at " + SystemClock.uptimeMillis());
419 if (DEBUG) Log.d(TAG, "rescheduleTransitionToCamera at " + SystemClock.uptimeMillis());
426 if (DEBUG) Log.d(TAG, "cancelTransitionToCamera at " + SystemClock.uptimeMillis());
436 if (DEBUG) Log.d(TAG, "reset at " + SystemClock.uptimeMillis());
457 w, h, oldw, oldh, SystemClock.uptimeMillis()));
483 + " at " + SystemClock.uptimeMillis());
491 + " at " + SystemClock.uptimeMillis());
[all...]
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/
H A DInteractionController.java191 final long eventTime = SystemClock.uptimeMillis();
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/services/java/com/android/server/
H A DDiskStatsService.java57 long before = SystemClock.uptimeMillis();
67 long after = SystemClock.uptimeMillis();
/frameworks/base/tools/layoutlib/bridge/src/android/animation/
H A DAnimationThread.java53 MessageBundle(Handler target, Message message, long uptimeMillis) { argument
56 mUptimeMillis = uptimeMillis;
93 public void sendMessageAtTime(Handler handler, Message msg, long uptimeMillis) {
96 mQueue.add(new MessageBundle(handler, msg, uptimeMillis));
/frameworks/native/libs/binder/
H A DAppOpsManager.cpp52 startTime = uptimeMillis();
54 } else if ((uptimeMillis()-startTime) > 10000) {
/frameworks/base/cmds/svc/src/com/android/commands/svc/
H A DPowerCommand.java73 pm.wakeUp(SystemClock.uptimeMillis());
/frameworks/base/core/java/android/content/
H A DAsyncTaskLoader.java223 long now = SystemClock.uptimeMillis();
244 mLastLoadCompleteTime = SystemClock.uptimeMillis();
262 mLastLoadCompleteTime = SystemClock.uptimeMillis();
373 SystemClock.uptimeMillis(), writer);

Completed in 1988 milliseconds

1234567