Searched refs:clockId (Results 1 – 4 of 4) sorted by relevance
48 static int32_t GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time);
92 bool GetTimeByClockid(clockid_t clockId, struct timespec &tv);
692 bool TimeSystemAbility::GetTimeByClockid(clockid_t clockId, struct timespec &tv) in GetTimeByClockid() argument694 if (clock_gettime(clockId, &tv) < 0) { in GetTimeByClockid()
453 int32_t NapiSystemDateTime::GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time) in GetDeviceTime() argument456 if (clock_gettime(clockId, &tv) < 0) { in GetDeviceTime()