• Home
  • Raw
  • Download

Lines Matching refs:deviceIndex

457     ssize_t deviceIndex = mDevices.indexOfKey(deviceId);  in addDeviceLocked()  local
458 if (deviceIndex >= 0) { in addDeviceLocked()
489 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in removeDeviceLocked() local
490 if (deviceIndex < 0) { in removeDeviceLocked()
495 device = mDevices.valueAt(deviceIndex); in removeDeviceLocked()
496 mDevices.removeItemsAt(deviceIndex, 1); in removeDeviceLocked()
592 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in processEventsForDeviceLocked() local
593 if (deviceIndex < 0) { in processEventsForDeviceLocked()
598 InputDevice* device = mDevices.valueAt(deviceIndex); in processEventsForDeviceLocked()
756 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in getStateLocked() local
757 if (deviceIndex >= 0) { in getStateLocked()
758 InputDevice* device = mDevices.valueAt(deviceIndex); in getStateLocked()
783 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in toggleCapsLockState() local
784 if (deviceIndex < 0) { in toggleCapsLockState()
789 InputDevice* device = mDevices.valueAt(deviceIndex); in toggleCapsLockState()
809 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in markSupportedKeyCodesLocked() local
810 if (deviceIndex >= 0) { in markSupportedKeyCodesLocked()
811 InputDevice* device = mDevices.valueAt(deviceIndex); in markSupportedKeyCodesLocked()
847 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in vibrate() local
848 if (deviceIndex >= 0) { in vibrate()
849 InputDevice* device = mDevices.valueAt(deviceIndex); in vibrate()
857 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in cancelVibrate() local
858 if (deviceIndex >= 0) { in cancelVibrate()
859 InputDevice* device = mDevices.valueAt(deviceIndex); in cancelVibrate()
867 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in isInputDeviceEnabled() local
868 if (deviceIndex >= 0) { in isInputDeviceEnabled()
869 InputDevice* device = mDevices.valueAt(deviceIndex); in isInputDeviceEnabled()