Home
last modified time | relevance | path

Searched refs:clockId (Results 1 – 4 of 4) sorted by relevance

/base/time/time_service/framework/js/napi/system_date_time/include/
Dnapi_system_date_time.h48 static int32_t GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time);
/base/time/time_service/services/
Dtime_system_ability.h92 bool GetTimeByClockid(clockid_t clockId, struct timespec &tv);
Dtime_system_ability.cpp692 bool TimeSystemAbility::GetTimeByClockid(clockid_t clockId, struct timespec &tv) in GetTimeByClockid() argument
694 if (clock_gettime(clockId, &tv) < 0) { in GetTimeByClockid()
/base/time/time_service/framework/js/napi/system_date_time/src/
Dnapi_system_date_time.cpp453 int32_t NapiSystemDateTime::GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time) in GetDeviceTime() argument
456 if (clock_gettime(clockId, &tv) < 0) { in GetDeviceTime()