Lines Matching refs:mAvailableInputDevices

276         ssize_t index = mAvailableInputDevices.indexOf(device);  in setDeviceConnectionStateInt()
286 if (mAvailableInputDevices.add(device) < 0) { in setDeviceConnectionStateInt()
295 mAvailableInputDevices.remove(device); in setDeviceConnectionStateInt()
318 mAvailableInputDevices.remove(device); in setDeviceConnectionStateInt()
383 deviceVector = &mAvailableInputDevices; in getDeviceConnectionState()
522 mAvailableInputDevices.getDevice(AUDIO_DEVICE_IN_TELEPHONY_RX, in updateCallRouting()
581 addSource(mAvailableInputDevices.getDevice( in createTelephonyPatch()
650 || mAvailableInputDevices.getDevicesFromHwModule(module->getHandle()) in isDeviceOfModule()
1287 mAvailableInputDevices); in getMsdAudioInDevice()
1951 mAvailableInputDevices.getDeviceFromId(*selectedDeviceId); in getInputForAttr()
2011 device = mAvailableInputDevices.getDevice(AUDIO_DEVICE_IN_REMOTE_SUBMIX, in getInputForAttr()
2063 *selectedDeviceId = mAvailableInputDevices.contains(device) ? in getInputForAttr()
2399 || !mAvailableInputDevices.containsAtLeastOne(input->supportedDevices()) in checkCloseInputs()
3085 mAvailableInputDevices.dump(dst, String8("Available input")); in dump()
3241 for (const auto& dev : mAvailableInputDevices) { in listAudioPorts()
3287 dev = mAvailableInputDevices.getDeviceFromId(port->id); in getAudioPort()
3439 mAvailableInputDevices.getDeviceFromId(patch->sources[0].id); in createAudioPatch()
3481 mAvailableInputDevices.getDeviceFromId(patch->sources[0].id); in createAudioPatch()
3653 deviceDesc = mAvailableInputDevices.getDeviceFromId(config->id); in setAudioPortConfig()
3818 mAvailableInputDevices.getDevice(source->ext.device.type, in startAudioSource()
4124 DeviceVector hdmiInputDevices = mAvailableInputDevices.getDevicesFromTypeMask( in setSurroundFormatEnabled()
4282 mConfig(mHwModulesAll, mAvailableOutputDevices, mAvailableInputDevices, mDefaultOutputDevice), in AudioPolicyManager()
4424 DeviceVector availProfileDevices = supportedDevices.filter(mAvailableInputDevices); in initialize()
4469 checkAndSetAvailable(mAvailableInputDevices); in initialize()
4478 for (size_t i = 0; i < mAvailableInputDevices.size(); i++) { in initialize()
4479 if (mAvailableInputDevices[i]->address().isEmpty()) { in initialize()
4480 if (mAvailableInputDevices[i]->type() == AUDIO_DEVICE_IN_BUILTIN_MIC) { in initialize()
4481 mAvailableInputDevices[i]->setAddress(String8(AUDIO_BOTTOM_MICROPHONE_ADDRESS)); in initialize()
4482 } else if (mAvailableInputDevices[i]->type() == AUDIO_DEVICE_IN_BACK_MIC) { in initialize()
4483 mAvailableInputDevices[i]->setAddress(String8(AUDIO_BACK_MICROPHONE_ADDRESS)); in initialize()
4509 mAvailableInputDevices.clear(); in ~AudioPolicyManager()
5136 ((mAvailableInputDevices.types() & AUDIO_DEVICE_IN_BLUETOOTH_SCO_HEADSET & in checkA2dpSuspend()
5245 device = findPreferredDevice(inputDesc, AUDIO_SOURCE_DEFAULT, active, mAvailableInputDevices); in getNewInputDevice()
5581 if (mAvailableInputDevices.contains(device)) { in setInputDevice()