Home
last modified time | relevance | path

Searched refs:handleMessage (Results 1 – 25 of 543) sorted by relevance

12345678910>>...22

/frameworks/base/tests/utils/testutils/java/android/os/test/
DTestLooperTest.java88 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement()
90 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement()
92 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement()
94 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testNoTimeMovement()
97 inOrder.verify(mHandlerSpy, never()).handleMessage(any(Message.class)); in testNoTimeMovement()
146 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchNoTimeMove()
148 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchNoTimeMove()
151 inOrder.verify(mHandlerSpy, never()).handleMessage(any(Message.class)); in testDelayedDispatchNoTimeMove()
175 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchAdvanceTimeOnce()
177 inOrder.verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testDelayedDispatchAdvanceTimeOnce()
[all …]
/frameworks/base/tests/UsbTests/src/com/android/server/usb/
DUsbHandlerTest.java154 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsMtp()
162 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsPtp()
170 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsMidi()
178 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsRndis()
188 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsNcmAndRndis()
192 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsNcmAndRndis()
196 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsNcmAndRndis()
207 mUsbHandler.handleMessage(msg); in enableAdb()
213 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_UPDATE_STATE, 1, 1)); in enableAdb()
232 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_ENABLE_ADB, 0)); in disableAdb()
[all …]
/frameworks/base/core/tests/coretests/src/android/os/
DIdleHandlerTest.java35 public void handleMessage(Message msg) { in go()
36 BaseTestHandler.this.handleMessage(msg); in go()
49 public void handleMessage(Message msg) { in handleMessage() method in IdleHandlerTest.BaseTestHandler
69 public void handleMessage(Message msg) { in testOneShotFirst()
102 public void handleMessage(Message msg) { in testOneShotLater()
140 public void handleMessage(Message msg) { in testRepeatedFirst()
173 public void handleMessage(Message msg) { in testRepeatedLater()
DMessageQueueTest.java37 public void handleMessage(Message msg) { in go()
38 BaseTestHandler.this.handleMessage(msg); in go()
43 public void handleMessage(Message msg) { in handleMessage() method in MessageQueueTest.BaseTestHandler
96 public void handleMessage(Message msg) { in testAtFrontOfQueue()
97 super.handleMessage(msg); in testAtFrontOfQueue()
117 public void handleMessage(Message msg) { in go()
118 TestFieldIntegrityHandler.this.handleMessage(msg); in go()
123 public void handleMessage(Message msg) { in handleMessage() method in MessageQueueTest.TestFieldIntegrityHandler
157 public void handleMessage(Message msg) { in testFieldIntegrity()
158 super.handleMessage(msg); in testFieldIntegrity()
DHandlerTester.java21 public abstract void handleMessage(Message msg); in handleMessage() method in HandlerTester
64 public void handleMessage(Message msg) { in handleMessage() method in HandlerTester.H
68 HandlerTester.this.handleMessage(msg); in handleMessage()
DBroadcasterTest.java49 public void handleMessage(Message msg) { in test1()
85 public void handleMessage(Message msg) { in handleMessage() method in BroadcasterTest.Tests2and3
148 public void handleMessage(Message msg) { in test4()
183 public void handleMessage(Message msg) { in test5()
219 public void handleMessage(Message msg) { in test6()
DMessengerTest.java49 public void handleMessage(Message msg) { in go()
50 TestThread.this.handleMessage(msg); in go()
69 public void handleMessage(Message msg) { in handleMessage() method in MessengerTest.TestThread
DMessengerService.java25 public void handleMessage(Message msg) {
/frameworks/base/core/tests/utiltests/src/com/android/internal/util/
DWakeupMessageTest.java73 public void handleMessage(Message m) { in handleMessage() method in WakeupMessageTest.MessageCapturingHandler
114 verify(mHandler, times(1)).handleMessage(any(Message.class)); in verifyMessageDispatchedOnce()
128 verify(mHandler, never()).handleMessage(any(Message.class)); in scheduleAndDeliverMessage()
146 verify(mHandler, never()).handleMessage(any(Message.class)); in scheduleAndCancelMessage()
/frameworks/base/core/java/android/service/media/
DCameraPrewarmService.java48 public void handleMessage(Message msg) {
54 super.handleMessage(msg);
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccStateChangedLauncherTest.java104 uiccLauncher.handleMessage(msg); in testProvisioningPackageSet()
118 uiccLauncher.handleMessage(msg); in testProvisioningPackageSet()
127 uiccLauncher.handleMessage(msg); in testProvisioningPackageSet()
133 uiccLauncher.handleMessage(msg); in testProvisioningPackageSet()
DUiccControllerTest.java269 mUiccControllerUT.handleMessage(msg); in testCardIdFromIccStatus()
310 mUiccControllerUT.handleMessage(msg); in testCardIdFromSlotStatus()
337 mUiccControllerUT.handleMessage(msg); in testCardIdForDefaultEuicc()
377 mUiccControllerUT.handleMessage(msg); in testGetAllUiccCardInfos()
428 mUiccControllerUT.handleMessage(msg); in testIccidWithTrailingF()
476 mUiccControllerUT.handleMessage(msg); in testGetAllUiccCardInfosNullCard()
519 mUiccControllerUT.handleMessage(msg); in testEidNotSupported()
570 mUiccControllerUT.handleMessage(msg); in testDefaultEuiccIsNotRemovable()
621 mUiccControllerUT.handleMessage(msg); in testDefaultEuiccIsNotRemovable_swapSlotOrder()
674 mUiccControllerUT.handleMessage(msg); in testDefaultEuiccIsNotRemovable_EuiccIsInactive()
[all …]
/frameworks/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeView.java36 @Override public void handleMessage(Message msg) {
43 super.handleMessage(msg);
DFakeBackgroundService.java46 @Override public void handleMessage(Message msg) {
66 super.handleMessage(msg);
/frameworks/base/tests/utils/testutils/java/com/android/internal/util/test/
DBidirectionalAsyncChannelServer.java49 public void handleMessage(Message msg) { in BidirectionalAsyncChannelServer()
75 messageHandler.handleMessage(msg); in BidirectionalAsyncChannelServer()
DBidirectionalAsyncChannel.java52 public void handleMessage(Message msg) { in connect()
75 incomingMessageHandler.handleMessage(msg); in connect()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DCarrierServiceStateTrackerTest.java108 mSpyCarrierSST.handleMessage(notificationMsg); in testCancelBothNotifications()
129 mSpyCarrierSST.handleMessage(notificationMsg); in testSendBothNotifications()
212 mSpyCarrierSST.handleMessage(notificationMsg); in testSendEmergencyNetworkNotification()
219 mSpyCarrierSST.handleMessage(notificationMsg); in testSendEmergencyNetworkNotification()
/frameworks/base/errorprone/tests/res/android/os/
DHandler.java20 public void handleMessage(Message msg) { in handleMessage() method in Handler
/frameworks/base/core/java/android/nfc/cardemulation/
DHostNfcFService.java175 public void handleMessage(Message msg) { in handleMessage() method in HostNfcFService.MsgHandler
226 super.handleMessage(msg); in handleMessage()
DHostApduService.java247 public void handleMessage(Message msg) { in handleMessage() method in HostApduService.MsgHandler
310 super.handleMessage(msg); in handleMessage()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java278 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_shouldPassToFramework()
293 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_afterOneServiceReturnsFalse_shouldPassToFramework()
309 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_afterOneServiceReturnsTrue_shouldNotPassToFramework()
322 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_thenServiceReturnsFalse_shouldPassToFrameworkOnce()
344 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_afterServiceReturnsFalse_shouldPassToFrameworkOnce()
358 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_afterServiceReturnsTrue_shouldNotPassToFramework()
489 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in twoEvents_firstTimesOutThenServiceHandlesBoth_firstSentToFramework()
/frameworks/base/core/java/android/os/image/
DDynamicSystemClient.java230 public void handleMessage(Message msg) { in handleMessage() method in DynamicSystemClient.IncomingHandler
234 service.handleMessage(msg); in handleMessage()
414 private void handleMessage(Message msg) { in handleMessage() method in DynamicSystemClient
/frameworks/base/core/java/android/widget/
DFilter.java229 public void handleMessage(Message msg) { in handleMessage() method in Filter.RequestHandler
281 public void handleMessage(Message msg) { in handleMessage() method in Filter.ResultsHandler
/frameworks/base/core/java/android/view/
DWindowId.java84 public void handleMessage(Message msg) { in handleMessage() method in WindowId.FocusObserver.H
93 super.handleMessage(msg); in handleMessage()
/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailService.java158 public void handleMessage(final Message msg) {
177 super.handleMessage(msg);

12345678910>>...22