Searched refs:clock_id (Results 1 – 9 of 9) sorted by relevance
/system/media/audio_utils/include/audio_utils/ |
D | clock_nanosleep.h | 32 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/ |
D | timetest.c | 64 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/ |
D | raw_os.cpp | 34 int RawOs::ClockGettime(clockid_t clock_id, struct timespec* ts) const { in ClockGettime() argument 35 return clock_gettime(clock_id, ts); in ClockGettime()
|
D | os.cpp | 52 Os::Timestamp Os::GetTimestamp(clockid_t clock_id) const { in GetTimestamp() 54 int failed = raw_os_->ClockGettime(clock_id, &now_timespec); in GetTimestamp()
|
D | raw_os.h | 38 virtual int ClockGettime(clockid_t clock_id,
|
D | os.h | 70 virtual Timestamp GetTimestamp(clockid_t clock_id) const;
|
/system/connectivity/wifilogd/tests/ |
D | mock_raw_os.h | 34 int(clockid_t clock_id, struct timespec* tspec));
|
D | mock_os.h | 36 MOCK_CONST_METHOD1(GetTimestamp, Timestamp(clockid_t clock_id));
|
/system/bt/osi/src/ |
D | alarm.cc | 155 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()
|