Lines Matching refs:mMockHal

82     std::shared_ptr<StrictMock<MockIPower>> mMockHal = nullptr;  member in PowerHalWrapperAidlTest
88 mMockHal = ndk::SharedRefBase::make<StrictMock<MockIPower>>(); in SetUp()
89 EXPECT_CALL(*mMockHal, getInterfaceVersion(_)).WillRepeatedly(([](int32_t* ret) { in SetUp()
93 mWrapper = std::make_unique<AidlHalWrapper>(mMockHal); in SetUp()
102 EXPECT_CALL(*mMockHal.get(), isBoostSupported(Eq(Boost::DISPLAY_UPDATE_IMMINENT), _)) in TEST_F()
106 EXPECT_CALL(*mMockHal.get(), setBoost(Eq(Boost::DISPLAY_UPDATE_IMMINENT), Eq(100))) in TEST_F()
118 EXPECT_CALL(*mMockHal.get(), isBoostSupported(Eq(Boost::INTERACTION), _)) in TEST_F()
122 EXPECT_CALL(*mMockHal.get(), setBoost(Eq(Boost::INTERACTION), Eq(100))) in TEST_F()
125 EXPECT_CALL(*mMockHal.get(), isBoostSupported(Eq(Boost::DISPLAY_UPDATE_IMMINENT), _)) in TEST_F()
137 EXPECT_CALL(*mMockHal.get(), isBoostSupported(_, _)) in TEST_F()
153 EXPECT_CALL(*mMockHal.get(), isBoostSupported(Eq(Boost::INTERACTION), _)) in TEST_F()
157 auto& exp = EXPECT_CALL(*mMockHal.get(), setBoost(Eq(Boost::INTERACTION), Eq(100))) in TEST_F()
177 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::DISPLAY_INACTIVE), _)) in TEST_F()
181 EXPECT_CALL(*mMockHal.get(), setMode(Eq(Mode::DISPLAY_INACTIVE), Eq(false))) in TEST_F()
193 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::LAUNCH), _)) in TEST_F()
197 EXPECT_CALL(*mMockHal.get(), setMode(Eq(Mode::LAUNCH), Eq(true))) in TEST_F()
200 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::DISPLAY_INACTIVE), _)) in TEST_F()
212 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::LAUNCH), _)) in TEST_F()
220 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::CAMERA_STREAMING_HIGH), _)) in TEST_F()
231 EXPECT_CALL(*mMockHal.get(), isModeSupported(Eq(Mode::LAUNCH), _)) in TEST_F()
235 auto& exp = EXPECT_CALL(*mMockHal.get(), setMode(Eq(Mode::LAUNCH), Eq(false))) in TEST_F()
257 EXPECT_CALL(*mMockHal.get(), in TEST_F()
272 EXPECT_CALL(*mMockHal.get(), in TEST_F()
287 EXPECT_CALL(*mMockHal.get(), in TEST_F()
297 EXPECT_CALL(*mMockHal.get(), getHintSessionPreferredRate(_)) in TEST_F()
309 EXPECT_CALL(*mMockHal.get(), getSessionChannel(Eq(tgid), Eq(uid), _)) in TEST_F()
312 EXPECT_CALL(*mMockHal.get(), closeSessionChannel(Eq(tgid), Eq(uid))) in TEST_F()
328 EXPECT_CALL(*mMockHal.get(), in TEST_F()
337 Mock::VerifyAndClearExpectations(mMockHal.get()); in TEST_F()
338 EXPECT_CALL(*mMockHal.get(), in TEST_F()