Searched refs:eventCb (Results 1 - 11 of 11) sorted by relevance
/base/msdp/device_status/rust/subsystem/device_profile/binding/src/ |
H A D | fusion_device_profile.cpp | 35 explicit ProfileEventCallbackImpl(CIProfileEventCb* eventCb); 44 ProfileEventCallbackImpl::ProfileEventCallbackImpl(CIProfileEventCb* eventCb) in ProfileEventCallbackImpl() argument 46 if ((eventCb != nullptr) && (eventCb->clone != nullptr)) { in ProfileEventCallbackImpl() 47 eventCb_ = eventCb->clone(eventCb); in ProfileEventCallbackImpl() 87 CIProfileEventCb* eventCb, in SubscribeProfileEvents() 108 auto callback = std::make_shared<ProfileEventCallbackImpl>(eventCb); in SubscribeProfileEvents() 140 CIProfileEventCb* eventCb, in UnsubscribeProfileEvents() 156 auto callback = std::make_shared<ProfileEventCallbackImpl>(eventCb); in UnsubscribeProfileEvents() 86 SubscribeProfileEvents(const CISubscribeInfos* subscribeInfos, CIProfileEventCb* eventCb, CIProfileEvents** failedEvents) SubscribeProfileEvents() argument 139 UnsubscribeProfileEvents(const CIProfileEvents* profileEvents, CIProfileEventCb* eventCb, CIProfileEvents** failedEvents) UnsubscribeProfileEvents() argument [all...] |
/base/powermgr/thermal_manager/services/native/src/ |
H A D | fan_callback.cpp | 31 int32_t FanCallback::RegisterFanEvent(const FanEventCallback &eventCb) in RegisterFanEvent() argument 33 eventCb_ = eventCb; in RegisterFanEvent()
|
H A D | thermal_callback.cpp | 31 int32_t ThermalCallback::RegisterThermalEvent(const ThermalEventCallback &eventCb) in RegisterThermalEvent() argument 33 eventCb_ = eventCb; in RegisterThermalEvent()
|
H A D | thermal_service.cpp | 572 ThermalCallback::ThermalEventCallback eventCb = in RegisterThermalHdiCallback() local 574 ThermalCallback::RegisterThermalEvent(eventCb); in RegisterThermalHdiCallback() 633 FanCallback::FanEventCallback eventCb = in RegisterFanHdiCallback() local 635 FanCallback::RegisterFanEvent(eventCb); in RegisterFanHdiCallback()
|
/base/powermgr/battery_manager/services/native/src/ |
H A D | battery_callback.cpp | 33 int32_t BatteryCallback::RegisterBatteryEvent(const BatteryEventCallback& eventCb) in RegisterBatteryEvent() argument 35 eventCb_ = eventCb; in RegisterBatteryEvent()
|
H A D | battery_service.cpp | 147 BatteryCallback::BatteryEventCallback eventCb = in RegisterBatteryHdiCallback() local 149 BatteryCallback::RegisterBatteryEvent(eventCb); in RegisterBatteryHdiCallback()
|
/base/msdp/device_status/rust/subsystem/device_profile/binding/include/ |
H A D | fusion_device_profile.h | 92 CIProfileEventCb* eventCb, 95 CIProfileEventCb* eventCb,
|
/base/powermgr/thermal_manager/services/native/include/ |
H A D | fan_callback.h | 30 static int32_t RegisterFanEvent(const FanEventCallback &eventCb);
|
H A D | thermal_callback.h | 30 static int32_t RegisterThermalEvent(const ThermalEventCallback &eventCb);
|
/base/powermgr/battery_manager/services/native/include/ |
H A D | battery_callback.h | 31 static int32_t RegisterBatteryEvent(const BatteryEventCallback& eventCb);
|
/base/powermgr/battery_manager/test/unittest/src/ |
H A D | battert_service_inner_test.cpp | 79 BatteryCallback::BatteryEventCallback eventCb = std::bind(&HandleBatteryCallbackEvent, std::placeholders::_1);
in HWTEST_F() local 80 EXPECT_EQ(BatteryCallback::RegisterBatteryEvent(eventCb), HDF_SUCCESS);
in HWTEST_F() 95 BatteryCallback::BatteryEventCallback eventCb = nullptr;
in HWTEST_F() local 96 EXPECT_EQ(BatteryCallback::RegisterBatteryEvent(eventCb), HDF_SUCCESS);
in HWTEST_F()
|
Completed in 12 milliseconds