Home
last modified time | relevance | path

Searched refs:ThermalProtectorTimer (Results 1 – 5 of 5) sorted by relevance

/ohos5.0/base/powermgr/thermal_manager/application/protector/src/
H A Dthermal_protector_timer.cpp34 ThermalProtectorTimer::ThermalProtectorTimer(const std::shared_ptr<ThermalSensorProvision>& provisi… in ThermalProtectorTimer() function in OHOS::PowerMgr::ThermalProtectorTimer
39 void ThermalProtectorTimer::RegisterTask(NotifyTask task) in RegisterTask()
44 void ThermalProtectorTimer::NotifyPolicy() in NotifyPolicy()
52 int32_t ThermalProtectorTimer::CreateProvisionFd() in CreateProvisionFd()
90 void ThermalProtectorTimer::TimerProvisionCallback(void *service) in TimerProvisionCallback()
128 int32_t ThermalProtectorTimer::InitProvisionTimer() in InitProvisionTimer()
156 ThermalProtectorTimer *func = const_cast<ThermalProtectorTimer *>(this); in LoopingThreadEntry()
164 void ThermalProtectorTimer::Run(void *service, int32_t epfd) in Run()
169 void ThermalProtectorTimer::StartThread(void *service) in StartThread()
179 int32_t ThermalProtectorTimer::Init() in Init()
[all …]
H A Dthermal_kernel_service.cpp50 timer_ = std::make_shared<ThermalProtectorTimer>(provision_); in Init()
/ohos5.0/base/powermgr/thermal_manager/application/protector/include/
H A Dthermal_protector_timer.h29 class ThermalProtectorTimer {
31 using Callback = std::function<void(ThermalProtectorTimer*, void*)>;
34 ThermalProtectorTimer(const std::shared_ptr<ThermalSensorProvision>& provision);
35 ~ThermalProtectorTimer() {} in ~ThermalProtectorTimer()
H A Dthermal_kernel_service.h57 std::shared_ptr<ThermalProtectorTimer> GetTimer() const in GetTimer()
66 std::shared_ptr<ThermalProtectorTimer> timer_ {nullptr};
/ohos5.0/base/powermgr/thermal_manager/application/protector/src/policy/
H A Dthermal_kernel_policy.cpp106 ThermalProtectorTimer::NotifyTask task = in SetCallback()