Lines Matching refs:mMockHal
71 sp<StrictMock<MockIPowerV1_3>> mMockHal = nullptr; member in PowerHalWrapperHidlV1_3Test
77 mMockHal = new StrictMock<MockIPowerV1_3>(); in SetUp()
78 mWrapper = std::make_unique<HidlHalWrapperV1_3>(mMockHal); in SetUp()
80 EXPECT_CALL(*mMockHal.get(), powerHint(_, _)).Times(0); in SetUp()
81 EXPECT_CALL(*mMockHal.get(), powerHintAsync(_, _)).Times(0); in SetUp()
82 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_2(_, _)).Times(0); in SetUp()
90 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(Eq(PowerHintV1_3::INTERACTION), Eq(1000))) in TEST_F()
92 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(Eq(PowerHintV1_3::CAMERA_SHOT), Eq(500))) in TEST_F()
94 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(Eq(PowerHintV1_3::CAMERA_LAUNCH), Eq(300))) in TEST_F()
107 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(Eq(PowerHintV1_3::INTERACTION), Eq(1000))) in TEST_F()
118 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(_, _)).Times(0); in TEST_F()
119 EXPECT_CALL(*mMockHal.get(), setInteractive(_)).Times(0); in TEST_F()
120 EXPECT_CALL(*mMockHal.get(), setFeature(_, _)).Times(0); in TEST_F()
133 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(Eq(PowerHintV1_3::LAUNCH), Eq(true))) in TEST_F()
135 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(Eq(PowerHintV1_3::LOW_POWER), Eq(false))) in TEST_F()
137 EXPECT_CALL(*mMockHal.get(), in TEST_F()
140 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(Eq(PowerHintV1_3::VR_MODE), Eq(false))) in TEST_F()
142 EXPECT_CALL(*mMockHal.get(), setInteractive(Eq(true))).Times(Exactly(true)); in TEST_F()
143 EXPECT_CALL(*mMockHal.get(), in TEST_F()
146 EXPECT_CALL(*mMockHal.get(), in TEST_F()
149 EXPECT_CALL(*mMockHal.get(), in TEST_F()
152 EXPECT_CALL(*mMockHal.get(), in TEST_F()
155 EXPECT_CALL(*mMockHal.get(), in TEST_F()
187 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(Eq(PowerHintV1_3::LAUNCH), Eq(1))) in TEST_F()
198 EXPECT_CALL(*mMockHal.get(), powerHintAsync_1_3(_, _)).Times(0); in TEST_F()
199 EXPECT_CALL(*mMockHal.get(), setInteractive(_)).Times(0); in TEST_F()
200 EXPECT_CALL(*mMockHal.get(), setFeature(_, _)).Times(0); in TEST_F()