Home
last modified time | relevance | path

Searched refs:mInputDevices (Results 1 – 9 of 9) sorted by relevance

/aosp12/frameworks/av/services/audiopolicy/common/managerdefinitions/include/
H A DAudioPolicyConfig.h54 mInputDevices(inputDevices), in AudioPolicyConfig()
64 mInputDevices.clear(); in clear()
97 mInputDevices.add(device); in addDevice()
103 mInputDevices.add(inputDevices); in addInputDevices()
130 return mInputDevices; in getInputDevices()
157 mInputDevices.add(defaultInputDevice); in setDefault()
226 DeviceVector &mInputDevices; variable
/aosp12/frameworks/base/core/java/android/hardware/input/
H A DInputManager.java101 private SparseArray<InputDevice> mInputDevices; field in InputManager
343 int index = mInputDevices.indexOfKey(id); in getInputDevice()
377 int numDevices = mInputDevices.size(); in getInputDeviceByDescriptor()
381 int id = mInputDevices.keyAt(i); in getInputDeviceByDescriptor()
390 mInputDevices.setValueAt(i, inputDevice); in getInputDeviceByDescriptor()
408 final int count = mInputDevices.size(); in getInputDeviceIds()
411 ids[i] = mInputDevices.keyAt(i); in getInputDeviceIds()
1363 if (mInputDevices == null) { in populateInputDevicesLocked()
1373 mInputDevices.put(ids[i], null); in populateInputDevicesLocked()
1390 mInputDevices.removeAt(i); in onInputDevicesChanged()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/input/
H A DPersistentDataStore.java70 private final HashMap<String, InputDeviceState> mInputDevices = field in PersistentDataStore
170 for (InputDeviceState state : mInputDevices.values()) { in removeUninstalledKeyboardLayouts()
185 InputDeviceState state = mInputDevices.get(inputDeviceDescriptor); in getInputDeviceState()
188 mInputDevices.put(inputDeviceDescriptor, state); in getInputDeviceState()
206 mInputDevices.clear(); in clearState()
277 if (mInputDevices.containsKey(descriptor)) { in loadInputDevicesFromXml()
283 mInputDevices.put(descriptor, state); in loadInputDevicesFromXml()
293 for (Map.Entry<String, InputDeviceState> entry : mInputDevices.entrySet()) { in saveToXml()
H A DInputManagerService.java226 private InputDevice[] mInputDevices = new InputDevice[0]; field in InputManagerService
915 final int count = mInputDevices.length; in getInputDevice()
917 final InputDevice inputDevice = mInputDevices[i]; in getInputDevice()
959 final int count = mInputDevices.length; in getInputDeviceIds()
962 ids[i] = mInputDevices[i].getId(); in getInputDeviceIds()
974 return mInputDevices; in getInputDevices()
1031 final int numDevices = mInputDevices.length; in deliverInputDevicesChanged()
1034 final InputDevice inputDevice = mInputDevices[i]; in deliverInputDevicesChanged()
2662 mInputDevices).sendToTarget(); in notifyInputDevicesChanged()
2665 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/hid/
H A DHidHostService.java63 private Map<BluetoothDevice, Integer> mInputDevices; field in HidHostService
123 if (mInputDevices != null) { in cleanup()
124 for (BluetoothDevice device : mInputDevices.keySet()) { in cleanup()
130 mInputDevices.clear(); in cleanup()
190 Integer prevStateInteger = mInputDevices.get(device);
564 if (mInputDevices.get(device) == null) { in getConnectionState()
567 return mInputDevices.get(device); in getConnectionState()
574 for (BluetoothDevice device : mInputDevices.keySet()) { in getDevicesMatchingConnectionStates()
812 Integer prevStateInteger = mInputDevices.get(device); in broadcastConnectionState()
822 mInputDevices.put(device, newState); in broadcastConnectionState()
[all …]
/aosp12/packages/services/Car/service/src/com/android/car/audio/
H A DCarAudioZonesHelperLegacy.java68 private final AudioDeviceInfo[] mInputDevices; field in CarAudioZonesHelperLegacy
90 mInputDevices = inputDevices; in CarAudioZonesHelperLegacy()
237 for (int index = 0; index < mInputDevices.length; index++) { in addMicrophonesToPrimaryZone()
238 AudioDeviceInfo info = mInputDevices[index]; in addMicrophonesToPrimaryZone()
/aosp12/packages/services/Car/tests/carservice_test/src/com/android/car/audio/
H A DCarAudioZonesValidatorTest.java166 private List<AudioDeviceAttributes> mInputDevices = new ArrayList<>(); field in CarAudioZonesValidatorTest.MockBuilder
173 when(zoneMock.getInputAudioDevices()).thenReturn(mInputDevices); in build()
193 mInputDevices = inputDevices; in withInputDevices()
/aosp12/frameworks/native/services/inputflinger/tests/
H A DInputReader_test.cpp209 std::vector<InputDeviceInfo> mInputDevices GUARDED_BY(mLock);
303 return mInputDevices; in getInputDevices()
369 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt23793 Landroid/hardware/input/InputManager;->mInputDevices:Landroid/util/SparseArray;