Searched refs:clockId (Results 1 - 8 of 8) sorted by relevance
/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/cj/src/ |
H A D | system_date_time.cpp | 89 int32_t SystemDateTimeImpl::GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time) in GetDeviceTime() argument 92 if (clock_gettime(clockId, &tv) < 0) { in GetDeviceTime()
|
/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/interfaces/inner_api/include/ |
H A D | time_service_client.h | 477 bool GetTimeByClockId(clockid_t clockId, struct timespec &tv);
|
/base/time/time_service/services/ |
H A D | time_system_ability.h | 105 bool GetTimeByClockId(clockid_t clockId, struct timespec &tv);
|
H A D | time_system_ability.cpp | 799 bool TimeSystemAbility::GetTimeByClockId(clockid_t clockId, struct timespec &tv) in GetTimeByClockId() argument 801 if (clock_gettime(clockId, &tv) < 0) { in GetTimeByClockId()
|
/base/time/time_service/interfaces/inner_api/src/ |
H A D | time_service_client.cpp | 154 bool TimeServiceClient::GetTimeByClockId(clockid_t clockId, struct timespec &tv) in GetTimeByClockId() argument 156 if (clock_gettime(clockId, &tv) < 0) { in GetTimeByClockId()
|
/base/time/time_service/framework/js/napi/system_date_time/src/ |
H A D | napi_system_date_time.cpp | 506 int32_t NapiSystemDateTime::GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time) in GetDeviceTime() argument 509 if (clock_gettime(clockId, &tv) < 0) { in GetDeviceTime()
|
Completed in 6 milliseconds