Searched refs:actions_ (Results 1 – 3 of 3) sorted by relevance
/hardware/google/pixel/power-libperfmgr/libperfmgr/ |
D | HintManager.cc | 60 if (actions_.find(hint_type) == actions_.end()) { in IsHintSupported() 68 std::lock_guard<std::mutex> lock(actions_.at(hint_type).hint_lock); in IsHintEnabled() 69 return actions_.at(hint_type).mask_requesters.empty(); in IsHintEnabled() 76 for (auto &a : hm->actions_) { in InitHintStatus() 95 std::lock_guard<std::mutex> lock(actions_.at(hint_type).hint_lock); in DoHintStatus() 96 actions_.at(hint_type).status->stats.count.fetch_add(1); in DoHintStatus() 100 if (now > actions_.at(hint_type).status->end_time) { in DoHintStatus() 101 actions_.at(hint_type).status->stats.duration_ms.fetch_add( in DoHintStatus() 103 actions_.at(hint_type).status->end_time - in DoHintStatus() 104 actions_.at(hint_type).status->start_time) in DoHintStatus() [all …]
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/tests/ |
D | HintManagerTest.cc | 254 actions_["INTERACTION"].node_actions = in SetUp() 256 actions_["LAUNCH"].node_actions = in SetUp() 276 actions_.clear(); in TearDown() 282 std::unordered_map<std::string, Hint> actions_; member in android::perfmgr::HintManagerTest 311 HintManager hm(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), {}); in TEST_F() 323 std::make_unique<HintManager>(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), in TEST_F() 337 HintManager hm(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), {}); in TEST_F() 348 HintManager hm(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), {}); in TEST_F() 357 std::make_unique<HintManager>(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), in TEST_F() 408 std::make_unique<HintManager>(nm_, actions_, std::vector<std::shared_ptr<AdpfConfig>>(), in TEST_F()
|
/hardware/google/pixel/power-libperfmgr/libperfmgr/include/perfmgr/ |
D | HintManager.h | 95 actions_(actions), in HintManager() 177 std::unordered_map<std::string, Hint> actions_; variable
|