Home
last modified time | relevance | path

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

/base/time/time_service/framework/cj/src/
H A Dsystem_date_time.cpp89 int32_t SystemDateTimeImpl::GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time) in GetDeviceTime() function in OHOS::CJSystemapi::SystemDateTime::SystemDateTimeImpl
109 innerCode = GetDeviceTime(CLOCK_REALTIME, isNano, time); in getTime()
122 innerCode = GetDeviceTime(CLOCK_BOOTTIME, isNano, time); in getUpTime()
124 innerCode = GetDeviceTime(CLOCK_MONOTONIC, isNano, time); in getUpTime()
/base/time/time_service/framework/cj/include/
H A Dsystem_date_time.h42 static int32_t GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time);
/base/time/time_service/framework/js/napi/system_date_time/include/
H A Dnapi_system_date_time.h50 static int32_t GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time);
/base/time/time_service/framework/js/napi/system_date_time/src/
H A Dnapi_system_date_time.cpp249 int32_t innerCode = GetDeviceTime(CLOCK_REALTIME, getTimeContext->isNano, getTimeContext->time); in GetTime()
336 innerCode = GetDeviceTime(CLOCK_BOOTTIME, getUpTimeContext->isNanoseconds, getUpTimeContext->time); in GetUptime()
338 innerCode = GetDeviceTime(CLOCK_MONOTONIC, getUpTimeContext->isNanoseconds, getUpTimeContext->time); in GetUptime()
506 int32_t NapiSystemDateTime::GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time) in GetDeviceTime() function in OHOS::MiscServices::Time::NapiSystemDateTime

Completed in 2 milliseconds