Lines Matching refs:responsePtr

536     void *responsePtr = NULL;  in sapDecodeMessage()  local
546 responsePtr = malloc(sizeof(RIL_SIM_SAP_CONNECT_RSP)); in sapDecodeMessage()
547 if (responsePtr) { in sapDecodeMessage()
548 if (!pb_decode(&stream, RIL_SIM_SAP_CONNECT_RSP_fields, responsePtr)) { in sapDecodeMessage()
557 responsePtr = malloc(sizeof(RIL_SIM_SAP_DISCONNECT_RSP)); in sapDecodeMessage()
558 if (responsePtr) { in sapDecodeMessage()
559 if (!pb_decode(&stream, RIL_SIM_SAP_DISCONNECT_RSP_fields, responsePtr)) { in sapDecodeMessage()
565 responsePtr = malloc(sizeof(RIL_SIM_SAP_DISCONNECT_IND)); in sapDecodeMessage()
566 if (responsePtr) { in sapDecodeMessage()
567 if (!pb_decode(&stream, RIL_SIM_SAP_DISCONNECT_IND_fields, responsePtr)) { in sapDecodeMessage()
576 responsePtr = malloc(sizeof(RIL_SIM_SAP_APDU_RSP)); in sapDecodeMessage()
577 if (responsePtr) { in sapDecodeMessage()
578 if (!pb_decode(&stream, RIL_SIM_SAP_APDU_RSP_fields, responsePtr)) { in sapDecodeMessage()
586 responsePtr = malloc(sizeof(RIL_SIM_SAP_TRANSFER_ATR_RSP)); in sapDecodeMessage()
587 if (responsePtr) { in sapDecodeMessage()
588 if (!pb_decode(&stream, RIL_SIM_SAP_TRANSFER_ATR_RSP_fields, responsePtr)) { in sapDecodeMessage()
596 responsePtr = malloc(sizeof(RIL_SIM_SAP_POWER_RSP)); in sapDecodeMessage()
597 if (responsePtr) { in sapDecodeMessage()
598 if (!pb_decode(&stream, RIL_SIM_SAP_POWER_RSP_fields, responsePtr)) { in sapDecodeMessage()
606 responsePtr = malloc(sizeof(RIL_SIM_SAP_RESET_SIM_RSP)); in sapDecodeMessage()
607 if (responsePtr) { in sapDecodeMessage()
608 if (!pb_decode(&stream, RIL_SIM_SAP_RESET_SIM_RSP_fields, responsePtr)) { in sapDecodeMessage()
616 responsePtr = malloc(sizeof(RIL_SIM_SAP_STATUS_IND)); in sapDecodeMessage()
617 if (responsePtr) { in sapDecodeMessage()
618 if (!pb_decode(&stream, RIL_SIM_SAP_STATUS_IND_fields, responsePtr)) { in sapDecodeMessage()
626 responsePtr = malloc(sizeof(RIL_SIM_SAP_TRANSFER_CARD_READER_STATUS_RSP)); in sapDecodeMessage()
627 if (responsePtr) { in sapDecodeMessage()
629 responsePtr)) { in sapDecodeMessage()
637 responsePtr = malloc(sizeof(RIL_SIM_SAP_ERROR_RSP)); in sapDecodeMessage()
638 if (responsePtr) { in sapDecodeMessage()
639 if (!pb_decode(&stream, RIL_SIM_SAP_ERROR_RSP_fields, responsePtr)) { in sapDecodeMessage()
647 responsePtr = malloc(sizeof(RIL_SIM_SAP_SET_TRANSFER_PROTOCOL_RSP)); in sapDecodeMessage()
648 if (responsePtr) { in sapDecodeMessage()
650 responsePtr)) { in sapDecodeMessage()
660 return responsePtr; in sapDecodeMessage()