Lines Matching refs:response

70 // counter used for synchronization. It is incremented every time response callbacks are updated.
76 // counter used for synchronization. It is incremented every time response callbacks are updated.
93 void convertRilHardwareConfigListToHal(void *response, size_t responseLen,
96 void convertRilRadioCapabilityToHal(void *response, size_t responseLen, RadioCapability& rc);
98 void convertRilLceDataInfoToHal(void *response, size_t responseLen, LceDataInfo& lce);
100 void convertRilSignalStrengthToHal(void *response, size_t responseLen,
106 void convertRilDataCallListToHal(void *response, size_t responseLen,
109 void convertRilCellInfoListToHal(void *response, size_t responseLen, hidl_vec<CellInfo>& records);
713 RLOGE("checkReturnStatus: unable to call response/indication callback");
2760 void *response, size_t responseLen) {
2764 if (response == NULL && responseLen == 0) {
2765 // Earlier RILs did not send a response for some cases although the interface
2766 // expected an integer as response. Do not return error if response is empty. Instead
2768 } else if (response == NULL || responseLen != sizeof(int)) {
2769 RLOGE("responseIntOrEmpty: Invalid response");
2772 int *p_int = (int *) response;
2779 void *response, size_t responseLen) {
2783 if (response == NULL || responseLen != sizeof(int)) {
2784 RLOGE("responseInt: Invalid response");
2787 int *p_int = (int *) response;
2795 void *response, size_t responseLen) {
2800 if (response == NULL || responseLen != sizeof(RIL_CardStatus_v6)) {
2801 RLOGE("getIccCardStatusResponse: Invalid response");
2804 RIL_CardStatus_v6 *p_cur = ((RIL_CardStatus_v6 *) response);
2842 void *response, size_t responseLen) {
2849 int ret = responseIntOrEmpty(responseInfo, serial, responseType, e, response, responseLen);
2864 void *response, size_t responseLen) {
2871 int ret = responseIntOrEmpty(responseInfo, serial, responseType, e, response, responseLen);
2885 void *response, size_t responseLen) {
2892 int ret = responseIntOrEmpty(responseInfo, serial, responseType, e, response, responseLen);
2906 void *response, size_t responseLen) {
2913 int ret = responseIntOrEmpty(responseInfo, serial, responseType, e, response, responseLen);
2927 void *response, size_t responseLen) {
2934 int ret = responseIntOrEmpty(responseInfo, serial, responseType, e, response, responseLen);
2948 void *response, size_t responseLen) {
2955 int ret = responseIntOrEmpty(responseInfo, serial, responseType, e, response, responseLen);
2969 void *response, size_t responseLen) {
2976 int ret = responseIntOrEmpty(responseInfo, serial, responseType, e, response, responseLen);
2990 void *response, size_t responseLen) {
3000 if ((response == NULL && responseLen != 0)
3002 RLOGE("getCurrentCallsResponse: Invalid response");
3009 RIL_Call *p_cur = ((RIL_Call **) response)[i];
3046 int responseType, int serial, RIL_Errno e, void *response,
3065 int responseType, int serial, RIL_Errno e, void *response,
3075 responseInfo, convertCharPtrToHidlString((char *) response));
3087 void *response, size_t responseLen) {
3108 void *response, size_t responseLen) {
3129 RIL_Errno e, void *response,
3151 RIL_Errno e, void *response,
3173 int serial, RIL_Errno e, void *response, size_t responseLen) {
3193 int serial, RIL_Errno e, void *response, size_t responseLen) {
3213 int responseType, int serial, RIL_Errno e, void *response,
3225 if (response == NULL) {
3226 RLOGE("getCurrentCallsResponse Invalid response: NULL");
3229 int *pInt = (int *) response;
3232 RIL_LastCallFailCauseInfo *pFailCauseInfo = (RIL_LastCallFailCauseInfo *) response;
3236 RLOGE("getCurrentCallsResponse Invalid response: NULL");
3253 void *response, size_t responseLen) {
3262 if (response == NULL || responseLen != sizeof(RIL_SignalStrength_v10)) {
3263 RLOGE("getSignalStrengthResponse: Invalid response");
3266 convertRilSignalStrengthToHal(response, responseLen, signalStrength);
3409 int convertResponseStringEntryToInt(char **response, int index, int numStrings) {
3410 if ((response != NULL) && (numStrings > index) && (response[index] != NULL)) {
3411 return atoi(response[index]);
3417 int convertResponseHexStringEntryToInt(char **response, int index, int numStrings) {
3419 if ((response != NULL) && (numStrings > index) && (response[index] != NULL)) {
3420 return strtol(response[index], NULL, hexBase);
3432 int numStrings, char** response) {
3437 rilCellIdentity.cellInfoType = getCellInfoTypeRadioTechnology(response[3]);
3443 convertResponseHexStringEntryToInt(response, 1, numStrings);
3447 convertResponseHexStringEntryToInt(response, 2, numStrings);
3454 convertResponseHexStringEntryToInt(response, 1, numStrings);
3458 convertResponseHexStringEntryToInt(response, 2, numStrings);
3460 convertResponseStringEntryToInt(response, 14, numStrings);
3467 convertResponseHexStringEntryToInt(response, 1, numStrings);
3471 convertResponseHexStringEntryToInt(response, 2, numStrings);
3477 convertResponseStringEntryToInt(response, 4, numStrings);
3479 convertResponseStringEntryToInt(response, 5, numStrings);
3481 convertResponseStringEntryToInt(response, 6, numStrings);
3483 convertResponseStringEntryToInt(response, 8, numStrings);
3485 convertResponseStringEntryToInt(response, 9, numStrings);
3492 convertResponseHexStringEntryToInt(response, 1, numStrings);
3496 convertResponseHexStringEntryToInt(response, 2, numStrings);
3514 int numStrings, char** response) {
3519 rilCellIdentity.cellInfoType = getCellInfoTypeRadioTechnology(response[3]);
3524 convertResponseHexStringEntryToInt(response, 1, numStrings);
3528 convertResponseHexStringEntryToInt(response, 2, numStrings);
3534 convertResponseHexStringEntryToInt(response, 1, numStrings);
3538 convertResponseHexStringEntryToInt(response, 2, numStrings);
3544 convertResponseHexStringEntryToInt(response, 1, numStrings);
3548 convertResponseHexStringEntryToInt(response, 2, numStrings);
3553 convertResponseStringEntryToInt(response, 6, numStrings);
3555 convertResponseStringEntryToInt(response, 7, numStrings);
3557 convertResponseStringEntryToInt(response, 8, numStrings);
3570 void *response, size_t responseLen) {
3581 if (response == NULL) {
3582 RLOGE("getVoiceRegistrationStateResponse Invalid response: NULL");
3586 RLOGE("getVoiceRegistrationStateResponse Invalid response: NULL");
3589 char **resp = (char **) response;
3602 (RIL_VoiceRegistrationStateResponse *)response;
3605 RLOGE("getVoiceRegistrationStateResponse Invalid response: NULL");
3634 void *response, size_t responseLen) {
3643 if (response == NULL) {
3644 RLOGE("getDataRegistrationStateResponse Invalid response: NULL");
3649 RLOGE("getDataRegistrationStateResponse Invalid response: NULL");
3652 char **resp = (char **) response;
3662 (RIL_DataRegistrationStateResponse *)response;
3665 RLOGE("getDataRegistrationStateResponse Invalid response: NULL");
3689 int responseType, int serial, RIL_Errno e, void *response,
3702 if (response == NULL || numStrings != 3) {
3703 RLOGE("getOperatorResponse Invalid response: NULL");
3707 char **resp = (char **) response;
3724 int responseType, int serial, RIL_Errno e, void *response,
3743 int responseType, int serial, RIL_Errno e, void *response,
3764 RIL_Errno e, void *response, size_t responseLen) {
3768 if (response == NULL || responseLen != sizeof(RIL_SMS_Response)) {
3769 RLOGE("Invalid response: NULL");
3773 RIL_SMS_Response *resp = (RIL_SMS_Response *) response;
3782 int responseType, int serial, RIL_Errno e, void *response,
3790 SendSmsResult result = makeSendSmsResult(responseInfo, serial, responseType, e, response,
3804 int responseType, int serial, RIL_Errno e, void *response,
3812 SendSmsResult result = makeSendSmsResult(responseInfo, serial, responseType, e, response,
3826 int responseType, int serial, RIL_Errno e, void *response,
3837 if (response == NULL || (responseLen % sizeof(RIL_Data_Call_Response_v11)) != 0) {
3838 if (response != NULL) {
3839 RLOGE("setupDataCallResponse: Invalid response");
3850 convertRilDataCallToHal((RIL_Data_Call_Response_v11 *) response, result);
3864 RIL_Errno e, void *response, size_t responseLen) {
3868 if (response == NULL || responseLen != sizeof(RIL_SIM_IO_Response)) {
3869 RLOGE("Invalid response: NULL");
3873 RIL_SIM_IO_Response *resp = (RIL_SIM_IO_Response *) response;
3882 int responseType, int serial, RIL_Errno e, void *response,
3890 IccIoResult result = responseIccIo(responseInfo, serial, responseType, e, response,
3904 int responseType, int serial, RIL_Errno e, void *response,
3925 int responseType, int serial, RIL_Errno e, void *response,
3946 int responseType, int serial, RIL_Errno e, void *response,
3957 if (response == NULL || numInts != 2) {
3958 RLOGE("getClirResponse Invalid response: NULL");
3961 int *pInt = (int *) response;
3976 int responseType, int serial, RIL_Errno e, void *response,
3997 void *response, size_t responseLen) {
4007 if ((response == NULL && responseLen != 0)
4009 RLOGE("getCallForwardStatusResponse Invalid response: NULL");
4015 RIL_CallForwardInfo *resp = ((RIL_CallForwardInfo **) response)[i];
4037 int responseType, int serial, RIL_Errno e, void *response,
4057 int responseType, int serial, RIL_Errno e, void *response,
4069 if (response == NULL || numInts != 2) {
4070 RLOGE("getCallWaitingResponse Invalid response: NULL");
4073 int *pInt = (int *) response;
4088 int responseType, int serial, RIL_Errno e, void *response,
4109 void *response, size_t responseLen) {
4131 void *response, size_t responseLen) {
4152 void *response, size_t responseLen) {
4173 void *response, size_t responseLen) {
4180 int ret = responseInt(responseInfo, serial, responseType, e, response, responseLen);
4194 void *response, size_t responseLen) {
4201 int ret = responseIntOrEmpty(responseInfo, serial, responseType, e, response, responseLen);
4216 void *response, size_t responseLen) {
4236 int responseType, int serial, RIL_Errno e, void *response,
4247 if (response == NULL || responseLen != sizeof(int)) {
4248 RLOGE("getNetworkSelectionModeResponse Invalid response: NULL");
4251 int *pInt = (int *) response;
4268 RIL_Errno e, void *response,
4291 void *response, size_t responseLen) {
4326 int responseType, int serial, RIL_Errno e, void *response,
4336 if ((response == NULL && responseLen != 0)
4338 RLOGE("getAvailableNetworksResponse Invalid response: NULL");
4341 char **resp = (char **) response;
4370 void *response, size_t responseLen) {
4390 void *response, size_t responseLen) {
4410 void *response, size_t responseLen) {
4420 convertCharPtrToHidlString((char *) response));
4431 void *response, size_t responseLen) {
4452 void *response, size_t responseLen) {
4471 int responseType, int serial, RIL_Errno e, void *response,
4482 if (response == NULL || responseLen != sizeof(int)) {
4483 RLOGE("getMuteResponse Invalid response: NULL");
4486 int *pInt = (int *) response;
4501 void *response, size_t responseLen) {
4508 int ret = responseInt(responseInfo, serial, responseType, e, response, responseLen);
4521 void *response, size_t responseLen) {
4531 if ((response == NULL && responseLen != 0)
4533 RLOGE("getDataCallListResponse: invalid response");
4536 convertRilDataCallListToHal(response, responseLen, ret);
4551 void *response, size_t responseLen) {
4573 void *response, size_t responseLen) {
4593 void *response, size_t responseLen) {
4613 void *response, size_t responseLen) {
4620 int ret = responseInt(responseInfo, serial, responseType, e, response, responseLen);
4632 int responseType, int serial, RIL_Errno e, void *response,
4642 if ((response == NULL && responseLen != 0)|| responseLen % sizeof(int) != 0) {
4643 RLOGE("getAvailableBandModesResponse Invalid response: NULL");
4646 int *pInt = (int *) response;
4667 void *response, size_t responseLen) {
4677 convertCharPtrToHidlString((char *) response));
4688 void *response, size_t responseLen) {
4710 RIL_Errno e, void *response,
4733 void *response, size_t responseLen) {
4754 void *response, size_t responseLen) {
4777 void *response, size_t responseLen) {
4784 int ret = responseInt(responseInfo, serial, responseType, e, response, responseLen);
4799 void *response, size_t responseLen) {
4809 if ((response == NULL && responseLen != 0)
4811 RLOGE("getNeighboringCidsResponse Invalid response: NULL");
4817 RIL_NeighboringCell *resp = ((RIL_NeighboringCell **) response)[i];
4837 void *response, size_t responseLen) {
4858 void *response, size_t responseLen) {
4880 void *response, size_t responseLen) {
4902 void *response, size_t responseLen) {
4909 int ret = responseInt(responseInfo, serial, responseType, e, response, responseLen);
4924 void *response, size_t responseLen) {
4944 void *response, size_t responseLen) {
4951 int ret = responseInt(responseInfo, serial, responseType, e, response, responseLen);
4965 void *response, size_t responseLen) {
4987 void *response, size_t responseLen) {
4997 if (response == NULL || numInts != 1) {
4998 RLOGE("getPreferredVoicePrivacyResponse Invalid response: NULL");
5001 int *pInt = (int *) response;
5018 void *response, size_t responseLen) {
5039 void *response, size_t responseLen) {
5058 int responseType, int serial, RIL_Errno e, void *response,
5066 SendSmsResult result = makeSendSmsResult(responseInfo, serial, responseType, e, response,
5081 void *response, size_t responseLen) {
5103 void *response, size_t responseLen) {
5113 if ((response == NULL && responseLen != 0)
5115 RLOGE("getGsmBroadcastConfigResponse Invalid response: NULL");
5122 ((RIL_GSM_BroadcastSmsConfigInfo **) response)[i];
5145 void *response, size_t responseLen) {
5166 void *response, size_t responseLen) {
5188 void *response, size_t responseLen) {
5198 if ((response == NULL && responseLen != 0)
5200 RLOGE("getCdmaBroadcastConfigResponse Invalid response: NULL");
5207 ((RIL_CDMA_BroadcastSmsConfigInfo **) response)[i];
5228 void *response, size_t responseLen) {
5250 void *response, size_t responseLen) {
5271 int responseType, int serial, RIL_Errno e, void *response,
5283 if (response == NULL || numStrings != 5) {
5284 RLOGE("getOperatorResponse Invalid response: NULL");
5291 char **resp = (char **) response;
5312 void *response, size_t responseLen) {
5319 int ret = responseInt(responseInfo, serial, responseType, e, response, responseLen);
5332 void *response, size_t responseLen) {
5351 int responseType, int serial, RIL_Errno e, void *response,
5363 if (response == NULL || numStrings != 4) {
5364 RLOGE("getDeviceIdentityResponse Invalid response: NULL");
5371 char **resp = (char **) response;
5390 void *response, size_t responseLen) {
5412 void *response, size_t responseLen) {
5422 convertCharPtrToHidlString((char *) response));
5433 void *response, size_t responseLen) {
5453 void *response, size_t responseLen) {
5474 void *response, size_t responseLen) {
5495 void *response, size_t responseLen) {
5502 int ret = responseInt(responseInfo, serial, responseType, e, response, responseLen);
5517 void *response, size_t responseLen) {
5528 convertCharPtrToHidlString((char *) response));
5540 int serial, RIL_Errno e, void *response,
5562 int responseType, int serial, RIL_Errno e, void *response,
5571 response, responseLen);
5587 void *response, size_t responseLen) {
5594 int ret = responseInt(responseInfo, serial, responseType, e, response, responseLen);
5609 int serial, RIL_Errno e, void *response,
5620 if ((response == NULL && responseLen != 0)
5622 RLOGE("getCellInfoListResponse: Invalid response");
5625 convertRilCellInfoListToHal(response, responseLen, ret);
5640 int serial, RIL_Errno e, void *response,
5662 void *response, size_t responseLen) {
5683 void *response, size_t responseLen) {
5694 if (response == NULL || numInts != 2) {
5695 RLOGE("getImsRegistrationStateResponse Invalid response: NULL");
5698 int *pInt = (int *) response;
5715 int responseType, int serial, RIL_Errno e, void *response,
5723 SendSmsResult result = makeSendSmsResult(responseInfo, serial, responseType, e, response,
5738 void *response, size_t responseLen) {
5745 IccIoResult result = responseIccIo(responseInfo, serial, responseType, e, response,
5761 int responseType, int serial, RIL_Errno e, void *response,
5773 if (response == NULL || responseLen % sizeof(int) != 0) {
5774 RLOGE("iccOpenLogicalChannelResponse Invalid response: NULL");
5775 if (response != NULL) {
5779 int *pInt = (int *) response;
5800 void *response, size_t responseLen) {
5822 void *response, size_t responseLen) {
5829 IccIoResult result = responseIccIo(responseInfo, serial, responseType, e, response,
5846 void *response, size_t responseLen) {
5856 convertCharPtrToHidlString((char *) response));
5867 void *response, size_t responseLen) {
5887 void *response, size_t responseLen) {
5907 void *response, size_t responseLen) {
5927 void *response, size_t responseLen) {
5948 void *response, size_t responseLen) {
5968 void *response, size_t responseLen) {
5978 if ((response == NULL && responseLen != 0)
5980 RLOGE("hardwareConfigChangedInd: invalid response");
5983 convertRilHardwareConfigListToHal(response, responseLen, result);
5998 void *response, size_t responseLen) {
6005 IccIoResult result = responseIccIo(responseInfo, serial, responseType, e, response,
6022 void *response, size_t responseLen) {
6042 void *response, size_t responseLen) {
6061 int responseType, RIL_Errno e, void *response, size_t responseLen, RadioCapability& rc) {
6064 if (response == NULL || responseLen != sizeof(RIL_RadioCapability)) {
6065 RLOGE("responseRadioCapability: Invalid response");
6069 convertRilRadioCapabilityToHal(response, responseLen, rc);
6075 void *response, size_t responseLen) {
6083 responseRadioCapability(responseInfo, serial, responseType, e, response, responseLen,
6097 void *response, size_t responseLen) {
6105 responseRadioCapability(responseInfo, serial, responseType, e, response, responseLen,
6118 RIL_Errno e, void *response, size_t responseLen) {
6122 if (response == NULL || responseLen != sizeof(RIL_LceStatusInfo)) {
6123 RLOGE("Invalid response: NULL");
6126 RIL_LceStatusInfo *resp = (RIL_LceStatusInfo *) response;
6135 void *response, size_t responseLen) {
6143 response, responseLen);
6158 void *response, size_t responseLen) {
6166 response, responseLen);
6181 void *response, size_t responseLen) {
6191 if (response == NULL || responseLen != sizeof(RIL_LceDataInfo)) {
6192 RLOGE("pullLceDataResponse: Invalid response");
6195 convertRilLceDataInfoToHal(response, responseLen, result);
6210 void *response, size_t responseLen) {
6219 if (response == NULL || responseLen != sizeof(RIL_ActivityStatsInfo)) {
6220 RLOGE("getModemActivityInfoResponse Invalid response: NULL");
6223 RIL_ActivityStatsInfo *resp = (RIL_ActivityStatsInfo *)response;
6246 void *response, size_t responseLen) {
6253 int ret = responseInt(responseInfo, serial, responseType, e, response, responseLen);
6268 void *response, size_t responseLen) {
6278 if (response == NULL) {
6280 RLOGD("getAllowedCarriersResponse response is NULL: all allowed");
6285 RLOGE("getAllowedCarriersResponse Invalid response");
6288 RIL_CarrierRestrictions *pCr = (RIL_CarrierRestrictions *)response;
6328 void *response, size_t responselen) {
6348 void *response, size_t responselen) {
6370 void *response, size_t responseLen) {
6390 void *response, size_t responseLen) {
6400 if (response == NULL) {
6401 RLOGE("sendRequestRawResponse: Invalid response");
6404 data.setToExternal((uint8_t *) response, responseLen);
6419 void *response, size_t responseLen) {
6429 if ((response == NULL && responseLen != 0) || responseLen % sizeof(char *) != 0) {
6430 RLOGE("sendRequestStringsResponse Invalid response: NULL");
6433 char **resp = (char **) response;
6460 int indicationType, int token, RIL_Errno e, void *response,
6477 int indicationType, int token, RIL_Errno e, void *response,
6494 int indicationType, int token, RIL_Errno e, void *response,
6519 uint8_t * convertHexStringToBytes(void *response, size_t responseLen) {
6529 uint8_t *hexString = (uint8_t *)response;
6548 int token, RIL_Errno e, void *response, size_t responseLen) {
6550 if (response == NULL || responseLen == 0) {
6551 RLOGE("newSmsInd: invalid response");
6555 uint8_t *bytes = convertHexStringToBytes(response, responseLen);
6578 int indicationType, int token, RIL_Errno e, void *response,
6581 if (response == NULL || responseLen == 0) {
6582 RLOGE("newSmsStatusReportInd: invalid response");
6586 uint8_t *bytes = convertHexStringToBytes(response, responseLen);
6609 int token, RIL_Errno e, void *response, size_t responseLen) {
6611 if (response == NULL || responseLen != sizeof(int)) {
6612 RLOGE("newSmsOnSimInd: invalid response");
6615 int32_t recordNumber = ((int32_t *) response)[0];
6630 int token, RIL_Errno e, void *response, size_t responseLen) {
6632 if (response == NULL || responseLen != 2 * sizeof(char *)) {
6633 RLOGE("onUssdInd: invalid response");
6636 char **strings = (char **) response;
6654 int indicationType, int token, RIL_Errno e, void *response,
6657 if (response == NULL || responseLen == 0) {
6658 RLOGE("nitzTimeReceivedInd: invalid response");
6661 hidl_string nitzTime = convertCharPtrToHidlString((char *) response);
6678 void convertRilSignalStrengthToHal(void *response, size_t responseLen,
6680 RIL_SignalStrength_v10 *rilSignalStrength = (RIL_SignalStrength_v10 *) response;
6723 void *response, size_t responseLen) {
6725 if (response == NULL || responseLen != sizeof(RIL_SignalStrength_v10)) {
6726 RLOGE("currentSignalStrengthInd: invalid response");
6731 convertRilSignalStrengthToHal(response, responseLen, signalStrength);
6762 void convertRilDataCallListToHal(void *response, size_t responseLen,
6766 RIL_Data_Call_Response_v11 *dcResponse = (RIL_Data_Call_Response_v11 *) response;
6774 int indicationType, int token, RIL_Errno e, void *response,
6777 if ((response == NULL && responseLen != 0)
6779 RLOGE("dataCallListChangedInd: invalid response");
6783 convertRilDataCallListToHal(response, responseLen, dcList);
6798 int token, RIL_Errno e, void *response, size_t responseLen) {
6800 if (response == NULL || responseLen != sizeof(RIL_SuppSvcNotification)) {
6801 RLOGE("suppSvcNotifyInd: invalid response");
6806 RIL_SuppSvcNotification *ssn = (RIL_SuppSvcNotification *) response;
6828 int token, RIL_Errno e, void *response, size_t responseLen) {
6844 int indicationType, int token, RIL_Errno e, void *response,
6847 if (response == NULL || responseLen == 0) {
6848 RLOGE("stkProactiveCommandInd: invalid response");
6856 convertCharPtrToHidlString((char *) response));
6866 int token, RIL_Errno e, void *response, size_t responseLen) {
6868 if (response == NULL || responseLen == 0) {
6869 RLOGE("stkEventNotifyInd: invalid response");
6877 convertCharPtrToHidlString((char *) response));
6887 int token, RIL_Errno e, void *response, size_t responseLen) {
6889 if (response == NULL || responseLen != sizeof(int)) {
6890 RLOGE("stkCallSetupInd: invalid response");
6893 int32_t timeout = ((int32_t *) response)[0];
6908 int indicationType, int token, RIL_Errno e, void *response,
6925 int token, RIL_Errno e, void *response, size_t responseLen) {
6927 if (response == NULL || responseLen != sizeof(RIL_SimRefreshResponse_v7)) {
6928 RLOGE("simRefreshInd: invalid response");
6933 RIL_SimRefreshResponse_v7 *simRefreshResponse = ((RIL_SimRefreshResponse_v7 *) response);
6961 int token, RIL_Errno e, void *response, size_t responseLen) {
6965 if (response == NULL || responseLen == 0) {
6970 RLOGE("callRingInd: invalid response");
6973 convertRilCdmaSignalInfoRecordToHal((RIL_CDMA_SignalInfoRecord *) response, record);
6990 int indicationType, int token, RIL_Errno e, void *response,
7007 int token, RIL_Errno e, void *response, size_t responseLen) {
7009 if (response == NULL || responseLen != sizeof(RIL_CDMA_SMS_Message)) {
7010 RLOGE("cdmaNewSmsInd: invalid response");
7015 RIL_CDMA_SMS_Message *rilMsg = (RIL_CDMA_SMS_Message *) response;
7055 int indicationType, int token, RIL_Errno e, void *response,
7058 if (response == NULL || responseLen == 0) {
7059 RLOGE("newBroadcastSmsInd: invalid response");
7064 data.setToExternal((uint8_t *) response, responseLen);
7079 int indicationType, int token, RIL_Errno e, void *response,
7097 int indicationType, int token, RIL_Errno e, void *response,
7100 if (response == NULL || responseLen != sizeof(int)) {
7101 RLOGE("restrictedStateChangedInd: invalid response");
7104 int32_t state = ((int32_t *) response)[0];
7120 int indicationType, int token, RIL_Errno e, void *response,
7138 int indicationType, int token, RIL_Errno e, void *response,
7141 if (response == NULL || responseLen != sizeof(RIL_CDMA_CallWaiting_v6)) {
7142 RLOGE("cdmaCallWaitingInd: invalid response");
7147 RIL_CDMA_CallWaiting_v6 *callWaitingRil = ((RIL_CDMA_CallWaiting_v6 *) response);
7171 int indicationType, int token, RIL_Errno e, void *response,
7174 if (response == NULL || responseLen != sizeof(int)) {
7175 RLOGE("cdmaOtaProvisionStatusInd: invalid response");
7178 int32_t status = ((int32_t *) response)[0];
7194 int indicationType, int token, RIL_Errno e, void *response,
7197 if (response == NULL || responseLen != sizeof(RIL_CDMA_InformationRecords)) {
7198 RLOGE("cdmaInfoRecInd: invalid response");
7203 RIL_CDMA_InformationRecords *recordsRil = (RIL_CDMA_InformationRecords *) response;
7230 RLOGE("cdmaInfoRecInd: invalid display info response length %d "
7255 RLOGE("cdmaInfoRecInd: invalid display info response length %d "
7292 RLOGE("cdmaInfoRecInd: invalid display info response length %d "
7372 int indicationType, int token, RIL_Errno e, void *response,
7375 if (response == NULL || responseLen != sizeof(int)) {
7376 RLOGE("indicateRingbackToneInd: invalid response");
7379 bool start = ((int32_t *) response)[0];
7394 int indicationType, int token, RIL_Errno e, void *response,
7412 void *response, size_t responseLen) {
7414 if (response == NULL || responseLen != sizeof(int)) {
7415 RLOGE("cdmaSubscriptionSourceChangedInd: invalid response");
7418 int32_t cdmaSource = ((int32_t *) response)[0];
7435 int indicationType, int token, RIL_Errno e, void *response,
7438 if (response == NULL || responseLen != sizeof(int)) {
7439 RLOGE("cdmaPrlChangedInd: invalid response");
7442 int32_t version = ((int32_t *) response)[0];
7457 int indicationType, int token, RIL_Errno e, void *response,
7475 int indicationType, int token, RIL_Errno e, void *response,
7490 int indicationType, int token, RIL_Errno e, void *response,
7493 if (response == NULL || responseLen != sizeof(int)) {
7494 RLOGE("voiceRadioTechChangedInd: invalid response");
7497 int32_t rat = ((int32_t *) response)[0];
7512 void convertRilCellInfoListToHal(void *response, size_t responseLen, hidl_vec<CellInfo>& records) {
7516 RIL_CellInfo_v12 *rillCellInfo = (RIL_CellInfo_v12 *) response;
7658 int indicationType, int token, RIL_Errno e, void *response,
7661 if ((response == NULL && responseLen != 0) || responseLen % sizeof(RIL_CellInfo_v12) != 0) {
7662 RLOGE("cellInfoListInd: invalid response");
7667 convertRilCellInfoListToHal(response, responseLen, records);
7683 int indicationType, int token, RIL_Errno e, void *response,
7701 int indicationType, int token, RIL_Errno e, void *response,
7704 if (response == NULL || responseLen != sizeof(int)) {
7705 RLOGE("subscriptionStatusChangedInd: invalid response");
7708 bool activate = ((int32_t *) response)[0];
7724 int indicationType, int token, RIL_Errno e, void *response,
7727 if (response == NULL || responseLen != sizeof(int)) {
7728 RLOGE("srvccStateNotifyInd: invalid response");
7731 int32_t state = ((int32_t *) response)[0];
7745 void convertRilHardwareConfigListToHal(void *response, size_t responseLen,
7750 RIL_HardwareConfig *rilHardwareConfig = (RIL_HardwareConfig *) response;
7779 int indicationType, int token, RIL_Errno e, void *response,
7782 if ((response == NULL && responseLen != 0)
7784 RLOGE("hardwareConfigChangedInd: invalid response");
7789 convertRilHardwareConfigListToHal(response, responseLen, configs);
7805 void convertRilRadioCapabilityToHal(void *response, size_t responseLen, RadioCapability& rc) {
7806 RIL_RadioCapability *rilRadioCapability = (RIL_RadioCapability *) response;
7815 int indicationType, int token, RIL_Errno e, void *response,
7818 if (response == NULL || responseLen != sizeof(RIL_RadioCapability)) {
7819 RLOGE("radioCapabilityIndicationInd: invalid response");
7824 convertRilRadioCapabilityToHal(response, responseLen, rc);
7855 void *response, size_t responseLen) {
7857 if (response == NULL || responseLen != sizeof(RIL_StkCcUnsolSsResponse)) {
7858 RLOGE("onSupplementaryServiceIndicationInd: invalid response");
7862 RIL_StkCcUnsolSsResponse *rilSsResponse = (RIL_StkCcUnsolSsResponse *) response;
7934 int indicationType, int token, RIL_Errno e, void *response,
7937 if (response == NULL || responseLen == 0) {
7938 RLOGE("stkCallControlAlphaNotifyInd: invalid response");
7946 convertCharPtrToHidlString((char *) response));
7956 void convertRilLceDataInfoToHal(void *response, size_t responseLen, LceDataInfo& lce) {
7957 RIL_LceDataInfo *rilLceDataInfo = (RIL_LceDataInfo *)response;
7964 int indicationType, int token, RIL_Errno e, void *response,
7967 if (response == NULL || responseLen != sizeof(RIL_LceDataInfo)) {
7968 RLOGE("lceDataInd: invalid response");
7973 convertRilLceDataInfoToHal(response, responseLen, lce);
7988 int indicationType, int token, RIL_Errno e, void *response,
7991 if (response == NULL || responseLen != sizeof(RIL_PCO_Data)) {
7992 RLOGE("pcoDataInd: invalid response");
7997 RIL_PCO_Data *rilPcoData = (RIL_PCO_Data *)response;
8017 int indicationType, int token, RIL_Errno e, void *response,
8020 if (response == NULL || responseLen == 0) {
8021 RLOGE("modemResetInd: invalid response");
8029 convertCharPtrToHidlString((char *) response));
8039 int indicationType, int token, RIL_Errno e, void *response,
8042 if (response == NULL || responseLen == 0) {
8043 RLOGE("oemHookRawInd: invalid response");
8048 data.setToExternal((uint8_t *) response, responseLen);