Home
last modified time | relevance | path

Searched refs:mIoHandle (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/media/java/android/media/
DAudioMixPort.java31 private final int mIoHandle; field in AudioMixPort
38 mIoHandle = ioHandle; in AudioMixPort()
54 return mIoHandle; in ioHandle()
63 if (mIoHandle != other.ioHandle()) { in equals()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioInputDescriptor.cpp30 : mIoHandle(0), in AudioInputDescriptor()
45 mIoHandle = ioHandle; in setIoHandle()
77 "toAudioPortConfig() called on input with null profile %d", mIoHandle); in toAudioPortConfig()
90 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
96 ALOG_ASSERT(mProfile != 0, "toAudioPort() called on input with null profile %d", mIoHandle); in toAudioPort()
102 port->ext.mix.handle = mIoHandle; in toAudioPort()
DAudioOutputDescriptor.cpp224 mProfile(profile), mIoHandle(0), mLatency(0), in SwAudioOutputDescriptor()
236 mIoHandle = ioHandle; in setIoHandle()
337 ALOGV("max gain when rerouting for output=%d", mIoHandle); in isFixedVolume()
349 ALOG_ASSERT(!isDuplicated(), "toAudioPortConfig() called on duplicated output %d", mIoHandle); in toAudioPortConfig()
352 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
358 ALOG_ASSERT(!isDuplicated(), "toAudioPort() called on duplicated output %d", mIoHandle); in toAudioPort()
363 port->ext.mix.handle = mIoHandle; in toAudioPort()
382 AUDIO_STREAM_VOICE_CALL, volume, mIoHandle, delayMs); in setVolume()
384 mClientInterface->setStreamVolume(stream, volume, mIoHandle, delayMs); in setVolume()
/frameworks/av/include/media/
DAudioIoDescriptor.h36 mIoHandle(AUDIO_IO_HANDLE_NONE), in AudioIoDescriptor()
59 audio_io_handle_t mIoHandle; variable
/frameworks/av/media/libmedia/
DAudioSystem.cpp490 if (ioDesc == 0 || ioDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) return; in ioConfigChanged()
501 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
503 mIoDescriptors.add(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
506 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
511 ssize_t ioIndex = mAudioDeviceCallbacks.indexOfKey(ioDesc->mIoHandle); in ioConfigChanged()
518 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, ioDesc->mChannelMask, in ioConfigChanged()
523 if (getIoDescriptor_l(ioDesc->mIoHandle) == 0) { in ioConfigChanged()
525 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
529 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
531 mIoDescriptors.removeItem(ioDesc->mIoHandle); in ioConfigChanged()
[all …]
DIAudioFlingerClient.cpp47 data.writeInt32((int32_t)ioDesc->mIoHandle); in ioConfigChanged()
71 ioDesc->mIoHandle = (audio_io_handle_t) data.readInt32(); in onTransact()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp720 *output = desc->mIoHandle; in getOutputForAttr()
891 closeOutput(outputDesc->mIoHandle); in getOutputForDevice()
1352 if (hasPrimaryOutput() && dstOutput != mPrimaryOutput->mIoHandle) { in releaseOutput()
1354 mPrimaryOutput->mIoHandle, dstOutput); in releaseOutput()
2214 hasPrimaryOutput() ? mPrimaryOutput->mIoHandle : AUDIO_IO_HANDLE_NONE); in dump()
2461 outputDesc->mIoHandle); in createAudioPatch()
2505 devices.types(), outputDesc->mIoHandle); in createAudioPatch()
2557 devDesc->type(), inputDesc->mIoHandle); in createAudioPatch()
2558 setInputDevice(inputDesc->mIoHandle, devDesc->type(), true, handle); in createAudioPatch()
2704 setInputDevice(inputDesc->mIoHandle, in releaseAudioPatch()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h45 audio_io_handle_t mIoHandle; // input handle variable
DAudioOutputDescriptor.h124 audio_io_handle_t mIoHandle; // output handle variable
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp2004 ioDesc->mIoHandle = output; in closeOutput_nonvirtual()
2278 ioDesc->mIoHandle = input; in closeInput_nonvirtual()
DThreads.cpp2130 desc->mIoHandle = mId; in ioConfigChanged()
7129 desc->mIoHandle = mId; in ioConfigChanged()