Lines Matching refs:deviceIndex
365 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in addDeviceLocked() local
366 if (deviceIndex >= 0) { in addDeviceLocked()
392 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in removeDeviceLocked() local
393 if (deviceIndex < 0) { in removeDeviceLocked()
398 device = mDevices.valueAt(deviceIndex); in removeDeviceLocked()
399 mDevices.removeItemsAt(deviceIndex, 1); in removeDeviceLocked()
476 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in processEventsForDeviceLocked() local
477 if (deviceIndex < 0) { in processEventsForDeviceLocked()
482 InputDevice* device = mDevices.valueAt(deviceIndex); in processEventsForDeviceLocked()
619 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in getStateLocked() local
620 if (deviceIndex >= 0) { in getStateLocked()
621 InputDevice* device = mDevices.valueAt(deviceIndex); in getStateLocked()
657 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in markSupportedKeyCodesLocked() local
658 if (deviceIndex >= 0) { in markSupportedKeyCodesLocked()
659 InputDevice* device = mDevices.valueAt(deviceIndex); in markSupportedKeyCodesLocked()
695 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in vibrate() local
696 if (deviceIndex >= 0) { in vibrate()
697 InputDevice* device = mDevices.valueAt(deviceIndex); in vibrate()
705 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in cancelVibrate() local
706 if (deviceIndex >= 0) { in cancelVibrate()
707 InputDevice* device = mDevices.valueAt(deviceIndex); in cancelVibrate()