/frameworks/av/services/audioflinger/ |
D | FastMixer.cpp | 219 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME] = in onStateChange() 387 ExtendedTimestamp perTrackTimestamp(mTimestamp); in onWork() 392 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in onWork() 393 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in onWork() 396 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = 0; in onWork() 397 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork() 399 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] = trackFramesWritten; in onWork() 515 ExtendedTimestamp timestamp; // local in onWork() 519 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in onWork() 520 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in onWork() [all …]
|
D | PlaybackTracks.h | 187 virtual void onTimestamp(const ExtendedTimestamp ×tamp); 200 uint32_t halSampleRate, const ExtendedTimestamp &timeStamp); 247 ExtendedTimestamp mSinkTimestamp; 330 ExtendedTimestamp getClientProxyTimestamp() const { in getClientProxyTimestamp() 333 ExtendedTimestamp timestamp; in getClientProxyTimestamp()
|
D | Threads.h | 473 ExtendedTimestamp *timestamp __unused) const { in threadloop_getHalTimestamp_l() 544 ExtendedTimestamp mTimestamp; 1196 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME]); in acquireWakeLock_l() 1240 ExtendedTimestamp *timestamp) const override { in threadloop_getHalTimestamp_l() 1325 status_t threadloop_getHalTimestamp_l(ExtendedTimestamp *timestamp) const override { in threadloop_getHalTimestamp_l() 1332 timestamp->mPosition[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l() 1334 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l() 1448 ExtendedTimestamp *timestamp) const override { in threadloop_getHalTimestamp_l() 1451 const ExtendedTimestamp trackTimestamp = in threadloop_getHalTimestamp_l() 1453 if (trackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in threadloop_getHalTimestamp_l() [all …]
|
/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 | 78 status_t AudioStreamOutSink::getTimestamp(ExtendedTimestamp ×tamp) in getTimestamp() 85 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position64; in getTimestamp() 86 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()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamLegacy.cpp | 176 ExtendedTimestamp *extendedTimestamp) { in getBestTimestamp() 180 timebase = ExtendedTimestamp::TIMEBASE_BOOTTIME; in getBestTimestamp() 183 timebase = ExtendedTimestamp::TIMEBASE_MONOTONIC; in getBestTimestamp() 190 ExtendedTimestamp::Location location = ExtendedTimestamp::Location::LOCATION_INVALID; in getBestTimestamp()
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 612 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID; in set() 666 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID; in start() 669 && mStartEts.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] > 0) { in start() 676 + mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]), in start() 680 mFramesWrittenServerOffset -= mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]; in start() 2494 status_t AudioTrack::getTimestamp(ExtendedTimestamp *timestamp) in getTimestamp() 2503 status_t AudioTrack::getTimestamp_l(ExtendedTimestamp *timestamp) in getTimestamp_l() 2521 timestamp->mPosition[ExtendedTimestamp::LOCATION_CLIENT] = mFramesWritten; in getTimestamp_l() 2522 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp_l() 2524 for (int i = ExtendedTimestamp::LOCATION_SERVER; in getTimestamp_l() [all …]
|
/frameworks/av/include/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);
|
D | SourceAudioBufferProvider.h | 40 virtual void onTimestamp(const ExtendedTimestamp ×tamp);
|
D | AudioStreamOutSink.h | 51 virtual status_t getTimestamp(ExtendedTimestamp ×tamp);
|
/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/include/media/ |
D | AudioTrack.h | 849 status_t getTimestamp(ExtendedTimestamp *timestamp); 851 status_t getTimestamp_l(ExtendedTimestamp *timestamp); 897 ExtendedTimestamp::Location location = ExtendedTimestamp::LOCATION_SERVER); 1148 ExtendedTimestamp mStartEts; // Extended timestamp at start for normal 1160 ExtendedTimestamp::Location mPreviousLocation; // location used for previous timestamp
|
D | AudioTimestamp.h | 37 struct alignas(8) /* bug 29096183, bug 29108507 */ ExtendedTimestamp { struct 60 ExtendedTimestamp() { in ExtendedTimestamp() argument
|
D | ExtendedAudioBufferProvider.h | 34 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
|
/frameworks/av/media/libaudioclient/include/media/ |
D | AudioTrack.h | 849 status_t getTimestamp(ExtendedTimestamp *timestamp); 851 status_t getTimestamp_l(ExtendedTimestamp *timestamp); 897 ExtendedTimestamp::Location location = ExtendedTimestamp::LOCATION_SERVER); 1148 ExtendedTimestamp mStartEts; // Extended timestamp at start for normal 1160 ExtendedTimestamp::Location mPreviousLocation; // location used for previous timestamp
|
D | AudioTimestamp.h | 37 struct alignas(8) /* bug 29096183, bug 29108507 */ ExtendedTimestamp { struct 60 ExtendedTimestamp() { in ExtendedTimestamp() argument
|
/frameworks/av/include/private/media/ |
D | AudioTrackShared.h | 124 typedef SingleStateQueue<ExtendedTimestamp> ExtendedTimestampQueue; 327 status_t getTimestamp(ExtendedTimestamp *timestamp) { in getTimestamp() 352 ExtendedTimestamp mTimestamp; // initialized by constructor 537 virtual void setTimestamp(const ExtendedTimestamp ×tamp) { in setTimestamp() 541 virtual ExtendedTimestamp getTimestamp() const { in getTimestamp()
|
/frameworks/av/media/libmedia/include/media/ |
D | ExtendedAudioBufferProvider.h | 34 virtual void onTimestamp(const ExtendedTimestamp& /*timestamp*/) { } in onTimestamp() argument
|
/frameworks/av/media/libnbaio/include/media/nbaio/ |
D | SourceAudioBufferProvider.h | 40 virtual void onTimestamp(const ExtendedTimestamp ×tamp);
|
D | AudioStreamOutSink.h | 51 virtual status_t getTimestamp(ExtendedTimestamp ×tamp);
|