Home
last modified time | relevance | path

Searched refs:inputDevices (Results 1 – 19 of 19) sorted by relevance

/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPolicyConfig.h50 DeviceVector &inputDevices, in AudioPolicyConfig() argument
54 mInputDevices(inputDevices), in AudioPolicyConfig()
101 void addInputDevices(const DeviceVector &inputDevices) in addInputDevices() argument
103 mInputDevices.add(inputDevices); in addInputDevices()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accessories/
H A DBluetoothDevicePairer.java210 int[] inputDevices = inMan.getInputDeviceIds(); in hasValidInputDevice() local
212 return hasValidInputDevice(context, inputDevices); in hasValidInputDevice()
538 List<BluetoothDevice> inputDevices = new ArrayList<>(); in getAutoPairDevice() local
541 inputDevices.add(device); in getAutoPairDevice()
544 if (inputDevices.size() == 1) { in getAutoPairDevice()
545 return inputDevices.get(0); in getAutoPairDevice()
H A DBluetoothInputDeviceConnector.java92 int[] inputDevices = inputManager.getInputDeviceIds(); in registerInputMethodMonitor() local
/aosp12/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/audio/
H A DCarAudioZoneInputFragment.java112 List<AudioDeviceInfo> inputDevices = in initAudioInputInfo() local
114 mCarInputDevicesInfos = new CarAudioAudioInputInfo[inputDevices.size() + 1]; in initAudioInputInfo()
121 for (int index = 0; index < inputDevices.size(); index++) { in initAudioInputInfo()
122 AudioDeviceInfo info = inputDevices.get(index); in initAudioInputInfo()
/aosp12/packages/services/Car/service/src/com/android/car/audio/
H A DCarAudioZonesHelperLegacy.java74 AudioDeviceInfo[] inputDevices) { in CarAudioZonesHelperLegacy() argument
80 Objects.requireNonNull(inputDevices, "Input Devices must not be null."); in CarAudioZonesHelperLegacy()
90 mInputDevices = inputDevices; in CarAudioZonesHelperLegacy()
H A DCarAudioService.java537 List<CarAudioDeviceInfo> carAudioDeviceInfos, AudioDeviceInfo[] inputDevices) { in loadCarAudioConfigurationLocked() argument
540 inputStream, carAudioDeviceInfos, inputDevices, mUseCarVolumeGroupMuting); in loadCarAudioConfigurationLocked()
551 List<CarAudioDeviceInfo> carAudioDeviceInfos, AudioDeviceInfo[] inputDevices) { in loadVolumeGroupConfigurationWithAudioControlLocked() argument
560 (AudioControlWrapperV1) audioControlWrapper, mCarAudioSettings, inputDevices); in loadVolumeGroupConfigurationWithAudioControlLocked()
567 AudioDeviceInfo[] inputDevices = getAllInputDevices(); in loadCarAudioZonesLocked() local
571 mCarAudioZones = loadCarAudioConfigurationLocked(carAudioDeviceInfos, inputDevices); in loadCarAudioZonesLocked()
575 inputDevices); in loadCarAudioZonesLocked()
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
H A DCarAudioZonesValidatorTest.java192 MockBuilder withInputDevices(List<AudioDeviceAttributes> inputDevices) { in withInputDevices() argument
193 mInputDevices = inputDevices; in withInputDevices()
/aosp12/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/
H A DParameterManagerWrapper.cpp299 status_t ParameterManagerWrapper::setAvailableInputDevices(audio_devices_t inputDevices) in setAvailableInputDevices() argument
307 criterion->setCriterionState(inputDevices & ~AUDIO_DEVICE_BIT_IN); in setAvailableInputDevices()
/aosp12/packages/services/Car/car-lib/src/android/car/media/
H A DCarAudioManager.java782 AudioDeviceInfo[] inputDevices = mAudioManager.getDevices(flag); in convertInputDevicesToDeviceInfos() local
783 for (int i = 0; i < inputDevices.length; ++i) { in convertInputDevicesToDeviceInfos()
784 AudioDeviceInfo info = inputDevices[i]; in convertInputDevicesToDeviceInfos()
/aosp12/frameworks/av/services/audiopolicy/engineconfigurable/wrapper/include/
H A DParameterManagerWrapper.h108 status_t setAvailableInputDevices(audio_devices_t inputDevices);
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidDeviceService.java822 List<BluetoothDevice> inputDevices = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
827 inputDevices.add(mHidDevice); in getDevicesMatchingConnectionStates()
832 return inputDevices; in getDevicesMatchingConnectionStates()
H A DHidHostService.java572 List<BluetoothDevice> inputDevices = new ArrayList<BluetoothDevice>(); in getDevicesMatchingConnectionStates() local
578 inputDevices.add(device); in getDevicesMatchingConnectionStates()
583 return inputDevices; in getDevicesMatchingConnectionStates()
/aosp12/frameworks/native/services/inputflinger/reader/
H A DInputReader.cpp90 std::vector<InputDeviceInfo> inputDevices; in loopOnce() local
131 inputDevices = getInputDevicesLocked(); in loopOnce()
137 mPolicy->notifyInputDevicesChanged(inputDevices); in loopOnce()
/aosp12/frameworks/native/services/inputflinger/include/
H A DInputReaderBase.h378 virtual void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) = 0;
/aosp12/frameworks/av/services/audiopolicy/tests/
H A Daudiopolicymanager_tests.cpp1610 const AudioDeviceTypeAddrVector inputDevices = {inputDevice}; in TEST_P() local
1612 mManager->setDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_P()
1626 mManager->addDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_P()
1633 mManager->removeDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_P()
1640 mManager->removeDevicesRoleForCapturePreset(audioSource, role, inputDevices)); in TEST_P()
/aosp12/frameworks/av/services/mediametrics/
H A DAudioAnalytics.cpp601 const std::string inputDevices = iss.str(); in endAudioIntervalGroup() local
659 << " inputDevices:" << inputDevices << "(" << inputDeviceBits in endAudioIntervalGroup()
714 << " inputDevices:" << inputDevices << "(" << inputDeviceBits in endAudioIntervalGroup()
/aosp12/frameworks/base/services/core/java/com/android/server/input/
H A DInputManagerService.java1345 private static boolean containsInputDeviceWithDescriptor(InputDevice[] inputDevices, in containsInputDeviceWithDescriptor() argument
1347 final int numDevices = inputDevices.length; in containsInputDeviceWithDescriptor()
1349 final InputDevice inputDevice = inputDevices[i]; in containsInputDeviceWithDescriptor()
2657 private void notifyInputDevicesChanged(InputDevice[] inputDevices) { in notifyInputDevicesChanged() argument
2665 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/aosp12/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp298 void notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices) override;
687 void NativeInputManager::notifyInputDevicesChanged(const std::vector<InputDeviceInfo>& inputDevices in notifyInputDevicesChanged() argument
691 size_t count = inputDevices.size(); in notifyInputDevicesChanged()
697 jobject inputDeviceObj = android_view_InputDevice_create(env, inputDevices[i]); in notifyInputDevicesChanged()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp369 mInputDevices = inputDevices; in notifyInputDevicesChanged()
1549 const std::vector<InputDeviceInfo>& inputDevices = mFakePolicy->getInputDevices(); in TEST_F() local
1550 ASSERT_EQ(1U, inputDevices.size()); in TEST_F()
1551 ASSERT_EQ(END_RESERVED_ID + 1, inputDevices[0].getId()); in TEST_F()
1552 ASSERT_STREQ("keyboard", inputDevices[0].getIdentifier().name.c_str()); in TEST_F()
1553 ASSERT_EQ(AINPUT_KEYBOARD_TYPE_NON_ALPHABETIC, inputDevices[0].getKeyboardType()); in TEST_F()
1554 ASSERT_EQ(AINPUT_SOURCE_KEYBOARD, inputDevices[0].getSources()); in TEST_F()
1555 ASSERT_EQ(0U, inputDevices[0].getMotionRanges().size()); in TEST_F()
2194 const std::vector<InputDeviceInfo> inputDevices = mFakePolicy->getInputDevices(); in TEST_F() local
2196 std::find_if(inputDevices.begin(), inputDevices.end(), in TEST_F()
[all …]