Home
last modified time | relevance | path

Searched refs:PowerMgrDeathRecipient (Results 1 - 5 of 5) sorted by relevance

/base/security/access_token/services/common/power_manager/include/
H A Dpower_manager_client.h26 class PowerMgrDeathRecipient : public IRemoteObject::DeathRecipient { class
28 PowerMgrDeathRecipient() {} in PowerMgrDeathRecipient() function in OHOS::Security::AccessToken::PowerMgrDeathRecipient
29 virtual ~PowerMgrDeathRecipient() override = default;
48 sptr<PowerMgrDeathRecipient> serviceDeathObserver_ = nullptr;
/base/powermgr/power_manager/test/unittest/src/
H A Dpower_mgr_service_death_test.cpp41 std::make_shared<PowerMgrClient::PowerMgrDeathRecipient>(powerMgrClient); in HWTEST_F()
62 std::make_shared<PowerMgrClient::PowerMgrDeathRecipient>(powerMgrClient); in HWTEST_F()
/base/powermgr/power_manager/interfaces/inner_api/native/include/
H A Dpower_mgr_client.h198 class PowerMgrDeathRecipient : public IRemoteObject::DeathRecipient { class in OHOS::PowerMgr::final
200 explicit PowerMgrDeathRecipient(PowerMgrClient& client) : client_(client) {} in PowerMgrDeathRecipient() function in OHOS::PowerMgr::final::PowerMgrDeathRecipient
201 ~PowerMgrDeathRecipient() = default;
205 DISALLOW_COPY_AND_MOVE(PowerMgrDeathRecipient);
/base/security/access_token/services/common/power_manager/src/
H A Dpower_manager_client.cpp78 serviceDeathObserver_ = sptr<PowerMgrDeathRecipient>::MakeSptr(); in InitProxy()
113 void PowerMgrDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& object) in OnRemoteDied()
/base/powermgr/power_manager/frameworks/native/
H A Dpower_mgr_client.cpp93 sptr<IRemoteObject::DeathRecipient> drt = new(std::nothrow) PowerMgrDeathRecipient(*this); in Connect()
95 POWER_HILOGE(COMP_FWK, "Failed to create PowerMgrDeathRecipient"); in Connect()
109 void PowerMgrClient::PowerMgrDeathRecipient::OnRemoteDied(const wptr<IRemoteObject>& remote) in OnRemoteDied()

Completed in 4 milliseconds