Home
last modified time | relevance | path

Searched refs:deviceIdAndGeneration (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/core/java/android/hardware/input/
DInputManager.java975 private void onInputDevicesChanged(int[] deviceIdAndGeneration) { in onInputDevicesChanged() argument
983 if (!containsDeviceId(deviceIdAndGeneration, deviceId)) { in onInputDevicesChanged()
992 for (int i = 0; i < deviceIdAndGeneration.length; i += 2) { in onInputDevicesChanged()
993 final int deviceId = deviceIdAndGeneration[i]; in onInputDevicesChanged()
998 final int generation = deviceIdAndGeneration[i + 1]; in onInputDevicesChanged()
1026 private static boolean containsDeviceId(int[] deviceIdAndGeneration, int deviceId) { in containsDeviceId() argument
1027 for (int i = 0; i < deviceIdAndGeneration.length; i += 2) { in containsDeviceId()
1028 if (deviceIdAndGeneration[i] == deviceId) { in containsDeviceId()
1091 public void onInputDevicesChanged(int[] deviceIdAndGeneration) throws RemoteException { in onInputDevicesChanged() argument
1092 InputManager.this.onInputDevicesChanged(deviceIdAndGeneration); in onInputDevicesChanged()
DIInputDevicesChangedListener.aidl28 oneway void onInputDevicesChanged(in int[] deviceIdAndGeneration); in onInputDevicesChanged() argument
/frameworks/base/services/core/java/com/android/server/input/
DInputManagerService.java746 final int[] deviceIdAndGeneration; in deliverInputDevicesChanged() local
760 deviceIdAndGeneration = new int[numDevices * 2]; in deliverInputDevicesChanged()
763 deviceIdAndGeneration[i * 2] = inputDevice.getId(); in deliverInputDevicesChanged()
764 deviceIdAndGeneration[i * 2 + 1] = inputDevice.getGeneration(); in deliverInputDevicesChanged()
780 deviceIdAndGeneration); in deliverInputDevicesChanged()