Searched refs:ThermalProtectorTimer (Results 1 – 5 of 5) sorted by relevance
34 ThermalProtectorTimer::ThermalProtectorTimer(const std::shared_ptr<ThermalSensorProvision>& provisi… in ThermalProtectorTimer() function in OHOS::PowerMgr::ThermalProtectorTimer39 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 …]
50 timer_ = std::make_shared<ThermalProtectorTimer>(provision_); in Init()
29 class ThermalProtectorTimer {31 using Callback = std::function<void(ThermalProtectorTimer*, void*)>;34 ThermalProtectorTimer(const std::shared_ptr<ThermalSensorProvision>& provision);35 ~ThermalProtectorTimer() {} in ~ThermalProtectorTimer()
57 std::shared_ptr<ThermalProtectorTimer> GetTimer() const in GetTimer()66 std::shared_ptr<ThermalProtectorTimer> timer_ {nullptr};
106 ThermalProtectorTimer::NotifyTask task = in SetCallback()