Searched refs:deviceIndex (Results 1 – 2 of 2) sorted by relevance
365 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in addDeviceLocked() local366 if (deviceIndex >= 0) { in addDeviceLocked()392 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in removeDeviceLocked() local393 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() local477 if (deviceIndex < 0) { in processEventsForDeviceLocked()482 InputDevice* device = mDevices.valueAt(deviceIndex); in processEventsForDeviceLocked()619 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in getStateLocked() local[all …]
740 ssize_t deviceIndex = mDevices.indexOfKey(eventItem.data.u32); in getEvents() local741 if (deviceIndex < 0) { in getEvents()747 Device* device = mDevices.valueAt(deviceIndex); in getEvents()