/base/powermgr/thermal_manager/test/unittest/src/ |
H A D | thermal_policy_test.cpp | 112 std::vector<PolicyAction> actionList; in HWTEST_F() local 115 actionList.push_back(action); in HWTEST_F() 116 EXPECT_FALSE(actionList.empty()); in HWTEST_F() 117 policy.ActionDecision(actionList); in HWTEST_F() 122 policy.ActionDecision(actionList); in HWTEST_F() 137 std::vector<PolicyAction> actionList; in HWTEST_F() local 147 actionList.push_back(action1); in HWTEST_F() 148 actionList.push_back(action2); in HWTEST_F() 149 actionList.push_back(action3); in HWTEST_F() 150 EXPECT_FALSE(actionList in HWTEST_F() [all...] |
H A D | thermal_action_hub_test.cpp | 254 std::vector<std::string> actionList; in HWTEST_F() local 255 actionList.push_back("cpu_big"); in HWTEST_F() 267 g_service->SubscribeThermalActionCallback(actionList, desc, cb1); in HWTEST_F() 281 std::vector<std::string> actionList; in HWTEST_F() local 282 actionList.push_back("lcd"); in HWTEST_F() 294 g_service->SubscribeThermalActionCallback(actionList, desc, cb2); in HWTEST_F() 308 std::vector<std::string> actionList; in HWTEST_F() local 309 actionList.push_back("cpu_med"); in HWTEST_F() 310 actionList.push_back("lcd"); in HWTEST_F() 322 g_service->SubscribeThermalActionCallback(actionList, des in HWTEST_F() 336 std::vector<std::string> actionList; HWTEST_F() local 364 std::vector<std::string> actionList; HWTEST_F() local 392 std::vector<std::string> actionList; HWTEST_F() local 421 std::vector<std::string> actionList; HWTEST_F() local 448 std::vector<std::string> actionList; HWTEST_F() local [all...] |
H A D | thermal_client_test.cpp | 117 std::string actionList; in HWTEST_F() local 118 EXPECT_FALSE(client.SubscribeThermalActionCallback(typeList, actionList, actionCallback)); in HWTEST_F() 122 EXPECT_TRUE(client.SubscribeThermalActionCallback(typeList, actionList, actionCallback)); in HWTEST_F()
|
H A D | thermal_mock_stub_test.cpp | 192 std::vector<std::string> actionList; in HWTEST_F() local 194 THERMAL_WRITE_PARCEL_NO_RET(g_data, StringVector, actionList); in HWTEST_F()
|
/base/powermgr/thermal_manager/application/protector/src/action/ |
H A D | thermal_device_control.cpp | 36 auto actionList = policy->GetLevelAction(); in Init() local 37 if (actionList.empty()) { in Init() 42 for (auto &level : actionList) { in Init()
|
/base/powermgr/thermal_manager/services/native/include/thermal_observer/ |
H A D | thermal_observer.h | 46 void SubscribeThermalActionCallback(const std::vector<std::string>& actionList, 51 void DecisionActionValue(const std::vector<std::string>& actionList, 84 void DecisionActionValue(const std::vector<std::string>& actionList,
|
/base/powermgr/thermal_manager/services/native/src/thermal_observer/ |
H A D | thermal_observer.cpp | 124 void ThermalObserver::SubscribeThermalActionCallback(const std::vector<std::string>& actionList, in SubscribeThermalActionCallback() argument 134 callbackActionMap_.insert(std::make_pair(callback, actionList)); in SubscribeThermalActionCallback() 137 DecisionActionValue(actionList, actionCbMap, actionCache_); in SubscribeThermalActionCallback() 202 void ThermalObserver::DecisionActionValue(const std::vector<std::string>& actionList, in DecisionActionValue() argument 205 DecisionActionValue(actionList, filteredMap, actionMap_); in DecisionActionValue() 208 void ThermalObserver::DecisionActionValue(const std::vector<std::string>& actionList, in DecisionActionValue() argument 212 for (const auto& action : actionList) { in DecisionActionValue()
|
/base/powermgr/thermal_manager/interfaces/inner_api/native/include/ |
H A D | ithermal_srv.h | 35 virtual bool SubscribeThermalActionCallback(const std::vector<std::string>& actionList, const std::string& desc,
|
H A D | thermal_mgr_client.h | 37 bool SubscribeThermalActionCallback(const std::vector<std::string>& actionList, const std::string& desc,
|
/base/powermgr/thermal_manager/services/native/src/thermal_policy/ |
H A D | thermal_policy.cpp | 159 void ThermalPolicy::ActionDecision(const std::vector<PolicyAction>& actionList) in ActionDecision() argument 162 for (auto action = actionList.begin(); action != actionList.end(); action++) { in ActionDecision()
|
/base/powermgr/thermal_manager/services/zidl/src/ |
H A D | thermal_srv_stub.cpp | 156 std::vector<std::string> actionList; in SubscribeThermalActionCallbackStub() local 157 if (!data.ReadStringVector(&actionList)) { in SubscribeThermalActionCallbackStub() 165 SubscribeThermalActionCallback(actionList, desc, callback); in SubscribeThermalActionCallbackStub()
|
H A D | thermal_srv_proxy.cpp | 139 const std::vector<std::string>& actionList, const std::string& desc, const sptr<IThermalActionCallback>& callback) in SubscribeThermalActionCallback() 155 THERMAL_WRITE_PARCEL_WITH_RET(data, StringVector, actionList, false); in SubscribeThermalActionCallback() 138 SubscribeThermalActionCallback( const std::vector<std::string>& actionList, const std::string& desc, const sptr<IThermalActionCallback>& callback) SubscribeThermalActionCallback() argument
|
/base/powermgr/thermal_manager/services/native/include/thermal_policy/ |
H A D | thermal_policy.h | 63 void ActionDecision(const std::vector<PolicyAction>& actionList);
|
/base/powermgr/thermal_manager/services/zidl/include/ |
H A D | thermal_srv_proxy.h | 47 virtual bool SubscribeThermalActionCallback(const std::vector<std::string>& actionList, const std::string& desc,
|
/base/powermgr/thermal_manager/frameworks/native/ |
H A D | thermal_mgr_client.cpp | 131 const std::vector<std::string>& actionList, const std::string& desc, const sptr<IThermalActionCallback>& callback) in SubscribeThermalActionCallback() 135 thermalSrv_->SubscribeThermalActionCallback(actionList, desc, callback); in SubscribeThermalActionCallback() 130 SubscribeThermalActionCallback( const std::vector<std::string>& actionList, const std::string& desc, const sptr<IThermalActionCallback>& callback) SubscribeThermalActionCallback() argument
|
/base/powermgr/thermal_manager/services/native/include/ |
H A D | thermal_service.h | 72 bool SubscribeThermalActionCallback(const std::vector<std::string>& actionList, const std::string& desc,
|
/base/powermgr/thermal_manager/services/native/src/ |
H A D | thermal_service.cpp | 444 const std::vector<std::string>& actionList, const std::string& desc, const sptr<IThermalActionCallback>& callback) in SubscribeThermalActionCallback() 452 observer_->SubscribeThermalActionCallback(actionList, desc, callback); in SubscribeThermalActionCallback() 443 SubscribeThermalActionCallback( const std::vector<std::string>& actionList, const std::string& desc, const sptr<IThermalActionCallback>& callback) SubscribeThermalActionCallback() argument
|