Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/hardware/input/
DInputManager.java74 private SparseArray<InputDevice> mInputDevices; field in InputManager
254 int index = mInputDevices.indexOfKey(id); in getInputDevice()
259 InputDevice inputDevice = mInputDevices.valueAt(index); in getInputDevice()
267 mInputDevices.setValueAt(index, inputDevice); in getInputDevice()
288 int numDevices = mInputDevices.size(); in getInputDeviceByDescriptor()
290 InputDevice inputDevice = mInputDevices.valueAt(i); in getInputDeviceByDescriptor()
292 int id = mInputDevices.keyAt(i); in getInputDeviceByDescriptor()
301 mInputDevices.setValueAt(i, inputDevice); in getInputDeviceByDescriptor()
319 final int count = mInputDevices.size(); in getInputDeviceIds()
322 ids[i] = mInputDevices.keyAt(i); in getInputDeviceIds()
[all …]
/frameworks/base/services/core/java/com/android/server/input/
DPersistentDataStore.java68 private final HashMap<String, InputDeviceState> mInputDevices = field in PersistentDataStore
168 for (InputDeviceState state : mInputDevices.values()) { in removeUninstalledKeyboardLayouts()
183 InputDeviceState state = mInputDevices.get(inputDeviceDescriptor); in getInputDeviceState()
186 mInputDevices.put(inputDeviceDescriptor, state); in getInputDeviceState()
204 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()
DInputManagerService.java165 private InputDevice[] mInputDevices = new InputDevice[0]; field in InputManagerService
663 final int count = mInputDevices.length; in getInputDevice()
665 final InputDevice inputDevice = mInputDevices[i]; in getInputDevice()
707 final int count = mInputDevices.length; in getInputDeviceIds()
710 ids[i] = mInputDevices[i].getId(); in getInputDeviceIds()
722 return mInputDevices; in getInputDevices()
779 final int numDevices = mInputDevices.length; in deliverInputDevicesChanged()
782 final InputDevice inputDevice = mInputDevices[i]; in deliverInputDevicesChanged()
1745 mInputDevices).sendToTarget(); in notifyInputDevicesChanged()
1748 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp161 std::vector<InputDeviceInfo> mInputDevices; member in android::FakeInputReaderPolicy
230 return mInputDevices; in getInputDevices()
284 mInputDevices = inputDevices; in notifyInputDevicesChanged()