Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/
DInputReader.cpp360 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
[all …]
DEventHub.cpp801 ssize_t deviceIndex = mDevices.indexOfKey(eventItem.data.u32); in getEvents() local
802 if (deviceIndex < 0) { in getEvents()
808 Device* device = mDevices.valueAt(deviceIndex); in getEvents()
/frameworks/base/services/core/java/com/android/server/tv/
DTvInputHardwareManager.java363 int deviceIndex = indexOfEqualValue(mHdmiInputIdMap, inputId); in removeTvInput() local
364 if (deviceIndex >= 0) { in removeTvInput()
365 mHdmiInputIdMap.removeAt(deviceIndex); in removeTvInput()