Home
last modified time | relevance | path

Searched refs:sendMessageDelayed (Results 1 – 25 of 161) sorted by relevance

1234567

/frameworks/base/core/tests/coretests/src/android/os/
DIdleHandlerTest.java65 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); in testOneShotFirst()
71 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testOneShotFirst()
105 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testOneShotLater()
107 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100); in testOneShotLater()
136 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); in testRepeatedFirst()
142 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testRepeatedFirst()
176 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testRepeatedLater()
178 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100); in testRepeatedLater()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java142 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchNoTimeMove()
143 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 10000); in testDelayedDispatchNoTimeMove()
170 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchAdvanceTimeOnce()
171 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 10000); in testDelayedDispatchAdvanceTimeOnce()
202 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchAdvanceTimeTwice()
204 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 1000); in testDelayedDispatchAdvanceTimeTwice()
205 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageB), 2000); in testDelayedDispatchAdvanceTimeTwice()
238 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchReverseOrder()
240 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 5000); in testDelayedDispatchReverseOrder()
241 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageB), 2000); in testDelayedDispatchReverseOrder()
[all …]
/frameworks/base/core/java/android/os/
DHandler.java423 return sendMessageDelayed(getPostMessage(r), 0); in post()
495 return sendMessageDelayed(getPostMessage(r), delayMillis); in postDelayed()
500 return sendMessageDelayed(getPostMessage(r).setWhat(what), delayMillis); in postDelayed()
526 return sendMessageDelayed(getPostMessage(r, token), delayMillis); in postDelayed()
631 return sendMessageDelayed(msg, 0); in sendMessage()
658 return sendMessageDelayed(msg, delayMillis); in sendEmptyMessageDelayed()
689 public final boolean sendMessageDelayed(@NonNull Message msg, long delayMillis) { in sendMessageDelayed() method in Handler
DCountDownTimer.java151 sendMessageDelayed(obtainMessage(MSG), delay);
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java1796 public void sendMessageDelayed(int what, long delayMillis) { in sendMessageDelayed() method in StateMachine
1801 smh.sendMessageDelayed(obtainMessage(what), delayMillis); in sendMessageDelayed()
1809 public void sendMessageDelayed(int what, Object obj, long delayMillis) { in sendMessageDelayed() method in StateMachine
1814 smh.sendMessageDelayed(obtainMessage(what, obj), delayMillis); in sendMessageDelayed()
1822 public void sendMessageDelayed(int what, int arg1, long delayMillis) { in sendMessageDelayed() method in StateMachine
1827 smh.sendMessageDelayed(obtainMessage(what, arg1), delayMillis); in sendMessageDelayed()
1835 public void sendMessageDelayed(int what, int arg1, int arg2, long delayMillis) { in sendMessageDelayed() method in StateMachine
1840 smh.sendMessageDelayed(obtainMessage(what, arg1, arg2), delayMillis); in sendMessageDelayed()
1848 public void sendMessageDelayed(int what, int arg1, int arg2, Object obj, in sendMessageDelayed() method in StateMachine
1854 smh.sendMessageDelayed(obtainMessage(what, arg1, arg2, obj), delayMillis); in sendMessageDelayed()
[all …]
/frameworks/base/core/java/android/widget/
DFilter.java125 mThreadHandler.sendMessageDelayed(message, delay); in filter()
249 mThreadHandler.sendMessageDelayed(finishMessage, 3000); in handleMessage()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerInstanceSync.java113 sendMessageDelayed(obtainMessage(MSG_NEW_CAPTURE), CAPTURE_PERIOD_MS); in handleMessage()
140 sendMessageDelayed(obtainMessage(MSG_NEW_CAPTURE), CAPTURE_PERIOD_MS); in handleMessage()
/frameworks/base/services/core/java/com/android/server/
DBluetoothManagerService.java1258 mHandler.sendMessageDelayed(addProxyMsg, ADD_PROXY_DELAY_MS); in bindBluetoothProfileService()
1400 mHandler.sendMessageDelayed(msg, TIMEOUT_BIND_MS); in bindService()
1523 mHandler.sendMessageDelayed(msg, TIMEOUT_BIND_MS); in binderDied()
1707 mHandler.sendMessageDelayed(timeoutMsg, TIMEOUT_BIND_MS); in handleMessage()
1737 mHandler.sendMessageDelayed(mHandler.obtainMessage(MESSAGE_ENABLE, in handleMessage()
1790 mHandler.sendMessageDelayed(enableDelayedMsg, ENABLE_DISABLE_DELAY_MS); in handleMessage()
1798 mHandler.sendMessageDelayed(mHandler.obtainMessage(MESSAGE_DISABLE), in handleMessage()
1813 mHandler.sendMessageDelayed(disableDelayedMsg, ENABLE_DISABLE_DELAY_MS); in handleMessage()
1827 mHandler.sendMessageDelayed(enableDelayedMsg, ENABLE_DISABLE_DELAY_MS); in handleMessage()
1838 mHandler.sendMessageDelayed(restartMsg, getServiceRestartMs()); in handleMessage()
[all …]
DAnyMotionDetector.java165 mHandler.sendMessageDelayed(wakelockTimeoutMsg, WAKELOCK_TIMEOUT_MILLIS); in checkForAnyMotion()
206 mHandler.sendMessageDelayed(measurementTimeoutMsg, ACCELEROMETER_DATA_TIMEOUT_MILLIS); in startOrientationMeasurementLocked()
256 mHandler.sendMessageDelayed(msg, ORIENTATION_MEASUREMENT_INTERVAL_MILLIS); in stopOrientationMeasurementLocked()
/frameworks/base/services/core/java/com/android/server/slice/
DSlicePermissionManager.java224 mHandler.sendMessageDelayed( in readRestore()
234 mHandler.sendMessageDelayed( in readRestore()
258 mHandler.sendMessageDelayed(mHandler.obtainMessage(H.MSG_CLEAR_CLIENT, pkgUser), in getClient()
288 mHandler.sendMessageDelayed(mHandler.obtainMessage(H.MSG_CLEAR_PROVIDER, pkgUser), in getProvider()
/frameworks/base/tests/JobSchedulerTestApp/src/com/android/demo/jobSchedulerApp/
DMainActivity.java182 mHandler.sendMessageDelayed(m, 1000L); // uncolour in 1 second. in onReceivedStartJob()
189 mHandler.sendMessageDelayed(m, 2000L); // uncolour in 1 second. in onReceivedStopJob()
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DCrashingService.java52 mServiceHandler.sendMessageDelayed(msg, CRASH_DELAY); in onCreate()
/frameworks/base/core/java/com/android/internal/view/
DSurfaceFlingerVsyncChoreographer.java86 h.sendMessageDelayed(m, delay); in scheduleAtSfVsync()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java629 mHandler.sendMessageDelayed(msg, 500); in scheduleSpam()
635 mHandler.sendMessageDelayed(msg, delay); in scheduleSpamAlarm()
640 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_SLOW_RECEIVER), 500); in scheduleSlowReceiver()
645 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_SLOW_ALARM_RECEIVER), 500); in scheduleSlowAlarmReceiver()
650 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_REPLACE_BROADCAST), 500); in scheduleReplaceBroadcast()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiController.java376 sendMessageDelayed(CMD_RECOVERY_RESTART_WIFI_CONTINUE, mRecoveryDelayMillis); in processMessage()
408 sendMessageDelayed(deferredMsg, mReEnableDelayMillis - delaySoFar + DEFER_MARGIN_MS); in doDeferEnable()
570 sendMessageDelayed(deferredMsg, mReEnableDelayMillis - delaySoFar + DEFER_MARGIN_MS); in doDeferEnable()
/frameworks/base/services/core/java/com/android/server/am/
DBaseErrorDialog.java50 mHandler.sendMessageDelayed(mHandler.obtainMessage(ENABLE_BUTTONS), 1000); in onStart()
DStrictModeViolationDialog.java80 mHandler.sendMessageDelayed( in StrictModeViolationDialog()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DLocaleTracker.java383 sendMessageDelayed(obtainMessage(EVENT_OPERATOR_LOST), SERVICE_OPERATOR_LOST_DELAY_MS); in updateOperatorNumeric()
423 sendMessageDelayed(obtainMessage(EVENT_REQUEST_CELL_INFO), in requestNextCellInfo()
429 sendMessageDelayed(obtainMessage(EVENT_REQUEST_CELL_INFO), delay); in requestNextCellInfo()
DPhoneSwitcher.java471 sendMessageDelayed(msg2, mEmergencyOverride.mGnssOverrideTimeMs); in handleMessage()
506 sendMessageDelayed(msg2, mEmergencyOverride.mGnssOverrideTimeMs in handleMessage()
552 sendMessageDelayed(Message.obtain(this, EVENT_MODEM_COMMAND_RETRY, in handleMessage()
595 sendMessageDelayed(msg2, DEFAULT_DATA_OVERRIDE_TIMEOUT_MS); in handleMessage()
738 sendMessageDelayed( in registerDefaultNetworkChangeCallback()
/frameworks/base/services/core/java/com/android/server/deviceidle/
DBluetoothConstraint.java72 mHandler.sendMessageDelayed( in startMonitoring()
/frameworks/base/tests/JankBench/app/src/main/java/com/android/benchmark/ui/automation/
DCollectorThread.java75 sendMessageDelayed(obtainMessage(MSG_SCHEDULE), SCHEDULE_INTERVAL_MILLIS); in schedule()
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java76 public void sendMessageDelayed(Message msg, long delayMillis) { in sendMessageDelayed() method in HandlerCaller
77 mH.sendMessageDelayed(msg, delayMillis); in sendMessageDelayed()
/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.cpp142 mLooper->sendMessageDelayed(relTime, messageHandler, dummyMessage); in postMessage()
/frameworks/base/core/java/android/inputmethodservice/
DKeyboardView.java390 sendMessageDelayed(repeat, REPEAT_INTERVAL); in onAttachedToWindow()
905 mHandler.sendMessageDelayed(mHandler in showPreview()
915 mHandler.sendMessageDelayed( in showPreview()
1283 mHandler.sendMessageDelayed(msg, REPEAT_START_DELAY);
1293 mHandler.sendMessageDelayed(msg, LONGPRESS_TIMEOUT);
1326 mHandler.sendMessageDelayed(msg, LONGPRESS_TIMEOUT);
/frameworks/base/media/java/android/media/
DAudioPortEventHandler.java105 sendMessageDelayed(obtainMessage(msg.what, msg.obj), in init()

1234567