Home
last modified time | relevance | path

Searched refs:mIoHandle (Results 1 – 14 of 14) 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.cpp257 mProfile(profile), mIoHandle(AUDIO_IO_HANDLE_NONE), mLatency(0), in SwAudioOutputDescriptor()
357 ALOGV("max gain when rerouting for output=%d", mIoHandle); in isFixedVolume()
373 ALOG_ASSERT(!isDuplicated(), "toAudioPortConfig() called on duplicated output %d", mIoHandle); in toAudioPortConfig()
376 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
382 ALOG_ASSERT(!isDuplicated(), "toAudioPort() called on duplicated output %d", mIoHandle); in toAudioPort()
387 port->ext.mix.handle = mIoHandle; in toAudioPort()
418 mClientInterface->setStreamVolume(stream, volumeAmpl, mIoHandle, delayMs); in setVolume()
438 mClientInterface->setStreamVolume(AUDIO_STREAM_VOICE_CALL, volumeAmpl, mIoHandle, delayMs); in setVolume()
442 mIoHandle, vs, volumeDb, delayMs, toString(stream).c_str()); in setVolume()
443 mClientInterface->setStreamVolume(stream, volumeAmpl, mIoHandle, delayMs); in setVolume()
[all …]
DAudioInputDescriptor.cpp66 "toAudioPortConfig() called on input with null profile %d", mIoHandle); in toAudioPortConfig()
79 dstConfig->ext.mix.handle = mIoHandle; in toAudioPortConfig()
85 ALOG_ASSERT(mProfile != 0, "toAudioPort() called on input with null profile %d", mIoHandle); in toAudioPort()
91 port->ext.mix.handle = mIoHandle; in toAudioPort()
239 mIoHandle = *input; in open()
270 if (mIoHandle != AUDIO_IO_HANDLE_NONE) { in close()
282 mClientInterface->closeInput(mIoHandle); in close()
290 mIoHandle = AUDIO_IO_HANDLE_NONE; in close()
578 if (inputDesc->mIoHandle == effect->mIo) { in trackEffectEnabled()
DAudioPolicyMix.cpp197 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/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.cpp815 setInputDevice(activeDesc->mIoHandle, newDevice); in setForceUse()
817 closeInput(activeDesc->mIoHandle); in setForceUse()
979 *output = policyDesc->mIoHandle; in getOutputForAttrInt()
1083 secondaryOutputs->push_back(secondaryDesc->mIoHandle); in getOutputForAttr()
1579 outputDesc->mIoHandle, client->stream(), client->session()); in startOutput()
1668 checkStrategyRoute(clientStrategy, outputDesc->mIoHandle); in startSource()
1788 outputDesc->mIoHandle, client->stream(), client->session()); in stopOutput()
1896 ALOGV("releaseOutput() %d", outputDesc->mIoHandle); in releaseOutput()
1901 outputDesc->mDirectOpenCount, outputDesc->mIoHandle); in releaseOutput()
1905 closeOutput(outputDesc->mIoHandle); in releaseOutput()
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioInputDescriptor.h55 audio_io_handle_t mIoHandle = AUDIO_IO_HANDLE_NONE; // input handle variable
DAudioOutputDescriptor.h390 audio_io_handle_t mIoHandle; // output handle variable
/frameworks/av/services/audioflinger/
DAudioFlinger.cpp2495 ioDesc->mIoHandle = output; in closeOutput_nonvirtual()
2752 ioDesc->mIoHandle = input; in closeInput_nonvirtual()
DThreads.cpp2511 desc->mIoHandle = mId; in ioConfigChanged()
8197 desc->mIoHandle = mId; in ioConfigChanged()
8903 desc->mIoHandle = mId; in ioConfigChanged()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt36972 Landroid/media/AudioMixPort;->mIoHandle:I