Lines Matching refs:outputs
228 SortedVector <audio_io_handle_t> outputs; in setDeviceConnectionState() local
263 if (checkOutputsForDevice(devDesc, state, outputs, address) != NO_ERROR) { in setDeviceConnectionState()
268 ALOG_ASSERT(outputs.size() != 0, "setDeviceConnectionState():" in setDeviceConnectionState()
271 outputs.size()); in setDeviceConnectionState()
290 checkOutputsForDevice(devDesc, state, outputs, address); in setDeviceConnectionState()
303 if (!outputs.isEmpty()) { in setDeviceConnectionState()
304 for (size_t i = 0; i < outputs.size(); i++) { in setDeviceConnectionState()
305 sp<AudioOutputDescriptor> desc = mOutputs.valueFor(outputs[i]); in setDeviceConnectionState()
311 closeOutput(outputs[i]); in setDeviceConnectionState()
492 SortedVector<audio_io_handle_t> outputs = in updateCallRouting() local
494 audio_io_handle_t output = selectOutput(outputs, in updateCallRouting()
533 SortedVector<audio_io_handle_t> outputs = in updateCallRouting() local
535 audio_io_handle_t output = selectOutput(outputs, in updateCallRouting()
1039 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(device, mOutputs); in getOutputForDevice() local
1043 output = selectOutput(outputs, flags, format); in getOutputForDevice()
1053 audio_io_handle_t AudioPolicyManager::selectOutput(const SortedVector<audio_io_handle_t>& outputs, in selectOutput() argument
1064 if (outputs.size() == 0) { in selectOutput()
1067 if (outputs.size() == 1) { in selectOutput()
1068 return outputs[0]; in selectOutput()
1075 for (size_t i = 0; i < outputs.size(); i++) { in selectOutput()
1076 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueFor(outputs[i]); in selectOutput()
1091 outputFlags = outputs[i]; in selectOutput()
1093 ALOGV("selectOutput() commonFlags for output %d, %04x", outputs[i], commonFlags); in selectOutput()
1096 outputPrimary = outputs[i]; in selectOutput()
1108 return outputs[0]; in selectOutput()
1625 const SortedVector<audio_io_handle_t>& outputs) in selectOutputForEffects() argument
1635 if (outputs.size() == 0) { in selectOutputForEffects()
1642 for (size_t i = 0; i < outputs.size(); i++) { in selectOutputForEffects()
1643 sp<AudioOutputDescriptor> desc = mOutputs.valueFor(outputs[i]); in selectOutputForEffects()
1646 outputOffloaded = outputs[i]; in selectOutputForEffects()
1649 outputDeepBuffer = outputs[i]; in selectOutputForEffects()
1662 return outputs[0]; in selectOutputForEffects()
2353 SortedVector<audio_io_handle_t> outputs = in createAudioPatch() local
2358 audio_io_handle_t output = selectOutput(outputs, in createAudioPatch()
3073 SortedVector<audio_io_handle_t>& outputs /*out*/) { in findIoHandlesByAddress() argument
3090 outputs.add(desc->mIoHandle); in findIoHandlesByAddress()
3100 SortedVector<audio_io_handle_t>& outputs, in checkOutputsForDevice() argument
3115 outputs.add(mOutputs.keyAt(i)); in checkOutputsForDevice()
3118 findIoHandlesByAddress(desc, address, outputs); in checkOutputsForDevice()
3138 ALOGV(" found %d profiles, %d outputs", profiles.size(), outputs.size()); in checkOutputsForDevice()
3140 if (profiles.isEmpty() && outputs.isEmpty()) { in checkOutputsForDevice()
3152 for (j = 0; j < outputs.size(); j++) { in checkOutputsForDevice()
3153 desc = mOutputs.valueFor(outputs.itemAt(j)); in checkOutputsForDevice()
3161 if (j != outputs.size()) { in checkOutputsForDevice()
3306 outputs.add(output); in checkOutputsForDevice()
3332 outputs.add(mOutputs.keyAt(i)); in checkOutputsForDevice()
3336 findIoHandlesByAddress(desc, address, outputs); in checkOutputsForDevice()
3643 SortedVector<audio_io_handle_t> outputs; in getOutputsForDevice() local
3651 outputs.add(openOutputs.keyAt(i)); in getOutputsForDevice()
3654 return outputs; in getOutputsForDevice()
3875 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(devices, mOutputs); in getDevicesForStream() local
3876 for (size_t i = 0; i < outputs.size(); i++) { in getDevicesForStream()
3877 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueFor(outputs[i]); in getDevicesForStream()