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.java64 private SparseArray<InputDevice> mInputDevices; field in InputManager
203 int index = mInputDevices.indexOfKey(id); in getInputDevice()
208 InputDevice inputDevice = mInputDevices.valueAt(index); in getInputDevice()
216 mInputDevices.setValueAt(index, inputDevice); in getInputDevice()
237 int numDevices = mInputDevices.size(); in getInputDeviceByDescriptor()
239 InputDevice inputDevice = mInputDevices.valueAt(i); in getInputDeviceByDescriptor()
241 int id = mInputDevices.keyAt(i); in getInputDeviceByDescriptor()
250 mInputDevices.setValueAt(i, inputDevice); in getInputDeviceByDescriptor()
268 final int count = mInputDevices.size(); in getInputDeviceIds()
271 ids[i] = mInputDevices.keyAt(i); in getInputDeviceIds()
[all …]
/frameworks/base/services/java/com/android/server/input/
DPersistentDataStore.java64 private final HashMap<String, InputDeviceState> mInputDevices = field in PersistentDataStore
139 for (InputDeviceState state : mInputDevices.values()) { in removeUninstalledKeyboardLayouts()
154 InputDeviceState state = mInputDevices.get(inputDeviceDescriptor); in getInputDeviceState()
157 mInputDevices.put(inputDeviceDescriptor, state); in getInputDeviceState()
175 mInputDevices.clear(); in clearState()
248 if (mInputDevices.containsKey(descriptor)) { in loadInputDevicesFromXml()
254 mInputDevices.put(descriptor, state); in loadInputDevicesFromXml()
264 for (Map.Entry<String, InputDeviceState> entry : mInputDevices.entrySet()) { in saveToXml()
DInputManagerService.java126 private InputDevice[] mInputDevices = new InputDevice[0]; field in InputManagerService
552 final int count = mInputDevices.length; in getInputDevice()
554 final InputDevice inputDevice = mInputDevices[i]; in getInputDevice()
570 final int count = mInputDevices.length; in getInputDeviceIds()
573 ids[i] = mInputDevices[i].getId(); in getInputDeviceIds()
585 return mInputDevices; in getInputDevices()
642 final int numDevices = mInputDevices.length; in deliverInputDevicesChanged()
645 final InputDevice inputDevice = mInputDevices[i]; in deliverInputDevicesChanged()
1264 mInputDevices).sendToTarget(); in notifyInputDevicesChanged()
1267 mInputDevices = inputDevices; in notifyInputDevicesChanged()
/frameworks/base/services/input/tests/
DInputReader_test.cpp130 Vector<InputDeviceInfo> mInputDevices; member in android::FakeInputReaderPolicy
173 return mInputDevices; in getInputDevices()
186 mInputDevices = inputDevices; in notifyInputDevicesChanged()