Home
last modified time | relevance | path

Searched refs:getMsgType (Results 1 – 10 of 10) sorted by relevance

/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/sap/
DSapServerTest.java186 sapMsg.getMsgType() == ID_CONNECT_RESP in onConnectRequest_whenStateIsConnected_sendsErrorConnectionClientMessage()
202 sapMsg.getMsgType() == ID_CONNECT_RESP in onConnectRequest_whenStateIsCallOngoing_sendsErrorConnectionClientMessage()
252 .sendClientMessage(argThat(sapMsg -> sapMsg.getMsgType() == ID_ERROR_RESP)); in sendRilMessage_whenSapProxyIsNull_sendsErrorClientMessage()
268 .sendClientMessage(argThat(sapMsg -> sapMsg.getMsgType() == ID_ERROR_RESP)); in sendRilMessage_whenIAEIsThrown_sendsErrorClientMessage()
286 .sendClientMessage(argThat(sapMsg -> sapMsg.getMsgType() == ID_ERROR_RESP)); in sendRilMessage_whenRemoteExceptionIsThrown_sendsErrorClientMessage()
304 when(msg.getMsgType()).thenReturn(ID_RIL_UNSOL_DISCONNECT_IND); in handleRilInd_whenStateIsConnected_callsSendClientMessage()
315 sapMsg.getMsgType() == ID_DISCONNECT_IND in handleRilInd_whenStateIsConnected_callsSendClientMessage()
327 when(msg.getMsgType()).thenReturn(ID_RIL_UNSOL_DISCONNECT_IND); in handleRilInd_whenStateIsDisconnected_callsSendDisconnectInd()
350 when(msg.getMsgType()).thenReturn(ID_CONNECT_RESP); in handleRfcommReply_connectRespMsg_whenInCallOngoingState()
362 when(msg.getMsgType()).thenReturn(ID_CONNECT_RESP); in handleRfcommReply_connectRespMsg_whenNotInCallOngoingState_okStatus()
[all …]
DSapRilReceiverTest.java172 return sapMsg.getMsgType() == ID_CONNECT_RESP in callback_connectResponse()
194 return sapMsg.getMsgType() == ID_DISCONNECT_RESP; in callback_disconnectResponse()
216 return sapMsg.getMsgType() == ID_RIL_UNSOL_DISCONNECT_IND in callback_disconnectIndication()
241 return sapMsg.getMsgType() == ID_TRANSFER_APDU_RESP in callback_apduResponse()
267 return sapMsg.getMsgType() == ID_TRANSFER_ATR_RESP in callback_transferAtrResponse()
295 return sapMsg.getMsgType() == ID_POWER_SIM_OFF_RESP in callback_powerResponse_powerOff()
322 return sapMsg.getMsgType() == ID_POWER_SIM_ON_RESP in callback_powerResponse_powerOn()
346 return sapMsg.getMsgType() == ID_RESET_SIM_RESP in callback_resetSimResponse()
370 return sapMsg.getMsgType() == ID_STATUS_IND in callback_statusIndication()
396 return sapMsg.getMsgType() in callback_transferCardReaderStatusResponse()
[all …]
DSapRilReceiverHidlTest.java167 return sapMsg.getMsgType() == ID_CONNECT_RESP in callback_connectResponse()
189 return sapMsg.getMsgType() == ID_DISCONNECT_RESP; in callback_disconnectResponse()
211 return sapMsg.getMsgType() == ID_RIL_UNSOL_DISCONNECT_IND in callback_disconnectIndication()
240 return sapMsg.getMsgType() == ID_TRANSFER_APDU_RESP in callback_apduResponse()
270 return sapMsg.getMsgType() == ID_TRANSFER_ATR_RESP in callback_transferAtrResponse()
298 return sapMsg.getMsgType() == ID_POWER_SIM_OFF_RESP in callback_powerResponse_powerOff()
325 return sapMsg.getMsgType() == ID_POWER_SIM_ON_RESP in callback_powerResponse_powerOn()
349 return sapMsg.getMsgType() == ID_RESET_SIM_RESP in callback_resetSimResponse()
373 return sapMsg.getMsgType() == ID_STATUS_IND in callback_statusIndication()
399 return sapMsg.getMsgType() in callback_transferCardReaderStatusResponse()
[all …]
DSapMessageTest.java103 assertThat(mMessage.getMsgType()).isEqualTo(msgType); in settersAndGetters()
177 assertThat(msgFromInputStream.getMsgType()).isEqualTo(msgType); in writeAndRead()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/sap/
DSapServer.java802 + SapMessage.getMsgTypeName(sapMsg.getMsgType())); in handleRfcommReply()
804 switch (sapMsg.getMsgType()) { in handleRfcommReply()
913 switch (sapMsg.getMsgType()) { in handleRilInd()
933 + SapMessage.getMsgTypeName(sapMsg.getMsgType())); in handleRilInd()
940 Log.v(TAG_HANDLER, "sendRilMessage() - " + SapMessage.getMsgTypeName(sapMsg.getMsgType())); in sendRilMessage()
967 Log.v(TAG_HANDLER, "sendReply() RFCOMM - " + SapMessage.getMsgTypeName(msg.getMsgType())); in sendReply()
DSapRilReceiverHidl.java188 if (sapMessage.getMsgType() < SapMessage.ID_RIL_BASE) { in sendSapMessage()
DSapRilReceiver.java179 if (sapMessage.getMsgType() < SapMessage.ID_RIL_BASE) { in sendSapMessage()
DSapMessage.java211 public int getMsgType() { in getMsgType() method in SapMessage
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/mapclient/
DEventReportTest.java66 assertThat(report.getMsgType()).isEqualTo(msgType); in fromStream()
110 assertThat(report.getMsgType()).isEqualTo(msgType); in fromStreamWithDateTime()
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mapclient/obex/
DEventReport.java182 public Bmessage.Type getMsgType() { in getMsgType() method in EventReport