Home
last modified time | relevance | path

Searched refs:NotifyTask (Results 1 – 7 of 7) sorted by relevance

/base/powermgr/thermal_manager/application/protector/include/
Dthermal_protector_timer.h32 using NotifyTask = std::function<void(SensorsMap)>; variable
36 void RegisterTask(NotifyTask task);
57 NotifyTask notify_;
Dthermal_sensor_provider.h41 using NotifyTask = std::function<void(SensorsMap)>; variable
48 void RegisterTask(NotifyTask task);
66 NotifyTask notify_;
/base/powermgr/thermal_manager/services/native/include/thermal_action/
Dthermal_timer.h63 using NotifyTask = std::function<void()>;
76 void Start(int interval, NotifyTask &task);
77 void StartOnce(int delay, NotifyTask &task);
/base/powermgr/thermal_manager/services/native/src/thermal_action/
Dthermal_timer.cpp109 void ThermalTimerUtils::Start(int interval, NotifyTask &task) in Start()
133 void ThermalTimerUtils::StartOnce(int delay, NotifyTask &task) in StartOnce()
/base/powermgr/thermal_manager/application/protector/src/
Dthermal_protector_timer.cpp39 void ThermalProtectorTimer::RegisterTask(NotifyTask task) in RegisterTask()
Dthermal_sensor_provider.cpp85 void ThermalSensorProvider::RegisterTask(NotifyTask task) in RegisterTask()
/base/powermgr/thermal_manager/application/protector/src/policy/
Dthermal_kernel_policy.cpp106 ThermalProtectorTimer::NotifyTask task = std::bind(&ThermalKernelPolicy::OnReceivedSensorsInfo, in SetCallback()