Home
last modified time | relevance | path

Searched refs:ThermalTimerInfo (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/powermgr/thermal_manager/services/native/src/thermal_action/
H A Dthermal_timer.cpp23 ThermalTimerInfo::ThermalTimerInfo() in ThermalTimerInfo() function in OHOS::PowerMgr::ThermalTimerInfo
27 ThermalTimerInfo::~ThermalTimerInfo() in ~ThermalTimerInfo()
31 void ThermalTimerInfo::OnTrigger() in OnTrigger()
41 void ThermalTimerInfo::SetCallbackInfo(const TimerInfoCallback &callBack) in SetCallbackInfo()
46 void ThermalTimerInfo::SetType(const int &_type) in SetType()
51 void ThermalTimerInfo::SetRepeat(bool _repeat) in SetRepeat()
56 void ThermalTimerInfo::SetInterval(const uint64_t &_interval) in SetInterval()
61 void ThermalTimerInfo::SetWantAgent(std::shared_ptr<OHOS::AbilityRuntime::WantAgent::WantAgent> _wa… in SetWantAgent()
66 uint64_t ThermalTimer::CreateTimer(std::shared_ptr<ThermalTimerInfo>& timerInfo) in CreateTimer()
/ohos5.0/base/powermgr/thermal_manager/services/native/include/thermal_action/
H A Dthermal_timer.h35 class ThermalTimerInfo : public MiscServices::ITimerInfo {
38 ThermalTimerInfo();
39 virtual ~ThermalTimerInfo();
55 uint64_t CreateTimer(std::shared_ptr<ThermalTimerInfo>& timerInfo);
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_action_test.cpp362 auto timerInfo = std::make_shared<ThermalTimerInfo>();
364 OHOS::PowerMgr::ThermalTimerInfo::TimerInfoCallback callback;
370 std::shared_ptr<ThermalTimerInfo> info;