/base/telephony/ril_adapter/services/vendor/src/ |
H A D | at_support.c | 88 void FreeResponseInfo(ResponseInfo *resp) in FreeResponseInfo() argument 91 if (resp == NULL) { in FreeResponseInfo() 92 TELEPHONY_LOGE("enter resp is null"); in FreeResponseInfo() 95 p = resp->head; in FreeResponseInfo() 96 if (p == NULL && resp->result != NULL) { in FreeResponseInfo() 97 free(resp->result); in FreeResponseInfo() 98 resp->result = NULL; in FreeResponseInfo() 112 if (resp->result != NULL) { in FreeResponseInfo() 113 free(resp->result); in FreeResponseInfo() 114 resp in FreeResponseInfo() [all...] |
/base/security/certificate_framework/test/unittest/v1.0/src/ |
H A D | crypto_x509_cert_chain_test_part2.cpp | 125 CfBlob *resp = (CfBlob *)CfMalloc(sizeof(CfBlob), 0); in ConstructHcfRevocationCheckParam() local 126 if (resp == nullptr) { in ConstructHcfRevocationCheckParam() 131 resp->data = (uint8_t *)(&g_testOcspResponses[0]); in ConstructHcfRevocationCheckParam() 132 resp->size = sizeof(g_testOcspResponses); in ConstructHcfRevocationCheckParam() 142 param->ocspResponses = resp; in ConstructHcfRevocationCheckParam() 348 CfBlob resp; in HWTEST_F() local 349 resp.data = (uint8_t *)(&g_testOcspResponses[0]); in HWTEST_F() 350 resp.size = sizeof(g_testOcspResponses); in HWTEST_F() 351 rcp.ocspResponses = &resp; in HWTEST_F()
|
/base/telephony/ril_adapter/services/vendor/include/ |
H A D | at_support.h | 54 void FreeResponseInfo(ResponseInfo *resp); // free ResponseResult
|
/base/hiviewdfx/faultloggerd/test/unittest/faultloggerd_client/ |
H A D | faultloggerd_client_test.cpp | 256 int resp = RequestSdkDump(1, 1); in HWTEST_F() local 257 if (resp == FaultLoggerCheckPermissionResp::CHECK_PERMISSION_PASS) { in HWTEST_F() 301 int resp = RequestSdkDump(1, 1); in HWTEST_F() local 302 if (resp == FaultLoggerCheckPermissionResp::CHECK_PERMISSION_REJECT) { in HWTEST_F()
|
/base/msdp/device_status/intention/cooperate/plugin/src/ |
H A D | cooperate_out.cpp | 237 DSoftbusRelayCooperateFinished resp { in OnRelay() 245 resp.normal = false; in OnRelay() 246 context.dsoftbus_.RelayCooperateFinish(notice.networkId, resp); in OnRelay() 250 resp.normal = true; in OnRelay() 251 context.dsoftbus_.RelayCooperateFinish(notice.networkId, resp); in OnRelay()
|
/base/security/certificate_framework/frameworks/adapter/v1.0/src/ |
H A D | x509_cert_chain_openssl.c | 64 OCSP_RESPONSE *resp; member 898 if (localParam.resp == NULL && revo->ocspResponses != NULL) { in ValidateOcspLocal() 900 localParam.resp = rsp; in ValidateOcspLocal() 902 if (localParam.resp == NULL) { in ValidateOcspLocal() 906 if (OCSP_response_status(localParam.resp) != OCSP_RESPONSE_STATUS_SUCCESSFUL) { in ValidateOcspLocal() 907 LOGE("The resp status is not success!"); in ValidateOcspLocal() 911 OCSP_BASICRESP *bs = OCSP_response_get1_basic(localParam.resp); in ValidateOcspLocal() 942 OCSP_RESPONSE *resp = NULL; in SendReqBioCustom() local 965 ret = OCSP_sendreq_nbio(&resp, ctx); in SendReqBioCustom() 970 return resp; in SendReqBioCustom() 1152 OCSP_RESPONSE *resp = SendReqBioCustom(cbio, host, path, req); STACK_OF() local [all...] |
/base/security/certificate_framework/test/fuzztest/v1.0/x509certchain_fuzzer/ |
H A D | x509certchain_fuzzer.cpp | 268 CfBlob *resp = static_cast<CfBlob *>(CfMalloc(sizeof(CfBlob), 0)); in ConstructHcfRevocationCheckParam1() local 269 if (resp == nullptr) { in ConstructHcfRevocationCheckParam1() 274 resp->data = (uint8_t *)(&g_testOcspResponses[0]); in ConstructHcfRevocationCheckParam1() 275 resp->size = sizeof(g_testOcspResponses); in ConstructHcfRevocationCheckParam1() 286 param->ocspResponses = resp; in ConstructHcfRevocationCheckParam1()
|
/base/telephony/ril_adapter/services/hril/src/ |
H A D | hril_network.cpp | 339 char **resp = static_cast<char **>(const_cast<void *>(response)); in GetOperatorInfoResponse() local 340 operatorInfoResult.longName = (resp[HRIL_LONE_NAME] == nullptr) ? "" : resp[HRIL_LONE_NAME]; in GetOperatorInfoResponse() 341 operatorInfoResult.shortName = (resp[HRIL_SHORT_NAME] == nullptr) ? "" : resp[HRIL_SHORT_NAME]; in GetOperatorInfoResponse() 342 operatorInfoResult.numeric = (resp[HRIL_NUMERIC] == nullptr) ? "" : resp[HRIL_NUMERIC]; in GetOperatorInfoResponse() 377 int32_t *resp = static_cast<int32_t *>(const_cast<void *>(response)); in GetNetworkSelectionModeResponse() local 378 selectModeInfo.selectMode = *resp; in GetNetworkSelectionModeResponse() 406 int32_t *resp in GetPreferredNetworkResponse() local [all...] |
H A D | hril_sim.cpp | 633 const HRilSimIOResponse *resp = static_cast<const HRilSimIOResponse *>(response); in ProcessIccIoResponse() local 634 result.sw1 = resp->sw1; in ProcessIccIoResponse() 635 result.sw2 = resp->sw2; in ProcessIccIoResponse() 636 result.response = (resp->response == nullptr) ? "" : std::string(resp->response); in ProcessIccIoResponse() 793 const HRilLockStatus *resp = static_cast<const HRilLockStatus *>(response); in BuildLockStatusResp() local 794 lockStatus.result = resp->result; in BuildLockStatusResp() 795 lockStatus.remain = resp->remain; in BuildLockStatusResp()
|
/base/telephony/call_manager/services/call_earthquake_alarm/src/ |
H A D | call_earthquake_alarm_locator.cpp | 268 int resp = datashareHelper->QueryData(uri, key, value); in IsSwitchOn() local 270 if (resp != DataShareSwitchState::TELEPHONY_SUCCESS || value == ALARM_SWITCH_OFF) { in IsSwitchOn()
|
/base/hiviewdfx/faultloggerd/test/unittest/services/ |
H A D | faultlogger_daemon_test.cpp | 258 FaultLoggerCheckPermissionResp resp = daemon->SecurityCheck(connectionFd, &faultloggerdRequest); in TestSecurityCheck() local 259 ASSERT_EQ(resp, FaultLoggerCheckPermissionResp::CHECK_PERMISSION_REJECT); in TestSecurityCheck()
|
/base/telephony/call_manager/services/audio/src/ |
H A D | audio_control_manager.cpp | 1058 int resp = datashareHelper->Query(uri, "hw_vibrate_when_ringing", ringingVibrateModeEnable); in IsRingingVibrateModeOn() local 1059 if (resp == TELEPHONY_SUCCESS && ringingVibrateModeEnable == "1") { in IsRingingVibrateModeOn()
|
/base/telephony/call_manager/services/call/src/ |
H A D | call_status_manager.cpp | 1414 int resp = datashareHelper->Query(uri, "device_provisioned", device_provisioned); in ShouldRejectIncomingCall() local 1415 if (resp == TELEPHONY_SUCCESS && (device_provisioned == "0" || device_provisioned.empty())) { in ShouldRejectIncomingCall() 1561 int resp = datashareHelper->Query(uri, "focus_mode_enable", focusModeEnable); in IsFocusModeOpen() local 1562 if (resp == TELEPHONY_SUCCESS && focusModeEnable == "1") { in IsFocusModeOpen()
|