Home
last modified time | relevance | path

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

/frameworks/av/services/audioflinger/
DFastMixer.cpp387 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()
514 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in onWork()
515 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in onWork()
518 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
522 mTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in onWork()
523 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in onWork()
524 mTimestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = in onWork()
[all …]
DTracks.cpp982 .mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in start()
1474 timeStamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in updateTrackFrameInfo()
1475 timeStamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL]}; in updateTrackFrameInfo()
1498 if (!checked && i <= ExtendedTimestamp::LOCATION_KERNEL) { in updateTrackFrameInfo()
1520 && local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] > 0 in updateTrackFrameInfo()
1521 && local.mPosition[ExtendedTimestamp::LOCATION_KERNEL] > 0) in updateTrackFrameInfo()
1529 (local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] - mLogStartTimeNs) * 1e-6; in updateTrackFrameInfo()
1531 startUpMs -= (local.mPosition[ExtendedTimestamp::LOCATION_KERNEL] - mLogStartFrames) in updateTrackFrameInfo()
1537 (long long)local.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in updateTrackFrameInfo()
1539 (long long)local.mPosition[ExtendedTimestamp::LOCATION_KERNEL], in updateTrackFrameInfo()
[all …]
DThreads.h1384 timestamp->mPosition[ExtendedTimestamp::LOCATION_KERNEL] in threadloop_getHalTimestamp_l()
1386 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()
1508 timestamp->mPosition[ExtendedTimestamp::LOCATION_KERNEL] = in threadloop_getHalTimestamp_l()
1509 trackTimestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]; in threadloop_getHalTimestamp_l()
DThreads.cpp3528 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()
3537 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in threadLoop()
3539 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] in threadLoop()
3542 (long long)timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL], in threadLoop()
3543 (long long)timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL]); in threadLoop()
3548 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] in threadLoop()
3551 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = max( in threadLoop()
[all …]
/frameworks/av/media/libnbaio/
DMonoPipe.cpp184 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()
DAudioStreamOutSink.cpp85 timestamp.mPosition[ExtendedTimestamp::LOCATION_KERNEL] = position64; in getTimestamp()
86 timestamp.mTimeNs[ExtendedTimestamp::LOCATION_KERNEL] = audio_utils_ns_from_timespec(&time); in getTimestamp()
/frameworks/av/media/libaudioclient/include/media/
DAudioTimestamp.h43 LOCATION_KERNEL, // timestamp of newest frame in the kernel (alsa) buffer. enumerator
111 for (int i = LOCATION_KERNEL; i >= LOCATION_SERVER; --i) {
139 return getLatencyMs(sampleRate, LOCATION_SERVER, LOCATION_KERNEL); in getOutputServerLatencyMs()
/frameworks/av/media/libaudioclient/
DAudioTrack.cpp2754 ALOGW_IF(mPreviousLocation == ExtendedTimestamp::LOCATION_KERNEL, in getTimestamp_l()
2778 } else if (location == ExtendedTimestamp::LOCATION_KERNEL) { in getTimestamp_l()
2784 ets.mPosition[ExtendedTimestamp::LOCATION_KERNEL]) { in getTimestamp_l()
3169 && location != ExtendedTimestamp::LOCATION_KERNEL)) { in pendingDuration()
3267 for (location = ExtendedTimestamp::LOCATION_KERNEL; in hasStarted()