Searched refs:usePowerHintSession (Results 1 – 8 of 8) sorted by relevance
34 ON_CALL(*mPowerAdvisor, usePowerHintSession()).WillByDefault(Return(true)); in TEST_F()53 ON_CALL(*mPowerAdvisor, usePowerHintSession()).WillByDefault(Return(true)); in TEST_F()
191 bool PowerAdvisor::usePowerHintSession() { in usePowerHintSession() function in android::Hwc2::impl::PowerAdvisor209 if (!mBootFinished || !usePowerHintSession()) { in sendHintSessionHint()233 if (mHintSession == nullptr && !mHintSessionThreadIds.empty() && usePowerHintSession()) { in ensurePowerHintSessionRunning()294 if (!mBootFinished || !usePowerHintSession()) { in updateTargetWorkDuration()323 if (!mBootFinished || !sUseReportActualDuration || !usePowerHintSession()) { in reportActualWorkDuration()435 if (!usePowerHintSession()) { in startPowerHintSession()
61 virtual bool usePowerHintSession() = 0;125 bool usePowerHintSession() override;
39 MOCK_METHOD(bool, usePowerHintSession, (), (override));
172 EXPECT_CALL(mPowerAdvisor, usePowerHintSession()).WillRepeatedly(Return(false)); in DisplayTestCommon()
37 MOCK_METHOD(bool, usePowerHintSession, (), (override));
421 return mPowerAdvisor != nullptr && mPowerAdvisor->usePowerHintSession(); in isPowerHintSessionEnabled()
770 const bool hintSessionUsed = mPowerAdvisor->usePowerHintSession(); in bootFinished()2649 mPowerHintSessionEnabled = mPowerAdvisor->usePowerHintSession() && activeDisplay && in commit()