/foundation/communication/netstack/frameworks/cj/http/src/ |
H A D | net_http_cache_entity.cpp | 78 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 D | net_http_cache_strategy.cpp | 135 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 D | http_cache_strategy.cpp | 137 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 D | http_cache_response.cpp | 83 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 D | http_cache_request.cpp | 78 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 D | common_perf_profile_test.cpp | 24 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 D | connection_pool.h | 40 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 D | casche_constant.h | 45 static constexpr const int INVALID_TIME = -1; variable
|
/foundation/resourceschedule/memmgr/services/memmgrservice/include/reclaim_priority_manager/ |
H A D | reclaim_priority_constants.h | 62 constexpr int INVALID_TIME = -1; member
|
H A D | reclaim_priority_manager.h | 192 bool UpdateReclaimPriorityInner(UpdateRequest request, int64_t eventTime = INVALID_TIME);
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/framework/include/cloud/ |
H A D | subscription.h | 45 static constexpr uint64_t INVALID_TIME = 0; member
|
/foundation/distributeddatamgr/kv_store/interfaces/innerkits/distributeddata/include/ |
H A D | executor_pool.h | 37 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 D | executor.h | 31 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 D | executor_pool.h | 40 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 D | executor.h | 34 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 D | process_priority_info.cpp | 45 this->startingAbilityTime_ = INVALID_TIME; in ProcessPriorityInfo()
|
H A D | reclaim_priority_manager.cpp | 1268 if (eventTime == INVALID_TIME) { in CheckCurrentEventHappenedBeforeAbilityStart()
|
/foundation/communication/netstack/frameworks/cj/http/include/ |
H A D | constant.h | 86 constexpr const int INVALID_TIME = -1; member
|
/foundation/distributeddatamgr/relational_store/frameworks/native/rdb/src/ |
H A D | connection_pool.cpp | 558 auto interval = (milliS == INVALID_TIME) ? timeout_ : milliS; in Acquire() 632 auto interval = (milliS == INVALID_TIME) ? timeout_ : milliS; in AcquireAll()
|