Lines Matching refs:ioHandle
1033 uint32_t AudioFlinger::sampleRate(audio_io_handle_t ioHandle) const in sampleRate()
1036 ThreadBase *thread = checkThread_l(ioHandle); in sampleRate()
1038 ALOGW("sampleRate() unknown thread %d", ioHandle); in sampleRate()
1055 size_t AudioFlinger::frameCount(audio_io_handle_t ioHandle) const in frameCount()
1058 ThreadBase *thread = checkThread_l(ioHandle); in frameCount()
1060 ALOGW("frameCount() unknown thread %d", ioHandle); in frameCount()
1068 size_t AudioFlinger::frameCountHAL(audio_io_handle_t ioHandle) const in frameCountHAL()
1071 ThreadBase *thread = checkThread_l(ioHandle); in frameCountHAL()
1073 ALOGW("frameCountHAL() unknown thread %d", ioHandle); in frameCountHAL()
1552 status_t AudioFlinger::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
1555 ioHandle, keyValuePairs.string(), in setParameters()
1569 if (ioHandle == AUDIO_IO_HANDLE_NONE) { in setParameters()
1614 thread = checkPlaybackThread_l(ioHandle); in setParameters()
1616 thread = checkRecordThread_l(ioHandle); in setParameters()
1618 thread = checkMmapThread_l(ioHandle); in setParameters()
1638 String8 AudioFlinger::getParameters(audio_io_handle_t ioHandle, const String8& keys) const in getParameters() argument
1641 ioHandle, keys.string(), IPCThreadState::self()->getCallingPid()); in getParameters()
1645 if (ioHandle == AUDIO_IO_HANDLE_NONE) { in getParameters()
1660 ThreadBase *thread = (ThreadBase *)checkPlaybackThread_l(ioHandle); in getParameters()
1662 thread = (ThreadBase *)checkRecordThread_l(ioHandle); in getParameters()
1664 thread = (ThreadBase *)checkMmapThread_l(ioHandle); in getParameters()
1751 uint32_t AudioFlinger::getInputFramesLost(audio_io_handle_t ioHandle) const in getInputFramesLost()
1755 RecordThread *recordThread = checkRecordThread_l(ioHandle); in getInputFramesLost()
3232 AudioFlinger::ThreadBase *AudioFlinger::checkThread_l(audio_io_handle_t ioHandle) const in checkThread_l()
3234 ThreadBase *thread = checkMmapThread_l(ioHandle); in checkThread_l()
3236 switch (audio_unique_id_get_use(ioHandle)) { in checkThread_l()
3238 thread = checkPlaybackThread_l(ioHandle); in checkThread_l()
3241 thread = checkRecordThread_l(ioHandle); in checkThread_l()