Lines Matching refs:deviceIndex
360 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in addDeviceLocked() local
361 if (deviceIndex >= 0) { in addDeviceLocked()
388 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in removeDeviceLocked() local
389 if (deviceIndex < 0) { in removeDeviceLocked()
394 device = mDevices.valueAt(deviceIndex); in removeDeviceLocked()
395 mDevices.removeItemsAt(deviceIndex, 1); in removeDeviceLocked()
472 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in processEventsForDeviceLocked() local
473 if (deviceIndex < 0) { in processEventsForDeviceLocked()
478 InputDevice* device = mDevices.valueAt(deviceIndex); in processEventsForDeviceLocked()
615 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in getStateLocked() local
616 if (deviceIndex >= 0) { in getStateLocked()
617 InputDevice* device = mDevices.valueAt(deviceIndex); in getStateLocked()
653 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in markSupportedKeyCodesLocked() local
654 if (deviceIndex >= 0) { in markSupportedKeyCodesLocked()
655 InputDevice* device = mDevices.valueAt(deviceIndex); in markSupportedKeyCodesLocked()
691 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in vibrate() local
692 if (deviceIndex >= 0) { in vibrate()
693 InputDevice* device = mDevices.valueAt(deviceIndex); in vibrate()
701 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in cancelVibrate() local
702 if (deviceIndex >= 0) { in cancelVibrate()
703 InputDevice* device = mDevices.valueAt(deviceIndex); in cancelVibrate()