Home
last modified time | relevance | path

Searched refs:INVALID_TIME (Results 1 - 19 of 19) sorted by relevance

/foundation/communication/netstack/frameworks/cj/http/src/
H A Dnet_http_cache_entity.cpp78 return INVALID_TIME; in GetIfModifiedSince()
86 return INVALID_TIME; in GetRequestTime()
94 return INVALID_TIME; in GetMaxAgeSeconds()
103 return INVALID_TIME; in GetMaxStaleSeconds()
112 return INVALID_TIME; in GetMinFreshSeconds()
207 return INVALID_TIME; in GetDate()
216 return INVALID_TIME; in GetExpires()
225 return INVALID_TIME; in GetLastModified()
254 return INVALID_TIME; in GetAgeSeconds()
262 return INVALID_TIME; in GetMaxAgeSeconds()
[all...]
H A Dnet_http_cache_strategy.cpp135 if (sMaxAge != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
141 if (maxAge != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
146 if (cacheResponse_.GetExpires() != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
150 if (cacheResponse_.GetDate() != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
157 if (cacheResponse_.GetLastModified() != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
160 if (cacheResponse_.GetDate() != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
175 if (reqMaxAge != INVALID_TIME) { in ComputeFreshnessLifetimeMillis()
213 if (cacheResponse.GetExpires() != INVALID_TIME || cacheResponse.GetMaxAgeSeconds() != INVALID_TIME || in IsCacheable()
268 if (cacheRequest_.GetIfModifiedSince() != INVALID_TIME || !cacheRequest in RunStrategyInternal()
[all...]
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_strategy/src/
H A Dhttp_cache_strategy.cpp137 if (sMaxAge != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
143 if (maxAge != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
148 if (cacheResponse_.GetExpires() != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
152 if (cacheResponse_.GetDate() != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
159 if (cacheResponse_.GetLastModified() != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
162 if (cacheResponse_.GetDate() != INVALID_TIME) { in ComputeFreshnessLifetimeSecondsInternal()
177 if (reqMaxAge != INVALID_TIME) { in ComputeFreshnessLifetimeMillis()
215 if (cacheResponse.GetExpires() != INVALID_TIME || cacheResponse.GetMaxAgeSeconds() != INVALID_TIME || in IsCacheable()
270 if (cacheRequest_.GetIfModifiedSince() != INVALID_TIME || !cacheRequest in RunStrategyInternal()
[all...]
H A Dhttp_cache_response.cpp83 return INVALID_TIME; in GetDate()
92 return INVALID_TIME; in GetExpires()
101 return INVALID_TIME; in GetLastModified()
130 return INVALID_TIME; in GetAgeSeconds()
138 return INVALID_TIME; in GetMaxAgeSeconds()
146 return INVALID_TIME; in GetSMaxAgeSeconds()
154 return INVALID_TIME; in GetResponseTime()
217 return INVALID_TIME; in GetRequestTime()
H A Dhttp_cache_request.cpp78 return INVALID_TIME; in GetIfModifiedSince()
86 return INVALID_TIME; in GetRequestTime()
94 return INVALID_TIME; in GetMaxAgeSeconds()
103 return INVALID_TIME; in GetMaxStaleSeconds()
112 return INVALID_TIME; in GetMinFreshSeconds()
/foundation/bundlemanager/bundle_framework/common/test/unittest/common_perf_profile_test/
H A Dcommon_perf_profile_test.cpp24 const int64_t INVALID_TIME = -1; member
145 PerfProfile::GetInstance().SetBmsLoadStartTime(INVALID_TIME); in HWTEST_F()
152 PerfProfile::GetInstance().SetBmsLoadEndTime(INVALID_TIME); in HWTEST_F()
202 PerfProfile::GetInstance().SetBundleScanStartTime(INVALID_TIME); in HWTEST_F()
209 PerfProfile::GetInstance().SetBundleScanEndTime(INVALID_TIME); in HWTEST_F()
261 PerfProfile::GetInstance().SetBundleDownloadStartTime(INVALID_TIME); in HWTEST_F()
268 PerfProfile::GetInstance().SetBundleDownloadEndTime(INVALID_TIME); in HWTEST_F()
338 PerfProfile::GetInstance().SetBundleInstallStartTime(INVALID_TIME); in HWTEST_F()
344 PerfProfile::GetInstance().SetBundleInstallEndTime(INVALID_TIME); in HWTEST_F()
377 PerfProfile::GetInstance().SetBundleInstallEndTime(INVALID_TIME); in HWTEST_F()
[all...]
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/include/
H A Dconnection_pool.h40 static constexpr std::chrono::milliseconds INVALID_TIME = std::chrono::milliseconds(0); member in OHOS::NativeRdb::ConnectionPool
47 SharedConn Acquire(bool isReadOnly, std::chrono::milliseconds ms = INVALID_TIME);
49 SharedConn AcquireRef(bool isReadOnly, std::chrono::milliseconds ms = INVALID_TIME);
/foundation/communication/netstack/frameworks/js/napi/http/cache/cache_constant/include/
H A Dcasche_constant.h45 static constexpr const int INVALID_TIME = -1; variable
/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/
H A Dreclaim_priority_constants.h62 constexpr int INVALID_TIME = -1; member
H A Dreclaim_priority_manager.h192 bool UpdateReclaimPriorityInner(UpdateRequest request, int64_t eventTime = INVALID_TIME);
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/
H A Dsubscription.h45 static constexpr uint64_t INVALID_TIME = 0; member
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/
H A Dexecutor_pool.h37 static constexpr Time INVALID_TIME = std::chrono::time_point<std::chrono::steady_clock, std::chrono::seconds>(); member in OHOS::ExecutorPool
144 execs_->Push(std::move(innerTask), taskId, INVALID_TIME); in Execute() local
208 return { false, INVALID_TIME }; in NextTimer()
H A Dexecutor.h31 static constexpr Time INVALID_TIME = std::chrono::time_point<std::chrono::steady_clock, std::chrono::seconds>(); member in OHOS::Executor
/foundation/distributeddatamgr/preferences/frameworks/native/include/
H A Dexecutor_pool.h40 static constexpr Time INVALID_TIME = std::chrono::time_point<std::chrono::steady_clock, std::chrono::seconds>(); member in OHOS::NativePreferences::ExecutorPool
148 execs_->Push(std::move(innerTask), taskId, INVALID_TIME); in Execute() local
212 return { false, INVALID_TIME }; in NextTimer()
H A Dexecutor.h34 static constexpr Time INVALID_TIME = std::chrono::time_point<std::chrono::steady_clock, std::chrono::seconds>(); member in OHOS::NativePreferences::Executor
/foundation/resourceschedule/memmgr/services/memmgrservice/src/reclaim_priority_manager/
H A Dprocess_priority_info.cpp45 this->startingAbilityTime_ = INVALID_TIME; in ProcessPriorityInfo()
H A Dreclaim_priority_manager.cpp1268 if (eventTime == INVALID_TIME) { in CheckCurrentEventHappenedBeforeAbilityStart()
/foundation/communication/netstack/frameworks/cj/http/include/
H A Dconstant.h86 constexpr const int INVALID_TIME = -1; member
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/
H A Dconnection_pool.cpp558 auto interval = (milliS == INVALID_TIME) ? timeout_ : milliS; in Acquire()
632 auto interval = (milliS == INVALID_TIME) ? timeout_ : milliS; in AcquireAll()

Completed in 13 milliseconds