Home
last modified time | relevance | path

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

/frameworks/av/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];
145 << mPosition[i] << " time: " << mTimeNs[i] << "\n"; in toString()
/frameworks/av/services/audioflinger/
DFastMixer.cpp360 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0) { in onWork()
365 perTrackTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork()
480 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in onWork()
481 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
489 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = in onWork()
490 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
493 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = in onWork()
498 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = -1; in onWork()
DThreads.cpp2898 if (mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] >= 0) { in threadLoop()
2901 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] = in threadLoop()
2902 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in threadLoop()
2906 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] = in threadLoop()
2907 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER]; in threadLoop()
2910 if (timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] >= 0) { in threadLoop()
2919 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in threadLoop()
2920 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in threadLoop()
2940 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = mLastWriteTime == -1 in threadLoop()
6058 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] = systemTime(); in threadLoop()
[all …]
DTracks.cpp1106 if (local.mTimeNs[i] > 0) { in updateTrackFrameInfo()
1651 if (local.mTimeNs[i] != 0) { in updateTrackFrameInfo()
/frameworks/av/media/libnbaio/
DMonoPipe.cpp192 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in getTimestamp()
193 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]; in getTimestamp()
DAudioStreamOutSink.cpp81 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in getTimestamp()
/frameworks/av/media/libmedia/
DAudioTrack.cpp576 ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER] > 0) { in start()
2307 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp_l()
2311 if (timestamp->mTimeNs[i] >= 0) { in getTimestamp_l()
2381 (ets.mTimeNs[ExtendedTimestamp::LOCATION_SERVER_LASTKERNELOK] < 0 || in getTimestamp()
2382 ets.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL_LASTKERNELOK] < 0 || in getTimestamp()
2674 && ets.mTimeNs[location] > 0) { in pendingDuration()
2685 ets.mTimeNs[location] in pendingDuration()
DAudioRecord.cpp465 timestamp->mTimeNs[ExtendedTimestamp::LOCATION_CLIENT] = 0; in getTimestamp()
469 if (timestamp->mTimeNs[i] >= 0) { in getTimestamp()