Home
last modified time | relevance | path

Searched refs:BatteryInterfaceImpl (Results 1 - 3 of 3) sorted by relevance

/drivers/peripheral/battery/interfaces/hdi_service/src/
H A Dbattery_interface_impl.cpp26 sptr<BatteryInterfaceImpl::BatteryDeathRecipient> g_deathRecipient = nullptr;
32 using OHOS::HDI::Battery::V2_0::BatteryInterfaceImpl; in BatteryInterfaceImplGetInstance()
33 BatteryInterfaceImpl *service = new (std::nothrow) BatteryInterfaceImpl(); in BatteryInterfaceImplGetInstance()
46 int32_t BatteryInterfaceImpl::Init() in Init()
75 int32_t BatteryInterfaceImpl::Register(const sptr<IBatteryCallback>& callback) in Register()
85 g_deathRecipient = new BatteryInterfaceImpl::BatteryDeathRecipient(this); in Register()
96 int32_t BatteryInterfaceImpl::UnRegister() in UnRegister()
104 int32_t BatteryInterfaceImpl::ChangePath(const std::string& path) in ChangePath()
111 int32_t BatteryInterfaceImpl
[all...]
/drivers/peripheral/battery/interfaces/hdi_service/include/
H A Dbattery_interface_impl.h30 class BatteryInterfaceImpl : public IBatteryInterface { class
32 BatteryInterfaceImpl() = default;
33 virtual ~BatteryInterfaceImpl() = default;
61 const wptr<BatteryInterfaceImpl>& interfaceImpl) : interfaceImpl_(interfaceImpl) {} in BatteryDeathRecipient()
65 wptr<BatteryInterfaceImpl> interfaceImpl_;
/drivers/peripheral/battery/interfaces/hdi_service/test/fuzztest/batteryhdistub_fuzzer/
H A Dbatteryhdistub_fuzz.cpp55 sptr<BatteryInterfaceImpl> impl = new BatteryInterfaceImpl(); in BatteryStubFuzzTest()

Completed in 1 milliseconds