Searched refs:GetDeviceTime (Results 1 - 4 of 4) sorted by relevance
/base/time/time_service/framework/cj/src/ |
H A D | system_date_time.cpp | 89 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 D | system_date_time.h | 42 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 D | napi_system_date_time.h | 50 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 D | napi_system_date_time.cpp | 249 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