Home
last modified time | relevance | path

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

/ohos5.0/base/powermgr/thermal_manager/services/native/include/
H A 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_;
/ohos5.0/base/powermgr/thermal_manager/services/native/src/
H A Dthermal_callback.cpp22 ThermalCallback::ThermalEventCallback ThermalCallback::eventCb_ = nullptr;
31 int32_t ThermalCallback::RegisterThermalEvent(const ThermalEventCallback &eventCb) in RegisterThermalEvent()
H A Dthermal_service.cpp521 ThermalCallback::ThermalEventCallback eventCb = in RegisterThermalHdiCallback()
/ohos5.0/base/powermgr/thermal_manager/test/unittest/src/
H A Dthermal_client_test.cpp58 using ThermalEventCallback = std::function<int32_t(const HdfThermalCallbackInfo& event)>; typedef
59 ThermalEventCallback cb = MockEventCb;
/ohos5.0/drivers/peripheral/thermal/test/unittest/
H A Dhdf_thermal_hdi_test.cpp41 using ThermalEventCallback = std::function<int32_t(const HdfThermalCallbackInfo &event)>; typedef in __anon62bd63e60110::ThermalCallbackMock
42 static int32_t RegisterThermalEvent(const ThermalEventCallback &eventCb) in RegisterThermalEvent()