/aosp12/frameworks/av/services/audioflinger/ |
H A D | FastMixer.cpp | 226 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 D | PlaybackTracks.h | 215 virtual void onTimestamp(const ExtendedTimestamp ×tamp); 232 uint32_t halSampleRate, const ExtendedTimestamp &timeStamp); 287 ExtendedTimestamp mSinkTimestamp; 382 ExtendedTimestamp getClientProxyTimestamp() const { in getClientProxyTimestamp() 385 ExtendedTimestamp timestamp; in getClientProxyTimestamp()
|
H A D | Tracks.cpp | 1122 .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 ×tamp) in updateTrackFrameInfo() 2581 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo() 2588 ExtendedTimestamp local = timestamp; in updateTrackFrameInfo() [all …]
|
H A D | Threads.h | 605 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 D | MmapTracks.h | 69 virtual void onTimestamp(const ExtendedTimestamp ×tamp);
|
H A D | Threads.cpp | 344 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 D | FastMixer.h | 100 ExtendedTimestamp mTimestamp;
|
/aosp12/frameworks/av/media/libnbaio/ |
H A D | MonoPipe.cpp | 180 status_t MonoPipe::getTimestamp(ExtendedTimestamp ×tamp) 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 D | AudioStreamOutSink.cpp | 76 status_t AudioStreamOutSink::getTimestamp(ExtendedTimestamp ×tamp) 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 D | MonoPipeReader.cpp | 58 void MonoPipeReader::onTimestamp(const ExtendedTimestamp ×tamp) in onTimestamp()
|
H A D | SourceAudioBufferProvider.cpp | 120 void SourceAudioBufferProvider::onTimestamp(const ExtendedTimestamp ×tamp) in onTimestamp()
|
/aosp12/frameworks/av/media/libaaudio/src/legacy/ |
H A D | AudioStreamLegacy.cpp | 185 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 D | AudioStreamLegacy.h | 93 android::ExtendedTimestamp *extendedTimestamp);
|
/aosp12/frameworks/av/media/libaudioclient/ |
H A D | AudioTrack.cpp | 671 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 D | MonoPipe.h | 27 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampSingleStateQueue; 84 status_t getTimestamp(ExtendedTimestamp ×tamp);
|
H A D | NBAIO.h | 223 virtual status_t getTimestamp(ExtendedTimestamp& /*timestamp*/) { return INVALID_OPERATION; } in getTimestamp() argument 321 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
|
H A D | MonoPipeReader.h | 52 virtual void onTimestamp(const ExtendedTimestamp ×tamp);
|
/aosp12/frameworks/av/media/libaudioclient/include/media/ |
H A D | AudioTrack.h | 949 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 D | AudioTimestamp.h | 37 struct alignas(8) /* bug 29096183, bug 29108507 */ ExtendedTimestamp { struct 60 ExtendedTimestamp() { in ExtendedTimestamp() argument
|
H A D | ExtendedAudioBufferProvider.h | 34 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
|
H A D | AudioRecord.h | 389 status_t getTimestamp(ExtendedTimestamp *timestamp); 759 ExtendedTimestamp mPreviousTimestamp{}; // used to detect retrograde motion
|
/aosp12/frameworks/av/include/private/media/ |
H A D | AudioTrackShared.h | 202 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampQueue; 414 status_t getTimestamp(ExtendedTimestamp *timestamp) { 439 ExtendedTimestamp mTimestamp; // initialized by constructor 624 virtual void setTimestamp(const ExtendedTimestamp ×tamp) { 628 virtual ExtendedTimestamp getTimestamp() const {
|
/aosp12/frameworks/av/media/libnbaio/include/media/nbaio/ |
H A D | SourceAudioBufferProvider.h | 40 virtual void onTimestamp(const ExtendedTimestamp ×tamp);
|
H A D | AudioStreamOutSink.h | 51 virtual status_t getTimestamp(ExtendedTimestamp ×tamp);
|
/aosp12/frameworks/av/media/libstagefright/ |
H A D | AudioSource.cpp | 364 ExtendedTimestamp ts; in dataCallback() 365 ExtendedTimestamp::Location location; in dataCallback() 369 ts.getBestTimestamp(&position, &timeNs, ExtendedTimestamp::TIMEBASE_MONOTONIC, in dataCallback()
|