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()
47 mIoHandle = ioHandle; in setIoHandle()
67 "toAudioPortConfig() called on input with null profile %d", mIoHandle); in toAudioPortConfig()
80 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
86 ALOG_ASSERT(mProfile != 0, "toAudioPort() called on input with null profile %d", mIoHandle); in toAudioPort()
92 port->ext.mix.handle = mIoHandle; in toAudioPort()
DAudioOutputDescriptor.cpp226 mProfile(profile), mIoHandle(0), mLatency(0), in SwAudioOutputDescriptor()
238 mIoHandle = ioHandle; in setIoHandle()
339 ALOGV("max gain when rerouting for output=%d", mIoHandle); in isFixedVolume()
351 ALOG_ASSERT(!isDuplicated(), "toAudioPortConfig() called on duplicated output %d", mIoHandle); in toAudioPortConfig()
354 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
360 ALOG_ASSERT(!isDuplicated(), "toAudioPort() called on duplicated output %d", mIoHandle); in toAudioPort()
365 port->ext.mix.handle = mIoHandle; in toAudioPort()
384 AUDIO_STREAM_VOICE_CALL, volume, mIoHandle, delayMs); in setVolume()
386 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.cpp468 if (ioDesc == 0 || ioDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) return; in ioConfigChanged()
479 sp<AudioIoDescriptor> oldDesc = getIoDescriptor(ioDesc->mIoHandle); in ioConfigChanged()
481 mIoDescriptors.add(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
484 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
489 ssize_t ioIndex = mAudioDeviceCallbacks.indexOfKey(ioDesc->mIoHandle); in ioConfigChanged()
496 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, ioDesc->mChannelMask, in ioConfigChanged()
501 if (getIoDescriptor(ioDesc->mIoHandle) == 0) { in ioConfigChanged()
503 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
507 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
509 mIoDescriptors.removeItem(ioDesc->mIoHandle); in ioConfigChanged()
[all …]
DIAudioFlingerClient.cpp47 data.writeInt32((int32_t)ioDesc->mIoHandle); in ioConfigChanged()
70 ioDesc->mIoHandle = (audio_io_handle_t) data.readInt32(); in onTransact()
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h42 audio_io_handle_t mIoHandle; // input handle variable
DAudioOutputDescriptor.h119 audio_io_handle_t mIoHandle; // output handle variable
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp679 *output = desc->mIoHandle; in getOutputForAttr()
850 closeOutput(outputDesc->mIoHandle); in getOutputForDevice()
1274 if (hasPrimaryOutput() && dstOutput != mPrimaryOutput->mIoHandle) { in releaseOutput()
1276 mPrimaryOutput->mIoHandle, dstOutput); in releaseOutput()
1985 hasPrimaryOutput() ? mPrimaryOutput->mIoHandle : AUDIO_IO_HANDLE_NONE); in dump()
2210 outputDesc->mIoHandle); in createAudioPatch()
2254 devices.types(), outputDesc->mIoHandle); in createAudioPatch()
2306 devDesc->type(), inputDesc->mIoHandle); in createAudioPatch()
2307 setInputDevice(inputDesc->mIoHandle, devDesc->type(), true, handle); in createAudioPatch()
2453 setInputDevice(inputDesc->mIoHandle, in releaseAudioPatch()
[all …]
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp1946 ioDesc->mIoHandle = output; in closeOutput_nonvirtual()
2210 ioDesc->mIoHandle = input; in closeInput_nonvirtual()
DThreads.cpp2012 desc->mIoHandle = mId; in ioConfigChanged()
6882 desc->mIoHandle = mId; in ioConfigChanged()