Home
last modified time | relevance | path

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

/frameworks/native/services/inputflinger/reader/
DInputDevice.cpp147 std::unique_ptr<InputDeviceContext> contextPtr(new InputDeviceContext(*this, eventHubId)); in addEventHubDevice() local
148 Flags<InputDeviceClass> classes = contextPtr->getDeviceClasses(); in addEventHubDevice()
153 mDevices.insert({eventHubId, std::make_pair(std::move(contextPtr), std::move(mappers))}); in addEventHubDevice()
159 mappers.push_back(std::make_unique<SwitchInputMapper>(*contextPtr)); in addEventHubDevice()
164 mappers.push_back(std::make_unique<RotaryEncoderInputMapper>(*contextPtr)); in addEventHubDevice()
169 mappers.push_back(std::make_unique<VibratorInputMapper>(*contextPtr)); in addEventHubDevice()
175 mController = std::make_unique<PeripheralController>(*contextPtr); in addEventHubDevice()
196 std::make_unique<KeyboardInputMapper>(*contextPtr, keyboardSource, keyboardType)); in addEventHubDevice()
201 mappers.push_back(std::make_unique<CursorInputMapper>(*contextPtr)); in addEventHubDevice()
206 mappers.push_back(std::make_unique<MultiTouchInputMapper>(*contextPtr)); in addEventHubDevice()
[all …]
/frameworks/native/services/inputflinger/reader/include/
DInputDevice.h211 auto& contextPtr = devicePair.first; in for_each_subdevice() local
212 f(*contextPtr); in for_each_subdevice()