/foundation/bundlemanager/app_domain_verify/frameworks/verifier/src/ |
H A D | domain_verifier.cpp | 22 InnerVerifyStatus DomainVerifier::VerifyHost(OHOS::NetStack::HttpClient::ResponseCode responseCode, in VerifyHost() argument 26 if (responseCode != OHOS::NetStack::HttpClient::ResponseCode::OK) { in VerifyHost() 27 return GetVerifyStatusFromHttpError(responseCode); in VerifyHost() 41 InnerVerifyStatus DomainVerifier::GetVerifyStatusFromHttpError(OHOS::NetStack::HttpClient::ResponseCode responseCode) in GetVerifyStatusFromHttpError() argument 44 if (responseCode >= OHOS::NetStack::HttpClient::ResponseCode::MULT_CHOICE && in GetVerifyStatusFromHttpError() 45 responseCode < OHOS::NetStack::HttpClient::ResponseCode::BAD_REQUEST) { in GetVerifyStatusFromHttpError() 49 if (responseCode >= OHOS::NetStack::HttpClient::ResponseCode::BAD_REQUEST && in GetVerifyStatusFromHttpError() 50 responseCode < OHOS::NetStack::HttpClient::ResponseCode::INTERNAL_ERROR) { in GetVerifyStatusFromHttpError() 54 if (responseCode >= OHOS::NetStack::HttpClient::ResponseCode::INTERNAL_ERROR) { in GetVerifyStatusFromHttpError()
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_event.cpp | 97 uint16_t responseCode = EventPayloadData(code, eventPayloadData); in SendEvent() local 98 if (responseCode == MTP_UNDEFINED_CODE) { in SendEvent() 119 uint16_t responseCode = MTP_UNDEFINED_CODE; in EventPayloadData() local 127 responseCode = handleptr_->ObjectEvent(data, mtpContextPtr_->eventHandle); in EventPayloadData() 130 responseCode = handleptr_->ObjectEvent(data, mtpContextPtr_->eventProperty); in EventPayloadData() 135 return responseCode; in EventPayloadData()
|
/foundation/communication/netstack/test/unittest/utils/common_utils/ |
H A D | netstack_hisysevent_test.cpp | 42 httpPerfInfo.responseCode = 200; in HWTEST_F() 49 httpPerfInfo.responseCode = 199; in HWTEST_F() 56 httpPerfInfo.responseCode = 400; in HWTEST_F() 75 httpPerfInfo.responseCode = 200; in HWTEST_F() 84 httpPerfInfo.responseCode = 200; in HWTEST_F() 93 httpPerfInfo.responseCode = 200; in HWTEST_F() 103 httpPerfInfo.responseCode = 200; in HWTEST_F()
|
/foundation/bundlemanager/app_domain_verify/frameworks/verifier/include/ |
H A D | domain_verifier.h | 28 static InnerVerifyStatus VerifyHost(OHOS::NetStack::HttpClient::ResponseCode responseCode, 32 static InnerVerifyStatus GetVerifyStatusFromHttpError(OHOS::NetStack::HttpClient::ResponseCode responseCode);
|
/foundation/communication/netstack/frameworks/js/napi/fetch/options/src/ |
H A D | fetch_response.cpp | 35 void FetchResponse::SetResponseCode(uint32_t responseCode) in SetResponseCode() argument 37 responseCode_ = responseCode; in SetResponseCode()
|
/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_response.cpp | 35 void HttpResponse::SetResponseCode(uint32_t responseCode) in SetResponseCode() argument 37 responseCode_ = responseCode; in SetResponseCode()
|
H A D | net_http_client_exec.cpp | 177 int64_t responseCode; in GetCurlDataFromHandle() local 178 CURLcode code = curl_easy_getinfo(handle, CURLINFO_RESPONSE_CODE, &responseCode); in GetCurlDataFromHandle() 183 context->response.SetResponseCode(responseCode); in GetCurlDataFromHandle() 189 NETSTACK_LOGI("responseCode is %{public}s", std::to_string(responseCode).c_str()); in GetCurlDataFromHandle()
|
H A D | net_http_request_context.cpp | 515 .responseCode = 0, in SendResponse() 521 resp.responseCode = response.GetResponseCode(); in SendResponse()
|
/foundation/communication/netstack/frameworks/js/napi/http/options/src/ |
H A D | http_response.cpp | 34 void HttpResponse::SetResponseCode(uint32_t responseCode) in SetResponseCode() argument 36 responseCode_ = responseCode; in SetResponseCode()
|
/foundation/communication/netstack/utils/common_utils/src/ |
H A D | netstack_hisysevent.cpp | 47 return responseCode >= VALIAD_RESP_CODE_START && responseCode <= VALIAD_RESP_CODE_END; in IsSuccess()
|
/foundation/arkui/ace_engine/adapter/preview/osal/ |
H A D | fetch_manager.cpp | 106 int32_t responseCode = HttpConstant::ERROR; variable 107 curl_easy_getinfo(handle.get(), CURLINFO_RESPONSE_CODE, &responseCode); 108 responseData.SetCode(responseCode);
|
/foundation/communication/netstack/frameworks/js/builtin/fetch/src/ |
H A D | http_request.cpp | 122 int32_t responseCode; in Request() local 123 ACE_CURL_EASY_GET_INFO(handle.get(), CURLINFO_RESPONSE_CODE, &responseCode, responseData); in Request() 125 responseData->SetCode(responseCode); in Request()
|
/foundation/communication/netstack/frameworks/js/napi/fetch/options/include/ |
H A D | fetch_response.h | 33 void SetResponseCode(uint32_t responseCode);
|
/foundation/communication/netstack/utils/common_utils/include/ |
H A D | netstack_hisysevent.h | 47 int64_t responseCode; member
|
/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | ffi_structs.h | 99 uint32_t responseCode; member
|
H A D | net_http_response.h | 36 void SetResponseCode(uint32_t responseCode);
|
/foundation/arkui/ace_engine/frameworks/base/network/ |
H A D | download_manager_impl.cpp | 157 auto responseCode = response.GetResponseCode(); 158 downloadResult->errorMsg.append(std::to_string(responseCode)); 189 LOGI("Async http task of url [%{private}s] success, the responseCode = %d", request.GetURL().c_str(), 235 LOGI("Sync http task of url [%{private}s] success, the responseCode = %d", request.GetURL().c_str(), 277 auto responseCode = response.GetResponseCode(); in OnFail() local 278 downloadCondition->errorMsg.append(std::to_string(responseCode)); in OnFail()
|
/foundation/communication/netmanager_base/services/netconnmanager/src/ |
H A D | net_http_probe.cpp | 551 int64_t responseCode = 0; in RecvHttpProbeResponse() local 552 curl_easy_getinfo(curlMsg->easy_handle, CURLINFO_RESPONSE_CODE, &responseCode); in RecvHttpProbeResponse() 565 httpProbeResult_ = {responseCode, redirectUrl}; in RecvHttpProbeResponse() 569 httpsProbeResult_ = {responseCode, redirectUrl}; in RecvHttpProbeResponse()
|
/foundation/communication/netstack/frameworks/js/napi/fetch/fetch_exec/src/ |
H A D | fetch_exec.cpp | 96 int32_t responseCode; in ExecFetch() local 97 NETSTACK_CURL_EASY_GET_INFO(handle.get(), CURLINFO_RESPONSE_CODE, &responseCode, context); in ExecFetch() 98 NETSTACK_LOGI("Fetch responseCode is %{public}d", responseCode); in ExecFetch() 100 context->response.SetResponseCode(responseCode); in ExecFetch()
|
/foundation/communication/netstack/frameworks/native/http/http_client/ |
H A D | http_client_task.cpp | 641 int64_t responseCode = 0; in DumpHttpPerformance() local 642 (void)curl_easy_getinfo(curlHandle_, CURLINFO_RESPONSE_CODE, &responseCode); in DumpHttpPerformance() 672 error_.GetErrorCode(), std::to_string(responseCode).c_str(), std::to_string(httpVer).c_str(), in DumpHttpPerformance() 683 httpPerfInfo.responseCode = responseCode; in DumpHttpPerformance()
|
/foundation/communication/netstack/frameworks/js/napi/http/options/include/ |
H A D | http_response.h | 38 void SetResponseCode(uint32_t responseCode);
|
/foundation/communication/netstack/frameworks/js/napi/http/http_module/src/ |
H A D | http_module.cpp | 190 napi_value responseCode = NapiUtils::CreateObject(env); 191 NapiUtils::DefineProperties(env, responseCode, properties); 193 NapiUtils::SetNamedProperty(env, exports, INTERFACE_RESPONSE_CODE, responseCode);
|
/foundation/communication/netstack/frameworks/js/napi/http/http_exec/src/ |
H A D | http_exec.cpp | 371 int64_t responseCode; in AddCurlHandle() local 372 CURLcode code = curl_easy_getinfo(handle, CURLINFO_RESPONSE_CODE, &responseCode); in AddCurlHandle() 377 context->response.SetResponseCode(responseCode); in AddCurlHandle() 378 NETSTACK_LOGD("responseCode is %{public}s", std::to_string(responseCode).c_str()); in AddCurlHandle() 446 int64_t responseCode = 0; in AddCurlHandle() local 447 (void)curl_easy_getinfo(handle, CURLINFO_RESPONSE_CODE, &responseCode); in AddCurlHandle() 468 context->IsExecOK() ? 0 : context->GetErrorCode(), std::to_string(responseCode).c_str(), in AddCurlHandle() 479 httpPerfInfo.responseCode = responseCode; in AddCurlHandle() [all...] |
/foundation/arkui/ace_engine/advanced_ui_component/atomicserviceweb/interfaces/ |
H A D | atomicserviceweb.js | 756 s6.push(new UploadFileTaskState(v6 ? v6 : u6.path, u6.responseCode, u6.message)); 1301 this.responseCode = q;
|
/foundation/arkui/advanced_ui_component/atomicserviceweb/interfaces/ |
H A D | atomicserviceweb.js | 756 s6.push(new UploadFileTaskState(v6 ? v6 : u6.path, u6.responseCode, u6.message)); 1301 this.responseCode = q;
|