Home
last modified time | relevance | path

Searched refs:resp (Results 1 - 13 of 13) sorted by relevance

/base/telephony/ril_adapter/services/vendor/src/
H A Dat_support.c88 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 Dcrypto_x509_cert_chain_test_part2.cpp125 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 Dat_support.h54 void FreeResponseInfo(ResponseInfo *resp); // free ResponseResult
/base/hiviewdfx/faultloggerd/test/unittest/faultloggerd_client/
H A Dfaultloggerd_client_test.cpp256 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 Dcooperate_out.cpp237 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 Dx509_cert_chain_openssl.c64 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 Dx509certchain_fuzzer.cpp268 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 Dhril_network.cpp339 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 Dhril_sim.cpp633 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 Dcall_earthquake_alarm_locator.cpp268 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 Dfaultlogger_daemon_test.cpp258 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 Daudio_control_manager.cpp1058 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 Dcall_status_manager.cpp1414 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()

Completed in 18 milliseconds