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.cpp97 mHost(host), mDeviceNode(node), mDeviceDefinition(mHost->createDeviceDefinition()) { in EvdevDevice()
100 mInputId = mHost->createDeviceIdentifier( in EvdevDevice()
114 mDeviceHandle = mHost->registerDevice(mInputId, mDeviceDefinition); in EvdevDevice()
213 auto reportDef = mHost->createInputReportDefinition(); in configureDevice()
217 mHost->freeReportDefinition(reportDef); in configureDevice()
220 reportDef = mHost->createOutputReportDefinition(); in configureDevice()
224 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.cpp47 EXPECT_CALL(mHost, createDeviceIdentifier(_, _, _, _, _)) in SetUp()
49 EXPECT_CALL(mHost, createDeviceDefinition()) in SetUp()
53 ON_CALL(mHost, createInputReportDefinition()) in SetUp()
55 ON_CALL(mHost, createOutputReportDefinition()) in SetUp()
57 ON_CALL(mHost, registerDevice(_, _)) in SetUp()
61 MockInputHost mHost; member in android::tests::EvdevDeviceTest
69 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F()
85 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F()
102 auto device = std::make_unique<EvdevDevice>(&mHost, node); in TEST_F()
109 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