/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 | 112 mHost(host), mDeviceNode(node), mDeviceDefinition(mHost->createDeviceDefinition()) { in EvdevDevice() 115 mInputId = mHost->createDeviceIdentifier( in EvdevDevice() 129 mDeviceHandle = mHost->registerDevice(mInputId, mDeviceDefinition); in EvdevDevice() 228 auto reportDef = mHost->createInputReportDefinition(); in configureDevice() 232 mHost->freeReportDefinition(reportDef); in configureDevice() 235 reportDef = mHost->createOutputReportDefinition(); in configureDevice() 239 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 | 49 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 …]
|
D | SwitchInputMapper_test.cpp | 42 MockInputHost mHost; member in android::tests::SwitchInputMapperTest
|
D | MouseInputMapper_test.cpp | 42 MockInputHost mHost; member in android::tests::MouseInputMapperTest
|