Searched refs:deviceIndex (Results 1 – 3 of 3) sorted by relevance
360 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in addDeviceLocked() local361 if (deviceIndex >= 0) { in addDeviceLocked()388 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in removeDeviceLocked() local389 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() local473 if (deviceIndex < 0) { in processEventsForDeviceLocked()478 InputDevice* device = mDevices.valueAt(deviceIndex); in processEventsForDeviceLocked()615 ssize_t deviceIndex = mDevices.indexOfKey(deviceId); in getStateLocked() local[all …]
801 ssize_t deviceIndex = mDevices.indexOfKey(eventItem.data.u32); in getEvents() local802 if (deviceIndex < 0) { in getEvents()808 Device* device = mDevices.valueAt(deviceIndex); in getEvents()
363 int deviceIndex = indexOfEqualValue(mHdmiInputIdMap, inputId); in removeTvInput() local364 if (deviceIndex >= 0) { in removeTvInput()365 mHdmiInputIdMap.removeAt(deviceIndex); in removeTvInput()