Home
last modified time | relevance | path

Searched refs:DoHint (Results 1 – 7 of 7) sorted by relevance

/hardware/google/pixel/power-libperfmgr/aidl/
DPower.cpp64 mHintManager->DoHint("SUSTAINED_PERFORMANCE"); in Power()
68 mHintManager->DoHint(state); in Power()
72 mHintManager->DoHint("VR_SUSTAINED_PERFORMANCE"); in Power()
82 mHintManager->DoHint(state); in Power()
88 mHintManager->DoHint("EXPENSIVE_RENDERING"); in Power()
102 mHintManager->DoHint(toString(type)); in setMode()
110 mHintManager->DoHint("SUSTAINED_PERFORMANCE"); in setMode()
113 mHintManager->DoHint("VR_SUSTAINED_PERFORMANCE"); in setMode()
120 mHintManager->DoHint("VR"); in setMode()
128 mHintManager->DoHint("VR"); in setMode()
[all …]
DPowerExt.cpp43 mHintManager->DoHint(mode); in setMode()
63 mHintManager->DoHint(boost, std::chrono::milliseconds(durationMs)); in setBoost()
65 mHintManager->DoHint(boost); in setBoost()
DPowerSessionManager.cpp136 mHintManager->DoHint(kDisableBoostHintName); in disableSystemTopAppBoost()
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/
DHintManagerTest.cc115 "Type": "DoHint",
292 EXPECT_TRUE(hm->DoHint("INTERACTION")); in TEST_F()
298 EXPECT_TRUE(hm->DoHint("INTERACTION", 200ms)); in TEST_F()
300 EXPECT_TRUE(hm->DoHint("LAUNCH")); in TEST_F()
305 EXPECT_TRUE(hm->DoHint("LAUNCH", 500ms)); in TEST_F()
341 EXPECT_TRUE(hm->DoHint("INTERACTION")); in TEST_F()
347 EXPECT_TRUE(hm->DoHint("LAUNCH", 500ms)); in TEST_F()
372 EXPECT_TRUE(hm->DoHint("LAUNCH")); in TEST_F()
552 EXPECT_EQ(HintActionType::DoHint, actions["DO_LAUNCH_MODE"].hint_actions[0].type); in TEST_F()
617 EXPECT_TRUE(hm->DoHint("INTERACTION")); in TEST_F()
[all …]
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/
DHintManager.h58 enum class HintActionType { Node, DoHint, EndHint, MaskHint }; enumerator
94 bool DoHint(const std::string& hint_type);
99 bool DoHint(const std::string& hint_type,
/hardware/google/pixel/power-libperfmgr/disp-power/
DInteractionHandler.cpp133 if (!mHintManager->DoHint("INTERACTION")) { in PerfLock()
163 mHintManager->DoHint("INTERACTION", std::chrono::milliseconds(finalDuration)); in Acquire()
/hardware/google/pixel/power-libperfmgr/libperfmgr/tools/
DConfigVerifier.cc96 hm->DoHint(hint, std::chrono::milliseconds(hint_duration)); in execConfig()