Home
last modified time | relevance | path

Searched refs:receiveMessage (Results 1 – 9 of 9) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/
DSapRilReceiverTest.java126 verify(mCallback, timeout(TIMEOUT_MS)).receiveMessage(eq(SAP_RIL_SOCK_CLOSED), any()); in notifyShutdown()
133 verify(mCallback, timeout(TIMEOUT_MS)).receiveMessage(eq(SAP_MSG_RIL_CONNECT), any()); in sendRilConnectMessage()
142 .receiveMessage(eq(SAP_PROXY_DEAD), argThat( in serviceDied()
154 verify(mCallback, timeout(TIMEOUT_MS)).receiveMessage(eq(SAP_MSG_RFC_REPLY), argThat( in callback_connectResponse()
174 verify(mCallback, timeout(TIMEOUT_MS)).receiveMessage(eq(SAP_MSG_RFC_REPLY), argThat( in callback_disconnectResponse()
194 verify(mCallback, timeout(TIMEOUT_MS)).receiveMessage(eq(SAP_MSG_RIL_IND), argThat( in callback_disconnectIndication()
221 verify(mCallback, timeout(TIMEOUT_MS)).receiveMessage(eq(SAP_MSG_RFC_REPLY), argThat( in callback_apduResponse()
249 verify(mCallback, timeout(TIMEOUT_MS)).receiveMessage(eq(SAP_MSG_RFC_REPLY), argThat( in callback_transferAtrResponse()
275 verify(mCallback, timeout(TIMEOUT_MS)).receiveMessage(eq(SAP_MSG_RFC_REPLY), argThat( in callback_powerResponse_powerOff()
300 verify(mCallback, timeout(TIMEOUT_MS)).receiveMessage(eq(SAP_MSG_RFC_REPLY), argThat( in callback_powerResponse_powerOn()
[all …]
DSapServerTest.java486 verify(mCallback, timeout(TIMEOUT_MS)).receiveMessage(eq(SAP_MSG_RIL_REQ), argThat( in sendRilThreadMessage()
503 verify(mCallback, timeout(TIMEOUT_MS)).receiveMessage(eq(SAP_MSG_RFC_REPLY), argThat( in sendClientMessage()
708 receiveMessage(msg.what, msg.obj); in handleMessage()
712 public void receiveMessage(int what, Object obj) {} in receiveMessage() method in SapServerTest.TestHandlerCallback
/packages/services/Car/tests/carservice_test/src/com/android/car/
DVmsPublisherSubscriberTest.java213 assertNull(mSubscriberClient.receiveMessage()); in testStartMonitoring_AfterPublish()
249 assertNull(mSubscriberClient.receiveMessage()); in testStopMonitoring()
271 assertNull(mSubscriberClient.receiveMessage()); in testSubscribe_AfterPublish()
324 assertNull(mSubscriberClient.receiveMessage()); in testSubscribe_ClearCallback()
341 assertNull(mSubscriberClient.receiveMessage()); in testUnsubscribe()
353 assertNull(mSubscriberClient.receiveMessage()); in testUnsubscribe_MultipleLayers()
368 assertNull(mSubscriberClient.receiveMessage()); in testUnsubscribe_MultiplePublishers()
372 assertNull(mSubscriberClient.receiveMessage()); in testUnsubscribe_MultiplePublishers()
382 assertNull(mSubscriberClient.receiveMessage()); in testUnsubscribe_NotSubscribed()
407 assertNull(mSubscriberClient.receiveMessage()); in testSubscribeToPublisher_AfterPublish()
[all …]
DVmsSubscriberManagerTest.java97 Pair<VmsLayer, byte[]> message = getMockSubscriberClient().receiveMessage(); in testSubscribe()
117 assertNull(getMockSubscriberClient().receiveMessage()); in testSubscribeToPublisher()
135 Pair<VmsLayer, byte[]> message = getMockSubscriberClient().receiveMessage(); in testSubscribeFromPublisher()
156 assertNull(getMockSubscriberClient().receiveMessage()); in testUnsubscribe()
174 assertNull(getMockSubscriberClient().receiveMessage()); in testSubscribeFromWrongPublisher()
193 assertNull(getMockSubscriberClient().receiveMessage()); in testUnsubscribeFromPublisher()
211 Pair<VmsLayer, byte[]> message = getMockSubscriberClient().receiveMessage(); in testSubscribeAll()
370 int[] values = getMockHalClient().receiveMessage().value.int32Values; in testComplexAvailableLayers()
415 int[] values = getMockHalClient().receiveMessage().value.int32Values; in testDoubleOfferingAvailableLayers()
459 values = getMockHalClient().receiveMessage().value.int32Values; in testDoubleOfferingAvailableLayers()
DMockedVmsTestBase.java85 int[] v = mHalClient.receiveMessage().value.int32Values; in setUpVms()
100 v = mHalClient.receiveMessage().value.int32Values; in setUpVms()
167 Pair<VmsLayer, byte[]> receiveMessage() { in receiveMessage() method in MockedVmsTestBase.MockSubscriberClient
202 VehiclePropValue receiveMessage() { in receiveMessage() method in MockedVmsTestBase.MockHalClient
DVmsHalServiceSubscriptionEventTest.java79 int[] v = getMockHalClient().receiveMessage().value.int32Values; in subscriptionTestLogic()
111 int[] v = getMockHalClient().receiveMessage().value.int32Values; in subscribeViaHal()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/javatests/com/android/libraries/rcs/simpleclient/service/chat/
DSimpleChatSessionTest.java179 session.receiveMessage(response); in start_reply200_returnSuccessfulFuture()
202 session.receiveMessage(response); in start_reply404_returnFailedFuture()
/packages/services/Telephony/testapps/TestRcsApp/aosp_test_rcsclient/src/com/android/libraries/rcs/simpleclient/service/chat/
DMinimalCpmChatService.java146 session.receiveMessage(request); in handleRequest()
194 session.receiveMessage(response); in handleResponse()
DSimpleChatSession.java280 void receiveMessage(Message msg) {