/frameworks/base/core/java/android/os/ |
D | Handler.java | 494 public final boolean postDelayed(@NonNull Runnable r, long delayMillis) { in postDelayed() argument 495 return sendMessageDelayed(getPostMessage(r), delayMillis); in postDelayed() 499 public final boolean postDelayed(Runnable r, int what, long delayMillis) { in postDelayed() argument 500 return sendMessageDelayed(getPostMessage(r).setWhat(what), delayMillis); in postDelayed() 525 @NonNull Runnable r, @Nullable Object token, long delayMillis) { in postDelayed() argument 526 return sendMessageDelayed(getPostMessage(r, token), delayMillis); in postDelayed() 655 public final boolean sendEmptyMessageDelayed(int what, long delayMillis) { in sendEmptyMessageDelayed() argument 658 return sendMessageDelayed(msg, delayMillis); in sendEmptyMessageDelayed() 689 public final boolean sendMessageDelayed(@NonNull Message msg, long delayMillis) { in sendMessageDelayed() argument 690 if (delayMillis < 0) { in sendMessageDelayed() [all …]
|
D | BatteryManager.java | 396 public boolean setChargingStateUpdateDelayMillis(int delayMillis) { in setChargingStateUpdateDelayMillis() argument 398 return mBatteryStats.setChargingStateUpdateDelayMillis(delayMillis); in setChargingStateUpdateDelayMillis()
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
D | HdmiCecFeatureAction.java | 117 void sendTimerMessage(int state, long delayMillis); in sendTimerMessage() argument 132 public void sendTimerMessage(int state, long delayMillis) { in sendTimerMessage() argument 134 sendMessageDelayed(obtainMessage(MSG_TIMEOUT, state, 0), delayMillis); in sendTimerMessage() local 161 protected void addTimer(int state, int delayMillis) { in addTimer() argument 162 mActionTimer.sendTimerMessage(state, delayMillis); in addTimer()
|
/frameworks/base/telephony/java/com/android/internal/telephony/ |
D | ExponentialBackoff.java | 40 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/core/java/android/view/ |
D | Choreographer.java | 381 public static long subtractFrameDelay(long delayMillis) { in subtractFrameDelay() argument 383 return delayMillis <= frameDelay ? 0 : delayMillis - frameDelay; in subtractFrameDelay() 439 Runnable action, Object token, long delayMillis) { in postCallbackDelayed() argument 447 postCallbackDelayedInternal(callbackType, action, token, delayMillis); in postCallbackDelayed() 451 Object action, Object token, long delayMillis) { in postCallbackDelayedInternal() argument 455 + ", delayMillis=" + delayMillis); in postCallbackDelayedInternal() 460 final long dueTime = now + delayMillis; in postCallbackDelayedInternal() 538 public void postFrameCallbackDelayed(FrameCallback callback, long delayMillis) { in postFrameCallbackDelayed() argument 544 callback, FRAME_CALLBACK_TOKEN, delayMillis); in postFrameCallbackDelayed()
|
D | HandlerActionQueue.java | 36 public void postDelayed(Runnable action, long delayMillis) { in postDelayed() argument 37 final HandlerAction handlerAction = new HandlerAction(action, delayMillis); in postDelayed()
|
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/car/ |
D | CarTrustAgentUnlockDialogHelper.java | 128 long delayMillis = mContext.getResources().getInteger(R.integer.unlock_dialog_delay_ms); in showUnlockDialogAfterDelay() local 129 showUnlockDialogAfterDelay(uid, delayMillis, listener); in showUnlockDialogAfterDelay() 135 private void showUnlockDialogAfterDelay(int uid, long delayMillis, OnHideListener listener) { in showUnlockDialogAfterDelay() argument 145 logd("Showed unlock dialog for user: " + uid + " after " + delayMillis in showUnlockDialogAfterDelay() 149 }, delayMillis); in showUnlockDialogAfterDelay()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryExternalStatsWorker.java | 161 boolean onBattery, boolean onBatteryScreenOff, long delayMillis) { in scheduleReadProcStateCpuTimes() argument 172 delayMillis, TimeUnit.MILLISECONDS); in scheduleReadProcStateCpuTimes() 210 public Future<?> scheduleCpuSyncDueToWakelockChange(long delayMillis) { in scheduleCpuSyncDueToWakelockChange() argument 217 delayMillis); in scheduleCpuSyncDueToWakelockChange() 233 public Future<?> scheduleSyncDueToBatteryLevelChange(long delayMillis) { in scheduleSyncDueToBatteryLevelChange() argument 237 delayMillis); in scheduleSyncDueToBatteryLevelChange() 262 long delayMillis) { in scheduleDelayedSyncLocked() argument 270 if (delayMillis == 0) { in scheduleDelayedSyncLocked() 277 return mExecutorService.schedule(syncRunnable, delayMillis, TimeUnit.MILLISECONDS); in scheduleDelayedSyncLocked()
|
/frameworks/native/include/android/ |
D | choreographer.h | 78 long delayMillis) __INTRODUCED_IN(24) __DEPRECATED_IN(29); 101 … AChoreographer_frameCallback64 callback, void* data, uint32_t delayMillis) __INTRODUCED_IN(29);
|
/frameworks/base/native/android/ |
D | choreographer.cpp | 212 AChoreographer_frameCallback callback, void* data, long delayMillis) { in AChoreographer_postFrameCallbackDelayed() argument 214 callback, nullptr, data, ms2ns(delayMillis)); in AChoreographer_postFrameCallbackDelayed() 222 AChoreographer_frameCallback64 callback, void* data, uint32_t delayMillis) { in AChoreographer_postFrameCallbackDelayed64() argument 224 nullptr, callback, data, ms2ns(delayMillis)); in AChoreographer_postFrameCallbackDelayed64()
|
/frameworks/native/libs/input/tests/ |
D | TestHelpers.h | 65 explicit DelayedTask(int delayMillis) : mDelayMillis(delayMillis) { } in DelayedTask() argument
|
/frameworks/base/core/java/com/android/internal/os/ |
D | LooperStats.java | 113 entry.delayMillis += delay; in messageDispatched() 302 public long delayMillis; field in LooperStats.Entry 327 delayMillis = 0; in reset() 361 public final long delayMillis; field in LooperStats.ExportedEntry 383 this.delayMillis = entry.delayMillis; in ExportedEntry()
|
D | HandlerCaller.java | 76 public void sendMessageDelayed(Message msg, long delayMillis) { in sendMessageDelayed() argument 77 mH.sendMessageDelayed(msg, delayMillis); in sendMessageDelayed()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | MockBatteryStatsImpl.java | 178 boolean onBatteryScreenOff, long delayMillis) { in scheduleReadProcStateCpuTimes() argument 195 public Future<?> scheduleCpuSyncDueToWakelockChange(long delayMillis) { in scheduleCpuSyncDueToWakelockChange() argument 204 public Future<?> scheduleSyncDueToBatteryLevelChange(long delayMillis) { in scheduleSyncDueToBatteryLevelChange() argument
|
D | LooperStatsTest.java | 107 assertThat(entry.delayMillis).isEqualTo(30); in testSingleMessageDispatched() 291 assertThat(entry.delayMillis).isEqualTo(400); in testDispatchDelayIsRecorded()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | StateMachine.java | 1796 public void sendMessageDelayed(int what, long delayMillis) { in sendMessageDelayed() argument 1801 smh.sendMessageDelayed(obtainMessage(what), delayMillis); in sendMessageDelayed() 1809 public void sendMessageDelayed(int what, Object obj, long delayMillis) { in sendMessageDelayed() argument 1814 smh.sendMessageDelayed(obtainMessage(what, obj), delayMillis); in sendMessageDelayed() 1822 public void sendMessageDelayed(int what, int arg1, long delayMillis) { in sendMessageDelayed() argument 1827 smh.sendMessageDelayed(obtainMessage(what, arg1), delayMillis); in sendMessageDelayed() 1835 public void sendMessageDelayed(int what, int arg1, int arg2, long delayMillis) { in sendMessageDelayed() argument 1840 smh.sendMessageDelayed(obtainMessage(what, arg1, arg2), delayMillis); in sendMessageDelayed() 1849 long delayMillis) { in sendMessageDelayed() argument 1854 smh.sendMessageDelayed(obtainMessage(what, arg1, arg2, obj), delayMillis); in sendMessageDelayed() [all …]
|
/frameworks/base/cmds/svc/src/com/android/commands/svc/ |
D | PowerCommand.java | 120 int delayMillis = args.length > 2 in run() local 123 Thread.sleep(delayMillis); in run()
|
/frameworks/layoutlib/bridge/src/android/view/ |
D | HandlerActionQueue_Delegate.java | 33 delayMillis) { in postDelayed() argument
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | InstallCarrierAppUtils.java | 121 String pkgName, long delayMillis) { in showNotificationIfNotInstalledDelayed() argument 129 SystemClock.elapsedRealtime() + delayMillis, in showNotificationIfNotInstalledDelayed()
|
/frameworks/base/services/robotests/backup/src/com/android/server/backup/remote/ |
D | RemoteCallTest.java | 263 private static void postDelayed(Handler handler, ThrowingRunnable runnable, long delayMillis) { in postDelayed() argument 264 handler.postDelayed(() -> uncheck(runnable), delayMillis); in postDelayed() local
|
/frameworks/base/media/java/android/media/ |
D | MediaSync.java | 524 private void postRenderAudio(long delayMillis) { in postRenderAudio() argument 571 }, delayMillis); in postRenderAudio()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/bubbles/animation/ |
D | PhysicsAnimationLayoutTestCase.java | 154 public boolean postDelayed(Runnable action, long delayMillis) { in postDelayed() argument 155 return mMainThreadHandler.postDelayed(action, delayMillis); in postDelayed()
|
/frameworks/base/core/java/com/android/internal/widget/ |
D | AutoScrollHelper.java | 410 public AutoScrollHelper setActivationDelay(int delayMillis) { in setActivationDelay() argument 411 mActivationDelay = delayMillis; in setActivationDelay()
|
/frameworks/base/services/core/java/com/android/server/ |
D | LooperStatsService.java | 149 entry.delayMillis, in dump()
|
/frameworks/base/services/core/java/com/android/server/power/batterysaver/ |
D | BatterySaverStateMachine.java | 354 void runOnBgThreadLazy(Runnable r, int delayMillis) { in runOnBgThreadLazy() argument 357 h.postDelayed(r, delayMillis); in runOnBgThreadLazy()
|