Home
last modified time | relevance | path

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

12345678

/frameworks/base/core/tests/coretests/src/android/os/
DIdleHandlerTest.java73 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); in testOneShotFirst()
79 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testOneShotFirst()
114 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testOneShotLater()
116 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100); in testOneShotLater()
146 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); in testRepeatedFirst()
152 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testRepeatedFirst()
187 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testRepeatedLater()
189 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100); in testRepeatedLater()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DMessageRouter.java58 sendMessageDelayed(id, 0); in sendMessage()
73 sendMessageDelayed(data, 0); in sendMessage()
86 void sendMessageDelayed(int id, long delayMs); in sendMessageDelayed() method
99 void sendMessageDelayed(Object data, long delayMs); in sendMessageDelayed() method
DMessageRouterImpl.java43 public void sendMessageDelayed(int id, long delayMs) { in sendMessageDelayed() method in MessageRouterImpl
48 public void sendMessageDelayed(Object data, long delayMs) { in sendMessageDelayed() method in MessageRouterImpl
DExecutorImpl.java47 mHandler.sendMessageDelayed(m, unit.toMillis(delay)); in executeDelayed()
/frameworks/base/tests/utils/testutils/tests/src/android/os/test/
DTestLooperTest.java143 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchNoTimeMove()
144 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 10000); in testDelayedDispatchNoTimeMove()
171 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchAdvanceTimeOnce()
172 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 10000); in testDelayedDispatchAdvanceTimeOnce()
203 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchAdvanceTimeTwice()
205 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 1000); in testDelayedDispatchAdvanceTimeTwice()
206 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageB), 2000); in testDelayedDispatchAdvanceTimeTwice()
239 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchReverseOrder()
241 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 5000); in testDelayedDispatchReverseOrder()
242 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageB), 2000); in testDelayedDispatchReverseOrder()
[all …]
/frameworks/base/tests/testables/tests/src/android/testing/
DTestableLooperTest.java193 handler.sendMessageDelayed(messageA, 0); in testDelayedDispatchNoTimeMove()
194 handler.sendMessageDelayed(messageB, 0); in testDelayedDispatchNoTimeMove()
211 handler.sendMessageDelayed(messageA, 0); in testDelayedMessageDoesntSend()
212 handler.sendMessageDelayed(messageB, 0); in testDelayedMessageDoesntSend()
213 handler.sendMessageDelayed(messageC, 500); in testDelayedMessageDoesntSend()
231 handler.sendMessageDelayed(messageA, 0); in testMessageSendsAfterDelay()
232 handler.sendMessageDelayed(messageB, 0); in testMessageSendsAfterDelay()
233 handler.sendMessageDelayed(messageC, 500); in testMessageSendsAfterDelay()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DMessageRouterImplTest.java303 mMR.sendMessageDelayed(MESSAGE_A, 100); in testSingleDelayedMessage_NoMetaData()
318 mMR.sendMessageDelayed(METADATA_C, 1000); in testSingleDelayedMessage_WithMetaData()
333 mMR.sendMessageDelayed(METADATA_A, 100); in testMultipleDelayedMessages()
334 mMR.sendMessageDelayed(METADATA_B, 1000); in testMultipleDelayedMessages()
335 mMR.sendMessageDelayed(METADATA_C, 500); in testMultipleDelayedMessages()
354 mMR.sendMessageDelayed(METADATA_A, 100); in testCancelDelayedMessages()
355 mMR.sendMessageDelayed(METADATA_B, 1000); in testCancelDelayedMessages()
356 mMR.sendMessageDelayed(METADATA_C, 500); in testCancelDelayedMessages()
/frameworks/base/core/java/android/os/
DHandler.java436 return sendMessageDelayed(getPostMessage(r), 0); in post()
508 return sendMessageDelayed(getPostMessage(r), delayMillis); in postDelayed()
513 return sendMessageDelayed(getPostMessage(r).setWhat(what), delayMillis); in postDelayed()
539 return sendMessageDelayed(getPostMessage(r, token), delayMillis); in postDelayed()
644 return sendMessageDelayed(msg, 0); in sendMessage()
671 return sendMessageDelayed(msg, delayMillis); in sendEmptyMessageDelayed()
702 public final boolean sendMessageDelayed(@NonNull Message msg, long delayMillis) { in sendMessageDelayed() method in Handler
DCountDownTimer.java166 sendMessageDelayed(obtainMessage(MSG), delay);
/frameworks/libs/modules-utils/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/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DCrashingService.java52 mServiceHandler.sendMessageDelayed(msg, CRASH_DELAY); in onCreate()
/frameworks/base/services/core/java/com/android/server/location/contexthub/
DAuthStateDenialTimer.java100 sendMessageDelayed(obtainMessage(MSG), millisLeft); in handleMessage()
/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/services/core/java/com/android/server/policy/
DSingleKeyGestureDetector.java290 mHandler.sendMessageDelayed(msg, mActiveRule.getLongPressTimeoutMs()); in interceptKeyDown()
298 mHandler.sendMessageDelayed(msg, mActiveRule.getVeryLongPressTimeoutMs()); in interceptKeyDown()
379 mHandler.sendMessageDelayed(msg, MULTI_PRESS_TIMEOUT); in interceptKeyUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DTimeoutHandler.java101 sendMessageDelayed(obtainMessage(MESSAGE_CORNER_TIMEOUT), timeoutMs); in resetTimeout()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ims/
DImsEnablementTracker.java432 sendMessageDelayed(COMMAND_DISABLING_DONE, mSlotId, mSubId, in enter()
525 sendMessageDelayed(COMMAND_ENABLING_DONE, mSlotId, mSubId, getRemainThrottleTime()); in enter()
577 sendMessageDelayed(COMMAND_RESETTING_DONE, mSlotId, mSubId, in enter()
635 sendMessageDelayed(mLastMsg, mSlotId, mSubId, 0); in processMessage()
658 sendMessageDelayed(COMMAND_POST_RESETTING_DONE, mSlotId, mSubId, in enter()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/satellite/
DDemoSimulator.java176 sendMessageDelayed(EVENT_DEVICE_ALIGNED, durationMillis); in handleEventDeviceAlignedWithSatellite()
237 sendMessageDelayed(EVENT_DEVICE_NOT_ALIGNED, durationMillis); in handleEventDeviceAlignedWithSatellite()
DDatagramDispatcher.java247 sendMessageDelayed(onCompleted, getDemoTimeoutDuration()); in handleMessage()
453 sendMessageDelayed( in startSatelliteAlignedTimer()
718 sendMessageDelayed(obtainMessage( in startDatagramWaitForConnectedStateTimer()
755 sendMessageDelayed(obtainMessage( in startWaitForDatagramSendingResponseTimer()
888 sendMessageDelayed( in startWaitForSimulatedPollDatagramsDelayTimer()
/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/packages/SystemUI/src/com/android/systemui/charging/
DWirelessChargingAnimation.java178 mHandler.sendMessageDelayed(Message.obtain(mHandler, SHOW), delay); in show()
185 mHandler.sendMessageDelayed(Message.obtain(mHandler, HIDE), duration); in hide()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DAnyMotionDetector.java178 mHandler.sendMessageDelayed(wakelockTimeoutMsg, WAKELOCK_TIMEOUT_MILLIS); in checkForAnyMotion()
220 mHandler.sendMessageDelayed(measurementTimeoutMsg, ACCELEROMETER_DATA_TIMEOUT_MILLIS); in startOrientationMeasurementLocked()
271 mHandler.sendMessageDelayed(msg, ORIENTATION_MEASUREMENT_INTERVAL_MILLIS); in stopOrientationMeasurementLocked()
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java630 mHandler.sendMessageDelayed(msg, 500); in scheduleSpam()
636 mHandler.sendMessageDelayed(msg, delay); in scheduleSpamAlarm()
641 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_SLOW_RECEIVER), 500); in scheduleSlowReceiver()
646 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_SLOW_ALARM_RECEIVER), 500); in scheduleSlowAlarmReceiver()
651 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_REPLACE_BROADCAST), 500); in scheduleReplaceBroadcast()
/frameworks/base/services/core/java/com/android/server/am/
DStrictModeViolationDialog.java80 mHandler.sendMessageDelayed( in StrictModeViolationDialog()

12345678