Searched refs:timebase (Results 1 – 7 of 7) sorted by relevance
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];
121 self.timebase = None193 if self.timebase is None:194 self.timebase = timestamp195 delta = timestamp - self.timebase217 self.timebase += timedelta(seconds=bottom)
186 self.timebase = None279 if self.timebase is None:280 self.timebase = timestamp281 delta = timestamp - self.timebase341 self.timebase += timedelta(seconds=bottom)
894 @AudioTimestamp.Timebase int timebase) in getTimestamp() argument897 (timebase != AudioTimestamp.TIMEBASE_BOOTTIME in getTimestamp()898 && timebase != AudioTimestamp.TIMEBASE_MONOTONIC)) { in getTimestamp()901 return native_get_timestamp(outTimestamp, timebase); in getTimestamp()1781 @AudioTimestamp.Timebase int timebase); in native_get_timestamp() argument
726 jobject timestamp, jint timebase) { in android_media_AudioRecord_get_timestamp() argument742 status = nativeToJavaStatus(ts.getBestTimestamp(&position, &time, timebase)); in android_media_AudioRecord_get_timestamp()
273 static void adjustTimebaseOffset(int64_t *offset, ExtendedTimestamp::Timebase timebase) { in adjustTimebaseOffset()275 switch (timebase) { in adjustTimebaseOffset()280 LOG_ALWAYS_FATAL("invalid timebase %d", timebase); in adjustTimebaseOffset()
1426 …is lets them optimize operations on the UI thread and provides a stable timebase for synchronizati…