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.java71 private SparseArray<InputDevice> mInputDevices; field in InputManager
249 int index = mInputDevices.indexOfKey(id); in getInputDevice()
254 InputDevice inputDevice = mInputDevices.valueAt(index); in getInputDevice()
262 mInputDevices.setValueAt(index, inputDevice); in getInputDevice()
283 int numDevices = mInputDevices.size(); in getInputDeviceByDescriptor()
285 InputDevice inputDevice = mInputDevices.valueAt(i); in getInputDeviceByDescriptor()
287 int id = mInputDevices.keyAt(i); in getInputDeviceByDescriptor()
296 mInputDevices.setValueAt(i, inputDevice); in getInputDeviceByDescriptor()
314 final int count = mInputDevices.size(); in getInputDeviceIds()
317 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.java162 private InputDevice[] mInputDevices = new InputDevice[0]; field in InputManagerService
643 final int count = mInputDevices.length; in getInputDevice()
645 final InputDevice inputDevice = mInputDevices[i]; in getInputDevice()
687 final int count = mInputDevices.length; in getInputDeviceIds()
690 ids[i] = mInputDevices[i].getId(); in getInputDeviceIds()
702 return mInputDevices; in getInputDevices()
759 final int numDevices = mInputDevices.length; in deliverInputDevicesChanged()
762 final InputDevice inputDevice = mInputDevices[i]; in deliverInputDevicesChanged()
1773 mInputDevices).sendToTarget(); in notifyInputDevicesChanged()
1776 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/frameworks/native/services/inputflinger/tests/
DInputReader_test.cpp134 Vector<InputDeviceInfo> mInputDevices; member in android::FakeInputReaderPolicy
188 return mInputDevices; in getInputDevices()
235 mInputDevices = inputDevices; in notifyInputDevicesChanged()