Home
last modified time | relevance | path

Searched refs:mTimeNs (Results 1 – 9 of 9) sorted by relevance

/frameworks/av/media/libaudioclient/include/media/
DAudioTimestamp.h73 int64_t mTimeNs[LOCATION_MAX]; member
93 mTimeNs[i] = -1; in clear()
112 if (mTimeNs[i] > 0) {
114 *time = mTimeNs[i] + mTimebaseOffset[timebase];
143 if (sampleRate > 0 && mTimeNs[location1] > 0 && mTimeNs[location2] > 0) { in getLatencyMs()
147 mTimeNs[location1] - mTimeNs[location2]; in getLatencyMs()
160 << mPosition[i] << " time: " << mTimeNs[i] << "\n"; in toString()
/frameworks/av/services/audioflinger/fastpath/
DFastMixer.cpp375 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in onWork()
380 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork()
504 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in onWork()
513 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in onWork()
514 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
530 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = in onWork()
531 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
534 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = in onWork()
539 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork()
/frameworks/av/media/libnbaio/
DMonoPipe.cpp186 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in getTimestamp()
187 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in getTimestamp()
DAudioStreamOutSink.cpp99 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = audio_utils_ns_from_timespec(&time); in getTimestamp()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp628 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp()
637 if (timestamp->mTimeNs[i] >= 0) { in getTimestamp()
645 if (timestamp->mTimeNs[i] >= 0 && mPreviousTimestamp.mTimeNs[i] >= 0) { in getTimestamp()
646 if (timestamp->mTimeNs[i] < mPreviousTimestamp.mTimeNs[i]) { in getTimestamp()
649 __func__, i, (long long)timestamp->mTimeNs[i], in getTimestamp()
650 (long long)mPreviousTimestamp.mTimeNs[i]); in getTimestamp()
653 timestamp->mTimeNs[i] = mPreviousTimestamp.mTimeNs[i]; in getTimestamp()
DAudioTrack.cpp809 && mStartEts.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] > 0) { in start()
3136 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp_l()
3140 if (timestamp->mTimeNs[i] >= 0) { in getTimestamp_l()
3221 (ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] < 0 || in getTimestamp_l()
3222 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] < 0 || in getTimestamp_l()
3268 (ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] < 0 || in getTimestamp_l()
3269 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] < 0) in getTimestamp_l()
3688 && ets.mTimeNs[location] > 0) { in pendingDuration()
3699 ets.mTimeNs[location] in pendingDuration()
3774 if (ets.mTimeNs[location] < 0 || mStartEts.mTimeNs[location] < 0) { in hasStarted()
/frameworks/av/services/audioflinger/
DThreads.cpp4684 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in collectTimestamps_l()
4689 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in collectTimestamps_l()
4694 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in collectTimestamps_l()
4695 = correctedTimestamp.mTimeNs; in collectTimestamps_l()
4697 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in collectTimestamps_l()
4719 if (mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] >= 0) { in collectTimestamps_l()
4722 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] = in collectTimestamps_l()
4723 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in collectTimestamps_l()
4727 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] = in collectTimestamps_l()
4728 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER]; in collectTimestamps_l()
[all …]
DTracks.cpp2048 timeStamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo()
2068 if (local.mTimeNs[i] > 0) { in updateTrackFrameInfo()
2095 && local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0 in updateTrackFrameInfo()
2104 (local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] - mLogStartTimeNs) * 1e-6; in updateTrackFrameInfo()
2112 (long long)local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in updateTrackFrameInfo()
3011 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo()
3025 if (local.mTimeNs[i] != 0) { in updateTrackFrameInfo()
DThreads.h1794 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l()
1921 if (trackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in threadloop_getHalTimestamp_l()
1922 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in threadloop_getHalTimestamp_l()
1923 trackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in threadloop_getHalTimestamp_l()