Home
last modified time | relevance | path

Searched refs:MILLI_TO_BASE (Results 1 - 4 of 4) sorted by relevance

/base/telephony/core_service/services/network_search/src/
H A Dnitz_update.cpp42 const int32_t MILLI_TO_BASE = 1000; member
81 if ((now / MILLI_TO_BASE - lastSystemTime_) < MAX_UPDATE_TIME) { in ProcessNitzUpdate()
242 currentSystemTime = currentSystemTime / MILLI_TO_BASE; in IsValidTime()
353 bool result = OHOS::MiscServices::TimeServiceClient::GetInstance()->SetTime(networkTime * MILLI_TO_BASE); in SaveTime()
433 time = time / MILLI_TO_BASE; in AutoTimeChange()
/base/time/time_service/services/
H A Dtime_system_ability.cpp58 static const int MILLI_TO_BASE = 1000LL; member
67 constexpr int32_t MILLI_TO_MICR = MICR_TO_BASE / MILLI_TO_BASE;
68 constexpr int32_t NANO_TO_MILLI = NANO_TO_BASE / MILLI_TO_BASE;
436 if (time / MILLI_TO_BASE > LONG_MAX) { in IsValidTime()
471 tv.tv_sec = (time_t)(time / MILLI_TO_BASE); in SetRealTime()
472 tv.tv_usec = (suseconds_t)((time % MILLI_TO_BASE) * MILLI_TO_MICR); in SetRealTime()
743 time = tv.tv_sec * MILLI_TO_BASE + tv.tv_nsec / NANO_TO_MILLI; in GetWallTimeMs()
753 time = tv.tv_sec * MILLI_TO_BASE + tv.tv_nsec / NANO_TO_MILLI; in GetBootTimeMs()
778 time = tv.tv_sec * MILLI_TO_BASE + tv.tv_nsec / NANO_TO_MILLI; in GetThreadTimeMs()
/base/telephony/call_manager/services/call/src/
H A Dcall_base.cpp34 static const int MILLI_TO_BASE = 1000; member
266 startTime_ = tv.tv_sec * MILLI_TO_BASE + tv.tv_usec / MILLI_TO_BASE; in StateChangesToActive()
/base/telephony/core_service/services/network_search/test/
H A Dtest.cpp555 static const int32_t MILLI_TO_BASE = 1000; in TestInitTimeAndTimeZone() local
567 bool result = OHOS::MiscServices::TimeServiceClient::GetInstance()->SetTime(time * MILLI_TO_BASE); in TestInitTimeAndTimeZone()

Completed in 6 milliseconds