Searched refs:clock_id (Results 1 - 9 of 9) sorted by relevance

/system/media/audio_utils/include/audio_utils/
H A Dclock_nanosleep.h32 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, argument
35 return syscall(SYS_clock_nanosleep, clock_id, flags, request, remain);
48 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, argument
51 (void) clock_id;
/system/connectivity/wifilogd/
H A Draw_os.cpp34 int RawOs::ClockGettime(clockid_t clock_id, struct timespec* ts) const { argument
35 return clock_gettime(clock_id, ts);
H A Draw_os.h38 virtual int ClockGettime(clockid_t clock_id,
H A Dos.cpp52 Os::Timestamp Os::GetTimestamp(clockid_t clock_id) const {
54 int failed = raw_os_->ClockGettime(clock_id, &now_timespec);
H A Dos.h69 // Returns the current time, as reported by the clock with |clock_id|.
70 virtual Timestamp GetTimestamp(clockid_t clock_id) const;
/system/extras/tests/timetest/
H A Dtimetest.c64 int clock_id = CLOCK_MONOTONIC; local
74 clock_id = atoi(argv[1]);
75 printf("using clock %d\n", clock_id);
77 clock_gettime(clock_id, &t1);
81 clock_gettime(clock_id, &t);
/system/connectivity/wifilogd/tests/
H A Dmock_raw_os.h34 int(clockid_t clock_id, struct timespec* tspec));
H A Dmock_os.h36 MOCK_CONST_METHOD1(GetTimestamp, Timestamp(clockid_t clock_id));
/system/bt/osi/src/
H A Dalarm.cc134 static bool timer_create_internal(const clockid_t clock_id, timer_t* timer);
621 static bool timer_create_internal(const clockid_t clock_id, timer_t* timer) { argument
637 if (timer_create(clock_id, &sigevent, timer) == -1) {
639 clock_id, strerror(errno));
640 if (clock_id == CLOCK_BOOTTIME_ALARM) {

Completed in 303 milliseconds