Home
last modified time | relevance | path

Searched refs:ThermalEventCallback (Results 1 – 4 of 4) sorted by relevance

/base/powermgr/thermal_manager/services/native/include/
Dthermal_callback.h29 using ThermalEventCallback = std::function<int32_t(const HdfThermalCallbackInfo& event)>; variable
30 static int32_t RegisterThermalEvent(const ThermalEventCallback &eventCb);
33 static ThermalEventCallback eventCb_;
/base/powermgr/thermal_manager/services/native/src/
Dthermal_callback.cpp22 ThermalCallback::ThermalEventCallback ThermalCallback::eventCb_ = nullptr;
31 int32_t ThermalCallback::RegisterThermalEvent(const ThermalEventCallback &eventCb) in RegisterThermalEvent()
Dthermal_service.cpp484 ThermalCallback::ThermalEventCallback eventCb = in RegisterThermalHdiCallback()
/base/powermgr/thermal_manager/test/unittest/src/
Dthermal_client_test.cpp57 using ThermalEventCallback = std::function<int32_t(const HdfThermalCallbackInfo& event)>; typedef
58 ThermalEventCallback cb = MockEventCb;