Home
last modified time | relevance | path

Searched refs:clockId (Results 1 - 8 of 8) sorted by relevance

/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/cj/src/
H A Dsystem_date_time.cpp89 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 Dnapi_system_date_time.h50 static int32_t GetDeviceTime(clockid_t clockId, bool isNano, int64_t &time);
/base/time/time_service/interfaces/inner_api/include/
H A Dtime_service_client.h477 bool GetTimeByClockId(clockid_t clockId, struct timespec &tv);
/base/time/time_service/services/
H A Dtime_system_ability.h105 bool GetTimeByClockId(clockid_t clockId, struct timespec &tv);
H A Dtime_system_ability.cpp799 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 Dtime_service_client.cpp154 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 Dnapi_system_date_time.cpp506 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