Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DInputReader.cpp233 auto deviceIt = mDevices.find(eventHubId); in removeDeviceLocked() local
234 if (deviceIt == mDevices.end()) { in removeDeviceLocked()
239 std::shared_ptr<InputDevice> device = std::move(deviceIt->second); in removeDeviceLocked()
240 mDevices.erase(deviceIt); in removeDeviceLocked()
279 auto deviceIt = std::find_if(mDevices.begin(), mDevices.end(), [identifier](auto& devicePair) { in createDeviceLocked() local
285 if (deviceIt != mDevices.end()) { in createDeviceLocked()
286 device = deviceIt->second; in createDeviceLocked()
298 auto deviceIt = mDevices.find(eventHubId); in processEventsForDeviceLocked() local
299 if (deviceIt == mDevices.end()) { in processEventsForDeviceLocked()
304 std::shared_ptr<InputDevice>& device = deviceIt->second; in processEventsForDeviceLocked()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h197 auto deviceIt = mDevices.find(eventHubDevice); in for_each_mapper_in_subdevice() local
198 if (deviceIt != mDevices.end()) { in for_each_mapper_in_subdevice()
199 auto& devicePair = deviceIt->second; in for_each_mapper_in_subdevice()