Home
last modified time | relevance | path

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

/system/media/audio_utils/include/audio_utils/
Dclock_nanosleep.h32 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, in audio_utils_clock_nanosleep() argument
35 return syscall(SYS_clock_nanosleep, clock_id, flags, request, remain); in audio_utils_clock_nanosleep()
48 int audio_utils_clock_nanosleep(clockid_t clock_id, int flags, const struct timespec *request, in audio_utils_clock_nanosleep() argument
51 (void) clock_id; in audio_utils_clock_nanosleep()
/system/extras/tests/timetest/
Dtimetest.c64 int clock_id = CLOCK_MONOTONIC; in main() local
74 clock_id = atoi(argv[1]); in main()
75 printf("using clock %d\n", clock_id); in main()
77 clock_gettime(clock_id, &t1); in main()
81 clock_gettime(clock_id, &t); in main()
/system/connectivity/wifilogd/
Draw_os.cpp34 int RawOs::ClockGettime(clockid_t clock_id, struct timespec* ts) const { in ClockGettime() argument
35 return clock_gettime(clock_id, ts); in ClockGettime()
Dos.cpp52 Os::Timestamp Os::GetTimestamp(clockid_t clock_id) const { in GetTimestamp()
54 int failed = raw_os_->ClockGettime(clock_id, &now_timespec); in GetTimestamp()
Draw_os.h38 virtual int ClockGettime(clockid_t clock_id,
Dos.h70 virtual Timestamp GetTimestamp(clockid_t clock_id) const;
/system/connectivity/wifilogd/tests/
Dmock_raw_os.h34 int(clockid_t clock_id, struct timespec* tspec));
Dmock_os.h36 MOCK_CONST_METHOD1(GetTimestamp, Timestamp(clockid_t clock_id));
/system/bt/osi/src/
Dalarm.cc155 static bool timer_create_internal(const clockid_t clock_id, timer_t* timer);
665 static bool timer_create_internal(const clockid_t clock_id, timer_t* timer) { in timer_create_internal() argument
681 if (timer_create(clock_id, &sigevent, timer) == -1) { in timer_create_internal()
683 clock_id, strerror(errno)); in timer_create_internal()
684 if (clock_id == CLOCK_BOOTTIME_ALARM) { in timer_create_internal()