Home
last modified time | relevance | path

Searched refs:timebase (Results 1 – 11 of 11) 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/media/libaaudio/src/legacy/
DAudioStreamLegacy.cpp186 int timebase; in getBestTimestamp() local
189 timebase = ExtendedTimestamp::TIMEBASE_BOOTTIME; in getBestTimestamp()
192 timebase = ExtendedTimestamp::TIMEBASE_MONOTONIC; in getBestTimestamp()
202 timebase, &location); in getBestTimestamp()
/frameworks/base/core/proto/android/util/
Dquotatracker.proto40 // The time at which the alarm is set to go off, in the elapsed realtime timebase.
48 // The time at which the UPTC will be in quota, in the elapsed realtime timebase.
96 // The time the event occurred, in the elapsed realtime timebase.
104 // elapsed realtime timebase.
/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/alarm/
Dalarmmanagerservice.proto112 // In the 'elapsed' timebase.
115 // Time when the next while-idle is allowed, in the 'elapsed' timebase.
169 // How long until the alarm goes off, in the 'elapsed' timebase. Can be
264 // triggered. Times are in the 'elapsed' timebase.
/frameworks/base/media/java/android/media/
DAudioRecord.java1191 @AudioTimestamp.Timebase int timebase) in getTimestamp() argument
1194 (timebase != AudioTimestamp.TIMEBASE_BOOTTIME in getTimestamp()
1195 && timebase != AudioTimestamp.TIMEBASE_MONOTONIC)) { in getTimestamp()
1198 return native_get_timestamp(outTimestamp, timebase); in getTimestamp()
2294 @AudioTimestamp.Timebase int timebase); in native_get_timestamp() argument
/frameworks/base/core/proto/android/server/
Djobscheduler.proto610 // The time at which the alarm should go off, in the elapsed realtime timebase. Only
621 // elapsed realtime timebase.
654 // in the elapsed realtime timebase.
666 // invalid, in the elapsed realtime timebase.
749 // The time at which the alarm is set to go off, in the elapsed realtime timebase.
757 // The time at which the package will be in quota, in the elapsed realtime timebase.
1085 // The original latest runtime value, in the elapsed realtime timebase. Valid only for periodic
Dpowermanagerservice.proto180 // The time (in the elapsed realtime timebase) at which the battery level will reach 0%. This
184 // Timestamp (in the elapsed realtime timebase) of last update to enhanced battery estimate
413 // using elapsed realtime as the timebase.
/frameworks/base/core/jni/
Dandroid_media_AudioRecord.cpp729 jobject timestamp, jint timebase) { in android_media_AudioRecord_get_timestamp() argument
745 status = nativeToJavaStatus(ts.getBestTimestamp(&position, &time, timebase)); in android_media_AudioRecord_get_timestamp()
/frameworks/av/services/audioflinger/
DThreads.cpp339 static void adjustTimebaseOffset(int64_t *offset, ExtendedTimestamp::Timebase timebase) { in adjustTimebaseOffset()
341 switch (timebase) { in adjustTimebaseOffset()
346 LOG_ALWAYS_FATAL("invalid timebase %d", timebase); in adjustTimebaseOffset()