Home
last modified time | relevance | path

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

/frameworks/av/media/libaudioclient/include/media/
DAudioTimestamp.h103 int64_t *position, int64_t *time, int timebase, Location *location = nullptr) const {
105 || timebase < 0 || timebase >= TIMEBASE_MAX) {
114 *time = mTimeNs[i] + mTimebaseOffset[timebase];
/frameworks/av/include/media/
DAudioTimestamp.h103 int64_t *position, int64_t *time, int timebase, Location *location = nullptr) const {
105 || timebase < 0 || timebase >= TIMEBASE_MAX) {
114 *time = mTimeNs[i] + mTimebaseOffset[timebase];
/frameworks/av/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp170 int timebase; in getBestTimestamp() local
173 timebase = ExtendedTimestamp::TIMEBASE_BOOTTIME; in getBestTimestamp()
176 timebase = ExtendedTimestamp::TIMEBASE_MONOTONIC; in getBestTimestamp()
186 timebase, &location); in getBestTimestamp()
/frameworks/base/tools/velocityplot/
Dvelocityplot.py121 self.timebase = None
193 if self.timebase is None:
194 self.timebase = timestamp
195 delta = timestamp - self.timebase
217 self.timebase += timedelta(seconds=bottom)
/frameworks/base/tools/orientationplot/
Dorientationplot.py186 self.timebase = None
279 if self.timebase is None:
280 self.timebase = timestamp
281 delta = timestamp - self.timebase
341 self.timebase += timedelta(seconds=bottom)
/frameworks/base/core/proto/android/server/
Dalarmmanagerservice.proto111 // In the 'elapsed' timebase.
114 // Time when the next while-idle is allowed, in the 'elapsed' timebase.
166 // How long until the alarm goes off, in the 'elapsed' timebase. Can be
257 // triggered. Times are in the 'elapsed' timebase.
/frameworks/base/media/java/android/media/
DAudioRecord.java901 @AudioTimestamp.Timebase int timebase) in getTimestamp() argument
904 (timebase != AudioTimestamp.TIMEBASE_BOOTTIME in getTimestamp()
905 && timebase != AudioTimestamp.TIMEBASE_MONOTONIC)) { in getTimestamp()
908 return native_get_timestamp(outTimestamp, timebase); in getTimestamp()
1796 @AudioTimestamp.Timebase int timebase); in native_get_timestamp() argument
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp744 jobject timestamp, jint timebase) { in android_media_AudioRecord_get_timestamp() argument
760 status = nativeToJavaStatus(ts.getBestTimestamp(&position, &time, timebase)); in android_media_AudioRecord_get_timestamp()
/frameworks/av/services/audioflinger/
DThreads.cpp282 static void adjustTimebaseOffset(int64_t *offset, ExtendedTimestamp::Timebase timebase) { in adjustTimebaseOffset()
284 switch (timebase) { in adjustTimebaseOffset()
289 LOG_ALWAYS_FATAL("invalid timebase %d", timebase); in adjustTimebaseOffset()