Home
last modified time | relevance | path

Searched refs:outputDesc (Results 1 – 7 of 7) sorted by relevance

/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
DAudioOutputDescriptor.cpp77 const sp<AudioOutputDescriptor>& outputDesc) in sharesHwModuleWith() argument
79 return hasSameHwModuleAs(outputDesc); in sharesHwModuleWith()
285 const sp<SwAudioOutputDescriptor>& outputDesc) in sharesHwModuleWith() argument
288 return mOutput1->sharesHwModuleWith(outputDesc) || mOutput2->sharesHwModuleWith(outputDesc); in sharesHwModuleWith()
289 } else if (outputDesc->isDuplicated()){ in sharesHwModuleWith()
290 return sharesHwModuleWith(outputDesc->subOutput1()) || in sharesHwModuleWith()
291 sharesHwModuleWith(outputDesc->subOutput2()); in sharesHwModuleWith()
293 return AudioOutputDescriptor::sharesHwModuleWith(outputDesc); in sharesHwModuleWith()
653 const sp<SwAudioOutputDescriptor> outputDesc = this->valueAt(i); in isActive() local
654 if (outputDesc->isActive(volumeSource, inPastMs, sysTime)) { in isActive()
[all …]
/frameworks/av/services/audiopolicy/managerdefault/
DAudioPolicyManager.cpp598 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueFor(output); in createTelephonyPatch() local
599 ALOG_ASSERT(!outputDesc->isDuplicated(), "%s() %s device output %d is duplicated", __func__, in createTelephonyPatch()
601 patchBuilder.addSource(outputDesc, { .stream = AUDIO_STREAM_PATCH }); in createTelephonyPatch()
798 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueAt(i); in setForceUse() local
799 DeviceVector newDevices = getNewOutputDevices(outputDesc, true /*fromCache*/); in setForceUse()
800 if ((mEngine->getPhoneState() != AUDIO_MODE_IN_CALL) || (outputDesc != mPrimaryOutput)) { in setForceUse()
804 waitMs = setOutputDevices(outputDesc, newDevices, !newDevices.isEmpty(), delayMs); in setForceUse()
807 applyStreamVolumes(outputDesc, newDevices.types(), waitMs, true); in setForceUse()
1099 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(*output); in getOutputForAttr() local
1100 outputDesc->addClient(clientDesc); in getOutputForAttr()
[all …]
DAudioPolicyManager.h398 void addOutput(audio_io_handle_t output, const sp<SwAudioOutputDescriptor>& outputDesc);
404 uint32_t setOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc,
410 status_t resetOutputDevice(const sp<AudioOutputDescriptor>& outputDesc,
434 const sp<AudioOutputDescriptor>& outputDesc,
439 void applyStreamVolumes(const sp<AudioOutputDescriptor>& outputDesc,
453 const sp<AudioOutputDescriptor>& outputDesc,
468 const sp<AudioOutputDescriptor>& outputDesc,
534 DeviceVector getNewOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc,
573 virtual uint32_t checkDeviceMuteStrategies(const sp<AudioOutputDescriptor>& outputDesc,
661 status_t startSource(const sp<SwAudioOutputDescriptor>& outputDesc,
[all …]
/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
DAudioOutputDescriptor.h154 bool sharesHwModuleWith(const sp<AudioOutputDescriptor>& outputDesc);
320 bool sharesHwModuleWith(const sp<SwAudioOutputDescriptor>& outputDesc);
502 const sp<AudioOutputDescriptor> &outputDesc = valueAt(i); in isAnyOutputActive() local
503 if (outputDesc->isAnyActive(volumeSourceToIgnore)) { in isAnyOutputActive()
532 const sp<AudioOutputDescriptor> &outputDesc = valueAt(i); in isAnyOutputActive() local
533 if (outputDesc->isAnyActive(volumeSourceToIgnore)) { in isAnyOutputActive()
/frameworks/compile/mclinker/lib/Script/
DUnaryOp.cpp80 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval()
102 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval()
173 llvm::cast<SectDescOperand>(m_pOperand)->outputDesc()->getSection(); in eval()
/frameworks/compile/mclinker/include/mcld/Script/
DOperand.h164 const SectionMap::Output* outputDesc() const { return m_pOutputDesc; } in outputDesc() function
/frameworks/av/media/libaudioclient/
DAudioSystem.cpp380 sp<AudioIoDescriptor> outputDesc = getIoDescriptor(output); in getLatency() local
381 if (outputDesc == 0) { in getLatency()
384 *latency = outputDesc->mLatency; in getLatency()