Lines Matching refs:outputs

142                                                 const SwAudioOutputCollection &outputs,  in getDeviceForStrategyInt()  argument
156 if (isInCall() || outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) { in getDeviceForStrategyInt()
158 STRATEGY_SONIFICATION, availableOutputDevices, availableInputDevices, outputs, in getDeviceForStrategyInt()
162 outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_MUSIC), in getDeviceForStrategyInt()
164 || outputs.isActiveLocally( in getDeviceForStrategyInt()
170 availableInputDevices, outputs, in getDeviceForStrategyInt()
187 STRATEGY_MEDIA, availableOutputDevices, availableInputDevices, outputs, in getDeviceForStrategyInt()
201 sp<AudioOutputDescriptor> primaryOutput = outputs.getPrimaryOutput(); in getDeviceForStrategyInt()
241 outputs.isA2dpSupported()) { in getDeviceForStrategyInt()
275 outputs.isA2dpSupported()) { in getDeviceForStrategyInt()
300 outputs.isActiveLocally(toVolumeSource(AUDIO_STREAM_VOICE_CALL))) { in getDeviceForStrategyInt()
302 STRATEGY_PHONE, availableOutputDevices, availableInputDevices, outputs, in getDeviceForStrategyInt()
362 for (size_t i = 0; i < outputs.size(); i++) { in getDeviceForStrategyInt()
363 sp<AudioOutputDescriptor> desc = outputs.valueAt(i); in getDeviceForStrategyInt()
373 if (outputs.isActive(toVolumeSource(AUDIO_STREAM_RING)) || in getDeviceForStrategyInt()
374 outputs.isActive(toVolumeSource(AUDIO_STREAM_ALARM))) { in getDeviceForStrategyInt()
376 STRATEGY_SONIFICATION, availableOutputDevices, availableInputDevices, outputs, in getDeviceForStrategyInt()
381 STRATEGY_PHONE, availableOutputDevices, availableInputDevices, outputs, in getDeviceForStrategyInt()
401 STRATEGY_PHONE, availableOutputDevices, availableInputDevices, outputs, in getDeviceForStrategyInt()
412 outputs.isA2dpSupported()) { in getDeviceForStrategyInt()
507 const SwAudioOutputCollection &outputs = getApmObserver()->getOutputs(); in getDeviceForInputSource() local
509 sp<AudioOutputDescriptor> primaryOutput = outputs.getPrimaryOutput(); in getDeviceForInputSource()
683 const SwAudioOutputCollection &outputs = getApmObserver()->getOutputs(); in getDevicesForProductStrategy() local
689 availableInputDevices, outputs, in getDevicesForProductStrategy()
705 const SwAudioOutputCollection &outputs = getApmObserver()->getOutputs(); in getOutputDevicesForAttributes() local
712 sp<DeviceDescriptor> device = findPreferredDevice(outputs, strategy, availableOutputDevices); in getOutputDevicesForAttributes()