Home
last modified time | relevance | path

Searched refs:InputReportDefinition (Results 1 – 8 of 8) sorted by relevance

/hardware/libhardware/modules/input/evdev/
DInputMapper.h26 class InputReportDefinition; variable
48 virtual bool configureInputReport(InputDeviceNode* devNode, InputReportDefinition* report) { in configureInputReport()
58 virtual bool configureOutputReport(InputDeviceNode* devNode, InputReportDefinition* report) { in configureOutputReport()
68 virtual void setInputReportDefinition(InputReportDefinition* reportDef) final { in setInputReportDefinition()
71 virtual void setOutputReportDefinition(InputReportDefinition* reportDef) final { in setOutputReportDefinition()
74 virtual InputReportDefinition* getInputReportDefinition() final { return mInputReportDef; } in getInputReportDefinition()
75 virtual InputReportDefinition* getOutputReportDefinition() final { return mOutputReportDef; } in getOutputReportDefinition()
80 InputReportDefinition* mInputReportDef = nullptr;
81 InputReportDefinition* mOutputReportDef = nullptr;
DInputHost.h73 class InputReportDefinition : private InputHostBase {
75 InputReportDefinition(input_host_t* host, input_host_callbacks_t cb, in InputReportDefinition() function
77 virtual ~InputReportDefinition() = default;
88 InputReportDefinition(const InputReportDefinition& rhs) = delete;
89 InputReportDefinition& operator=(const InputReportDefinition& rhs) = delete;
101 virtual void addReport(InputReportDefinition* r);
155 virtual InputReportDefinition* createInputReportDefinition() = 0;
156 virtual InputReportDefinition* createOutputReportDefinition() = 0;
157 virtual void freeReportDefinition(InputReportDefinition* reportDef) = 0;
176 InputReportDefinition* createInputReportDefinition() override;
[all …]
DInputHost.cpp35 void InputReportDefinition::addCollection(InputCollectionId id, int32_t arity) { in addCollection()
39 void InputReportDefinition::declareUsage(InputCollectionId id, InputUsage usage, in declareUsage()
45 void InputReportDefinition::declareUsages(InputCollectionId id, InputUsage* usage, in declareUsages()
51 InputReport* InputReportDefinition::allocateReport() { in allocateReport()
56 void InputDeviceDefinition::addReport(InputReportDefinition* r) { in addReport()
87 InputReportDefinition* InputHost::createInputReportDefinition() { in createInputReportDefinition()
88 return new InputReportDefinition(mHost, mCallbacks, in createInputReportDefinition()
92 InputReportDefinition* InputHost::createOutputReportDefinition() { in createOutputReportDefinition()
93 return new InputReportDefinition(mHost, mCallbacks, in createOutputReportDefinition()
97 void InputHost::freeReportDefinition(InputReportDefinition* reportDef) { in freeReportDefinition()
DSwitchInputMapper.h35 InputReportDefinition* report) override;
DMouseInputMapper.h34 InputReportDefinition* report) override;
DSwitchInputMapper.cpp60 InputReportDefinition* report) { in configureInputReport()
DMouseInputMapper.cpp52 InputReportDefinition* report) { in configureInputReport()
/hardware/libhardware/tests/input/evdev/
DMockInputHost.h38 class MockInputReportDefinition : public InputReportDefinition {
40 MockInputReportDefinition() : InputReportDefinition(nullptr, {}, nullptr) {} in MockInputReportDefinition()
51 MOCK_METHOD1(addReport, void(InputReportDefinition* r));
76 MOCK_METHOD0(createInputReportDefinition, InputReportDefinition*());
77 MOCK_METHOD0(createOutputReportDefinition, InputReportDefinition*());
78 MOCK_METHOD1(freeReportDefinition, void(InputReportDefinition* reportDef));