Searched refs:timebase (Results 1 – 9 of 9) sorted by relevance
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioTimestamp.h | 103 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/ |
D | AudioTimestamp.h | 103 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/ |
D | AudioStreamLegacy.cpp | 170 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/ |
D | velocityplot.py | 121 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/ |
D | orientationplot.py | 186 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/ |
D | alarmmanagerservice.proto | 111 // 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/ |
D | AudioRecord.java | 901 @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/ |
D | android_media_AudioRecord.cpp | 744 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/ |
D | Threads.cpp | 282 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()
|