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/
DFastMixer.cpp387 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in onWork()
392 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork()
515 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in onWork()
524 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in onWork()
525 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
541 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = in onWork()
542 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
545 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = in onWork()
550 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork()
DTracks.cpp1475 timeStamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo()
1495 if (local.mTimeNs[i] > 0) { in updateTrackFrameInfo()
1520 && local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0 in updateTrackFrameInfo()
1529 (local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] - mLogStartTimeNs) * 1e-6; in updateTrackFrameInfo()
1537 (long long)local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in updateTrackFrameInfo()
2350 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo()
2362 if (local.mTimeNs[i] != 0) { in updateTrackFrameInfo()
DThreads.h1386 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l()
1505 if (trackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in threadloop_getHalTimestamp_l()
1506 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in threadloop_getHalTimestamp_l()
1507 trackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in threadloop_getHalTimestamp_l()
DThreads.cpp3529 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop()
3534 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop()
3539 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in threadLoop()
3540 = correctedTimestamp.mTimeNs; in threadLoop()
3542 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop()
3564 if (mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] >= 0) { in threadLoop()
3567 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] = in threadLoop()
3568 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in threadLoop()
3572 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] = in threadLoop()
3573 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER]; in threadLoop()
[all …]
/frameworks/av/media/libnbaio/
DMonoPipe.cpp186 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in getTimestamp()
187 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in getTimestamp()
DAudioStreamOutSink.cpp86 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = audio_utils_ns_from_timespec(&time); in getTimestamp()
/frameworks/av/media/libaudioclient/
DAudioRecord.cpp606 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp()
610 if (timestamp->mTimeNs[i] >= 0) { in getTimestamp()
618 if (timestamp->mTimeNs[i] >= 0 && mPreviousTimestamp.mTimeNs[i] >= 0) { in getTimestamp()
619 if (timestamp->mTimeNs[i] < mPreviousTimestamp.mTimeNs[i]) { in getTimestamp()
622 __func__, i, (long long)timestamp->mTimeNs[i], in getTimestamp()
623 (long long)mPreviousTimestamp.mTimeNs[i]); in getTimestamp()
626 timestamp->mTimeNs[i] = mPreviousTimestamp.mTimeNs[i]; in getTimestamp()
DAudioTrack.cpp700 && mStartEts.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] > 0) { in start()
2680 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp_l()
2684 if (timestamp->mTimeNs[i] >= 0) { in getTimestamp_l()
2761 (ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] < 0 || in getTimestamp_l()
2762 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] < 0 || in getTimestamp_l()
2808 (ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] < 0 || in getTimestamp_l()
2809 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] < 0) in getTimestamp_l()
3183 && ets.mTimeNs[location] > 0) { in pendingDuration()
3194 ets.mTimeNs[location] in pendingDuration()
3269 if (ets.mTimeNs[location] < 0 || mStartEts.mTimeNs[location] < 0) { in hasStarted()