/hardware/libhardware/modules/input/evdev/ |
D | InputHost.cpp | 23 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 …]
|
D | InputDevice.cpp | 97 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()
|
D | InputDeviceManager.h | 40 mHost(host) {} in InputDeviceManager() 49 InputHostInterface* mHost;
|
D | InputDeviceManager.cpp | 38 mDevices[node] = std::make_shared<EvdevDevice>(mHost, node); in onDeviceAdded()
|
D | InputDevice.h | 68 InputHostInterface* mHost = nullptr; variable
|
D | InputHost.h | 43 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/ |
D | InputDevice_test.cpp | 47 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 …]
|
D | SwitchInputMapper_test.cpp | 42 MockInputHost mHost; member in android::tests::SwitchInputMapperTest
|
D | MouseInputMapper_test.cpp | 42 MockInputHost mHost; member in android::tests::MouseInputMapperTest
|