Home
last modified time | relevance | path

Searched refs:ActionPopup (Results 1 – 8 of 8) sorted by relevance

/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_action/action/
H A Daction_popup.cpp36 ActionPopup::ActionPopup(const std::string& actionName) in ActionPopup() function in OHOS::PowerMgr::ActionPopup
41 void ActionPopup::InitParams(const std::string& params) in InitParams()
46 void ActionPopup::SetStrict(bool enable) in SetStrict()
51 void ActionPopup::SetEnableEvent(bool enable) in SetEnableEvent()
56 void ActionPopup::AddActionValue(std::string value) in AddActionValue()
64 void ActionPopup::Execute() in Execute()
79 uint32_t ActionPopup::GetActionValue() in GetActionValue()
92 void ActionPopup::HandlePopupEvent(const int32_t value) in HandlePopupEvent()
96 ShowThermalDialog(ActionPopup::TempStatus::LOWER_TEMP); in HandlePopupEvent()
100 ShowThermalDialog(ActionPopup::TempStatus::HIGHER_TEMP); in HandlePopupEvent()
[all …]
/ohos5.0/base/powermgr/thermal_manager/test/systemtest/src/
H A Dthermal_mgr_dialog_test.cpp69 auto popup = std::make_unique<ActionPopup>("Start HighThermal Dialog");
70 EXPECT_TRUE(popup->ShowThermalDialog(ActionPopup::TempStatus::HIGHER_TEMP));
81 auto popup = std::make_unique<ActionPopup>("Start LowThermal Dialog");
82 EXPECT_TRUE(popup->ShowThermalDialog(ActionPopup::TempStatus::LOWER_TEMP));
/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_action/action/
H A Daction_popup.h23 class ActionPopup : public IThermalAction {
25 ActionPopup(const std::string& actionName);
26 ~ActionPopup() = default;
/ohos5.0/base/powermgr/thermal_manager/services/native/include/
H A Dthermal_service.h122 std::shared_ptr<ActionPopup> GetActionPopup() const in GetActionPopup()
199 std::shared_ptr<ActionPopup> popup_;
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_action_test.cpp61 std::shared_ptr<ActionPopup> g_actionPopup = std::make_shared<ActionPopup>("popup");
/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_action/
H A Dthermal_action_factory.cpp62 [&](std::string actionName) { return std::make_shared<ActionPopup>(actionName); }), in InitFactory()
/ohos5.0/base/powermgr/thermal_manager/services/native/src/
H A Dthermal_mgr_dumper.cpp117 tms->GetActionPopup()->ShowThermalDialog(ActionPopup::TempStatus::HIGHER_TEMP); in DumpPolicy()
H A Dthermal_service.cpp224 popup_ = std::make_shared<ActionPopup>(POPUP_ACTION_NAME); in InitModules()