Home
last modified time | relevance | path

Searched refs:GetAdpfProfile (Results 1 – 10 of 10) sorted by relevance

/hardware/google/pixel/power-libperfmgr/aidl/
DPowerExt.cpp50 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()
DPower.cpp95 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()
DPowerHintSession.cpp65 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 …]
DPowerSessionManager.cpp92 if (HintManager::GetInstance()->GetAdpfProfile()) { in updateHintMode()
472 auto config = HintManager::GetInstance()->GetAdpfProfile(); in applyUclampLocked()
516 auto const gpuVotingOn = HintManager::GetInstance()->GetAdpfProfile()->mGpuBoostOn; in applyGpuVotesLocked()
/hardware/google/pixel/power-libperfmgr/aidl/tests/mocks/
DMockHintManager.h38 MOCK_METHOD(std::shared_ptr<::android::perfmgr::AdpfConfig>, GetAdpfProfile, (), (const));
/hardware/google/pixel/power-libperfmgr/aidl/tests/
DPowerSessionManagerTest.cpp37 ON_CALL(*mMockHintManager, GetAdpfProfile()).WillByDefault(Return(mTestConfig)); in SetUp()
DPowerHintSessionTest.cpp183 ON_CALL(*mMockHintManager, GetAdpfProfile()).WillByDefault(Return(mTestConfig)); in SetUp()
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
DHintManagerTest.cc892 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()
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DHintManager.h132 std::shared_ptr<AdpfConfig> GetAdpfProfile() const;
/hardware/google/pixel/power-libperfmgr/libperfmgr/
DHintManager.cc266 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