Home
last modified time | relevance | path

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

/hardware/libhardware/modules/input/evdev/
DInputHost.h129 class InputPropertyMap : private InputHostBase {
131 virtual ~InputPropertyMap() = default;
133 InputPropertyMap(input_host_t* host, input_host_callbacks_t cb, input_property_map_t* m) : in InputPropertyMap() function
141 InputPropertyMap(const InputPropertyMap& rhs) = delete;
142 InputPropertyMap& operator=(const InputPropertyMap& rhs) = delete;
163 virtual InputPropertyMap* getDevicePropertyMap(InputDeviceIdentifier* id) = 0;
164 virtual void freeDevicePropertyMap(InputPropertyMap* propertyMap) = 0;
183 InputPropertyMap* getDevicePropertyMap(InputDeviceIdentifier* id) override;
184 void freeDevicePropertyMap(InputPropertyMap* propertyMap) override;
DInputHost.cpp68 InputProperty* InputPropertyMap::getDeviceProperty(const char* key) const { in getDeviceProperty()
73 void InputPropertyMap::freeDeviceProperty(InputProperty* property) const { in freeDeviceProperty()
110 InputPropertyMap* InputHost::getDevicePropertyMap(InputDeviceIdentifier* id) { in getDevicePropertyMap()
111 return new InputPropertyMap(mHost, mCallbacks, in getDevicePropertyMap()
115 void InputHost::freeDevicePropertyMap(InputPropertyMap* propertyMap) { in freeDevicePropertyMap()
/hardware/libhardware/tests/input/evdev/
DMockInputHost.h62 class MockInputPropertyMap : public InputPropertyMap {
64 MockInputPropertyMap() : InputPropertyMap(nullptr, {}, nullptr) {} in MockInputPropertyMap()
82 MOCK_METHOD1(getDevicePropertyMap, InputPropertyMap*(InputDeviceIdentifier* id));
83 MOCK_METHOD1(freeDevicePropertyMap, void(InputPropertyMap* propertyMap));