Home | History | Annotate | Download | only in sap

Lines Matching refs:sapMsg

534      * @param sapMsg The message to send
536 private void sendClientMessage(SapMessage sapMsg) {
537 Message newMsg = mSapHandler.obtainMessage(SAP_MSG_RFC_REPLY, sapMsg);
543 * @param sapMsg
545 private void sendRilThreadMessage(SapMessage sapMsg) {
546 Message newMsg = mSapHandler.obtainMessage(SAP_MSG_RIL_REQ, sapMsg);
593 SapMessage sapMsg = null;
597 sapMsg = (SapMessage) msg.obj;
598 handleRfcommReply(sapMsg);
615 sapMsg = (SapMessage) msg.obj;
616 if(sapMsg != null) {
617 sendRilMessage(sapMsg);
621 sapMsg = (SapMessage) msg.obj;
622 handleRilInd(sapMsg);
697 * @param sapMsg the message to send to the SAP client
699 private void handleRfcommReply(SapMessage sapMsg) {
700 if(sapMsg != null) {
703 + SapMessage.getMsgTypeName(sapMsg.getMsgType()));
705 switch(sapMsg.getMsgType()) {
708 if (sapMsg.getConnectionStatus() == SapMessage.CON_STATUS_OK) {
711 } else if(sapMsg.getConnectionStatus() == SapMessage.CON_STATUS_OK_ONGOING_CALL
720 sapMsg = null;
721 } else if(sapMsg.getConnectionStatus() != SapMessage.CON_STATUS_OK) {
742 sapMsg = disconnectResp;
752 sapMsg = null;
769 sapMsg = null;
788 if(sapMsg != null)
789 sendReply(sapMsg);
792 private void handleRilInd(SapMessage sapMsg) {
793 if(sapMsg == null)
796 switch(sapMsg.getMsgType()) {
802 reply.setDisconnectionType(sapMsg.getDisconnectionType()) ;
806 sendDisconnectInd(sapMsg.getDisconnectionType());
813 + SapMessage.getMsgTypeName(sapMsg.getMsgType()));
819 * @param sapMsg
821 private void sendRilMessage(SapMessage sapMsg) {
823 + SapMessage.getMsgTypeName(sapMsg.getMsgType()));
825 sapMsg.writeReqToStream(mRilBtOutStream);