Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DInputReader.cpp310 auto deviceIt = mDevices.find(eventHubId); in removeDeviceLocked() local
311 if (deviceIt == mDevices.end()) { in removeDeviceLocked()
316 std::shared_ptr<InputDevice> device = std::move(deviceIt->second); in removeDeviceLocked()
317 mDevices.erase(deviceIt); in removeDeviceLocked()
355 auto deviceIt = std::find_if(mDevices.begin(), mDevices.end(), [identifier](auto& devicePair) { in createDeviceLocked() local
362 if (deviceIt != mDevices.end()) { in createDeviceLocked()
363 device = deviceIt->second; in createDeviceLocked()
376 auto deviceIt = mDevices.find(eventHubId); in processEventsForDeviceLocked() local
377 if (deviceIt == mDevices.end()) { in processEventsForDeviceLocked()
382 std::shared_ptr<InputDevice>& device = deviceIt->second; in processEventsForDeviceLocked()
[all …]
/frameworks/av/services/audioflinger/sounddose/
DSoundDoseManager.cpp229 auto deviceIt = mActiveDevices.find(adt); in getIdForAudioDevice() local
230 if (deviceIt == mActiveDevices.end()) { in getIdForAudioDevice()
243 return deviceIt->second; in getIdForAudioDevice()
509 const auto deviceIt = mBluetoothDevicesWithCsd.find( in setAudioDeviceCategory() local
512 if (deviceIt != mBluetoothDevicesWithCsd.end()) { in setAudioDeviceCategory()
513 deviceIt->second = audioDevice.csdCompatible; in setAudioDeviceCategory()
580 const auto deviceIt = mBluetoothDevicesWithCsd.find(std::make_pair(deviceAddress, type)); in shouldComputeCsdForDeviceWithAddress() local
581 return deviceIt != mBluetoothDevicesWithCsd.end() && deviceIt->second; in shouldComputeCsdForDeviceWithAddress()
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h247 auto deviceIt = mDevices.find(eventHubDevice); in for_each_mapper_in_subdevice() local
248 if (deviceIt != mDevices.end()) { in for_each_mapper_in_subdevice()
249 auto& devicePair = deviceIt->second; in for_each_mapper_in_subdevice()