Home
last modified time | relevance | path

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

123456

/frameworks/base/core/tests/coretests/src/android/os/
DIdleHandlerTest.java66 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); in testOneShotFirst()
72 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testOneShotFirst()
106 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testOneShotLater()
108 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100); in testOneShotLater()
137 mHandler.sendMessageDelayed(mHandler.obtainMessage(0), 100); in testRepeatedFirst()
143 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testRepeatedFirst()
177 mHandler.sendMessageDelayed(mHandler.obtainMessage(1), 100); in testRepeatedLater()
179 mHandler.sendMessageDelayed(mHandler.obtainMessage(2), 100); in testRepeatedLater()
/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java111 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchNoTimeMove()
112 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 10000); in testDelayedDispatchNoTimeMove()
139 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchAdvanceTimeOnce()
140 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 10000); in testDelayedDispatchAdvanceTimeOnce()
171 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchAdvanceTimeTwice()
173 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 1000); in testDelayedDispatchAdvanceTimeTwice()
174 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageB), 2000); in testDelayedDispatchAdvanceTimeTwice()
207 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageC), 5000); in testDelayedDispatchReverseOrder()
209 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageA), 5000); in testDelayedDispatchReverseOrder()
210 mHandlerSpy.sendMessageDelayed(mHandler.obtainMessage(messageB), 2000); in testDelayedDispatchReverseOrder()
[all …]
/frameworks/base/core/java/com/android/internal/util/
DStateMachine.java1783 public void sendMessageDelayed(int what, long delayMillis) { in sendMessageDelayed() method in StateMachine
1788 smh.sendMessageDelayed(obtainMessage(what), delayMillis); in sendMessageDelayed()
1796 public void sendMessageDelayed(int what, Object obj, long delayMillis) { in sendMessageDelayed() method in StateMachine
1801 smh.sendMessageDelayed(obtainMessage(what, obj), delayMillis); in sendMessageDelayed()
1809 public void sendMessageDelayed(int what, int arg1, long delayMillis) { in sendMessageDelayed() method in StateMachine
1814 smh.sendMessageDelayed(obtainMessage(what, arg1), delayMillis); in sendMessageDelayed()
1822 public void sendMessageDelayed(int what, int arg1, int arg2, long delayMillis) { in sendMessageDelayed() method in StateMachine
1827 smh.sendMessageDelayed(obtainMessage(what, arg1, arg2), delayMillis); in sendMessageDelayed()
1835 public void sendMessageDelayed(int what, int arg1, int arg2, Object obj, in sendMessageDelayed() method in StateMachine
1841 smh.sendMessageDelayed(obtainMessage(what, arg1, arg2, obj), delayMillis); in sendMessageDelayed()
[all …]
/frameworks/base/core/java/android/os/
DHandler.java356 return sendMessageDelayed(getPostMessage(r), 0); in post()
428 return sendMessageDelayed(getPostMessage(r), delayMillis); in postDelayed()
537 return sendMessageDelayed(msg, 0); in sendMessage()
564 return sendMessageDelayed(msg, delayMillis); in sendEmptyMessageDelayed()
595 public final boolean sendMessageDelayed(Message msg, long delayMillis) in sendMessageDelayed() method in Handler
DCountDownTimer.java151 sendMessageDelayed(obtainMessage(MSG), delay);
/frameworks/base/core/java/android/widget/
DFilter.java123 mThreadHandler.sendMessageDelayed(message, delay); in filter()
247 mThreadHandler.sendMessageDelayed(finishMessage, 3000); in handleMessage()
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/content/
DLocalServiceBroadcaster.java127 mHandler.sendMessageDelayed(nmsg, 1000);
149 mHandler.sendMessageDelayed(msg, 1000); in onStartCommand()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiTrafficPoller.java139 sendMessageDelayed(Message.obtain(this, TRAFFIC_STATS_POLL, in handleMessage()
152 sendMessageDelayed(Message.obtain(this, TRAFFIC_STATS_POLL, 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/core/java/com/android/internal/view/
DSurfaceFlingerVsyncChoreographer.java86 h.sendMessageDelayed(m, delay); in scheduleAtSfVsync()
/frameworks/base/services/core/java/com/android/server/
DAnyMotionDetector.java160 mHandler.sendMessageDelayed(wakelockTimeoutMsg, WAKELOCK_TIMEOUT_MILLIS); in checkForAnyMotion()
201 mHandler.sendMessageDelayed(measurementTimeoutMsg, ACCELEROMETER_DATA_TIMEOUT_MILLIS); in startOrientationMeasurementLocked()
251 mHandler.sendMessageDelayed(msg, ORIENTATION_MEASUREMENT_INTERVAL_MILLIS); in stopOrientationMeasurementLocked()
DBluetoothManagerService.java988 mHandler.sendMessageDelayed(addProxyMsg, ADD_PROXY_DELAY_MS); in bindBluetoothProfileService()
1082 mHandler.sendMessageDelayed(msg, TIMEOUT_BIND_MS); in bindService()
1196 mHandler.sendMessageDelayed(msg, TIMEOUT_BIND_MS); in binderDied()
1362 mHandler.sendMessageDelayed(timeoutMsg, TIMEOUT_BIND_MS); in handleMessage()
1435 mHandler.sendMessageDelayed(restartMsg, in handleMessage()
1607 mHandler.sendMessageDelayed(restartMsg, 2 * SERVICE_RESTART_TIME_MS); in handleMessage()
1648 mHandler.sendMessageDelayed(restartMsg, in handleMessage()
1779 mHandler.sendMessageDelayed(userMsg, USER_SWITCHED_TIME_MS); in handleMessage()
1810 mHandler.sendMessageDelayed(timeoutMsg,TIMEOUT_BIND_MS); in handleEnable()
2092 mHandler.sendMessageDelayed(restartMsg, ERROR_RESTART_TIME_MS); in recoverBluetoothServiceFromError()
/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()
DUserSwitchingDialog.java102 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_START_USER), in show()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccCardTest.java227 verify(mMockedHandler, atLeast(1)).sendMessageDelayed(mCaptorMessage.capture(), in testCarrierPriviledgeLoadedListener()
253 verify(mMockedHandler, atLeast(1)).sendMessageDelayed(mCaptorMessage.capture(), in testCardAbsentListener()
/frameworks/base/services/accessibility/java/com/android/server/accessibility/
DMagnificationGestureHandler.java640 mHandler.sendMessageDelayed(message, in onMotionEvent()
650 mHandler.sendMessageDelayed(message, in onMotionEvent()
655 mHandler.sendMessageDelayed(message, mMultiTapTimeSlop); in onMotionEvent()
664 mHandler.sendMessageDelayed(message, mMultiTapTimeSlop); in onMotionEvent()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/media/
DPlaybackTransportControlGlue.java238 sHandler.sendMessageDelayed(sHandler.obtainMessage(MSG_UPDATE_PLAYBACK_STATE, in onUpdatePlaybackStatusAfterUserAction()
287 sHandler.sendMessageDelayed(sHandler.obtainMessage(MSG_UPDATE_PLAYBACK_STATE, in onPlayStateChanged()
/frameworks/base/media/tests/EffectsTest/src/com/android/effectstest/
DVisualizerTest.java111sendMessageDelayed(obtainMessage(MSG_NEW_CAPTURE, 0, 0, null), CAPTURE_PERIOD_MS); in handleMessage()
137sendMessageDelayed(obtainMessage(MSG_NEW_CAPTURE, 0, 0, null), CAPTURE_PERIOD_MS); in handleMessage()
/frameworks/native/services/surfaceflinger/
DMessageQueue.cpp128 mLooper->sendMessageDelayed(relTime, messageHandler, dummyMessage); in postMessage()
/frameworks/base/core/java/com/android/internal/os/
DHandlerCaller.java69 public void sendMessageDelayed(Message msg, long delayMillis) { in sendMessageDelayed() method in HandlerCaller
70 mH.sendMessageDelayed(msg, delayMillis); in sendMessageDelayed()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWakeLockStateMachine.java141 sendMessageDelayed(EVENT_RELEASE_WAKE_LOCK, WAKE_LOCK_TIMEOUT); in enter()
/frameworks/base/core/java/com/android/internal/app/
DNetInitiatedActivity.java102 … mHandler.sendMessageDelayed(mHandler.obtainMessage(GPS_NO_RESPONSE_TIME_OUT), (timeout * 1000)); in onCreate()
/frameworks/support/compat/java/android/support/v4/provider/
DSelfDestructiveThread.java216 mHandler.sendMessageDelayed(mHandler.obtainMessage(MSG_DESTRUCTION), in onInvokeRunnable()
/frameworks/base/services/core/java/com/android/server/hdmi/
DHdmiCecFeatureAction.java134 sendMessageDelayed(obtainMessage(MSG_TIMEOUT, state, 0), delayMillis); in sendTimerMessage()

123456