Searched refs:timebase (Results 1 - 6 of 6) sorted by relevance

/frameworks/av/include/media/
H A DAudioTimestamp.h70 // mTimeNs is in nanoseconds for the default timebase, monotonic.
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];
102 getBestTimestamp( int64_t *position, int64_t *time, int timebase, Location *location = nullptr) const argument
/frameworks/base/tools/velocityplot/
H A 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/
H A 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/media/java/android/media/
H A DAudioRecord.java886 * @param timebase one of
894 @AudioTimestamp.Timebase int timebase)
897 (timebase != AudioTimestamp.TIMEBASE_BOOTTIME
898 && timebase != AudioTimestamp.TIMEBASE_MONOTONIC)) {
901 return native_get_timestamp(outTimestamp, timebase);
1781 @AudioTimestamp.Timebase int timebase);
893 getTimestamp(@onNull AudioTimestamp outTimestamp, @AudioTimestamp.Timebase int timebase) argument
1780 native_get_timestamp(@onNull AudioTimestamp outTimestamp, @AudioTimestamp.Timebase int timebase) argument
/frameworks/base/core/jni/
H A Dandroid_media_AudioRecord.cpp726 jobject timestamp, jint timebase) {
742 status = nativeToJavaStatus(ts.getBestTimestamp(&position, &time, timebase));
725 android_media_AudioRecord_get_timestamp(JNIEnv *env, jobject thiz, jobject timestamp, jint timebase) argument
/frameworks/av/services/audioflinger/
H A DThreads.cpp227 // Track the CLOCK_BOOTTIME versus CLOCK_MONOTONIC timebase offset
256 // retrieves the boottime timebase offset from monotonic.
264 // Adjusts the timebase offset between TIMEBASE_MONOTONIC
265 // and the selected timebase.
273 static void adjustTimebaseOffset(int64_t *offset, ExtendedTimestamp::Timebase timebase) { argument
275 switch (timebase) {
280 LOG_ALWAYS_FATAL("invalid timebase %d", timebase);
298 // to avoid micro-adjusting, we don't change the timebase
305 ALOGV("Adjusting timebase offse
[all...]

Completed in 2022 milliseconds