Home
last modified time | relevance | path

Searched refs:mHost (Results 1 – 9 of 9) sorted by relevance

/hardware/libhardware/modules/input/evdev/
DInputHost.cpp23 mCallbacks.input_report_set_usage_int(mHost, mReport, id, usage, value, arityIndex); in setIntUsage()
28 mCallbacks.input_report_set_usage_bool(mHost, mReport, id, usage, value, arityIndex); in setBoolUsage()
32 mCallbacks.report_event(mHost, d, mReport); in reportEvent()
36 mCallbacks.input_report_definition_add_collection(mHost, mReportDefinition, id, arity); in addCollection()
41 mCallbacks.input_report_definition_declare_usage_int(mHost, mReportDefinition, in declareUsage()
47 mCallbacks.input_report_definition_declare_usages_bool(mHost, mReportDefinition, in declareUsages()
52 return new InputReport(mHost, mCallbacks, in allocateReport()
53 mCallbacks.input_allocate_report(mHost, mReportDefinition)); in allocateReport()
57 mCallbacks.input_device_definition_add_report(mHost, mDeviceDefinition, *r); in addReport()
61 return mCallbacks.input_get_property_key(mHost, mProperty); in getKey()
[all …]
DInputDevice.cpp99 mHost(host), mDeviceNode(node), mDeviceDefinition(mHost->createDeviceDefinition()) { in EvdevDevice()
102 mInputId = mHost->createDeviceIdentifier( in EvdevDevice()
116 mDeviceHandle = mHost->registerDevice(mInputId, mDeviceDefinition); in EvdevDevice()
215 auto reportDef = mHost->createInputReportDefinition(); in configureDevice()
219 mHost->freeReportDefinition(reportDef); in configureDevice()
222 reportDef = mHost->createOutputReportDefinition(); in configureDevice()
226 mHost->freeReportDefinition(reportDef); in configureDevice()
DInputDeviceManager.h40 mHost(host) {} in InputDeviceManager()
49 InputHostInterface* mHost;
DInputDeviceManager.cpp38 mDevices[node] = std::make_shared<EvdevDevice>(mHost, node); in onDeviceAdded()
DInputDevice.h68 InputHostInterface* mHost = nullptr; variable
DInputHost.h43 InputHostBase(input_host_t* host, input_host_callbacks_t cb) : mHost(host), mCallbacks(cb) {} in InputHostBase()
49 input_host_t* mHost; variable
/hardware/libhardware/tests/input/evdev/
DInputDevice_test.cpp49 EXPECT_CALL(mHost, createDeviceIdentifier(_, _, _, _, _)) in SetUp()
51 EXPECT_CALL(mHost, createDeviceDefinition()) in SetUp()
55 ON_CALL(mHost, createInputReportDefinition()) in SetUp()
57 ON_CALL(mHost, createOutputReportDefinition()) in SetUp()
59 ON_CALL(mHost, registerDevice(_, _)) in SetUp()
63 MockInputHost mHost; member in android::tests::EvdevDeviceTest
71 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F()
100 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F()
116 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F()
133 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F()
[all …]
DSwitchInputMapper_test.cpp42 MockInputHost mHost; member in android::tests::SwitchInputMapperTest
DMouseInputMapper_test.cpp42 MockInputHost mHost; member in android::tests::MouseInputMapperTest