Lines Matching refs:mIoHandle

527     if (ioDesc == 0 || ioDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) return;  in ioConfigChanged()
540 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
542 mIoDescriptors.add(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
545 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
551 auto it = mAudioDeviceCallbacks.find(ioDesc->mIoHandle); in ioConfigChanged()
563 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, ioDesc->mChannelMask, in ioConfigChanged()
568 if (getIoDescriptor_l(ioDesc->mIoHandle) == 0) { in ioConfigChanged()
570 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
574 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
576 mIoDescriptors.removeItem(ioDesc->mIoHandle); in ioConfigChanged()
577 mAudioDeviceCallbacks.erase(ioDesc->mIoHandle); in ioConfigChanged()
582 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
584 ALOGW("ioConfigChanged() modifying unknown output! %d", ioDesc->mIoHandle); in ioConfigChanged()
589 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
593 auto it = mAudioDeviceCallbacks.find(ioDesc->mIoHandle); in ioConfigChanged()
601 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, in ioConfigChanged()
607 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
609 ALOGW("ioConfigChanged() start client on unknown io! %d", ioDesc->mIoHandle); in ioConfigChanged()
613 ioDesc->mIoHandle, ioDesc->mPortId, mAudioDeviceCallbacks.size()); in ioConfigChanged()
615 auto it = mAudioDeviceCallbacks.find(ioDesc->mIoHandle); in ioConfigChanged()
639 cb->onAudioDeviceUpdate(ioDesc->mIoHandle, deviceId); in ioConfigChanged()