Lines Matching refs:mOutputs
132 mPreviousOutputs = mOutputs;
183 mOutputs.clearSessionRoutesForDevice(device);
207 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output);
224 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output);
250 for (size_t i = 0; i < mOutputs.size(); i++) {
251 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i);
594 getOutputsForDevices(DeviceVector(outputDevice), mOutputs);
598 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueFor(output);
688 for (size_t i = 0; i < mOutputs.size(); i++) {
689 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i);
738 for (size_t i = 0; i < mOutputs.size(); i++) {
739 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i);
797 for (size_t i = 0; i < mOutputs.size(); i++) {
798 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueAt(i);
891 SortedVector<audio_io_handle_t> outputs = getOutputsForDevices(devices, mOutputs);
1099 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(*output);
1182 for (size_t i = 0; i < mOutputs.size(); i++) {
1183 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i);
1193 mOutputs.keyAt(i), session);
1194 return mOutputs.keyAt(i);
1250 mPreviousOutputs = mOutputs;
1272 SortedVector<audio_io_handle_t> outputs = getOutputsForDevices(devices, mOutputs);
1492 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(output);
1571 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputForClient(portId);
1614 if (!mTtsOutputAvailable && mOutputs.isAnyOutputActive(
1686 for (size_t i = 0; i < mOutputs.size(); i++) {
1687 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i);
1780 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputForClient(portId);
1844 for (size_t i = 0; i < mOutputs.size(); i++) {
1845 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i);
1884 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputForClient(portId);
2510 for (size_t i = 0; i < mOutputs.size(); i++) {
2511 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i);
2674 SortedVector<audio_io_handle_t> outputs = getOutputsForDevices(devices, mOutputs);
2689 sp<SwAudioOutputDescriptor> desc = mOutputs.valueFor(output);
2738 ssize_t index = mOutputs.indexOfKey(io);
2796 return mOutputs.isActive(toVolumeSource(stream), inPastMs);
2801 return mOutputs.isActiveRemotely(toVolumeSource(stream), inPastMs);
2919 for (size_t j = 0 ; j < mOutputs.size() ; j++) {
2920 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(j);
3087 mOutputs.dump(dst);
3261 for (size_t i = 0; i < mOutputs.size(); i++) {
3262 if (!mOutputs[i]->isDuplicated()) {
3265 mOutputs[i]->toAudioPort(&ports[portsWritten++]);
3292 sp<SwAudioOutputDescriptor> out = mOutputs.getOutputFromId(port->id);
3359 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputFromId(patch->sources[0].id);
3516 getOutputsForDevices(DeviceVector(sinkDevice), mOutputs);
3521 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueFor(output);
3568 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputFromId(patch->sources[0].id);
3633 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.getOutputFromId(config->id);
3704 SortedVector<audio_io_handle_t> outputs = getOutputsForDevices(devices, mOutputs);
3705 for (size_t j = 0; j < mOutputs.size(); j++) {
3706 if (mOutputs.keyAt(j) == ouptutToSkip) {
3709 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueAt(j);
3716 if (outputs.indexOf(mOutputs.keyAt(j)) < 0) {
3731 for (size_t i = 0; i < mOutputs.size(); i++) {
3732 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueAt(i);
3891 sp<SwAudioOutputDescriptor> outputDesc = mOutputs.valueFor(output);
3976 for (size_t i = 0; i < mOutputs.size(); ++i) {
3977 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i);
3987 for (size_t i = 0; i < mOutputs.size(); ++i) {
3988 updateMono(mOutputs.keyAt(i));
4502 for (size_t i = 0; i < mOutputs.size(); i++) {
4503 mOutputs.valueAt(i)->close();
4510 mOutputs.clear();
4527 mOutputs.add(output, outputDesc);
4536 mOutputs.removeItem(output);
4562 for (size_t i = 0; i < mOutputs.size(); i++) {
4563 desc = mOutputs.valueAt(i);
4567 mOutputs.keyAt(i), device->toString().c_str());
4568 outputs.add(mOutputs.keyAt(i));
4599 desc = mOutputs.valueFor(outputs.itemAt(j));
4725 for (size_t i = 0; i < mOutputs.size(); i++) {
4726 desc = mOutputs.valueAt(i);
4731 outputs.add(mOutputs.keyAt(i));
4734 mOutputs.keyAt(i));
4735 outputs.add(mOutputs.keyAt(i));
4884 sp<SwAudioOutputDescriptor> closingOutput = mOutputs.valueFor(output);
4893 for (size_t i = 0; i < mOutputs.size(); i++) {
4894 sp<SwAudioOutputDescriptor> dupOutput = mOutputs.valueAt(i);
4911 audio_io_handle_t duplicatedOutput = mOutputs.keyAt(i);
4935 mPreviousOutputs = mOutputs;
4941 for (size_t i = 0; i < mOutputs.size(); i++) {
4942 if (mOutputs[i]->mFlags & AUDIO_OUTPUT_FLAG_DIRECT) {
5037 SortedVector<audio_io_handle_t> dstOutputs = getOutputsForDevices(newDevices, mOutputs);
5049 for (size_t i = 0 ; i < mOutputs.size() ; i++) {
5050 const sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i);
5106 for (size_t i = 0; i < mOutputs.size(); i++) {
5107 const sp<SwAudioOutputDescriptor>& outputDescriptor = mOutputs[i];
5129 audio_io_handle_t a2dpOutput = mOutputs.getA2dpOutput();
5130 if (a2dpOutput == 0 || mOutputs.isA2dpOffloadedOnPrimary()) {
5213 (isInCall() || mOutputs.isStrategyActiveOnSameModule(productStrategy, outputDesc))) ||
5215 mOutputs.isStrategyActiveOnSameModule(productStrategy, outputDesc)) ||
5285 for (audio_io_handle_t output : getOutputsForDevices(curDevices, mOutputs)) {
5286 sp<AudioOutputDescriptor> outputDesc = mOutputs.valueFor(output);
5363 for (size_t i = 0; i < mOutputs.size(); i++) {
5364 sp<SwAudioOutputDescriptor> desc = mOutputs.valueAt(i);
5380 mPreviousOutputs = mOutputs;
5415 for (size_t j = 0; j < mOutputs.size(); j++) {
5416 sp<AudioOutputDescriptor> desc = mOutputs.valueAt(j);
5696 mOutputs.isActive(ringVolumeSrc, 0)) {
5704 mOutputs.isActiveLocally(callVolumeSrc))) &&