Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/
DAudioMixPort.java36 private final int mIoHandle; field in AudioMixPort
44 mIoHandle = ioHandle; in AudioMixPort()
50 mIoHandle = ioHandle; in AudioMixPort()
67 return mIoHandle; in ioHandle()
76 if (mIoHandle != other.ioHandle()) { in equals()
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp287 mProfile(profile), mIoHandle(AUDIO_IO_HANDLE_NONE), mLatency(0), in SwAudioOutputDescriptor()
404 ALOGV("max gain when rerouting for output=%d", mIoHandle); in isFixedVolume()
420 ALOG_ASSERT(!isDuplicated(), "toAudioPortConfig() called on duplicated output %d", mIoHandle); in toAudioPortConfig()
423 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
428 ALOG_ASSERT(!isDuplicated(), "toAudioPort() called on duplicated output %d", mIoHandle); in toAudioPort()
433 port->ext.mix.handle = mIoHandle; in toAudioPort()
464 mClientInterface->setStreamVolume(stream, volumeAmpl, mIoHandle, delayMs); in setVolume()
484 mClientInterface->setStreamVolume(AUDIO_STREAM_VOICE_CALL, volumeAmpl, mIoHandle, delayMs); in setVolume()
488 mIoHandle, vs, volumeDb, delayMs, toString(stream).c_str()); in setVolume()
489 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/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.java520 hidlConfig.base.header.captureHandle = mSession.mIoHandle; in startRecognition()
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp540 if (ioDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) return Status::ok(); in ioConfigChanged()
553 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
555 mIoDescriptors.add(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
558 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
564 auto it = mAudioDeviceCallbacks.find(ioDesc->mIoHandle); in ioConfigChanged()
576 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, in ioConfigChanged()
583 if (getIoDescriptor_l(ioDesc->mIoHandle) == 0) { in ioConfigChanged()
585 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
589 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
591 mIoDescriptors.removeItem(ioDesc->mIoHandle); in ioConfigChanged()
[all …]
DAidlConversion.cpp1152 legacy->mIoHandle = VALUE_OR_RETURN(aidl2legacy_int32_t_audio_io_handle_t(aidl.ioHandle)); in aidl2legacy_AudioIoDescriptor_AudioIoDescriptor()
1168 aidl.ioHandle = VALUE_OR_RETURN(legacy2aidl_audio_io_handle_t_int32_t(legacy->mIoHandle)); in legacy2aidl_AudioIoDescriptor_AudioIoDescriptor()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp1051 *output = policyDesc->mIoHandle; in getOutputForAttrInt()
1173 outputDesc->mIoHandle != AUDIO_IO_HANDLE_NONE) { in getOutputForAttr()
1174 secondaryOutputs->push_back(outputDesc->mIoHandle); in getOutputForAttr()
1759 outputDesc->mIoHandle, client->stream(), client->session()); in startOutput()
1848 checkStrategyRoute(clientStrategy, outputDesc->mIoHandle); in startSource()
1970 outputDesc->mIoHandle, client->stream(), client->session()); in stopOutput()
2079 ALOGV("releaseOutput() %d", outputDesc->mIoHandle); in releaseOutput()
2090 outputDesc->mDirectOpenCount, outputDesc->mIoHandle); in releaseOutput()
2094 closeOutput(outputDesc->mIoHandle); in releaseOutput()
2103 closeOutput(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.h418 audio_io_handle_t mIoHandle; // output handle variable
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp2740 ioDesc->mIoHandle = output; in closeOutput_nonvirtual()
3000 ioDesc->mIoHandle = input; in closeInput_nonvirtual()
DThreads.cpp2715 desc->mIoHandle = mId; in ioConfigChanged()
8638 desc->mIoHandle = mId; in ioConfigChanged()
9504 desc->mIoHandle = mId; in ioConfigChanged()
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt27254 Landroid/media/AudioMixPort;->mIoHandle:I