Lines Matching refs:mIoHandle
523 if (ioDesc == 0 || ioDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) return; in ioConfigChanged()
536 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
538 mIoDescriptors.add(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
541 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
547 auto it = mAudioDeviceCallbacks.find(ioDesc->mIoHandle); in ioConfigChanged()
559 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, ioDesc->mChannelMask, in ioConfigChanged()
564 if (getIoDescriptor_l(ioDesc->mIoHandle) == 0) { in ioConfigChanged()
566 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
570 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
572 mIoDescriptors.removeItem(ioDesc->mIoHandle); in ioConfigChanged()
573 mAudioDeviceCallbacks.erase(ioDesc->mIoHandle); in ioConfigChanged()
578 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
581 event == AUDIO_OUTPUT_CONFIG_CHANGED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
586 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
590 auto it = mAudioDeviceCallbacks.find(ioDesc->mIoHandle); in ioConfigChanged()
598 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, in ioConfigChanged()
604 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
606 ALOGW("ioConfigChanged() start client on unknown io! %d", ioDesc->mIoHandle); in ioConfigChanged()
610 ioDesc->mIoHandle, ioDesc->mPortId, mAudioDeviceCallbacks.size()); in ioConfigChanged()
612 auto it = mAudioDeviceCallbacks.find(ioDesc->mIoHandle); in ioConfigChanged()
636 cb->onAudioDeviceUpdate(ioDesc->mIoHandle, deviceId); in ioConfigChanged()