Searched refs:GetAdpfProfile (Results 1 – 10 of 10) sorted by relevance
50 if (HintManager::GetInstance()->GetAdpfProfile() && in setMode()51 HintManager::GetInstance()->GetAdpfProfile()->mReportingRateLimitNs > 0) { in setMode()71 if (HintManager::GetInstance()->GetAdpfProfile() && in setBoost()72 HintManager::GetInstance()->GetAdpfProfile()->mReportingRateLimitNs > 0) { in setBoost()
95 if (HintManager::GetInstance()->GetAdpfProfile() && in setMode()96 HintManager::GetInstance()->GetAdpfProfile()->mReportingRateLimitNs > 0) { in setMode()222 if (HintManager::GetInstance()->GetAdpfProfile() && in setBoost()223 HintManager::GetInstance()->GetAdpfProfile()->mReportingRateLimitNs > 0) { in setBoost()319 *outNanoseconds = HintManager::GetInstance()->GetAdpfProfile() in getHintSessionPreferredRate()320 ? HintManager::GetInstance()->GetAdpfProfile()->mReportingRateLimitNs in getHintSessionPreferredRate()332 if (!HintManager::GetInstance()->GetAdpfProfile() || in createHintSessionWithConfig()333 HintManager::GetInstance()->GetAdpfProfile()->mReportingRateLimitNs <= 0) { in createHintSessionWithConfig()
65 std::shared_ptr<AdpfConfig> adpfConfig = HintManagerT::GetInstance()->GetAdpfProfile(); in convertWorkDurationToBoostByPid()142 HintManagerT::GetInstance()->GetAdpfProfile()->mHeuristicBoostOn.has_value() && in PowerHintSession()144 ->GetAdpfProfile() in PowerHintSession()147 ->GetAdpfProfile() in PowerHintSession()150 ->GetAdpfProfile() in PowerHintSession()160 auto adpfConfig = HintManagerT::GetInstance()->GetAdpfProfile(); in PowerHintSession()192 auto adpfConfig = HintManagerT::GetInstance()->GetAdpfProfile(); in updatePidControlVariable()285 targetDurationNanos * HintManagerT::GetInstance()->GetAdpfProfile()->mTargetTimeFactor; in updateTargetWorkDuration()313 auto adpfConfig = HintManagerT::GetInstance()->GetAdpfProfile(); in updateHeuristicBoost()356 auto adpfConfig = HintManagerT::GetInstance()->GetAdpfProfile(); in reportActualWorkDuration()[all …]
92 if (HintManager::GetInstance()->GetAdpfProfile()) { in updateHintMode()472 auto config = HintManager::GetInstance()->GetAdpfProfile(); in applyUclampLocked()516 auto const gpuVotingOn = HintManager::GetInstance()->GetAdpfProfile()->mGpuBoostOn; in applyGpuVotesLocked()
38 MOCK_METHOD(std::shared_ptr<::android::perfmgr::AdpfConfig>, GetAdpfProfile, (), (const));
37 ON_CALL(*mMockHintManager, GetAdpfProfile()).WillByDefault(Return(mTestConfig)); in SetUp()
183 ON_CALL(*mMockHintManager, GetAdpfProfile()).WillByDefault(Return(mTestConfig)); in SetUp()
892 EXPECT_EQ("REFRESH_120FPS", hm->GetAdpfProfile()->mName); in TEST_F()897 EXPECT_EQ("REFRESH_60FPS", hm->GetAdpfProfile()->mName); in TEST_F()899 EXPECT_EQ("REFRESH_120FPS", hm->GetAdpfProfile()->mName); in TEST_F()922 auto profile = hm->GetAdpfProfile(); in TEST_F()928 profile = hm->GetAdpfProfile(); in TEST_F()
132 std::shared_ptr<AdpfConfig> GetAdpfProfile() const;
266 if (GetAdpfProfile()) { in DumpToFd()271 GetAdpfProfile()->dumpToFd(fd); in DumpToFd()836 std::shared_ptr<AdpfConfig> HintManager::GetAdpfProfile() const { in GetAdpfProfile() function in android::perfmgr::HintManager