Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioMixPort.java33 private final int mIoHandle; field in AudioMixPort
41 mIoHandle = ioHandle; in AudioMixPort()
58 return mIoHandle; in ioHandle()
67 if (mIoHandle != other.ioHandle()) { in equals()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp281 mProfile(profile), mIoHandle(AUDIO_IO_HANDLE_NONE), mLatency(0), in SwAudioOutputDescriptor()
381 ALOGV("max gain when rerouting for output=%d", mIoHandle); in isFixedVolume()
397 ALOG_ASSERT(!isDuplicated(), "toAudioPortConfig() called on duplicated output %d", mIoHandle); in toAudioPortConfig()
400 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
406 ALOG_ASSERT(!isDuplicated(), "toAudioPort() called on duplicated output %d", mIoHandle); in toAudioPort()
411 port->ext.mix.handle = mIoHandle; in toAudioPort()
442 mClientInterface->setStreamVolume(stream, volumeAmpl, mIoHandle, delayMs); in setVolume()
462 mClientInterface->setStreamVolume(AUDIO_STREAM_VOICE_CALL, volumeAmpl, mIoHandle, delayMs); in setVolume()
466 mIoHandle, vs, volumeDb, delayMs, toString(stream).c_str()); in setVolume()
467 mClientInterface->setStreamVolume(stream, volumeAmpl, mIoHandle, delayMs); in setVolume()
[all …]
DAudioInputDescriptor.cpp78 "toAudioPortConfig() called on input with null profile %d", mIoHandle); in toAudioPortConfig()
91 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
97 ALOG_ASSERT(mProfile != 0, "toAudioPort() called on input with null profile %d", mIoHandle); in toAudioPort()
103 port->ext.mix.handle = mIoHandle; in toAudioPort()
251 mIoHandle = *input; in open()
282 if (mIoHandle != AUDIO_IO_HANDLE_NONE) { in close()
294 mClientInterface->closeInput(mIoHandle); in close()
302 mIoHandle = AUDIO_IO_HANDLE_NONE; in close()
590 if (inputDesc->mIoHandle == effect->mIo) { in trackEffectEnabled()
DClientDescriptor.cpp63 desc.promote() == nullptr ? 0 : desc.promote()->mIoHandle); in dump()
DAudioPolicyMix.cpp48 mOutput == nullptr ? 0 : mOutput->mIoHandle); in dump()
/frameworks/av/media/libaudioclient/include/media/
DAudioIoDescriptor.h39 mIoHandle(AUDIO_IO_HANDLE_NONE), in AudioIoDescriptor()
62 audio_io_handle_t mIoHandle; variable
/frameworks/av/media/libaudioclient/
DIAudioFlingerClient.cpp47 data.writeInt32((int32_t)ioDesc->mIoHandle); in ioConfigChanged()
72 ioDesc->mIoHandle = (audio_io_handle_t) data.readInt32(); in onTransact()
DAudioSystem.cpp527 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()
[all …]
/frameworks/base/services/core/java/com/android/server/soundtrigger_middleware/
DSoundTriggerMiddlewareImpl.java65 final int mIoHandle; field in SoundTriggerMiddlewareImpl.AudioSessionProvider.AudioSession
70 mIoHandle = ioHandle; in AudioSession()
DSoundTriggerModule.java510 hidlConfig.base.header.captureHandle = mSession.mIoHandle; in startRecognition()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp788 setInputDevice(activeDesc->mIoHandle, newDevice); in setForceUse()
790 closeInput(activeDesc->mIoHandle); in setForceUse()
976 *output = policyDesc->mIoHandle; in getOutputForAttrInt()
1092 outputDesc->mIoHandle != AUDIO_IO_HANDLE_NONE) { in getOutputForAttr()
1093 secondaryOutputs->push_back(outputDesc->mIoHandle); in getOutputForAttr()
1614 outputDesc->mIoHandle, client->stream(), client->session()); in startOutput()
1703 checkStrategyRoute(clientStrategy, outputDesc->mIoHandle); in startSource()
1824 outputDesc->mIoHandle, client->stream(), client->session()); in stopOutput()
1933 ALOGV("releaseOutput() %d", outputDesc->mIoHandle); in releaseOutput()
1938 outputDesc->mDirectOpenCount, outputDesc->mIoHandle); in releaseOutput()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h59 audio_io_handle_t mIoHandle = AUDIO_IO_HANDLE_NONE; // input handle variable
DAudioOutputDescriptor.h407 audio_io_handle_t mIoHandle; // output handle variable
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp2676 ioDesc->mIoHandle = output; in closeOutput_nonvirtual()
2922 ioDesc->mIoHandle = input; in closeInput_nonvirtual()
DThreads.cpp2628 desc->mIoHandle = mId; in ioConfigChanged()
8389 desc->mIoHandle = mId; in ioConfigChanged()
9143 desc->mIoHandle = mId; in ioConfigChanged()