Home
last modified time | relevance | path

Searched refs:handleMessage (Results 1 – 25 of 534) 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.java151 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsMtp()
159 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsPtp()
167 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsMidi()
175 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in setFunctionsRndis()
186 mUsbHandler.handleMessage(msg); in enableAdb()
192 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_UPDATE_STATE, 1, 1)); in enableAdb()
211 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_ENABLE_ADB, 0)); in disableAdb()
242 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in userSwitchedDisablesMtp()
248 mUsbHandler.handleMessage(msg); in userSwitchedDisablesMtp()
255 mUsbHandler.handleMessage(mUsbHandler.obtainMessage(MSG_SET_CURRENT_FUNCTIONS, in changedRestrictionsDisablesMtp()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiMonitorTest.java86 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToErrorTkipOnlyProhibhited()
104 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToErrorWepProhibhited()
122 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToConfigAuthError()
140 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToConfigPbcOverlapError()
158 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventFailDueToConfigError()
175 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventSuccess()
190 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventOverlap()
205 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastWpsEventTimeout()
221 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastAnqpDoneEvent()
242 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastIconDoneEvent()
[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
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/p2p/
DWifiP2pMonitorTest.java68 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastSupplicantDisconnectionEvent()
84 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventToTwoHandlers()
86 verify(mSecondHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventToTwoHandlers()
100 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventWhenIfaceIsNull()
114 verify(mHandlerSpy).handleMessage(messageCaptor.capture()); in testBroadcastEventWhenIfaceHandlerIsNull()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/vendor/
DVendorGsmCdmaPhone.java85 public void handleMessage(Message msg) { in handleMessage() method in VendorGsmCdmaPhone
96 super.handleMessage(msg); in handleMessage()
101 super.handleMessage(msg); in handleMessage()
106 super.handleMessage(msg); in handleMessage()
110 super.handleMessage(msg); in handleMessage()
DVendorServiceStateTracker.java81 public void handleMessage(Message msg) { in handleMessage() method in VendorServiceStateTracker
88 super.handleMessage(msg); in handleMessage()
91 super.handleMessage(msg); in handleMessage()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/uicc/
DUiccControllerTest.java254 mUiccControllerUT.handleMessage(msg); in testCardIdFromIccStatus()
291 mUiccControllerUT.handleMessage(msg); in testCardIdFromSlotStatus()
314 mUiccControllerUT.handleMessage(msg); in testCardIdForDefaultEuicc()
345 mUiccControllerUT.handleMessage(msg); in testGetAllUiccCardInfos()
382 mUiccControllerUT.handleMessage(msg); in testIccidWithTrailingF()
416 mUiccControllerUT.handleMessage(msg); in testGetAllUiccCardInfosNullCard()
450 mUiccControllerUT.handleMessage(msg); in testEidNotSupported()
491 mUiccControllerUT.handleMessage(msg); in testDefaultEuiccIsNotRemovable()
534 mUiccControllerUT.handleMessage(msg); in testDefaultEuiccIsNotRemovable_swapSlotOrder()
579 mUiccControllerUT.handleMessage(msg); in testDefaultEuiccIsNotRemovable_EuiccIsInactive()
[all …]
DUiccStateChangedLauncherTest.java106 uiccLauncher.handleMessage(msg); in testProvisioningPackageSet()
120 uiccLauncher.handleMessage(msg); in testProvisioningPackageSet()
129 uiccLauncher.handleMessage(msg); in testProvisioningPackageSet()
135 uiccLauncher.handleMessage(msg); in testProvisioningPackageSet()
/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/base/packages/FakeOemFeatures/src/com/android/fakeoemfeatures/
DFakeView.java36 @Override public void handleMessage(Message msg) {
43 super.handleMessage(msg);
DFakeBackgroundService.java41 @Override public void handleMessage(Message msg) {
61 super.handleMessage(msg);
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsImplProxy.java117 public void handleMessage(Message msg) {
156 super.handleMessage(msg);
158 super.handleMessage(msg);
/frameworks/base/wifi/tests/src/android/net/wifi/
DWifiScannerTest.java259 verify(mHandler).handleMessage(messageArgumentCaptor.capture()); in testStartScan()
290 verify(mHandler, times(2)).handleMessage(messageArgumentCaptor.capture()); in testStopScan()
315 verify(mHandler).handleMessage(messageArgumentCaptor.capture()); in testStartScanListenerOnSuccess()
345 verify(mHandler).handleMessage(messageArgumentCaptor.capture()); in testStartScanListenerOnResults()
380 verify(mHandler).handleMessage(messageArgumentCaptor.capture()); in testStartDisconnectedPnoScan()
410 verify(mHandler).handleMessage(messageArgumentCaptor.capture()); in testStartConnectedPnoScan()
442 verify(mHandler, times(2)).handleMessage(messageArgumentCaptor.capture()); in testStopPnoScan()
/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.java100 mSpyCarrierSST.handleMessage(notificationMsg); in testCancelBothNotifications()
121 mSpyCarrierSST.handleMessage(notificationMsg); in testSendBothNotifications()
196 mSpyCarrierSST.handleMessage(notificationMsg); in testSendEmergencyNetworkNotification()
203 mSpyCarrierSST.handleMessage(notificationMsg); in testSendEmergencyNetworkNotification()
/frameworks/native/services/surfaceflinger/Scheduler/
DMessageQueue.h56 virtual void handleMessage(const Message& message);
109 virtual void handleMessage(const Message& message);
/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()
/frameworks/base/services/tests/servicestests/src/com/android/server/accessibility/
DKeyEventDispatcherTest.java272 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_shouldPassToFramework()
287 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_afterOneServiceReturnsFalse_shouldPassToFramework()
303 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_afterOneServiceReturnsTrue_shouldNotPassToFramework()
316 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_thenServiceReturnsFalse_shouldPassToFrameworkOnce()
338 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_afterServiceReturnsFalse_shouldPassToFrameworkOnce()
352 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in testEventTimesOut_afterServiceReturnsTrue_shouldNotPassToFramework()
483 mKeyEventDispatcher.handleMessage(getTimedMessage(mMessageCapturingHandler, 0)); in twoEvents_firstTimesOutThenServiceHandlesBoth_firstSentToFramework()

12345678910>>...22