Home
last modified time | relevance | path

Searched refs:BatterySrvDeathRecipient (Results 1 – 3 of 3) sorted by relevance

/ohos5.0/base/powermgr/battery_manager/interfaces/inner_api/native/include/
H A Dbattery_srv_client.h104 class BatterySrvDeathRecipient : public IRemoteObject::DeathRecipient {
106 explicit BatterySrvDeathRecipient(BatterySrvClient& client) : client_(client) {} in BatterySrvDeathRecipient() function
107 virtual ~BatterySrvDeathRecipient() = default;
110 DISALLOW_COPY_AND_MOVE(BatterySrvDeathRecipient);
/ohos5.0/base/powermgr/battery_manager/frameworks/native/test/unittest/src/
H A Dbattery_client_death_recipient_test.cpp50 std::make_shared<BatterySrvClient::BatterySrvDeathRecipient>(batterySrvClient);
81 std::make_shared<BatterySrvClient::BatterySrvDeathRecipient>(batterySrvClient);
/ohos5.0/base/powermgr/battery_manager/frameworks/native/src/
H A Dbattery_srv_client.cpp51 sptr<IRemoteObject::DeathRecipient> drt = new(std::nothrow) BatterySrvDeathRecipient(*this); in Connect()
83 void BatterySrvClient::BatterySrvDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied()