Home
last modified time | relevance | path

Searched refs:responseTime (Results 1 – 15 of 15) sorted by relevance

/ohos5.0/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_cache_strategy.cpp116 int64_t responseTime = std::max<int64_t>(0, cacheResponse_.GetResponseTime()); in CacheResponseAgeMillis() local
120 static_cast<long long>(requestTime), static_cast<long long>(responseTime)); in CacheResponseAgeMillis()
122 int64_t apparentAge = std::max<int64_t>(0, responseTime - dateTime); in CacheResponseAgeMillis()
123 int64_t responseDelay = std::max<int64_t>(0, responseTime - requestTime); in CacheResponseAgeMillis()
127 int64_t residentTime = std::max<int64_t>(0, nowTime - responseTime); in CacheResponseAgeMillis()
149 int64_t responseTime = cacheResponse_.GetResponseTime(); in ComputeFreshnessLifetimeSecondsInternal() local
151 responseTime = cacheResponse_.GetDate(); in ComputeFreshnessLifetimeSecondsInternal()
153 int64_t delta = cacheResponse_.GetExpires() - responseTime; in ComputeFreshnessLifetimeSecondsInternal()
H A Dnet_http_cache_entity.cpp323 void HttpCacheResponse::SetResponseTime(const std::string &responseTime) in SetResponseTime() argument
325 responseTime_ = responseTime; in SetResponseTime()
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/src/
H A Dhttp_cache_strategy.cpp118 int64_t responseTime = std::max<int64_t>(0, cacheResponse_.GetResponseTime()); in CacheResponseAgeMillis() local
122 static_cast<long long>(requestTime), static_cast<long long>(responseTime)); in CacheResponseAgeMillis()
124 int64_t apparentAge = std::max<int64_t>(0, responseTime - dateTime); in CacheResponseAgeMillis()
125 int64_t responseDelay = std::max<int64_t>(0, responseTime - requestTime); in CacheResponseAgeMillis()
129 int64_t residentTime = std::max<int64_t>(0, nowTime - responseTime); in CacheResponseAgeMillis()
151 int64_t responseTime = cacheResponse_.GetResponseTime(); in ComputeFreshnessLifetimeSecondsInternal() local
153 responseTime = cacheResponse_.GetDate(); in ComputeFreshnessLifetimeSecondsInternal()
155 int64_t delta = cacheResponse_.GetExpires() - responseTime; in ComputeFreshnessLifetimeSecondsInternal()
H A Dhttp_cache_response.cpp199 void HttpCacheResponse::SetResponseTime(const std::string &responseTime) in SetResponseTime() argument
201 responseTime_ = responseTime; in SetResponseTime()
/ohos5.0/foundation/communication/netstack/test/unittest/http_client/
H A DHttpClientResponseTest.cpp70 string responseTime = req.GetResponseTime(); variable
71 EXPECT_EQ(responseTime, "");
88 string responseTime = req.GetResponseTime(); variable
89 EXPECT_EQ(responseTime, "10");
/ohos5.0/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/include/
H A Dhttp_cache_response.h75 void SetResponseTime(const std::string &responseTime);
/ohos5.0/foundation/communication/netstack/frameworks/cj/http/include/
H A Dnet_http_cache_entity.h124 void SetResponseTime(const std::string &responseTime);
/ohos5.0/docs/zh-cn/application-dev/application-test/
H A Dsmartperf-guidelines.md128 responseTime get the page response delay after an application is operated
145 SP_daemon -editor responseTime ohos.samples.ecg app name
751 | -responseTime|否| 响应时延 |
760 # SP_daemon -editor responseTime com.ohos.settings ohtest
/ohos5.0/docs/en/application-dev/application-test/
H A Dsmartperf-guidelines.md128 responseTime get the page response delay after an application is operated
145 SP_daemon -editor responseTime ohos.samples.ecg app name
751 | -responseTime|No| Response delay. |
760 # SP_daemon -editor responseTime com.ohos.settings
/ohos5.0/foundation/barrierfree/accessibility/frameworks/acfwk/src/
H A Daccessibility_config_impl.cpp1353 uint32_t responseTime = 0; in GetClickResponseTime() local
1354 Accessibility::RetError ret = GetServiceProxy()->GetClickResponseTime(responseTime); in GetClickResponseTime()
1355 time = static_cast<CLICK_RESPONSE_TIME>(responseTime); in GetClickResponseTime()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-network-kit/
H A Djs-apis-http.md1338 …存数据,使用callback方式作为异步方法。缓存数据包括:响应头(header)、响应体(result)、cookies、请求时间(requestTime)和响应时间(responseTime)。
/ohos5.0/foundation/distributeddatamgr/pasteboard/services/dialog/PasteboardDialog/hvigor/
H A Dhvigor-wrapper.js15responseTime=new Date-i,o.statusCode&&"auto"===t.level&&(r=Si.INFO,o.statusCode>=300&&(r=Si.WARN),…
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/application/hvigor/
H A Dhvigor-wrapper.js15responseTime=new Date-i,o.statusCode&&"auto"===t.level&&(r=Si.INFO,o.statusCode>=300&&(r=Si.WARN),…
/ohos5.0/base/useriam/face_auth/ui/Settings_FaceAuth/hvigor/
H A Dhvigor-wrapper.js16responseTime=new Date-i,o.statusCode&&"auto"===t.level&&(r=Si.INFO,o.statusCode>=300&&(r=Si.WARN),…
/ohos5.0/docs/en/application-dev/reference/apis-network-kit/
H A Djs-apis-http.md1338 …er), response body (result), cookies, request time (requestTime), and response time (responseTime).