• Home
  • Raw
  • Download

Lines Matching refs:deviceIndex

389     ssize_t deviceIndex = mDevices.indexOfKey(deviceId);  in addDeviceLocked()  local
390 if (deviceIndex >= 0) { in addDeviceLocked()
421 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in removeDeviceLocked() local
422 if (deviceIndex < 0) { in removeDeviceLocked()
427 device = mDevices.valueAt(deviceIndex); in removeDeviceLocked()
428 mDevices.removeItemsAt(deviceIndex, 1); in removeDeviceLocked()
524 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in processEventsForDeviceLocked() local
525 if (deviceIndex < 0) { in processEventsForDeviceLocked()
530 InputDevice* device = mDevices.valueAt(deviceIndex); in processEventsForDeviceLocked()
690 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in getStateLocked() local
691 if (deviceIndex >= 0) { in getStateLocked()
692 InputDevice* device = mDevices.valueAt(deviceIndex); in getStateLocked()
717 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in toggleCapsLockState() local
718 if (deviceIndex < 0) { in toggleCapsLockState()
723 InputDevice* device = mDevices.valueAt(deviceIndex); in toggleCapsLockState()
743 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in markSupportedKeyCodesLocked() local
744 if (deviceIndex >= 0) { in markSupportedKeyCodesLocked()
745 InputDevice* device = mDevices.valueAt(deviceIndex); in markSupportedKeyCodesLocked()
781 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in vibrate() local
782 if (deviceIndex >= 0) { in vibrate()
783 InputDevice* device = mDevices.valueAt(deviceIndex); in vibrate()
791 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in cancelVibrate() local
792 if (deviceIndex >= 0) { in cancelVibrate()
793 InputDevice* device = mDevices.valueAt(deviceIndex); in cancelVibrate()
801 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in isInputDeviceEnabled() local
802 if (deviceIndex >= 0) { in isInputDeviceEnabled()
803 InputDevice* device = mDevices.valueAt(deviceIndex); in isInputDeviceEnabled()
813 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in canDispatchToDisplay() local
814 if (deviceIndex < 0) { in canDispatchToDisplay()
819 InputDevice* device = mDevices.valueAt(deviceIndex); in canDispatchToDisplay()