Lines Matching refs:ioHandle
96 sp<AudioIoDescriptor> AudioSystem::getIoDescriptor(audio_io_handle_t ioHandle) in getIoDescriptor() argument
101 desc = afc->getIoDescriptor(ioHandle); in getIoDescriptor()
209 status_t AudioSystem::setParameters(audio_io_handle_t ioHandle, const String8& keyValuePairs) in setParameters() argument
213 return af->setParameters(ioHandle, keyValuePairs); in setParameters()
216 String8 AudioSystem::getParameters(audio_io_handle_t ioHandle, const String8& keys) in getParameters() argument
222 result = af->getParameters(ioHandle, keys); in getParameters()
301 status_t AudioSystem::getSamplingRate(audio_io_handle_t ioHandle, in getSamplingRate() argument
306 sp<AudioIoDescriptor> desc = getIoDescriptor(ioHandle); in getSamplingRate()
308 *samplingRate = af->sampleRate(ioHandle); in getSamplingRate()
313 ALOGE("AudioSystem::getSamplingRate failed for ioHandle %d", ioHandle); in getSamplingRate()
317 ALOGV("getSamplingRate() ioHandle %d, sampling rate %u", ioHandle, *samplingRate); in getSamplingRate()
338 status_t AudioSystem::getFrameCount(audio_io_handle_t ioHandle, in getFrameCount() argument
343 sp<AudioIoDescriptor> desc = getIoDescriptor(ioHandle); in getFrameCount()
345 *frameCount = af->frameCount(ioHandle); in getFrameCount()
350 ALOGE("AudioSystem::getFrameCount failed for ioHandle %d", ioHandle); in getFrameCount()
354 ALOGV("getFrameCount() ioHandle %d, frameCount %zu", ioHandle, *frameCount); in getFrameCount()
418 uint32_t AudioSystem::getInputFramesLost(audio_io_handle_t ioHandle) in getInputFramesLost() argument
423 if (ioHandle == AUDIO_IO_HANDLE_NONE) return result; in getInputFramesLost()
425 result = af->getInputFramesLost(ioHandle); in getInputFramesLost()
467 status_t AudioSystem::getFrameCountHAL(audio_io_handle_t ioHandle, in getFrameCountHAL() argument
472 sp<AudioIoDescriptor> desc = getIoDescriptor(ioHandle); in getFrameCountHAL()
474 *frameCount = af->frameCountHAL(ioHandle); in getFrameCountHAL()
479 ALOGE("AudioSystem::getFrameCountHAL failed for ioHandle %d", ioHandle); in getFrameCountHAL()
483 ALOGV("getFrameCountHAL() ioHandle %d, frameCount %zu", ioHandle, *frameCount); in getFrameCountHAL()
672 sp<AudioIoDescriptor> AudioSystem::AudioFlingerClient::getIoDescriptor_l(audio_io_handle_t ioHandle) in getIoDescriptor_l() argument
675 ssize_t index = mIoDescriptors.indexOfKey(ioHandle); in getIoDescriptor_l()
682 sp<AudioIoDescriptor> AudioSystem::AudioFlingerClient::getIoDescriptor(audio_io_handle_t ioHandle) in getIoDescriptor() argument
685 return getIoDescriptor_l(ioHandle); in getIoDescriptor()
1303 audio_io_handle_t *ioHandle, in acquireSoundTriggerSession() argument
1308 return aps->acquireSoundTriggerSession(session, ioHandle, device); in acquireSoundTriggerSession()