Searched refs:resp (Results 1 – 4 of 4) sorted by relevance
87 void FreeResponseInfo(ResponseInfo *resp) in FreeResponseInfo() argument90 if (resp == NULL) { in FreeResponseInfo()94 p = resp->head; in FreeResponseInfo()95 if (p == NULL && resp->result != NULL) { in FreeResponseInfo()96 free(resp->result); in FreeResponseInfo()97 resp->result = NULL; in FreeResponseInfo()111 if (resp->result != NULL) { in FreeResponseInfo()112 free(resp->result); in FreeResponseInfo()113 resp->result = NULL; in FreeResponseInfo()115 free(resp); in FreeResponseInfo()[all …]
54 void FreeResponseInfo(ResponseInfo *resp); // free ResponseResult
540 const HRilSimIOResponse *resp = static_cast<const HRilSimIOResponse *>(response); in ProcessIccIoResponse() local541 result.sw1 = resp->sw1; in ProcessIccIoResponse()542 result.sw2 = resp->sw2; in ProcessIccIoResponse()543 result.response = (resp->response == nullptr) ? "" : std::string(resp->response); in ProcessIccIoResponse()687 const HRilLockStatus *resp = static_cast<const HRilLockStatus *>(response); in BuildLockStatusResp() local688 lockStatus.result = resp->result; in BuildLockStatusResp()689 lockStatus.remain = resp->remain; in BuildLockStatusResp()
258 char **resp = static_cast<char **>(const_cast<void *>(response)); in GetOperatorInfoResponse() local259 operatorInfoResult.longName = (resp[HRIL_LONE_NAME] == nullptr) ? "" : resp[HRIL_LONE_NAME]; in GetOperatorInfoResponse()260 … operatorInfoResult.shortName = (resp[HRIL_SHORT_NAME] == nullptr) ? "" : resp[HRIL_SHORT_NAME]; in GetOperatorInfoResponse()261 operatorInfoResult.numeric = (resp[HRIL_NUMERIC] == nullptr) ? "" : resp[HRIL_NUMERIC]; in GetOperatorInfoResponse()296 int32_t *resp = static_cast<int32_t *>(const_cast<void *>(response)); in GetNetworkSelectionModeResponse() local297 selectModeInfo.selectMode = *resp; in GetNetworkSelectionModeResponse()325 int32_t *resp = static_cast<int32_t *>(const_cast<void *>(response)); in GetPreferredNetworkResponse() local326 preferredNetworkTypeInfo.preferredNetworkType = *resp; in GetPreferredNetworkResponse()327 TELEPHONY_LOGI("GetPreferredNetworkResponse preferredNetworkType: %{public}d", *resp); in GetPreferredNetworkResponse()