/frameworks/av/services/audioflinger/fastpath/ |
D | FastMixer.cpp | 201 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME] = in onStateChange() 370 ExtendedTimestamp perTrackTimestamp(mTimestamp); in onWork() 375 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in onWork() 376 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in onWork() 379 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = 0; in onWork() 380 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork() 382 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] = trackFramesWritten; in onWork() 499 ExtendedTimestamp timestamp; // local in onWork() 503 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in onWork() 504 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in onWork() [all …]
|
D | FastMixer.h | 99 ExtendedTimestamp mTimestamp;
|
/frameworks/av/media/libnbaio/ |
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()
|
D | AudioStreamOutSink.cpp | 91 status_t AudioStreamOutSink::getTimestamp(ExtendedTimestamp ×tamp) in getTimestamp() 98 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position64; in getTimestamp() 99 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = audio_utils_ns_from_timespec(&time); in getTimestamp()
|
D | MonoPipeReader.cpp | 58 void MonoPipeReader::onTimestamp(const ExtendedTimestamp ×tamp) in onTimestamp()
|
D | SourceAudioBufferProvider.cpp | 120 void SourceAudioBufferProvider::onTimestamp(const ExtendedTimestamp ×tamp) in onTimestamp()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamLegacy.cpp | 231 ExtendedTimestamp *extendedTimestamp) { in getBestTimestamp() 235 timebase = ExtendedTimestamp::TIMEBASE_BOOTTIME; in getBestTimestamp() 238 timebase = ExtendedTimestamp::TIMEBASE_MONOTONIC; in getBestTimestamp() 245 ExtendedTimestamp::Location location = ExtendedTimestamp::Location::LOCATION_INVALID; in getBestTimestamp()
|
D | AudioStreamLegacy.h | 95 android::ExtendedTimestamp *extendedTimestamp);
|
/frameworks/av/media/libnbaio/include_mono/media/nbaio/ |
D | MonoPipe.h | 27 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampSingleStateQueue; 84 status_t getTimestamp(ExtendedTimestamp ×tamp);
|
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
|
D | MonoPipeReader.h | 52 virtual void onTimestamp(const ExtendedTimestamp ×tamp);
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 690 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID; in set() 806 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID; in start() 809 && mStartEts.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] > 0) { in start() 816 + mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]), in start() 820 mFramesWrittenServerOffset -= mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]; in start() 3108 status_t AudioTrack::getTimestamp(ExtendedTimestamp *timestamp) in getTimestamp() 3117 status_t AudioTrack::getTimestamp_l(ExtendedTimestamp *timestamp) in getTimestamp_l() 3135 timestamp->mPosition[ExtendedTimestamp::LOCATION_CLIENT] = mFramesWritten; in getTimestamp_l() 3136 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp_l() 3138 for (int i = ExtendedTimestamp::LOCATION_SERVER; in getTimestamp_l() [all …]
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioTimestamp.h | 37 struct alignas(8) /* bug 29096183, bug 29108507 */ ExtendedTimestamp { struct 60 ExtendedTimestamp() { in ExtendedTimestamp() function
|
D | ExtendedAudioBufferProvider.h | 34 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
|
D | AudioTrack.h | 1059 status_t getTimestamp(ExtendedTimestamp *timestamp); 1061 status_t getTimestamp_l(ExtendedTimestamp *timestamp); 1105 ExtendedTimestamp::Location location = ExtendedTimestamp::LOCATION_SERVER); 1403 ExtendedTimestamp mStartEts; // Extended timestamp at start for normal 1415 ExtendedTimestamp::Location mPreviousLocation; // location used for previous timestamp
|
/frameworks/av/services/audioflinger/ |
D | PlaybackTracks.h | 236 void onTimestamp(const ExtendedTimestamp ×tamp) override; 254 uint32_t halSampleRate, const ExtendedTimestamp& timeStamp) final; 329 ExtendedTimestamp mSinkTimestamp; 441 ExtendedTimestamp getClientProxyTimestamp() const final { in getClientProxyTimestamp() 444 ExtendedTimestamp timestamp; in getClientProxyTimestamp()
|
D | Tracks.cpp | 1131 void Track::onTimestamp(const ExtendedTimestamp ×tamp) in onTimestamp() 1267 .mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in start() 2044 uint32_t halSampleRate, const ExtendedTimestamp &timeStamp) { in updateTrackFrameInfo() 2047 timeStamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in updateTrackFrameInfo() 2048 timeStamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo() 2062 ExtendedTimestamp local = timeStamp; in updateTrackFrameInfo() 2065 for (int i = ExtendedTimestamp::LOCATION_MAX - 1; in updateTrackFrameInfo() 2066 i >= ExtendedTimestamp::LOCATION_SERVER; --i) { in updateTrackFrameInfo() 2071 if (!checked && i <= ExtendedTimestamp::LOCATION_KERNEL) { in updateTrackFrameInfo() 2095 && local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0 in updateTrackFrameInfo() [all …]
|
D | Threads.h | 650 ExtendedTimestamp *timestamp __unused) const in threadloop_getHalTimestamp_l() 737 ExtendedTimestamp mTimestamp; 1186 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in setStandby_l() 1624 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME]); in acquireWakeLock_l() 1680 ExtendedTimestamp *timestamp) const override in threadloop_getHalTimestamp_l() 1785 status_t threadloop_getHalTimestamp_l(ExtendedTimestamp *timestamp) const override { in threadloop_getHalTimestamp_l() 1792 timestamp->mPosition[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l() 1794 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l() 1916 ExtendedTimestamp *timestamp) const override REQUIRES(mutex()) { in threadloop_getHalTimestamp_l() 1919 const ExtendedTimestamp trackTimestamp = in threadloop_getHalTimestamp_l() [all …]
|
D | MmapTracks.h | 78 void onTimestamp(const ExtendedTimestamp ×tamp) final;
|
D | Threads.cpp | 408 adjustTimebaseOffset(&mBoottimeOffset, ExtendedTimestamp::TIMEBASE_BOOTTIME); in acquire() 411 adjustTimebaseOffset(&mBoottimeOffset, ExtendedTimestamp::TIMEBASE_BOOTTIME); in acquire() 448 static void adjustTimebaseOffset(int64_t *offset, ExtendedTimestamp::Timebase timebase) { in adjustTimebaseOffset() 451 case ExtendedTimestamp::TIMEBASE_BOOTTIME: in adjustTimebaseOffset() 1214 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME] = in acquireWakeLock_l() 4236 != mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL])))) { in threadLoop() 4678 ExtendedTimestamp timestamp; // use private copy to fetch in collectTimestamps_l() 4683 mTimestampVerifier.add(timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in collectTimestamps_l() 4684 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in collectTimestamps_l() 4689 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in collectTimestamps_l() [all …]
|
D | IAfTrack.h | 401 const ExtendedTimestamp& timeStamp) = 0; 452 virtual ExtendedTimestamp getClientProxyTimestamp() const = 0; 520 const ExtendedTimestamp& timestamp) = 0;
|
/frameworks/av/include/private/media/ |
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 {
|
/frameworks/av/media/libnbaio/include/media/nbaio/ |
D | SourceAudioBufferProvider.h | 40 virtual void onTimestamp(const ExtendedTimestamp ×tamp);
|
D | AudioStreamOutSink.h | 49 virtual status_t getTimestamp(ExtendedTimestamp ×tamp);
|
/frameworks/av/media/libstagefright/ |
D | AudioSource.cpp | 351 ExtendedTimestamp ts; in onMoreData() 352 ExtendedTimestamp::Location location; in onMoreData() 356 ts.getBestTimestamp(&position, &timeNs, ExtendedTimestamp::TIMEBASE_MONOTONIC, in onMoreData()
|