• Home
  • Raw
  • Download

Lines Matching refs:mAvailableOutputDevices

147         ssize_t index = mAvailableOutputDevices.indexOf(device);  in setDeviceConnectionStateInt()
164 if (mAvailableOutputDevices.add(device) < 0) { in setDeviceConnectionStateInt()
173 mAvailableOutputDevices.remove(device); in setDeviceConnectionStateInt()
203 mAvailableOutputDevices.remove(device); in setDeviceConnectionStateInt()
271 mEngine->getActiveMediaDevices(mAvailableOutputDevices); in setDeviceConnectionStateInt()
430 deviceVector = &mAvailableOutputDevices; in getDeviceConnectionState()
460 DeviceVector deviceList = mAvailableOutputDevices.getDevicesFromType(device); in handleDeviceConfigChange()
554 if (!rxSinkdevices.isEmpty() && mAvailableOutputDevices.contains(rxSinkdevices.itemAt(0))) { in selectBestRxSinkDevicesForCall()
620 mAvailableOutputDevices.getDevice(AUDIO_DEVICE_OUT_TELEPHONY_TX, in updateCallRoutingInternal()
689 addSink(mAvailableOutputDevices.getDevice( in createTelephonyPatch()
708 return mAvailableOutputDevices.getDevicesFromHwModule(module->getHandle()) in isDeviceOfModule()
906 if (!mAvailableOutputDevices.containsAtLeastOne(curProfile->getSupportedDevices())) { in getProfileForOutput()
995 mAvailableOutputDevices.getDeviceFromId(requestedPortId); in getOutputForAttrInt()
1031 mAvailableOutputDevices.getDevice(primaryMix->mDeviceType, in getOutputForAttrInt()
1155 mAvailableOutputDevices.getDeviceFromId(requestedPortId); in getOutputForAttr()
1387 mAvailableOutputDevices); in getMsdAudioOutDevices()
1821 sp device = mAvailableOutputDevices.getDevice(newDeviceType, String8(address), in startSource()
1843 mAvailableOutputDevices.getDeviceFromId(client->preferredDeviceId())); in startSource()
2105 outputDesc->mProfile, mEngine->getActiveMediaDevices(mAvailableOutputDevices)); in releaseOutput()
3560 mAvailableOutputDevices.dump(dst, String8("Available output")); in dump()
3715 for (const auto& dev : mAvailableOutputDevices) { in listAudioPorts()
3767 sp<DeviceDescriptor> dev = mAvailableOutputDevices.getDeviceFromId(port->id); in getAudioPort()
3867 mAvailableOutputDevices.getDeviceFromId(patch->sinks[i].id); in createAudioPatchInternal()
3977 mAvailableOutputDevices.getDeviceFromId(patch->sinks[0].id))) { in createAudioPatchInternal()
3992 mAvailableOutputDevices.getDeviceFromId(patch->sinks[i].id); in createAudioPatchInternal()
4234 deviceDesc = mAvailableOutputDevices.getDeviceFromId(config->id); in setAudioPortConfig()
4437 if (!mAvailableOutputDevices.contains(sinkDevice)) { in connectAudioSource()
4601 for (size_t i = 0; i < mAvailableOutputDevices.size(); i++) { in getReportedSurroundFormats()
4602 sp<DeviceDescriptor> device = mAvailableOutputDevices[i]; in getReportedSurroundFormats()
4675 DeviceVector hdmiOutputDevices = mAvailableOutputDevices.getDevicesFromType( in setSurroundFormatEnabled()
4885 if (mDefaultOutputDevice == 0 || !mAvailableOutputDevices.contains(mDefaultOutputDevice)) { in initialize()
4918 mAvailableOutputDevices.clear(); in ~AudioPolicyManager()
5005 mAvailableOutputDevices.add(device); in onNewAudioModulesAvailableInt()
5224 } else if (!mAvailableOutputDevices.containsAtLeastOne(desc->supportedDevices())) { in checkOutputsForDevice()
5250 !mAvailableOutputDevices.contains(supportedDevice)) { in checkOutputsForDevice()
5764 !Intersection(mAvailableOutputDevices.types(), getAudioDeviceOutAllScoSet()).empty()); in checkA2dpSuspend()
5823 findPreferredDevice(outputDesc, PRODUCT_STRATEGY_NONE, active, mAvailableOutputDevices); in getNewOutputDevices()
5830 device = mPolicyMixes.getDeviceAndMixForOutput(outputDesc, mAvailableOutputDevices); in getNewOutputDevices()
5954 devices.merge(mAvailableOutputDevices.getDevicesFromType(AUDIO_DEVICE_OUT_SPEAKER)); in getDevicesForStream()
6185 !mAvailableOutputDevices.filter(prevDevices).empty()) { in setOutputDevices()
6966 sp<DeviceDescriptor> device = mAvailableOutputDevices.getDeviceFromId( in areAllActiveTracksRerouted()
6978 mAvailableOutputDevices.getDeviceFromId(client->preferredDeviceId()); in areAllActiveTracksRerouted()