Home
last modified time | relevance | path

Searched refs:ExtendedTimestamp (Results 1 – 25 of 32) sorted by relevance

12

/aosp12/frameworks/av/services/audioflinger/
H A DFastMixer.cpp226 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME] = in onStateChange()
395 ExtendedTimestamp perTrackTimestamp(mTimestamp); in onWork()
523 ExtendedTimestamp timestamp; // local in onWork()
528 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in onWork()
535 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in onWork()
537 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in onWork()
554 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = in onWork()
555 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
558 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = in onWork()
562 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = 0; in onWork()
[all …]
H A DPlaybackTracks.h215 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
232 uint32_t halSampleRate, const ExtendedTimestamp &timeStamp);
287 ExtendedTimestamp mSinkTimestamp;
382 ExtendedTimestamp getClientProxyTimestamp() const { in getClientProxyTimestamp()
385 ExtendedTimestamp timestamp; in getClientProxyTimestamp()
H A DTracks.cpp1122 .mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in start()
1773 timeStamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in updateTrackFrameInfo()
1774 timeStamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo()
1788 ExtendedTimestamp local = timeStamp; in updateTrackFrameInfo()
1791 for (int i = ExtendedTimestamp::LOCATION_MAX - 1; in updateTrackFrameInfo()
1792 i >= ExtendedTimestamp::LOCATION_SERVER; --i) { in updateTrackFrameInfo()
1819 && local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0 in updateTrackFrameInfo()
2576 uint32_t halSampleRate, const ExtendedTimestamp &timestamp) in updateTrackFrameInfo()
2581 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo()
2588 ExtendedTimestamp local = timestamp; in updateTrackFrameInfo()
[all …]
H A DThreads.h605 ExtendedTimestamp *timestamp __unused) const { in threadloop_getHalTimestamp_l()
675 ExtendedTimestamp mTimestamp;
1452 ExtendedTimestamp *timestamp) const override { in threadloop_getHalTimestamp_l()
1543 timestamp->mPosition[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l()
1545 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l()
1659 ExtendedTimestamp *timestamp) const override { in threadloop_getHalTimestamp_l()
1662 const ExtendedTimestamp trackTimestamp = in threadloop_getHalTimestamp_l()
1664 if (trackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in threadloop_getHalTimestamp_l()
1665 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in threadloop_getHalTimestamp_l()
1666 trackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in threadloop_getHalTimestamp_l()
[all …]
H A DMmapTracks.h69 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
H A DThreads.cpp344 case ExtendedTimestamp::TIMEBASE_BOOTTIME: in adjustTimebaseOffset()
1060 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME] = in acquireWakeLock_l()
4284 ExtendedTimestamp timestamp; // use private copy to fetch in collectTimestamps_l()
4290 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in collectTimestamps_l()
4298 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in collectTimestamps_l()
4300 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in collectTimestamps_l()
4344 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in collectTimestamps_l()
4345 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in collectTimestamps_l()
4347 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in collectTimestamps_l()
4348 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in collectTimestamps_l()
[all …]
H A DFastMixer.h100 ExtendedTimestamp mTimestamp;
/aosp12/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp180 status_t MonoPipe::getTimestamp(ExtendedTimestamp &timestamp) in getTimestamp()
182 ExtendedTimestamp ets; in getTimestamp()
184 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in getTimestamp()
185 ets.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in getTimestamp()
186 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in getTimestamp()
187 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in getTimestamp()
H A DAudioStreamOutSink.cpp76 status_t AudioStreamOutSink::getTimestamp(ExtendedTimestamp &timestamp) in getTimestamp()
83 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position64; in getTimestamp()
84 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = audio_utils_ns_from_timespec(&time); in getTimestamp()
H A DMonoPipeReader.cpp58 void MonoPipeReader::onTimestamp(const ExtendedTimestamp &timestamp) in onTimestamp()
H A DSourceAudioBufferProvider.cpp120 void SourceAudioBufferProvider::onTimestamp(const ExtendedTimestamp &timestamp) in onTimestamp()
/aosp12/frameworks/av/media/libaaudio/src/legacy/
H A DAudioStreamLegacy.cpp185 ExtendedTimestamp *extendedTimestamp) { in getBestTimestamp()
189 timebase = ExtendedTimestamp::TIMEBASE_BOOTTIME; in getBestTimestamp()
192 timebase = ExtendedTimestamp::TIMEBASE_MONOTONIC; in getBestTimestamp()
199 ExtendedTimestamp::Location location = ExtendedTimestamp::Location::LOCATION_INVALID; in getBestTimestamp()
H A DAudioStreamLegacy.h93 android::ExtendedTimestamp *extendedTimestamp);
/aosp12/frameworks/av/media/libaudioclient/
H A DAudioTrack.cpp671 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID; in set()
783 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID; in start()
2985 status_t AudioTrack::getTimestamp(ExtendedTimestamp *timestamp) in getTimestamp()
3015 for (int i = ExtendedTimestamp::LOCATION_SERVER; in getTimestamp_l()
3016 i < ExtendedTimestamp::LOCATION_MAX; ++i) { in getTimestamp_l()
3080 ExtendedTimestamp ets; in getTimestamp_l()
3083 ExtendedTimestamp::Location location; in getTimestamp_l()
3528 (location != ExtendedTimestamp::LOCATION_SERVER in pendingDuration()
3541 ExtendedTimestamp ets; in pendingDuration()
3564 if (location != ExtendedTimestamp::LOCATION_SERVER) { in pendingDuration()
[all …]
/aosp12/frameworks/av/media/libnbaio/include_mono/media/nbaio/
H A DMonoPipe.h27 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampSingleStateQueue;
84 status_t getTimestamp(ExtendedTimestamp &timestamp);
H A DNBAIO.h223 virtual status_t getTimestamp(ExtendedTimestamp& /*timestamp*/) { return INVALID_OPERATION; } in getTimestamp() argument
321 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
H A DMonoPipeReader.h52 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
/aosp12/frameworks/av/media/libaudioclient/include/media/
H A DAudioTrack.h949 status_t getTimestamp(ExtendedTimestamp *timestamp);
951 status_t getTimestamp_l(ExtendedTimestamp *timestamp);
995 ExtendedTimestamp::Location location = ExtendedTimestamp::LOCATION_SERVER);
1274 ExtendedTimestamp mStartEts; // Extended timestamp at start for normal
1286 ExtendedTimestamp::Location mPreviousLocation; // location used for previous timestamp
H A DAudioTimestamp.h37 struct alignas(8) /* bug 29096183, bug 29108507 */ ExtendedTimestamp { struct
60 ExtendedTimestamp() { in ExtendedTimestamp() argument
H A DExtendedAudioBufferProvider.h34 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
H A DAudioRecord.h389 status_t getTimestamp(ExtendedTimestamp *timestamp);
759 ExtendedTimestamp mPreviousTimestamp{}; // used to detect retrograde motion
/aosp12/frameworks/av/include/private/media/
H A DAudioTrackShared.h202 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampQueue;
414 status_t getTimestamp(ExtendedTimestamp *timestamp) {
439 ExtendedTimestamp mTimestamp; // initialized by constructor
624 virtual void setTimestamp(const ExtendedTimestamp &timestamp) {
628 virtual ExtendedTimestamp getTimestamp() const {
/aosp12/frameworks/av/media/libnbaio/include/media/nbaio/
H A DSourceAudioBufferProvider.h40 virtual void onTimestamp(const ExtendedTimestamp &timestamp);
H A DAudioStreamOutSink.h51 virtual status_t getTimestamp(ExtendedTimestamp &timestamp);
/aosp12/frameworks/av/media/libstagefright/
H A DAudioSource.cpp364 ExtendedTimestamp ts; in dataCallback()
365 ExtendedTimestamp::Location location; in dataCallback()
369 ts.getBestTimestamp(&position, &timeNs, ExtendedTimestamp::TIMEBASE_MONOTONIC, in dataCallback()

12