/frameworks/av/services/audioflinger/ |
D | FastMixer.cpp | 214 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME] = in onStateChange() 382 ExtendedTimestamp perTrackTimestamp(mTimestamp); in onWork() 387 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in onWork() 388 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in onWork() 391 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = 0; in onWork() 392 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork() 394 perTrackTimestamp.mPosition[ExtendedTimestamp::LOCATION_SERVER] = trackFramesWritten; in onWork() 510 ExtendedTimestamp timestamp; // local in onWork() 514 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in onWork() 515 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in onWork() [all …]
|
D | PlaybackTracks.h | 200 virtual void onTimestamp(const ExtendedTimestamp ×tamp); 213 uint32_t halSampleRate, const ExtendedTimestamp &timeStamp); 260 ExtendedTimestamp mSinkTimestamp; 343 ExtendedTimestamp getClientProxyTimestamp() const { in getClientProxyTimestamp() 346 ExtendedTimestamp timestamp; in getClientProxyTimestamp()
|
D | Threads.h | 522 ExtendedTimestamp *timestamp __unused) const { in threadloop_getHalTimestamp_l() 590 ExtendedTimestamp mTimestamp; 1249 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME]); in acquireWakeLock_l() 1293 ExtendedTimestamp *timestamp) const override { in threadloop_getHalTimestamp_l() 1377 status_t threadloop_getHalTimestamp_l(ExtendedTimestamp *timestamp) const override { in threadloop_getHalTimestamp_l() 1384 timestamp->mPosition[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l() 1386 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l() 1500 ExtendedTimestamp *timestamp) const override { in threadloop_getHalTimestamp_l() 1503 const ExtendedTimestamp trackTimestamp = in threadloop_getHalTimestamp_l() 1505 if (trackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in threadloop_getHalTimestamp_l() [all …]
|
D | Tracks.cpp | 870 void AudioFlinger::PlaybackThread::Track::onTimestamp(const ExtendedTimestamp ×tamp) in onTimestamp() 982 .mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in start() 1471 uint32_t halSampleRate, const ExtendedTimestamp &timeStamp) { in updateTrackFrameInfo() 1474 timeStamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in updateTrackFrameInfo() 1475 timeStamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo() 1489 ExtendedTimestamp local = timeStamp; in updateTrackFrameInfo() 1492 for (int i = ExtendedTimestamp::LOCATION_MAX - 1; in updateTrackFrameInfo() 1493 i >= ExtendedTimestamp::LOCATION_SERVER; --i) { in updateTrackFrameInfo() 1498 if (!checked && i <= ExtendedTimestamp::LOCATION_KERNEL) { in updateTrackFrameInfo() 1520 && local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0 in updateTrackFrameInfo() [all …]
|
D | MmapTracks.h | 70 virtual void onTimestamp(const ExtendedTimestamp ×tamp);
|
D | FastMixer.h | 100 ExtendedTimestamp mTimestamp;
|
D | Threads.cpp | 280 adjustTimebaseOffset(&mBoottimeOffset, ExtendedTimestamp::TIMEBASE_BOOTTIME); in acquire() 283 adjustTimebaseOffset(&mBoottimeOffset, ExtendedTimestamp::TIMEBASE_BOOTTIME); in acquire() 320 static void adjustTimebaseOffset(int64_t *offset, ExtendedTimestamp::Timebase timebase) { in adjustTimebaseOffset() 323 case ExtendedTimestamp::TIMEBASE_BOOTTIME: in adjustTimebaseOffset() 1000 mTimestamp.mTimebaseOffset[ExtendedTimestamp::TIMEBASE_BOOTTIME] = in acquireWakeLock_l() 3524 ExtendedTimestamp timestamp; // use private copy to fetch in threadLoop() 3528 mTimestampVerifier.add(timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop() 3529 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop() 3534 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop() 3535 (long long)timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]); in threadLoop() [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()
|
D | SourceAudioBufferProvider.cpp | 120 void SourceAudioBufferProvider::onTimestamp(const ExtendedTimestamp ×tamp) in onTimestamp()
|
/frameworks/av/media/libaaudio/src/legacy/ |
D | AudioStreamLegacy.cpp | 177 ExtendedTimestamp *extendedTimestamp) { in getBestTimestamp() 181 timebase = ExtendedTimestamp::TIMEBASE_BOOTTIME; in getBestTimestamp() 184 timebase = ExtendedTimestamp::TIMEBASE_MONOTONIC; in getBestTimestamp() 191 ExtendedTimestamp::Location location = ExtendedTimestamp::Location::LOCATION_INVALID; in getBestTimestamp()
|
D | AudioStreamLegacy.h | 110 android::ExtendedTimestamp *extendedTimestamp);
|
/frameworks/av/media/libaudioclient/ |
D | AudioTrack.cpp | 625 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID; in set() 697 mPreviousLocation = ExtendedTimestamp::LOCATION_INVALID; in start() 700 && mStartEts.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] > 0) { in start() 707 + mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]), in start() 711 mFramesWrittenServerOffset -= mStartEts.mPosition[ExtendedTimestamp::LOCATION_SERVER]; in start() 2652 status_t AudioTrack::getTimestamp(ExtendedTimestamp *timestamp) in getTimestamp() 2661 status_t AudioTrack::getTimestamp_l(ExtendedTimestamp *timestamp) in getTimestamp_l() 2679 timestamp->mPosition[ExtendedTimestamp::LOCATION_CLIENT] = mFramesWritten; in getTimestamp_l() 2680 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp_l() 2682 for (int i = ExtendedTimestamp::LOCATION_SERVER; in getTimestamp_l() [all …]
|
D | AudioRecord.cpp | 597 status_t AudioRecord::getTimestamp(ExtendedTimestamp *timestamp) in getTimestamp() 605 timestamp->mPosition[ExtendedTimestamp::LOCATION_CLIENT] = mFramesRead; in getTimestamp() 606 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp() 608 for (int i = ExtendedTimestamp::LOCATION_SERVER; in getTimestamp() 609 i < ExtendedTimestamp::LOCATION_MAX; ++i) { in getTimestamp() 617 for (int i = 0; i < ExtendedTimestamp::LOCATION_MAX; ++i) { in getTimestamp()
|
/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/include/media/ |
D | AudioTrack.h | 873 status_t getTimestamp(ExtendedTimestamp *timestamp); 875 status_t getTimestamp_l(ExtendedTimestamp *timestamp); 919 ExtendedTimestamp::Location location = ExtendedTimestamp::LOCATION_SERVER); 1174 ExtendedTimestamp mStartEts; // Extended timestamp at start for normal 1186 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
|
D | AudioRecord.h | 375 status_t getTimestamp(ExtendedTimestamp *timestamp); 727 ExtendedTimestamp mPreviousTimestamp{}; // used to detect retrograde motion
|
/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/libnbaio/include/media/nbaio/ |
D | AudioStreamOutSink.h | 51 virtual status_t getTimestamp(ExtendedTimestamp ×tamp);
|
/frameworks/av/media/libstagefright/ |
D | AudioSource.cpp | 333 ExtendedTimestamp ts; in dataCallback() 334 ExtendedTimestamp::Location location; in dataCallback() 338 ts.getBestTimestamp(&position, &timeNs, ExtendedTimestamp::TIMEBASE_MONOTONIC, in dataCallback()
|