Searched refs:deviceIdAndGeneration (Results 1 – 3 of 3) sorted by relevance
28 oneway void onInputDevicesChanged(in int[] deviceIdAndGeneration); in onInputDevicesChanged() argument
248 public void onInputDevicesChanged(int[] deviceIdAndGeneration) throws RemoteException { in onInputDevicesChanged() argument249 InputManagerGlobal.this.onInputDevicesChanged(deviceIdAndGeneration); in onInputDevicesChanged()253 private void onInputDevicesChanged(int[] deviceIdAndGeneration) { in onInputDevicesChanged() argument261 if (!containsDeviceId(deviceIdAndGeneration, deviceId)) { in onInputDevicesChanged()274 for (int i = 0; i < deviceIdAndGeneration.length; i += 2) { in onInputDevicesChanged()275 final int deviceId = deviceIdAndGeneration[i]; in onInputDevicesChanged()280 final int generation = deviceIdAndGeneration[i + 1]; in onInputDevicesChanged()335 private static boolean containsDeviceId(int[] deviceIdAndGeneration, int deviceId) { in containsDeviceId() argument336 for (int i = 0; i < deviceIdAndGeneration.length; i += 2) { in containsDeviceId()337 if (deviceIdAndGeneration[i] == deviceId) { in containsDeviceId()
1043 final int[] deviceIdAndGeneration; in deliverInputDevicesChanged() local1057 deviceIdAndGeneration = new int[numDevices * 2]; in deliverInputDevicesChanged()1060 deviceIdAndGeneration[i * 2] = inputDevice.getId(); in deliverInputDevicesChanged()1061 deviceIdAndGeneration[i * 2 + 1] = inputDevice.getGeneration(); in deliverInputDevicesChanged()1072 deviceIdAndGeneration); in deliverInputDevicesChanged()