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.cpp388 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in onWork()
393 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork()
516 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in onWork()
525 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in onWork()
526 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
542 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = in onWork()
543 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
546 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = in onWork()
551 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork()
DThreads.h1365 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l()
1484 if (trackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in threadloop_getHalTimestamp_l()
1485 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in threadloop_getHalTimestamp_l()
1486 trackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in threadloop_getHalTimestamp_l()
DThreads.cpp3415 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop()
3420 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop()
3425 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in threadLoop()
3426 = correctedTimestamp.mTimeNs; in threadLoop()
3428 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop()
3450 if (mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] >= 0) { in threadLoop()
3453 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] = in threadLoop()
3454 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in threadLoop()
3458 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] = in threadLoop()
3459 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER]; in threadLoop()
[all …]
DTracks.cpp1456 timeStamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo()
1476 if (local.mTimeNs[i] > 0) { in updateTrackFrameInfo()
2312 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo()
2324 if (local.mTimeNs[i] != 0) { in updateTrackFrameInfo()
/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.cpp568 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp()
572 if (timestamp->mTimeNs[i] >= 0) { in getTimestamp()
580 if (timestamp->mTimeNs[i] >= 0 && mPreviousTimestamp.mTimeNs[i] >= 0) { in getTimestamp()
581 if (timestamp->mTimeNs[i] < mPreviousTimestamp.mTimeNs[i]) { in getTimestamp()
584 __func__, i, (long long)timestamp->mTimeNs[i], in getTimestamp()
585 (long long)mPreviousTimestamp.mTimeNs[i]); in getTimestamp()
588 timestamp->mTimeNs[i] = mPreviousTimestamp.mTimeNs[i]; in getTimestamp()
DAudioTrack.cpp669 && mStartEts.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] > 0) { in start()
2528 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp_l()
2532 if (timestamp->mTimeNs[i] >= 0) { in getTimestamp_l()
2609 (ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] < 0 || in getTimestamp_l()
2610 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] < 0 || in getTimestamp_l()
2656 (ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] < 0 || in getTimestamp_l()
2657 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] < 0) in getTimestamp_l()
3031 && ets.mTimeNs[location] > 0) { in pendingDuration()
3042 ets.mTimeNs[location] in pendingDuration()
3117 if (ets.mTimeNs[location] < 0 || mStartEts.mTimeNs[location] < 0) { in hasStarted()