Home
last modified time | relevance | path

Searched refs:mIoHandle (Results 1 – 13 of 13) 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.cpp275 mProfile(profile), mIoHandle(AUDIO_IO_HANDLE_NONE), mLatency(0), in SwAudioOutputDescriptor()
375 ALOGV("max gain when rerouting for output=%d", mIoHandle); in isFixedVolume()
391 ALOG_ASSERT(!isDuplicated(), "toAudioPortConfig() called on duplicated output %d", mIoHandle); in toAudioPortConfig()
394 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
400 ALOG_ASSERT(!isDuplicated(), "toAudioPort() called on duplicated output %d", mIoHandle); in toAudioPort()
405 port->ext.mix.handle = mIoHandle; in toAudioPort()
436 mClientInterface->setStreamVolume(stream, volumeAmpl, mIoHandle, delayMs); in setVolume()
456 mClientInterface->setStreamVolume(AUDIO_STREAM_VOICE_CALL, volumeAmpl, mIoHandle, delayMs); in setVolume()
460 mIoHandle, vs, volumeDb, delayMs, toString(stream).c_str()); in setVolume()
461 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()
DAudioPolicyMix.cpp196 if (policyDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) { in getOutputForAttr()
/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/
DAudioSystem.cpp523 if (ioDesc == 0 || ioDesc->mIoHandle == AUDIO_IO_HANDLE_NONE) return; in ioConfigChanged()
536 sp<AudioIoDescriptor> oldDesc = getIoDescriptor_l(ioDesc->mIoHandle); in ioConfigChanged()
538 mIoDescriptors.add(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
541 mIoDescriptors.replaceValueFor(ioDesc->mIoHandle, ioDesc); in ioConfigChanged()
547 auto it = mAudioDeviceCallbacks.find(ioDesc->mIoHandle); in ioConfigChanged()
559 ioDesc->mIoHandle, ioDesc->mSamplingRate, ioDesc->mFormat, ioDesc->mChannelMask, in ioConfigChanged()
564 if (getIoDescriptor_l(ioDesc->mIoHandle) == 0) { in ioConfigChanged()
566 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
570 event == AUDIO_OUTPUT_CLOSED ? "output" : "input", ioDesc->mIoHandle); in ioConfigChanged()
572 mIoDescriptors.removeItem(ioDesc->mIoHandle); in ioConfigChanged()
[all …]
DIAudioFlingerClient.cpp47 data.writeInt32((int32_t)ioDesc->mIoHandle); in ioConfigChanged()
72 ioDesc->mIoHandle = (audio_io_handle_t) data.readInt32(); in onTransact()
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp787 setInputDevice(activeDesc->mIoHandle, newDevice); in setForceUse()
789 closeInput(activeDesc->mIoHandle); in setForceUse()
951 *output = policyDesc->mIoHandle; in getOutputForAttrInt()
1055 secondaryOutputs->push_back(secondaryDesc->mIoHandle); in getOutputForAttr()
1561 outputDesc->mIoHandle, client->stream(), client->session()); in startOutput()
1650 checkStrategyRoute(clientStrategy, outputDesc->mIoHandle); in startSource()
1771 outputDesc->mIoHandle, client->stream(), client->session()); in stopOutput()
1880 ALOGV("releaseOutput() %d", outputDesc->mIoHandle); in releaseOutput()
1885 outputDesc->mDirectOpenCount, outputDesc->mIoHandle); in releaseOutput()
1889 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.h401 audio_io_handle_t mIoHandle; // output handle variable
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp2630 ioDesc->mIoHandle = output; in closeOutput_nonvirtual()
2879 ioDesc->mIoHandle = input; in closeInput_nonvirtual()
DThreads.cpp2568 desc->mIoHandle = mId; in ioConfigChanged()
8200 desc->mIoHandle = mId; in ioConfigChanged()
8901 desc->mIoHandle = mId; in ioConfigChanged()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt34505 Landroid/media/AudioMixPort;->mIoHandle:I