Home
last modified time | relevance | path

Searched refs:NANO_TO_MILLI (Results 1 - 7 of 7) sorted by relevance

/base/time/time_service/framework/cj/include/
H A Dsystem_date_time.h30 constexpr int64_t NANO_TO_MILLI = SECONDS_TO_NANO / SECONDS_TO_MILLI; member
/base/time/time_service/interfaces/inner_api/src/
H A Dtime_service_client.cpp33 constexpr int32_t NANO_TO_MILLI = NANO_TO_SEC / MILLI_TO_SEC; member
473 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetWallTimeMs()
485 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetWallTimeMs()
523 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetBootTimeMs()
535 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetBootTimeMs()
573 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetMonotonicTimeMs()
585 time = tv.tv_sec * MILLI_TO_SEC + tv.tv_nsec / NANO_TO_MILLI; in GetMonotonicTimeMs()
/base/time/time_service/framework/cj/src/
H A Dsystem_date_time.cpp100 time = tv.tv_sec * SECONDS_TO_MILLI + tv.tv_nsec / NANO_TO_MILLI; in GetDeviceTime()
/base/telephony/core_service/services/network_search/src/
H A Dnitz_update.cpp43 const int32_t NANO_TO_MILLI = 1000000; member
210 int64_t offset = (currentTime - nitzRecvTime_) / NANO_TO_MILLI; in ProcessTime()
/base/time/time_service/services/
H A Dtime_system_ability.cpp68 constexpr int32_t NANO_TO_MILLI = NANO_TO_BASE / MILLI_TO_BASE; member
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/time/time_service/framework/js/napi/system_date_time/src/
H A Dnapi_system_date_time.cpp32 constexpr int64_t NANO_TO_MILLI = SECONDS_TO_NANO / SECONDS_TO_MILLI; member
517 time = tv.tv_sec * SECONDS_TO_MILLI + tv.tv_nsec / NANO_TO_MILLI; in GetDeviceTime()
/base/time/time_service/services/timer/src/
H A Dtimer_manager.cpp76 constexpr int32_t NANO_TO_MILLI = 1000000; member
1315 runningLock_->Lock(static_cast<int32_t>(holdLockTime / NANO_TO_MILLI));
1336 runningLock_->Lock(static_cast<int32_t>(holdLockTime / NANO_TO_MILLI));

Completed in 8 milliseconds