Lines Matching refs:reportDef
47 MockInputReportDefinition reportDef; in TEST_F() local
52 EXPECT_CALL(reportDef, addCollection(INPUT_COLLECTION_ID_SWITCH, 1)); in TEST_F()
53 EXPECT_CALL(reportDef, declareUsages(INPUT_COLLECTION_ID_SWITCH, _, 2)) in TEST_F()
57 EXPECT_TRUE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F()
61 MockInputReportDefinition reportDef; in TEST_F() local
64 EXPECT_CALL(reportDef, addCollection(_, _)).Times(0); in TEST_F()
65 EXPECT_CALL(reportDef, declareUsages(_, _, _)).Times(0); in TEST_F()
67 EXPECT_FALSE(mMapper->configureInputReport(&deviceNode, &reportDef)); in TEST_F()
71 MockInputReportDefinition reportDef; in TEST_F() local
75 EXPECT_CALL(reportDef, addCollection(_, _)); in TEST_F()
76 EXPECT_CALL(reportDef, declareUsages(_, _, _)); in TEST_F()
78 mMapper->configureInputReport(&deviceNode, &reportDef); in TEST_F()
81 EXPECT_CALL(reportDef, allocateReport()) in TEST_F()