Lines Matching refs:mIoHandle
490 if (ioDesc == 0 || ioDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) return;
501 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle);
503 mIoDescriptors.add(ioDesc->mIoHandle, ioDesc);
506 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc);
511 ssize_t ioIndex = mAudioDeviceCallbacks.indexOfKey(ioDesc->mIoHandle);
518 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, ioDesc->mChannelMask,
523 if (getIoDescriptor_l(ioDesc->mIoHandle) == 0) {
525 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle);
529 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle);
531 mIoDescriptors.removeItem(ioDesc->mIoHandle);
532 mAudioDeviceCallbacks.removeItem(ioDesc->mIoHandle);
537 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle);
539 ALOGW("ioConfigChanged() modifying unknown output! %d", ioDesc->mIoHandle);
544 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc);
548 ssize_t ioIndex = mAudioDeviceCallbacks.indexOfKey(ioDesc->mIoHandle);
556 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat,
562 // callbacks.size() != 0 => ioDesc->mIoHandle and deviceId are valid
564 callbacks[i]->onAudioDeviceUpdate(ioDesc->mIoHandle, deviceId);