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()
580 ALOGW("ioConfigChanged() modifying unknown output! %d", ioDesc->mIoHandle); in ioConfigChanged()
585 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
589 auto it = mAudioDeviceCallbacks.find(ioDesc->mIoHandle); in ioConfigChanged()
597 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, in ioConfigChanged()
603 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
605 ALOGW("ioConfigChanged() start client on unknown io! %d", ioDesc->mIoHandle); in ioConfigChanged()
609 ioDesc->mIoHandle, ioDesc->mPortId, mAudioDeviceCallbacks.size()); in ioConfigChanged()
611 auto it = mAudioDeviceCallbacks.find(ioDesc->mIoHandle); in ioConfigChanged()
635 cb->onAudioDeviceUpdate(ioDesc->mIoHandle, deviceId); in ioConfigChanged()