Home
last modified time | relevance | path

Searched refs:deviceIndex (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/input/
DInputReader.cpp365 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
[all …]
DEventHub.cpp740 ssize_t deviceIndex = mDevices.indexOfKey(eventItem.data.u32); in getEvents() local
741 if (deviceIndex < 0) { in getEvents()
747 Device* device = mDevices.valueAt(deviceIndex); in getEvents()