Lines Matching refs:SwAudioOutputDescriptor
284 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
299 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in setDeviceConnectionStateInt()
329 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setDeviceConnectionStateInt()
572 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in handleDeviceConfigChange()
898 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState()
940 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState()
1259 sp<SwAudioOutputDescriptor> policyDesc = primaryMix->getOutput(); in getOutputForAttrInt()
1473 std::vector<wp<SwAudioOutputDescriptor>> weakSecondaryOutputDescs; in getOutputForAttr()
1476 sp<SwAudioOutputDescriptor> outputDesc = secondaryMix->getOutput(); in getOutputForAttr()
1491 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(*output); in getOutputForAttr()
1545 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in openDirectOutput()
1586 auto outputDesc = sp<SwAudioOutputDescriptor>::make(profile, mpClientInterface); in openDirectOutput()
1725 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(outputHandle); in getOutputForDevices()
1737 sp<SwAudioOutputDescriptor> preferredOutput = openOutputWithProfileAndDevice( in getOutputForDevices()
2143 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(output); in selectOutput()
2241 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputForClient(portId); in startOutput()
2276 sp<SwAudioOutputDescriptor> desc = in startOutput()
2301 sp<SwAudioOutputDescriptor> desc = in startOutput()
2370 status_t AudioPolicyManager::startSource(const sp<SwAudioOutputDescriptor>& outputDesc, in startSource()
2459 std::vector<sp<SwAudioOutputDescriptor>> outputsToReopen; in startSource()
2461 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in startSource()
2573 sp<SwAudioOutputDescriptor> ignoredOutput, uint32_t delayMs) { in checkLeBroadcastRoutes()
2580 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in checkLeBroadcastRoutes()
2612 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputForClient(portId); in stopOutput()
2657 status_t AudioPolicyManager::stopSource(const sp<SwAudioOutputDescriptor>& outputDesc, in stopSource()
2716 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in stopSource()
2766 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputForClient(portId); in releaseOutput()
2803 sp<SwAudioOutputDescriptor> newOutputDesc = openOutputWithProfileAndDevice( in releaseOutput()
3500 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setVolumeIndexForAttributes()
3690 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in selectOutputForMusicEffects()
3922 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(j); in registerPolicyMixes()
4116 std::vector<sp<SwAudioOutputDescriptor>> outputs = in changeOutputDevicesMuteState()
4120 sp<SwAudioOutputDescriptor> outputDesc = outputs[i]; in changeOutputDevicesMuteState()
4126 std::vector<sp<SwAudioOutputDescriptor>> AudioPolicyManager::getSoftwareOutputsForDevices( in getSoftwareOutputsForDevices()
4129 std::vector<sp<SwAudioOutputDescriptor>> outputs; in getSoftwareOutputsForDevices()
4227 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueAt(i); in updateCallAndOutputRouting()
4859 sp<SwAudioOutputDescriptor> desc = in setPreferredMixerAttributes()
4930 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in clearPreferredMixerAttributes()
5046 sp<SwAudioOutputDescriptor> out = mOutputs.getOutputFromId(port->id); in getAudioPort()
5129 sp<SwAudioOutputDescriptor> swOutput = sourceDesc->swOutput().promote(); in connectAudioSourceToSink()
5192 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputFromId(patch->sources[0].id); in createAudioPatchInternal()
5355 sp<SwAudioOutputDescriptor> outputDesc; in createAudioPatchInternal()
5496 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputFromId(patch->sources[0].id); in releaseAudioPatchInternal()
5527 sp<SwAudioOutputDescriptor> outputDesc = nullptr; in releaseAudioPatchInternal()
5593 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputFromId(config->id); in setAudioPortConfig()
5670 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueAt(j); in checkStrategyRoute()
5881 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setMasterMono()
6032 sp<SwAudioOutputDescriptor> outputDesc; in setSurroundFormatEnabled()
6170 sp<SwAudioOutputDescriptor> swOutput = sourceDesc->swOutput().promote(); in disconnectAudioSource()
6200 sp<SwAudioOutputDescriptor> outputDesc = sourceDesc->swOutput().promote(); in getSourceForAttributesOnOutput()
6292 const sp<SwAudioOutputDescriptor>& desc = mOutputs[i]; in checkVirtualizerClientRoutes()
6311 const sp<SwAudioOutputDescriptor>& outputDesc) { in isOutputOnlyAvailableRouteToSomeDevice()
6317 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in isOutputOnlyAvailableRouteToSomeDevice()
6357 std::vector<sp<SwAudioOutputDescriptor>> spatializerOutputs; in getSpatializerOutput()
6359 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in getSpatializerOutput()
6385 sp<SwAudioOutputDescriptor> desc = in getSpatializerOutput()
6577 sp<SwAudioOutputDescriptor> outputDesc = new SwAudioOutputDescriptor(outProfile, in onNewAudioModulesAvailableInt()
6669 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in onNewAudioModulesAvailableInt()
6691 const sp<SwAudioOutputDescriptor>& outputDesc) in addOutput()
6723 sp<SwAudioOutputDescriptor> desc; in checkOutputsForDevice()
7017 sp<SwAudioOutputDescriptor> closingOutput = mOutputs.valueFor(output); in closeOutput()
7027 sp<SwAudioOutputDescriptor> dupOutput = mOutputs.valueAt(i); in closeOutput()
7030 sp<SwAudioOutputDescriptor> remainingOutput = in closeOutput()
7222 std::vector<sp<SwAudioOutputDescriptor>> invalidatedOutputs; in checkOutputForAttributes()
7226 const sp<SwAudioOutputDescriptor>& desc = mPreviousOutputs.valueAt(i); in checkOutputForAttributes()
7255 sp<SwAudioOutputDescriptor> desc = mPreviousOutputs.valueFor(srcOut); in checkOutputForAttributes()
7317 for (sp<SwAudioOutputDescriptor> desc : invalidatedOutputs) { in checkOutputForAttributes()
7338 const sp<SwAudioOutputDescriptor>& outputDescriptor = mOutputs[i]; in checkSecondaryOutputs()
7346 std::vector<sp<SwAudioOutputDescriptor>> secondaryDescs; in checkSecondaryOutputs()
7348 sp<SwAudioOutputDescriptor> outputDesc = secondaryMix->getOutput(); in checkSecondaryOutputs()
7369 std::vector<wp<SwAudioOutputDescriptor>> weakSecondaryDescs; in checkSecondaryOutputs()
7457 DeviceVector AudioPolicyManager::getNewOutputDevices(const sp<SwAudioOutputDescriptor>& outputDesc, in getNewOutputDevices()
7662 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setBeaconMute()
7773 const sp<SwAudioOutputDescriptor>& outputDesc, in setOutputDevices()
8702 bool AudioPolicyManager::areAllActiveTracksRerouted(const sp<SwAudioOutputDescriptor>& output) in areAllActiveTracksRerouted()
8741 sp<SwAudioOutputDescriptor> AudioPolicyManager::openOutputWithProfileAndDevice( in openOutputWithProfileAndDevice()
8754 sp<SwAudioOutputDescriptor> desc = new SwAudioOutputDescriptor(profile, mpClientInterface); in openOutputWithProfileAndDevice()
8832 sp<SwAudioOutputDescriptor> dupOutputDesc = in openOutputWithProfileAndDevice()
8833 new SwAudioOutputDescriptor(nullptr, mpClientInterface); in openOutputWithProfileAndDevice()
8962 sp<SwAudioOutputDescriptor> AudioPolicyManager::reopenOutput(sp<SwAudioOutputDescriptor> outputDesc, in reopenOutput()
8967 sp<SwAudioOutputDescriptor> preferredOutput = openOutputWithProfileAndDevice( in reopenOutput()
8979 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output); in reopenOutputsWithDevices()
9005 const sp<android::SwAudioOutputDescriptor> &desc) { in updateClientsInternalMute()