Lines Matching refs:mOutputs
107 mPreviousOutputs = mOutputs; in setDeviceConnectionStateInt()
187 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(outputs[i]); in setDeviceConnectionStateInt()
205 for (size_t i = 0; i < mOutputs.size(); i++) { in setDeviceConnectionStateInt()
206 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setDeviceConnectionStateInt()
442 getOutputsForDevice(rxDevice, mOutputs); in updateCallRouting()
447 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(output); in updateCallRouting()
483 getOutputsForDevice(AUDIO_DEVICE_OUT_TELEPHONY_TX, mOutputs); in updateCallRouting()
490 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueFor(output); in updateCallRouting()
568 for (size_t i = 0; i < mOutputs.size(); i++) { in setPhoneState()
569 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setPhoneState()
674 for (size_t i = 0; i < mOutputs.size(); i++) { in setForceUse()
675 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueAt(i); in setForceUse()
976 for (size_t i = 0; i < mOutputs.size(); i++) { in getOutputForDevice()
977 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in getOutputForDevice()
988 mOutputs.keyAt(i), session); in getOutputForDevice()
989 return mOutputs.keyAt(i); in getOutputForDevice()
1069 mPreviousOutputs = mOutputs; in getOutputForDevice()
1091 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(device, mOutputs); in getOutputForDevice()
1130 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(outputs[i]); in selectOutput()
1188 ssize_t index = mOutputs.indexOfKey(output); in startOutput()
1194 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueAt(index); in startOutput()
1253 … if (!mTtsOutputAvailable && mOutputs.isAnyOutputActive(AUDIO_STREAM_TTS /*streamToIgnore*/)) { in startSource()
1288 for (size_t i = 0; i < mOutputs.size(); i++) { in startSource()
1289 sp<AudioOutputDescriptor> desc = mOutputs.valueAt(i); in startSource()
1349 ssize_t index = mOutputs.indexOfKey(output); in stopOutput()
1355 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueAt(index); in stopOutput()
1415 for (size_t i = 0; i < mOutputs.size(); i++) { in stopSource()
1416 sp<AudioOutputDescriptor> desc = mOutputs.valueAt(i); in stopSource()
1451 ssize_t index = mOutputs.indexOfKey(output); in releaseOutput()
1460 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueAt(index); in releaseOutput()
1473 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(index); in releaseOutput()
2259 for (size_t i = 0; i < mOutputs.size(); i++) { in setStreamVolumeIndex()
2260 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setStreamVolumeIndex()
2337 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(device, mOutputs); in selectOutputForMusicEffects()
2352 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(outputs[i]); in selectOutputForMusicEffects()
2400 ssize_t index = mOutputs.indexOfKey(io); in registerEffect()
2418 active = mOutputs.isStreamActive((audio_stream_type_t)curStream, inPastMs); in isStreamActive()
2425 return mOutputs.isStreamActiveRemotely(stream, inPastMs); in isStreamActiveRemotely()
2529 for (size_t j = 0 ; j < mOutputs.size() ; j++) { in registerPolicyMixes()
2530 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(j); in registerPolicyMixes()
2664 mOutputs.dump(fd); in dump()
2799 for (size_t i = 0; i < mOutputs.size(); i++) { in listAudioPorts()
2800 if (!mOutputs[i]->isDuplicated()) { in listAudioPorts()
2803 mOutputs[i]->toAudioPort(&ports[portsWritten++]); in listAudioPorts()
2875 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputFromId(patch->sources[0].id); in createAudioPatch()
3032 getOutputsForDevice(sinkDeviceDesc->type(), mOutputs); in createAudioPatch()
3039 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueFor(output); in createAudioPatch()
3106 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputFromId(patch->sources[0].id); in releaseAudioPatch()
3171 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputFromId(config->id); in setAudioPortConfig()
3240 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(device, mOutputs); in checkStrategyRoute()
3241 for (size_t j = 0; j < mOutputs.size(); j++) { in checkStrategyRoute()
3242 if (mOutputs.keyAt(j) == ouptutToSkip) { in checkStrategyRoute()
3245 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueAt(j); in checkStrategyRoute()
3252 if (outputs.indexOf(mOutputs.keyAt(j)) < 0) { in checkStrategyRoute()
3394 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(sinkDevice, mOutputs); in connectAudioSource()
3401 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(output); in connectAudioSource()
3474 for (size_t i = 0; i < mOutputs.size(); ++i) { in setMasterMono()
3475 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in setMasterMono()
3485 for (size_t i = 0; i < mOutputs.size(); ++i) { in setMasterMono()
3486 updateMono(mOutputs.keyAt(i)); in setMasterMono()
3860 for (size_t i = 0; i < mOutputs.size(); i++) { in AudioPolicyManager()
3861 mpClientInterface->closeOutput(mOutputs.keyAt(i)); in AudioPolicyManager()
3868 mOutputs.clear(); in AudioPolicyManager()
4041 mOutputs.add(output, outputDesc); in AudioPolicyManager()
4049 mOutputs.removeItem(output); in AudioPolicyManager()
4088 for (size_t i = 0; i < mOutputs.size(); i++) { in AudioPolicyManager()
4089 desc = mOutputs.valueAt(i); in AudioPolicyManager()
4092 ALOGV("checkOutputsForDevice(): adding opened output %d", mOutputs.keyAt(i)); in AudioPolicyManager()
4093 outputs.add(mOutputs.keyAt(i)); in AudioPolicyManager()
4135 desc = mOutputs.valueFor(outputs.itemAt(j)); in AudioPolicyManager()
4285 for (size_t i = 0; i < mOutputs.size(); i++) { in AudioPolicyManager()
4286 desc = mOutputs.valueAt(i); in AudioPolicyManager()
4294 mOutputs.keyAt(i)); in AudioPolicyManager()
4295 outputs.add(mOutputs.keyAt(i)); in AudioPolicyManager()
4487 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(output); in AudioPolicyManager()
4495 for (size_t i = 0; i < mOutputs.size(); i++) { in AudioPolicyManager()
4496 sp<SwAudioOutputDescriptor> dupOutputDesc = mOutputs.valueAt(i); in AudioPolicyManager()
4514 audio_io_handle_t duplicatedOutput = mOutputs.keyAt(i); in AudioPolicyManager()
4538 mPreviousOutputs = mOutputs; in AudioPolicyManager()
4603 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevice(newDevice, mOutputs); in AudioPolicyManager()
4615 for (size_t i = 0 ; i < mOutputs.size() ; i++) { in AudioPolicyManager()
4616 const sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in AudioPolicyManager()
4628 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(srcOutputs[i]); in AudioPolicyManager()
4670 audio_io_handle_t a2dpOutput = mOutputs.getA2dpOutput(); in AudioPolicyManager()
4828 SortedVector<audio_io_handle_t> outputs = getOutputsForDevice(curDevices, mOutputs); in AudioPolicyManager()
4830 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueFor(outputs[i]); in AudioPolicyManager()
4919 for (size_t i = 0; i < mOutputs.size(); i++) { in AudioPolicyManager()
4920 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i); in AudioPolicyManager()
4967 mPreviousOutputs = mOutputs; in AudioPolicyManager()
4999 for (size_t j = 0; j < mOutputs.size(); j++) { in AudioPolicyManager()
5000 sp<AudioOutputDescriptor> desc = mOutputs.valueAt(j); in AudioPolicyManager()