HomeSort by relevance Sort by last modified time
    Searched defs:reportDef (Results 1 - 3 of 3) sorted by null

  /hardware/libhardware/tests/input/evdev/
MouseInputMapper_test.cpp 47 MockInputReportDefinition reportDef;
54 EXPECT_CALL(reportDef, addCollection(id, 1));
55 EXPECT_CALL(reportDef, declareUsage(id, INPUT_USAGE_AXIS_X, _, _, _));
56 EXPECT_CALL(reportDef, declareUsage(id, INPUT_USAGE_AXIS_Y, _, _, _));
57 EXPECT_CALL(reportDef, declareUsages(id, _, 3))
63 EXPECT_TRUE(mMapper->configureInputReport(&deviceNode, &reportDef));
67 MockInputReportDefinition reportDef;
70 EXPECT_CALL(reportDef, addCollection(INPUT_COLLECTION_ID_MOUSE, 1));
71 EXPECT_CALL(reportDef, declareUsage(_, _, _, _, _)).Times(0);
72 EXPECT_CALL(reportDef, declareUsages(_, _, _)).Times(0)
    [all...]
SwitchInputMapper_test.cpp 47 MockInputReportDefinition reportDef;
52 EXPECT_CALL(reportDef, addCollection(INPUT_COLLECTION_ID_SWITCH, 1));
53 EXPECT_CALL(reportDef, declareUsages(INPUT_COLLECTION_ID_SWITCH, _, 2))
57 EXPECT_TRUE(mMapper->configureInputReport(&deviceNode, &reportDef));
61 MockInputReportDefinition reportDef;
64 EXPECT_CALL(reportDef, addCollection(_, _)).Times(0);
65 EXPECT_CALL(reportDef, declareUsages(_, _, _)).Times(0);
67 EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef));
71 MockInputReportDefinition reportDef;
75 EXPECT_CALL(reportDef, addCollection(_, _))
    [all...]
  /hardware/libhardware/modules/input/evdev/
InputDevice.cpp 215 auto reportDef = mHost->createInputReportDefinition();
216 if (mapper->configureInputReport(mDeviceNode.get(), reportDef)) {
217 mDeviceDefinition->addReport(reportDef);
219 mHost->freeReportDefinition(reportDef);
222 reportDef = mHost->createOutputReportDefinition();
223 if (mapper->configureOutputReport(mDeviceNode.get(), reportDef)) {
224 mDeviceDefinition->addReport(reportDef);
226 mHost->freeReportDefinition(reportDef);

Completed in 115 milliseconds