Home
last modified time | relevance | path

Searched refs:resp (Results 1 – 4 of 4) sorted by relevance

/base/telephony/ril_adapter/services/vendor/src/
Dat_support.c87 void FreeResponseInfo(ResponseInfo *resp) in FreeResponseInfo() argument
90 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 …]
/base/telephony/ril_adapter/services/vendor/include/
Dat_support.h54 void FreeResponseInfo(ResponseInfo *resp); // free ResponseResult
/base/telephony/ril_adapter/services/hril/src/
Dhril_sim.cpp540 const HRilSimIOResponse *resp = static_cast<const HRilSimIOResponse *>(response); in ProcessIccIoResponse() local
541 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() local
688 lockStatus.result = resp->result; in BuildLockStatusResp()
689 lockStatus.remain = resp->remain; in BuildLockStatusResp()
Dhril_network.cpp258 char **resp = static_cast<char **>(const_cast<void *>(response)); in GetOperatorInfoResponse() local
259 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() local
297 selectModeInfo.selectMode = *resp; in GetNetworkSelectionModeResponse()
325 int32_t *resp = static_cast<int32_t *>(const_cast<void *>(response)); in GetPreferredNetworkResponse() local
326 preferredNetworkTypeInfo.preferredNetworkType = *resp; in GetPreferredNetworkResponse()
327 TELEPHONY_LOGI("GetPreferredNetworkResponse preferredNetworkType: %{public}d", *resp); in GetPreferredNetworkResponse()