Lines Matching refs:Boost
31 using aidl::android::hardware::power::Boost;
51 MOCK_METHOD(ndk::ScopedAStatus, isBoostSupported, (Boost boost, bool* ret), (override));
52 MOCK_METHOD(ndk::ScopedAStatus, setBoost, (Boost boost, int32_t durationMs), (override));
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()
111 auto result = mWrapper->setBoost(Boost::DISPLAY_UPDATE_IMMINENT, 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()
130 auto result = mWrapper->setBoost(Boost::INTERACTION, 100); in TEST_F()
132 result = mWrapper->setBoost(Boost::DISPLAY_UPDATE_IMMINENT, 1000); in TEST_F()
139 .WillRepeatedly([](Boost, bool* ret) { in TEST_F() argument
144 auto result = mWrapper->setBoost(Boost::INTERACTION, 1000); in TEST_F()
146 result = mWrapper->setBoost(Boost::CAMERA_SHOT, 10); 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()
167 auto result = mWrapper->setBoost(Boost::INTERACTION, 100); in TEST_F()