Lines Matching refs:reportDef
47 MockInputReportDefinition reportDef; in TEST_F() local
54 EXPECT_CALL(reportDef, addCollection(id, 1)); in TEST_F()
55 EXPECT_CALL(reportDef, declareUsage(id, INPUT_USAGE_AXIS_X, _, _, _)); in TEST_F()
56 EXPECT_CALL(reportDef, declareUsage(id, INPUT_USAGE_AXIS_Y, _, _, _)); in TEST_F()
57 EXPECT_CALL(reportDef, declareUsages(id, _, 3)) in TEST_F()
63 EXPECT_TRUE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F()
67 MockInputReportDefinition reportDef; in TEST_F() local
70 EXPECT_CALL(reportDef, addCollection(INPUT_COLLECTION_ID_MOUSE, 1)); in TEST_F()
71 EXPECT_CALL(reportDef, declareUsage(_, _, _, _, _)).Times(0); in TEST_F()
72 EXPECT_CALL(reportDef, declareUsages(_, _, _)).Times(0); in TEST_F()
74 EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F()
78 MockInputReportDefinition reportDef; in TEST_F() local
84 EXPECT_CALL(reportDef, addCollection(_, _)); in TEST_F()
85 EXPECT_CALL(reportDef, declareUsage(_, _, _, _, _)).Times(2); in TEST_F()
86 EXPECT_CALL(reportDef, declareUsages(_, _, 3)); in TEST_F()
88 mMapper->configureInputReport(&deviceNode, &reportDef); in TEST_F()
91 EXPECT_CALL(reportDef, allocateReport()) in TEST_F()