Home
last modified time | relevance | path

Searched refs:sendMessageAtTime (Results 1 – 25 of 63) sorted by relevance

123

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierActionAgentTest.java102 verify(mDataActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM()
103 verify(mRadioActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM()
109 verify(mDataActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM()
112 verify(mRadioActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM()
123 verify(mDataActionHandler, times(2)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM()
127 verify(mRadioActionHandler, times(2)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPM()
145 verify(mDataActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange()
146 verify(mRadioActionHandler, times(0)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange()
153 verify(mDataActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange()
157 verify(mRadioActionHandler, times(1)).sendMessageAtTime(message.capture(), anyLong()); in testCarrierActionResetOnAPNChange()
[all …]
DServiceStateTrackerTest.java1066 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndUnregForVoiceRoamingOn()
1087 verify(mTestHandler, times(1)).sendMessageAtTime(any(Message.class), anyLong()); in testRegAndUnregForVoiceRoamingOn()
1113 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndUnregForVoiceRoamingOff()
1134 verify(mTestHandler, times(1)).sendMessageAtTime(any(Message.class), anyLong()); in testRegAndUnregForVoiceRoamingOff()
1152 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndUnregForDataRoamingOn()
1173 verify(mTestHandler, times(1)).sendMessageAtTime(any(Message.class), anyLong()); in testRegAndUnregForDataRoamingOn()
1199 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndUnregForDataRoamingOff()
1220 verify(mTestHandler, times(1)).sendMessageAtTime(any(Message.class), anyLong()); in testRegAndUnregForDataRoamingOff()
1245 verify(mTestHandler).sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testRegAndInvalidregForDataConnAttach()
1267 verify(mTestHandler, times(1)).sendMessageAtTime(any(Message.class), anyLong()); in testRegAndInvalidregForDataConnAttach()
[all …]
DPhoneConfigurationManagerTest.java419 verify(mHandler, never()).sendMessageAtTime(any(), anyLong()); in testSwitchMultiSimConfig_multiSimToSingleSim()
438 verify(mHandler).sendMessageAtTime(captor.capture(), anyLong()); in testSwitchMultiSimConfig_multiSimToSingleSim()
516 verify(mHandler, never()).sendMessageAtTime(any(), anyLong()); in testSwitchFromSingleToDualSimModeNoReboot()
547 verify(mHandler).sendMessageAtTime(captor.capture(), anyLong()); in testSwitchFromSingleToDualSimModeNoReboot()
DCarrierSignalAgentTest.java444 verify(mCarrierActionAgent, times(0)).sendMessageAtTime(any(Message.class), anyLong()); in testCarrierConfigChange()
456 verify(mCarrierActionAgent, times(0)).sendMessageAtTime(any(Message.class), anyLong()); in testCarrierConfigChange()
470 .sendMessageAtTime(messageArgumentCaptor.capture(), anyLong()); in testCarrierConfigChange()
/frameworks/base/core/tests/coretests/src/android/os/
DMessageQueueTest.java82 mHandler.sendMessageAtTime(mHandler.obtainMessage(2), now + 1); in testMessageOrder()
83 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now + 2); in testMessageOrder()
84 mHandler.sendMessageAtTime(mHandler.obtainMessage(4), now + 2); in testMessageOrder()
85 mHandler.sendMessageAtTime(mHandler.obtainMessage(0), now + 0); in testMessageOrder()
86 mHandler.sendMessageAtTime(mHandler.obtainMessage(1), now + 0); in testMessageOrder()
102 mHandler.sendMessageAtTime(mHandler.obtainMessage(3), now); in testAtFrontOfQueue()
/frameworks/layoutlib/bridge/src/android/os/
DHandler_Delegate.java38 /*package*/ static boolean sendMessageAtTime(Handler handler, Message msg, long uptimeMillis) { in sendMessageAtTime() method in Handler_Delegate
42 callback.sendMessageAtTime(handler, msg, uptimeMillis); in sendMessageAtTime()
102 void sendMessageAtTime(Handler handler, Message msg, long uptimeMillis); in sendMessageAtTime() method
/frameworks/base/services/tests/timetests/src/com/android/server/timezonedetector/
DTestHandler.java38 public boolean sendMessageAtTime(Message msg, long uptimeMillis) { in sendMessageAtTime() method in TestHandler
56 return super.sendMessageAtTime(msg, uptimeMillis); in sendMessageAtTime()
/frameworks/base/cmds/hid/src/com/android/commands/hid/
DDevice.java128 mHandler.sendMessageAtTime(msg, mTimeToSend); in sendReport()
139 mHandler.sendMessageAtTime(msg, mTimeToSend); in sendSetReportReply()
148 mHandler.sendMessageAtTime(msg, Math.max(SystemClock.uptimeMillis(), mTimeToSend) + 1); in close()
259 mHandler.sendMessageAtTime(msg, mTimeToSend); in onDeviceGetReport()
316 mHandler.sendMessageAtTime(msg, mTimeToSend); in onDeviceOutput()
/frameworks/base/services/tests/servicestests/src/com/android/server/wallpaper/
DWallpaperServiceTests.java50 public boolean sendMessageAtTime(Message msg, long uptimeMillis) { in testNotifyColorsChanged_rateLimit()
52 return super.sendMessageAtTime(msg, uptimeMillis); in testNotifyColorsChanged_rateLimit()
/frameworks/base/tests/utils/testutils/java/com/android/server/accessibility/test/
DMessageCapturingHandler.java52 public boolean sendMessageAtTime(Message message, long uptimeMillis) { in sendMessageAtTime() method in MessageCapturingHandler
54 return super.sendMessageAtTime(message, Long.MAX_VALUE); in sendMessageAtTime()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
DTestHandler.java33 public boolean sendMessageAtTime(Message msg, long uptimeMillis) { in sendMessageAtTime() method in TestHandler
/frameworks/base/services/tests/servicestests/utils/com/android/server/testutils/
DTestHandler.java74 public boolean sendMessageAtTime(Message msg, long uptimeMillis) { in sendMessageAtTime() method in TestHandler
86 return super.sendMessageAtTime(msg, Long.MAX_VALUE) in sendMessageAtTime()
/frameworks/base/core/java/android/os/
DHandler.java458 return sendMessageAtTime(getPostMessage(r), uptimeMillis); in postAtTime()
485 return sendMessageAtTime(getPostMessage(r, token), uptimeMillis); in postAtTime()
687 return sendMessageAtTime(msg, uptimeMillis); in sendEmptyMessageAtTime()
706 return sendMessageAtTime(msg, SystemClock.uptimeMillis() + delayMillis); in sendMessageDelayed()
728 public boolean sendMessageAtTime(@NonNull Message msg, long uptimeMillis) { in sendMessageAtTime() method in Handler
/frameworks/base/services/core/java/com/android/server/logcat/
DLogcatManagerService.java202 mHandler.sendMessageAtTime(msg, mClock.get()); in startThread()
212 mHandler.sendMessageAtTime(msg, mClock.get()); in finishThread()
224 mHandler.sendMessageAtTime(msg, mClock.get()); in approveAccessForClient()
234 mHandler.sendMessageAtTime(msg, mClock.get()); in declineAccessForClient()
446 mHandler.sendMessageAtTime(mHandler.obtainMessage(MSG_PENDING_TIMEOUT, client), in processNewLogAccessRequest()
483 mHandler.sendMessageAtTime(mHandler.obtainMessage(MSG_LOG_ACCESS_STATUS_EXPIRED, client), in scheduleStatusExpiry()
/frameworks/base/core/tests/coretests/src/android/app/activity/
DTestedScreen.java114 mHandler.sendMessageAtTime(m, SystemClock.uptimeMillis()+1000); in queueIdle()
117 mHandler.sendMessageAtTime(m, SystemClock.uptimeMillis()+1000); in queueIdle()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DPhoneSwitcherTest.java237 verify(mActivePhoneSwitchHandler, never()).sendMessageAtTime(any(), anyLong()); in testRegister()
242 verify(mActivePhoneSwitchHandler, times(1)).sendMessageAtTime(any(), anyLong()); in testRegister()
247 verify(mActivePhoneSwitchHandler, never()).sendMessageAtTime(any(), anyLong()); in testRegister()
256 verify(mActivePhoneSwitchHandler, times(1)).sendMessageAtTime(any(), anyLong()); in testRegister()
277 verify(mActivePhoneSwitchHandler, times(1)).sendMessageAtTime(any(), anyLong()); in testRegister()
288 verify(mActivePhoneSwitchHandler, times(1)).sendMessageAtTime(any(), anyLong()); in testRegister()
299 verify(mActivePhoneSwitchHandler, times(1)).sendMessageAtTime(any(), anyLong()); in testRegister()
313 verify(mActivePhoneSwitchHandler, times(1)).sendMessageAtTime(any(), anyLong()); in testRegister()
325 verify(mActivePhoneSwitchHandler, times(1)).sendMessageAtTime(any(), anyLong()); in testRegister()
335 verify(mActivePhoneSwitchHandler, times(1)).sendMessageAtTime(any(), anyLong()); in testRegister()
[all …]
/frameworks/base/services/tests/servicestests/src/com/android/server/net/watchlist/
DFileHashCacheTests.java145 public boolean sendMessageAtTime(Message msg, long uptimeMillis) { in sendMessageAtTime() method in FileHashCacheTests.InlineHandler
150 return super.sendMessageAtTime(msg, uptimeMillis); in sendMessageAtTime()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/os/
DFakeHandler.java42 public boolean sendMessageAtTime(Message msg, long uptimeMillis) { in sendMessageAtTime() method in FakeHandler
/frameworks/base/cmds/uinput/src/com/android/commands/uinput/
DDevice.java134 mHandler.sendMessageAtTime(msg, getTimeToSendMillis()); in injectEvent()
169 mHandler.sendMessageAtTime( in syncEvent()
179 mHandler.sendMessageAtTime( in close()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/concurrency/
DExecutorImpl.java56 mHandler.sendMessageAtTime(m, unit.toMillis(uptimeMillis)); in executeAtTime()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/face/aidl/
DFaceProviderTest.java269 verify(mBiometricCallbackHandler).sendMessageAtTime(messageCaptor.capture(), anyLong()); in testAuthenticateCallbackHandler()
277 verify(mBiometricCallbackHandler, times(2)).sendMessageAtTime( in testAuthenticateCallbackHandler()
/frameworks/base/services/tests/servicestests/src/com/android/server/biometrics/sensors/fingerprint/aidl/
DFingerprintProviderTest.java275 verify(mBiometricCallbackHandler).sendMessageAtTime(messageCaptor.capture(), anyLong()); in testScheduleAuthenticate()
284 verify(mBiometricCallbackHandler, times(2)).sendMessageAtTime( in testScheduleAuthenticate()
/frameworks/base/services/core/java/com/android/server/display/
DDisplayPowerController.java701 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in onSwitchUser()
916 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in stop()
956 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in sendUpdatePowerStateLocked()
995 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in initialize()
1190 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in setAutomaticScreenBrightnessMode()
1232 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis());
1917 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in setBrightnessFromOffload()
1955 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in onBootCompleted()
2821 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis() in reportStats()
3097 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in onScreenOn()
[all …]
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPowerStatsStoreTest.java178 public boolean sendMessageAtTime(Message msg, long uptimeMillis) { in sendMessageAtTime() method in PowerStatsStoreTest.TestHandler
/frameworks/base/services/core/java/com/android/server/power/
DLowPowerStandbyController.java775 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in enqueueNotifyPolicyChangedLocked()
814 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in enqueueNotifyActiveChangedLocked()
1353 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in enqueueNotifyAllowlistChangedLocked()
1375 mHandler.sendMessageAtTime(msg, mClock.uptimeMillis()); in enqueueNotifyStandbyPortsChangedLocked()
1486 mHandler.sendMessageAtTime(message, mClock.uptimeMillis()); in onForegroundStateChanged()

123