Home | History | Annotate | Download | only in evdev

Lines Matching defs:reportDef

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);
74 EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef));
78 MockInputReportDefinition reportDef;
84 EXPECT_CALL(reportDef, addCollection(_, _));
85 EXPECT_CALL(reportDef, declareUsage(_, _, _, _, _)).Times(2);
86 EXPECT_CALL(reportDef, declareUsages(_, _, 3));
88 mMapper->configureInputReport(&deviceNode, &reportDef);
91 EXPECT_CALL(reportDef, allocateReport())