Home
last modified time | relevance | path

Searched refs:lastSystemTime_ (Results 1 – 7 of 7) sorted by relevance

/ohos5.0/base/telephony/core_service/services/network_search/src/
H A Dnitz_update.cpp57 int64_t NitzUpdate::lastSystemTime_ = 0; member in OHOS::Telephony::NitzUpdate
79 if ((now / MILLI_TO_BASE - lastSystemTime_) < MAX_UPDATE_TIME) { in ProcessNitzUpdate()
222 if (lastSystemTime_ == 0 && lastNetworkTime_ == 0) { in IsValidTime()
223 lastSystemTime_ = currentSystemTime; in IsValidTime()
230 int64_t systemElapsedTime = currentSystemTime - lastSystemTime_; in IsValidTime()
238 lastSystemTime_ = currentSystemTime; in IsValidTime()
413 if (lastNetworkTime_ == 0 || lastSystemTime_ == 0 || time < lastSystemTime_) { in AutoTimeChange()
416 SaveTime(lastNetworkTime_ + (time - lastSystemTime_)); in AutoTimeChange()
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/common/src/
H A Dtime_tick_monitor.cpp28 lastSystemTime_(0), in TimeTickMonitor()
51 lastSystemTime_ = GetSysCurrentTime(); in StartTimeTickMonitor()
128 int64_t systemOffset = static_cast<int64_t>(systemTime - lastSystemTime_); in TimeTick()
130 lastSystemTime_ = systemTime; in TimeTick()
H A Dtime_tick_monitor.h74 Timestamp lastSystemTime_ = 0; variable
/ohos5.0/base/location/services/location_gnss/gnss/source/ntp/
H A Dgps_time_manager.cpp51 if (!CheckValid(tmpTime, lastSystemTime_)) { in GetGpsTime()
61 lastSystemTime_ = MiscServices::TimeServiceClient::GetInstance()->GetWallTimeMs(); in SetGpsTime()
/ohos5.0/base/location/services/location_gnss/gnss/include/ntp/
H A Dgps_time_manager.h36 int64_t lastSystemTime_ = 0; variable
/ohos5.0/base/telephony/core_service/services/network_search/include/
H A Dnitz_update.h59 static int64_t lastSystemTime_; variable
/ohos5.0/foundation/distributeddatamgr/kv_store/frameworks/libs/distributeddb/interfaces/src/relational/
H A Drelational_store_sqlite_ext.cpp178 (void)GetCurrentSysTimeInMicrosecond(lastSystemTime_); in Initialize()
180 … LOGD("Initialize time helper skew: %" PRIu64 " %" PRIu64, lastSystemTime_, lastMonotonicTime_); in Initialize()
215 lastSystemTime_ = currentSystemTime; in GetTime()
227 auto systemTimeOffset = static_cast<int64_t>(currentSystemTime - lastSystemTime_); in TimeSkew()
247 lastSystemTime_ = currentSystemTime; in TimeSkew()
302 Timestamp lastSystemTime_ = 0; member in __anon7150c7630110::TimeHelper