Home
last modified time | relevance | path

Searched refs:clockId (Results 1 – 12 of 12) sorted by relevance

/frameworks/av/media/libaaudio/src/utility/
DAudioClock.h34 static int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC) {
36 int result = clock_gettime(clockId, &time);
53 clockid_t clockId = CLOCK_MONOTONIC) {
59 int err = clock_nanosleep(clockId, TIMER_ABSTIME, &time, nullptr);
82 static int sleepForNanos(int64_t nanoseconds, clockid_t clockId = CLOCK_MONOTONIC) {
89 int err = clock_nanosleep(clockId, flags, &time, nullptr);
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp173 aaudio_result_t AudioStreamLegacy::getBestTimestamp(clockid_t clockId, in getBestTimestamp() argument
178 switch (clockId) { in getBestTimestamp()
186 ALOGE("getTimestamp() - Unrecognized clock type %d", (int) clockId); in getBestTimestamp()
DAudioStreamRecord.h46 virtual aaudio_result_t getTimestamp(clockid_t clockId,
DAudioStreamTrack.h61 aaudio_result_t getTimestamp(clockid_t clockId,
DAudioStreamLegacy.h107 aaudio_result_t getBestTimestamp(clockid_t clockId,
DAudioStreamRecord.cpp484 aaudio_result_t AudioStreamRecord::getTimestamp(clockid_t clockId, in getTimestamp() argument
497 return getBestTimestamp(clockId, framePosition, timeNanoseconds, &extendedTimestamp); in getTimestamp()
DAudioStreamTrack.cpp479 aaudio_result_t AudioStreamTrack::getTimestamp(clockid_t clockId, in getTimestamp() argument
491 aaudio_result_t result = getBestTimestamp(clockId, &position, in getTimestamp()
/frameworks/av/media/libaaudio/examples/utils/
DAAudioExampleUtils.h92 int64_t getNanoseconds(clockid_t clockId = CLOCK_MONOTONIC) {
94 int result = clock_gettime(clockId, &time);
/frameworks/av/media/libaaudio/src/client/
DAudioStreamInternal.h53 aaudio_result_t getTimestamp(clockid_t clockId,
DAudioStreamInternal.cpp436 aaudio_result_t AudioStreamInternal::getTimestamp(clockid_t clockId, in getTimestamp() argument
/frameworks/av/media/libaaudio/src/core/
DAudioStream.h94 virtual aaudio_result_t getTimestamp(clockid_t clockId,
/frameworks/native/services/inputflinger/reader/
DEventHub.cpp1512 int clockId = CLOCK_MONOTONIC; in configureFd() local
1513 bool usingClockIoctl = !ioctl(device->fd, EVIOCSCLOCKID, &clockId); in configureFd()