Home
last modified time | relevance | path

Searched refs:sendMessageDelayed (Results 1 – 25 of 142) 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.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/support/preference/src/androidTest/java/androidx/preference/
DPreferenceGroupInitialExpandedChildrenCountTest.java88 }).when(mHandler).sendMessageDelayed(any(Message.class), anyLong()); in setup()
233 verify(mHandler, never()).sendMessageDelayed(any(Message.class), anyLong()); in onPreferenceVisibilityChange_shouldSyncPreferencesIfCollapsed()
240 verify(mHandler).sendMessageDelayed(any(Message.class), anyLong()); in onPreferenceVisibilityChange_shouldSyncPreferencesIfCollapsed()
247 verify(mHandler, never()).sendMessageDelayed(any(Message.class), anyLong()); in onPreferenceVisibilityChange_shouldSyncPreferencesIfCollapsed()
287 verify(mHandler, never()).sendMessageDelayed(any(Message.class), anyLong()); in restoreInstanceState_noChange_shouldDoNothing()
297 verify(mHandler, never()).sendMessageDelayed(any(Message.class), anyLong()); in restoreInstanceState_noChange_shouldDoNothing()
316 verify(mHandler).sendMessageDelayed(any(Message.class), anyLong()); in restoreHierarchyState_previouslyCollapsed_shouldRestoreToCollapsedState()
336 verify(mHandler).sendMessageDelayed(any(Message.class), anyLong()); in restoreHierarchyState_previouslyExpanded_shouldRestoreToExpandedState()
/frameworks/base/core/java/android/os/
DHandler.java395 return sendMessageDelayed(getPostMessage(r), 0); in post()
469 return sendMessageDelayed(getPostMessage(r), delayMillis); in postDelayed()
495 return sendMessageDelayed(getPostMessage(r, token), delayMillis); in postDelayed()
604 return sendMessageDelayed(msg, 0); in sendMessage()
631 return sendMessageDelayed(msg, delayMillis); in sendEmptyMessageDelayed()
662 public final boolean sendMessageDelayed(Message msg, long delayMillis) in sendMessageDelayed() method in Handler
DCountDownTimer.java151 sendMessageDelayed(obtainMessage(MSG), delay);
/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/widget/
DFilter.java123 mThreadHandler.sendMessageDelayed(message, delay); in filter()
247 mThreadHandler.sendMessageDelayed(finishMessage, 3000); in handleMessage()
/frameworks/support/samples/Support4Demos/src/main/java/com/example/android/supportv4/content/
DLocalServiceBroadcaster.java128 mHandler.sendMessageDelayed(nmsg, 1000);
150 mHandler.sendMessageDelayed(msg, 1000); in onStartCommand()
/frameworks/support/compat/src/main/java/androidx/core/os/
DHandlerCompat.java60 return handler.sendMessageDelayed(message, delayMillis); in postDelayed()
/frameworks/base/services/core/java/com/android/server/slice/
DSlicePermissionManager.java218 mHandler.sendMessageDelayed( in readRestore()
228 mHandler.sendMessageDelayed( in readRestore()
252 mHandler.sendMessageDelayed(mHandler.obtainMessage(H.MSG_CLEAR_CLIENT, pkgUser), in getClient()
282 mHandler.sendMessageDelayed(mHandler.obtainMessage(H.MSG_CLEAR_PROVIDER, pkgUser), in getProvider()
/frameworks/base/tests/ServiceCrashTest/src/com/android/tests/servicecrashtest/
DCrashingService.java52 mServiceHandler.sendMessageDelayed(msg, CRASH_DELAY); in onCreate()
/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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiTrafficPoller.java145 sendMessageDelayed(Message.obtain(this, TRAFFIC_STATS_POLL, in handleMessage()
160 sendMessageDelayed(Message.obtain(this, TRAFFIC_STATS_POLL, in handleMessage()
/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.java1062 mHandler.sendMessageDelayed(addProxyMsg, ADD_PROXY_DELAY_MS); in bindBluetoothProfileService()
1168 mHandler.sendMessageDelayed(msg, TIMEOUT_BIND_MS); in bindService()
1283 mHandler.sendMessageDelayed(msg, TIMEOUT_BIND_MS); in binderDied()
1463 mHandler.sendMessageDelayed(timeoutMsg, TIMEOUT_BIND_MS); in handleMessage()
1535 mHandler.sendMessageDelayed(restartMsg, 2 * SERVICE_RESTART_TIME_MS); in handleMessage()
1714 mHandler.sendMessageDelayed(restartMsg, 2 * SERVICE_RESTART_TIME_MS); in handleMessage()
1757 mHandler.sendMessageDelayed(restartMsg, SERVICE_RESTART_TIME_MS); in handleMessage()
1890 mHandler.sendMessageDelayed(userMsg, USER_SWITCHED_TIME_MS); in handleMessage()
1925 mHandler.sendMessageDelayed(timeoutMsg, TIMEOUT_BIND_MS); in handleEnable()
2229 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()
/frameworks/support/leanback/src/main/java/androidx/leanback/media/
DPlaybackTransportControlGlue.java230 sHandler.sendMessageDelayed(sHandler.obtainMessage(MSG_UPDATE_PLAYBACK_STATE, in onUpdatePlaybackStatusAfterUserAction()
277 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/opt/telephony/src/java/com/android/internal/telephony/
DLocaleTracker.java353 sendMessageDelayed(obtainMessage(EVENT_GET_CELL_INFO), delay); in getCellInfo()
360 sendMessageDelayed(obtainMessage(EVENT_GET_CELL_INFO), in getCellInfo()
DWakeLockStateMachine.java141 sendMessageDelayed(EVENT_RELEASE_WAKE_LOCK, WAKE_LOCK_TIMEOUT); in enter()
/frameworks/native/services/surfaceflinger/
DMessageQueue.cpp129 mLooper->sendMessageDelayed(relTime, messageHandler, dummyMessage); in postMessage()
/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.java69 public void sendMessageDelayed(Message msg, long delayMillis) { in sendMessageDelayed() method in HandlerCaller
70 mH.sendMessageDelayed(msg, delayMillis); in sendMessageDelayed()

123456