Lines Matching refs:mAvailableInputDevices
321 ssize_t index = mAvailableInputDevices.indexOf(device); in setDeviceConnectionStateInt()
331 if (mAvailableInputDevices.add(device) < 0) { in setDeviceConnectionStateInt()
340 mAvailableInputDevices.remove(device); in setDeviceConnectionStateInt()
363 mAvailableInputDevices.remove(device); in setDeviceConnectionStateInt()
432 deviceVector = &mAvailableInputDevices; in getDeviceConnectionState()
559 sp<DeviceDescriptor> rxSourceDevice = mAvailableInputDevices.getDevice( in selectBestRxSinkDevicesForCall()
616 mAvailableInputDevices.getDevice(AUDIO_DEVICE_IN_TELEPHONY_RX, in updateCallRoutingInternal()
685 addSource(mAvailableInputDevices.getDevice( in createTelephonyPatch()
710 || mAvailableInputDevices.getDevicesFromHwModule(module->getHandle()) in isDeviceOfModule()
1381 mAvailableInputDevices); in getMsdAudioInDevice()
2151 mAvailableInputDevices.getDeviceFromId(*selectedDeviceId); in getInputForAttr()
2211 device = mAvailableInputDevices.getDevice(AUDIO_DEVICE_IN_REMOTE_SUBMIX, in getInputForAttr()
2267 *selectedDeviceId = mAvailableInputDevices.contains(device) ? in getInputForAttr()
2631 || !mAvailableInputDevices.containsAtLeastOne(input->supportedDevices())) { in checkCloseInputs()
3561 mAvailableInputDevices.dump(dst, String8("Available input")); in dump()
3726 for (const auto& dev : mAvailableInputDevices) { in listAudioPorts()
3772 dev = mAvailableInputDevices.getDeviceFromId(port->id); in getAudioPort()
3923 mAvailableInputDevices.getDeviceFromId(patch->sources[0].id); in createAudioPatchInternal()
3965 mAvailableInputDevices.getDeviceFromId(patch->sources[0].id); in createAudioPatchInternal()
4232 deviceDesc = mAvailableInputDevices.getDeviceFromId(config->id); in setAudioPortConfig()
4397 mAvailableInputDevices.getDevice(source->ext.device.type, in startAudioSource()
4429 sp<DeviceDescriptor> srcDevice = mAvailableInputDevices.getDevice( in connectAudioSource()
4697 DeviceVector hdmiInputDevices = mAvailableInputDevices.getDevicesFromType( in setSurroundFormatEnabled()
4891 for (size_t i = 0; i < mAvailableInputDevices.size(); i++) { in initialize()
4892 if (mAvailableInputDevices[i]->address().empty()) { in initialize()
4893 if (mAvailableInputDevices[i]->type() == AUDIO_DEVICE_IN_BUILTIN_MIC) { in initialize()
4894 mAvailableInputDevices[i]->setAddress(AUDIO_BOTTOM_MICROPHONE_ADDRESS); in initialize()
4895 } else if (mAvailableInputDevices[i]->type() == AUDIO_DEVICE_IN_BACK_MIC) { in initialize()
4896 mAvailableInputDevices[i]->setAddress(AUDIO_BACK_MICROPHONE_ADDRESS); in initialize()
4919 mAvailableInputDevices.clear(); in ~AudioPolicyManager()
5067 mAvailableInputDevices.add(device); in onNewAudioModulesAvailableInt()
5763 (mAvailableInputDevices.types().count(AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET) != 0 || in checkA2dpSuspend()
5887 device = findPreferredDevice(inputDesc, AUDIO_SOURCE_DEFAULT, active, mAvailableInputDevices); in getNewInputDevice()
6264 if (mAvailableInputDevices.contains(device)) { in setInputDevice()