Home
last modified time | relevance | path

Searched refs:responseCode (Results 1 - 25 of 25) sorted by relevance

/foundation/bundlemanager/app_domain_verify/frameworks/verifier/src/
H A Ddomain_verifier.cpp22 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 Dmtp_event.cpp97 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 Dnetstack_hisysevent_test.cpp42 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 Ddomain_verifier.h28 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 Dfetch_response.cpp35 void FetchResponse::SetResponseCode(uint32_t responseCode) in SetResponseCode() argument
37 responseCode_ = responseCode; in SetResponseCode()
/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_response.cpp35 void HttpResponse::SetResponseCode(uint32_t responseCode) in SetResponseCode() argument
37 responseCode_ = responseCode; in SetResponseCode()
H A Dnet_http_client_exec.cpp177 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 Dnet_http_request_context.cpp515 .responseCode = 0, in SendResponse()
521 resp.responseCode = response.GetResponseCode(); in SendResponse()
/foundation/communication/netstack/frameworks/js/napi/http/options/src/
H A Dhttp_response.cpp34 void HttpResponse::SetResponseCode(uint32_t responseCode) in SetResponseCode() argument
36 responseCode_ = responseCode; in SetResponseCode()
/foundation/communication/netstack/utils/common_utils/src/
H A Dnetstack_hisysevent.cpp47 return responseCode >= VALIAD_RESP_CODE_START && responseCode <= VALIAD_RESP_CODE_END; in IsSuccess()
/foundation/arkui/ace_engine/adapter/preview/osal/
H A Dfetch_manager.cpp106 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 Dhttp_request.cpp122 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 Dfetch_response.h33 void SetResponseCode(uint32_t responseCode);
/foundation/communication/netstack/utils/common_utils/include/
H A Dnetstack_hisysevent.h47 int64_t responseCode; member
/foundation/communication/netstack/frameworks/cj/http/include/
H A Dffi_structs.h99 uint32_t responseCode; member
H A Dnet_http_response.h36 void SetResponseCode(uint32_t responseCode);
/foundation/arkui/ace_engine/frameworks/base/network/
H A Ddownload_manager_impl.cpp157 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 Dnet_http_probe.cpp551 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 Dfetch_exec.cpp96 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 Dhttp_client_task.cpp641 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 Dhttp_response.h38 void SetResponseCode(uint32_t responseCode);
/foundation/communication/netstack/frameworks/js/napi/http/http_module/src/
H A Dhttp_module.cpp190 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 Dhttp_exec.cpp371 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 Datomicserviceweb.js756 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 Datomicserviceweb.js756 s6.push(new UploadFileTaskState(v6 ? v6 : u6.path, u6.responseCode, u6.message));
1301 this.responseCode = q;

Completed in 15 milliseconds