Home
last modified time | relevance | path

Searched refs:delayMillis (Results 1 – 25 of 67) sorted by relevance

123

/frameworks/base/services/core/java/com/android/server/timezonedetector/location/
DThreadingDomain.java113 abstract void postDelayed(@NonNull Runnable runnable, @DurationMillisLong long delayMillis); in postDelayed() argument
115 abstract void postDelayed(Runnable r, Object token, @DurationMillisLong long delayMillis); in postDelayed() argument
143 void runDelayed(Runnable r, @DurationMillisLong long delayMillis) { in runDelayed() argument
146 mDelayMillis = delayMillis; in runDelayed()
151 }, this, delayMillis); in runDelayed()
DHandlerThreadingDomain.java97 void postDelayed(@NonNull Runnable r, @DurationMillisLong long delayMillis) { in postDelayed() argument
98 getHandler().postDelayed(r, delayMillis); in postDelayed()
102 void postDelayed(Runnable r, Object token, @DurationMillisLong long delayMillis) { in postDelayed() argument
103 getHandler().postDelayed(r, token, delayMillis); in postDelayed()
/frameworks/base/native/android/
Dchoreographer.cpp30 long delayMillis) { in AChoreographer_postFrameCallbackDelayed() argument
31 return AChoreographer_routePostFrameCallbackDelayed(choreographer, callback, data, delayMillis); in AChoreographer_postFrameCallbackDelayed()
39 uint32_t delayMillis) { in AChoreographer_postFrameCallbackDelayed64() argument
41 delayMillis); in AChoreographer_postFrameCallbackDelayed64()
/frameworks/base/core/java/android/os/
DHandler.java498 public final boolean postDelayed(@NonNull Runnable r, long delayMillis) { in postDelayed() argument
499 return sendMessageDelayed(getPostMessage(r), delayMillis); in postDelayed()
503 public final boolean postDelayed(Runnable r, int what, long delayMillis) { in postDelayed() argument
504 return sendMessageDelayed(getPostMessage(r).setWhat(what), delayMillis); in postDelayed()
529 @NonNull Runnable r, @Nullable Object token, long delayMillis) { in postDelayed() argument
530 return sendMessageDelayed(getPostMessage(r, token), delayMillis); in postDelayed()
659 public final boolean sendEmptyMessageDelayed(int what, long delayMillis) { in sendEmptyMessageDelayed() argument
662 return sendMessageDelayed(msg, delayMillis); in sendEmptyMessageDelayed()
693 public final boolean sendMessageDelayed(@NonNull Message msg, long delayMillis) { in sendMessageDelayed() argument
694 if (delayMillis < 0) { in sendMessageDelayed()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/timezonedetector/location/
DTestThreadingDomain.java88 void postDelayed(Runnable r, long delayMillis) { in postDelayed() argument
89 postDelayed(r, null, delayMillis); in postDelayed()
93 void postDelayed(Runnable r, Object token, long delayMillis) { in postDelayed() argument
94 mQueue.add(new QueuedRunnable(r, token, mCurrentTimeMillis + delayMillis)); in postDelayed()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DHandlerInjector.java33 public void postDelayed(Runnable runnable, long delayMillis) { in postDelayed() argument
34 mHandler.postDelayed(runnable, delayMillis); in postDelayed()
DThreadUtils.java90 public static void postOnMainThreadDelayed(Runnable runnable, long delayMillis) { in postOnMainThreadDelayed() argument
91 getUiThreadHandler().postDelayed(runnable, delayMillis); in postOnMainThreadDelayed()
/frameworks/base/telephony/java/com/android/internal/telephony/
DExponentialBackoff.java40 public boolean postDelayed(Runnable runnable, long delayMillis) {
41 return mHandler.postDelayed(runnable, delayMillis);
54 boolean postDelayed(Runnable runnable, long delayMillis); in postDelayed() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DRepeatableExecutor.java40 default Runnable executeRepeatedly(Runnable r, long initialDelayMillis, long delayMillis) { in executeRepeatedly() argument
41 return executeRepeatedly(r, initialDelayMillis, delayMillis, TimeUnit.MILLISECONDS); in executeRepeatedly()
DDelayableExecutor.java33 default Runnable executeDelayed(Runnable r, long delayMillis) { in executeDelayed() argument
34 return executeDelayed(r, delayMillis, TimeUnit.MILLISECONDS); in executeDelayed()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecFeatureAction.java133 void sendTimerMessage(int state, long delayMillis); in sendTimerMessage() argument
148 public void sendTimerMessage(int state, long delayMillis) { in sendTimerMessage() argument
150 sendMessageDelayed(obtainMessage(MSG_TIMEOUT, state, 0), delayMillis); in sendTimerMessage() local
177 protected void addTimer(int state, int delayMillis) { in addTimer() argument
178 mActionTimer.sendTimerMessage(state, delayMillis); in addTimer()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DHandlerExecutor.java42 public void executeDelayed(@NonNull Runnable r, long delayMillis) { in executeDelayed() argument
43 if (!mHandler.postDelayed(r, delayMillis)) { in executeDelayed()
/frameworks/native/libs/input/tests/
DTestHelpers.h65 explicit DelayedTask(int delayMillis) : mDelayMillis(delayMillis) { } in DelayedTask() argument
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/notifcollection/
DSelfTrackingLifetimeExtender.kt47 fun endLifetimeExtensionAfterDelay(key: String, delayMillis: Long) { in <lambda>()
50 "(key=$key, delayMillis=$delayMillis)" + in <lambda>()
54 mainHandler.postDelayed({ endLifetimeExtension(key) }, delayMillis) in <lambda>()
/frameworks/base/core/java/com/android/internal/os/
DLooperStats.java115 entry.delayMillis += delay; in messageDispatched()
316 public long delayMillis; field in LooperStats.Entry
341 delayMillis = 0; in reset()
375 public final long delayMillis; field in LooperStats.ExportedEntry
397 this.delayMillis = entry.delayMillis; in ExportedEntry()
/frameworks/native/libs/nativedisplay/include-private/private/android/
Dchoreographer.h47 long delayMillis);
52 void* data, uint32_t delayMillis);
/frameworks/native/include/android/
Dchoreographer.h133 long delayMillis) __INTRODUCED_IN(24)
155 uint32_t delayMillis) __INTRODUCED_IN(29);
/frameworks/base/core/java/android/view/
DChoreographer.java399 public static long subtractFrameDelay(long delayMillis) { in subtractFrameDelay() argument
401 return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay; in subtractFrameDelay()
459 Runnable action, Object token, long delayMillis) { in postCallbackDelayed() argument
467 postCallbackDelayedInternal(callbackType, action, token, delayMillis); in postCallbackDelayed()
471 Object action, Object token, long delayMillis) { in postCallbackDelayedInternal() argument
475 + ", delayMillis=" + delayMillis); in postCallbackDelayedInternal()
480 final long dueTime = now + delayMillis; in postCallbackDelayedInternal()
576 public void postFrameCallbackDelayed(FrameCallback callback, long delayMillis) { in postFrameCallbackDelayed() argument
582 callback, FRAME_CALLBACK_TOKEN, delayMillis); in postFrameCallbackDelayed()
DHandlerActionQueue.java36 public void postDelayed(Runnable action, long delayMillis) { in postDelayed() argument
37 final HandlerAction handlerAction = new HandlerAction(action, delayMillis); in postDelayed()
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java1797 public void sendMessageDelayed(int what, long delayMillis) { in sendMessageDelayed() argument
1802 smh.sendMessageDelayed(obtainMessage(what), delayMillis); in sendMessageDelayed()
1810 public void sendMessageDelayed(int what, Object obj, long delayMillis) { in sendMessageDelayed() argument
1815 smh.sendMessageDelayed(obtainMessage(what, obj), delayMillis); in sendMessageDelayed()
1823 public void sendMessageDelayed(int what, int arg1, long delayMillis) { in sendMessageDelayed() argument
1828 smh.sendMessageDelayed(obtainMessage(what, arg1), delayMillis); in sendMessageDelayed()
1836 public void sendMessageDelayed(int what, int arg1, int arg2, long delayMillis) { in sendMessageDelayed() argument
1841 smh.sendMessageDelayed(obtainMessage(what, arg1, arg2), delayMillis); in sendMessageDelayed()
1850 long delayMillis) { in sendMessageDelayed() argument
1855 smh.sendMessageDelayed(obtainMessage(what, arg1, arg2, obj), delayMillis); in sendMessageDelayed()
[all …]
/frameworks/native/libs/nativedisplay/
DAChoreographer.cpp526 long delayMillis) { in AChoreographer_routePostFrameCallbackDelayed() argument
529 return AChoreographer_postFrameCallbackDelayed(choreographer, callback, data, delayMillis); in AChoreographer_routePostFrameCallbackDelayed()
538 void* data, uint32_t delayMillis) { in AChoreographer_routePostFrameCallbackDelayed64() argument
539 return AChoreographer_postFrameCallbackDelayed64(choreographer, callback, data, delayMillis); in AChoreographer_routePostFrameCallbackDelayed64()
614 long delayMillis) { in AChoreographer_postFrameCallbackDelayed() argument
616 ->postFrameCallbackDelayed(callback, nullptr, nullptr, data, ms2ns(delayMillis)); in AChoreographer_postFrameCallbackDelayed()
630 uint32_t delayMillis) { in AChoreographer_postFrameCallbackDelayed64() argument
632 ->postFrameCallbackDelayed(nullptr, callback, nullptr, data, ms2ns(delayMillis)); in AChoreographer_postFrameCallbackDelayed64()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/util/
DChoreographerCallbacks.java45 public void add(Object action, long delayMillis) { in add() argument
49 final long dueTime = now + delayMillis; in add()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DMockBatteryStatsImpl.java255 public Future<?> scheduleCpuSyncDueToWakelockChange(long delayMillis) { in scheduleCpuSyncDueToWakelockChange() argument
264 public Future<?> scheduleSyncDueToBatteryLevelChange(long delayMillis) { in scheduleSyncDueToBatteryLevelChange() argument
269 public void scheduleSyncDueToProcessStateChange(int flags, long delayMillis) { in scheduleSyncDueToProcessStateChange() argument
/frameworks/layoutlib/bridge/src/android/view/
DChoreographer_Delegate.java46 Choreographer thiz, int callbackType, Object action, Object token, long delayMillis) { in postCallbackDelayedInternal() argument
69 context.getSessionInteractiveData().getChoreographerCallbacks().add(action, delayMillis); in postCallbackDelayedInternal()
/frameworks/base/cmds/svc/src/com/android/commands/svc/
DPowerCommand.java120 int delayMillis = args.length > 2 in run() local
123 Thread.sleep(delayMillis); in run()

123