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

1234567891011

/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.java42 /*package*/ static long uptimeMillis() { method in class:SystemClock_Delegate
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
H A DMockClocks.java29 public long uptimeMillis() { method in class:MockClocks
H A DBatteryStatsDualTimerTest.java34 timeBase.init(clocks.uptimeMillis(), clocks.elapsedRealtime());
36 subTimeBase.init(clocks.uptimeMillis(), clocks.elapsedRealtime());
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
H A DClock.java58 return SystemClock.uptimeMillis();
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/util/
H A DTouchUtils.java42 long downTime = SystemClock.uptimeMillis();
43 long eventTime = SystemClock.uptimeMillis();
50 eventTime = SystemClock.uptimeMillis();
57 eventTime = SystemClock.uptimeMillis();
73 long downTime = SystemClock.uptimeMillis();
74 long eventTime = SystemClock.uptimeMillis();
81 eventTime = SystemClock.uptimeMillis();
100 long downTime = SystemClock.uptimeMillis();
101 long eventTime = SystemClock.uptimeMillis();
108 eventTime = SystemClock.uptimeMillis();
[all...]
/frameworks/base/core/java/com/android/server/
H A DResettableTimeout.java55 mOffAt = SystemClock.uptimeMillis() + milliseconds;
106 diff = mOffAt - SystemClock.uptimeMillis();
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/leak/
H A DReferenceTestUtils.java53 long deadline = SystemClock.uptimeMillis() + 5_000;
55 if (SystemClock.uptimeMillis() > deadline) {
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/leak/
H A DTrackedCollections.java45 collectionState.startUptime = SystemClock.uptimeMillis();
49 && SystemClock.uptimeMillis() - collectionState.startUptime > HALFWAY_DELAY) {
53 collectionState.lastUptime = SystemClock.uptimeMillis();
75 long now = SystemClock.uptimeMillis();
H A DTrackedGarbage.java74 createdUptimeMillis = SystemClock.uptimeMillis();
87 long now = SystemClock.uptimeMillis();
112 long now = SystemClock.uptimeMillis();
/frameworks/base/core/java/android/os/
H A DSystemClock.java46 * <li> <p> {@link #uptimeMillis} is counted in milliseconds since the
56 * timestamp value currently expect the {@link #uptimeMillis} clock.
71 * are always available. These functions use the {@link #uptimeMillis}
85 * {@link #uptimeMillis} clock, and require an {@link android.os.Looper
107 * Waits a given number of milliseconds (of uptimeMillis) before returning.
117 long start = uptimeMillis();
127 duration = start + ms - uptimeMillis();
168 native public static long uptimeMillis(); method in class:SystemClock
H A DHandler.java361 * at a specific time given by <var>uptimeMillis</var>.
362 * <b>The time-base is {@link android.os.SystemClock#uptimeMillis}.</b>
367 * @param uptimeMillis The absolute time at which the callback should run,
368 * using the {@link android.os.SystemClock#uptimeMillis} time-base.
377 public final boolean postAtTime(Runnable r, long uptimeMillis) argument
379 return sendMessageAtTime(getPostMessage(r), uptimeMillis);
384 * at a specific time given by <var>uptimeMillis</var>.
385 * <b>The time-base is {@link android.os.SystemClock#uptimeMillis}.</b>
390 * @param uptimeMillis The absolute time at which the callback should run,
391 * using the {@link android.os.SystemClock#uptimeMillis} tim
402 postAtTime(Runnable r, Object token, long uptimeMillis) argument
577 sendEmptyMessageAtTime(int what, long uptimeMillis) argument
622 sendMessageAtTime(Message msg, long uptimeMillis) argument
656 enqueueMessage(MessageQueue queue, Message msg, long uptimeMillis) argument
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
H A DMessageCapturingHandler.java40 public boolean sendMessageAtTime(Message message, long uptimeMillis) { argument
41 timedMessages.add(new Pair<>(Message.obtain(message), uptimeMillis));
42 return super.sendMessageAtTime(message, uptimeMillis);
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/
H A DConnectivityManagerTestBase.java98 mLastConnectivityChangeTime = SystemClock.uptimeMillis();
160 long startTime = SystemClock.uptimeMillis();
167 if ((SystemClock.uptimeMillis() - startTime) > timeout) {
179 long startTime = SystemClock.uptimeMillis();
186 if ((SystemClock.uptimeMillis() - startTime) > timeout) {
198 long startTime = SystemClock.uptimeMillis();
205 if ((SystemClock.uptimeMillis() - startTime) > timeout) {
223 long startTime = SystemClock.uptimeMillis();
226 if ((SystemClock.uptimeMillis() - startTime) > timeout) {
268 pm.goToSleep(SystemClock.uptimeMillis());
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DTwoWayBindingAdapterTest.java69 long timeout = SystemClock.uptimeMillis() + 500;
71 SystemClock.uptimeMillis() < timeout) {
102 long downTime = SystemClock.uptimeMillis();
103 long eventTime = SystemClock.uptimeMillis();
110 eventTime = SystemClock.uptimeMillis();
117 eventTime = SystemClock.uptimeMillis();
152 long timeout = SystemClock.uptimeMillis() + 1500;
166 } while (date[0] == date[1] && SystemClock.uptimeMillis() < timeout);
168 timeout = SystemClock.uptimeMillis() + 100;
169 while (mBindingObject.date.get() == 0 && SystemClock.uptimeMillis() < timeou
[all...]
/frameworks/base/cmds/incidentd/src/
H A DFdBuffer.cpp58 mStartTime = uptimeMillis();
77 int64_t remainingTime = (mStartTime + timeout) - uptimeMillis();
108 mFinishTime = uptimeMillis();
/frameworks/ex/camera2/portability/src/com/android/ex/camera2/portability/
H A DDispatchThread.java76 long timeoutBound = SystemClock.uptimeMillis() + timeoutMs;
80 if (SystemClock.uptimeMillis() > timeoutBound) {
84 if (SystemClock.uptimeMillis() > timeoutBound) {
H A DCameraStateHolder.java96 long timeBound = SystemClock.uptimeMillis() + timeoutMs;
102 if (SystemClock.uptimeMillis() > timeBound) {
/frameworks/base/tests/AmSlam/src/test/amslam/
H A DPingReceiver.java31 response.putExtra("bounce_time", SystemClock.uptimeMillis());
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DClientWakelockTracker.java40 long uptime = SystemClock.uptimeMillis();
53 long uptime = SystemClock.uptimeMillis();
65 long uptime = SystemClock.uptimeMillis();
76 long uptime = SystemClock.uptimeMillis();
/frameworks/base/core/java/android/util/
H A DTimedRemoteCaller.java138 final long startMillis = SystemClock.uptimeMillis();
145 final long elapsedMillis = SystemClock.uptimeMillis() - startMillis;
/frameworks/base/core/jni/
H A Dandroid_os_SystemClock.cpp40 static_assert(std::is_same<decltype(uptimeMillis()), int64_t>::value,
41 "uptimeMillis signature change, expected int64_t return value");
43 "uptimeMillis signature change, expected int64_t return value");
45 "uptimeMillis signature change, expected int64_t return value");
88 { "uptimeMillis", "()J", (void*) uptimeMillis },
/frameworks/support/wear/tests/src/android/support/wear/widget/
H A DScrollManagerTest.java124 long downTime = SystemClock.uptimeMillis();
125 long eventTime = SystemClock.uptimeMillis();
139 eventTime = SystemClock.uptimeMillis();
144 eventTime = SystemClock.uptimeMillis();
151 long downTime = SystemClock.uptimeMillis();
152 long eventTime = SystemClock.uptimeMillis();
170 eventTime = SystemClock.uptimeMillis();
175 eventTime = SystemClock.uptimeMillis();
/frameworks/base/test-runner/src/android/test/
H A DTouchUtils.java258 long downTime = SystemClock.uptimeMillis();
259 long eventTime = SystemClock.uptimeMillis();
266 eventTime = SystemClock.uptimeMillis();
273 eventTime = SystemClock.uptimeMillis();
298 long downTime = SystemClock.uptimeMillis();
299 long eventTime = SystemClock.uptimeMillis();
306 eventTime = SystemClock.uptimeMillis();
333 long downTime = SystemClock.uptimeMillis();
334 long eventTime = SystemClock.uptimeMillis();
342 eventTime = SystemClock.uptimeMillis();
[all...]
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
H A DPersistentConnectionTest.java45 public long uptimeMillis = 12345; field in class:PersistentConnectionTest.MyConnection
63 return uptimeMillis;
67 void injectPostAtTime(Runnable r, long uptimeMillis) { argument
68 scheduledRunnables.add(Pair.create(r, uptimeMillis));
81 uptimeMillis += milliSeconds;
90 if (scheduledRunnables.get(i).second <= uptimeMillis) {
215 conn.uptimeMillis + 5000)),
254 conn.uptimeMillis + 7500)),
282 conn.uptimeMillis + 11000)),

Completed in 564 milliseconds

1234567891011