Lines Matching refs:getIoHandle
648 if (ioDesc->getIoHandle() == AUDIO_IO_HANDLE_NONE) return Status::ok(); in ioConfigChanged()
661 if (sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->getIoHandle())) { in ioConfigChanged()
664 mIoDescriptors[ioDesc->getIoHandle()] = ioDesc; in ioConfigChanged()
669 auto it = mAudioDeviceCallbacks.find(ioDesc->getIoHandle()); in ioConfigChanged()
685 if (getIoDescriptor_l(ioDesc->getIoHandle()) == 0) { in ioConfigChanged()
687 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->getIoHandle()); in ioConfigChanged()
691 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->getIoHandle()); in ioConfigChanged()
693 mIoDescriptors.erase(ioDesc->getIoHandle()); in ioConfigChanged()
694 mAudioDeviceCallbacks.erase(ioDesc->getIoHandle()); in ioConfigChanged()
700 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->getIoHandle()); in ioConfigChanged()
704 ioDesc->getIoHandle()); in ioConfigChanged()
709 mIoDescriptors[ioDesc->getIoHandle()] = ioDesc; in ioConfigChanged()
713 auto it = mAudioDeviceCallbacks.find(ioDesc->getIoHandle()); in ioConfigChanged()
725 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->getIoHandle()); in ioConfigChanged()
728 ioDesc->getIoHandle()); in ioConfigChanged()
732 ioDesc->getIoHandle(), ioDesc->getPortId(), mAudioDeviceCallbacks.size()); in ioConfigChanged()
734 auto it = mAudioDeviceCallbacks.find(ioDesc->getIoHandle()); in ioConfigChanged()
759 cb->onAudioDeviceUpdate(ioDesc->getIoHandle(), deviceId); in ioConfigChanged()