Home
last modified time | relevance | path

Searched refs:recipient (Results 1 – 25 of 31) sorted by relevance

12

/base/notification/common_event_service/services/test/unittest/ability_manager_death_recipient_unit_test/
Dability_manager_death_recipient_unit_test.cpp66 …std::shared_ptr<AbilityManagerDeathRecipient> recipient = std::make_shared<AbilityManagerDeathReci… variable
67 ASSERT_NE(nullptr, recipient);
71 recipient->OnRemoteDied(wptrDeath);
87 …std::shared_ptr<AbilityManagerDeathRecipient> recipient = std::make_shared<AbilityManagerDeathReci… variable
88 ASSERT_NE(nullptr, recipient);
90 recipient->OnRemoteDied(wptrDeath);
107 …std::shared_ptr<AbilityManagerDeathRecipient> recipient = std::make_shared<AbilityManagerDeathReci… variable
108 ASSERT_NE(nullptr, recipient);
112 recipient->OnRemoteDied(wptrDeath);
/base/notification/common_event_service/services/test/unittest/bundle_manager_death_recipient_unit_test/
Dbundle_manager_death_recipient_unit_test.cpp82 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override in AddDeathRecipient() argument
87 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override in RemoveDeathRecipient() argument
125 std::shared_ptr<BMSDeathRecipient> recipient = std::make_shared<BMSDeathRecipient>(); variable
126 ASSERT_NE(nullptr, recipient);
130 recipient->OnRemoteDied(wptrDeath);
146 std::shared_ptr<BMSDeathRecipient> recipient = std::make_shared<BMSDeathRecipient>(); variable
147 ASSERT_NE(nullptr, recipient);
149 recipient->OnRemoteDied(wptrDeath);
166 std::shared_ptr<BMSDeathRecipient> recipient = std::make_shared<BMSDeathRecipient>(); variable
167 ASSERT_NE(nullptr, recipient);
[all …]
/base/account/os_account/services/accountmgr/test/unittest/os_account/
Dos_account_subscribe_death_recipient_test.cpp82 …std::shared_ptr<OsAccountSubscribeDeathRecipient> recipient = std::make_shared<OsAccountSubscribeD… variable
83 ASSERT_NE(nullptr, recipient);
84 recipient->OnRemoteDied(listener);
100 …std::shared_ptr<OsAccountSubscribeDeathRecipient> recipient = std::make_shared<OsAccountSubscribeD… variable
101 ASSERT_NE(nullptr, recipient);
103 recipient->OnRemoteDied(wptrDeath);
119 …std::shared_ptr<OsAccountSubscribeDeathRecipient> recipient = std::make_shared<OsAccountSubscribeD… variable
120 ASSERT_NE(nullptr, recipient);
123 recipient->OnRemoteDied(wptrDeath);
137 std::shared_ptr<AbilityManagerAdapter::AbilityMgrDeathRecipient> recipient = variable
[all …]
/base/powermgr/display_manager/test/unittest/common/native/mock/src/
Dmock_display_remote_object.cpp45 bool MockDisplayRemoteObject::AddDeathRecipient(const sptr<DeathRecipient>& recipient) in AddDeathRecipient() argument
47 (void)recipient; in AddDeathRecipient()
51 bool MockDisplayRemoteObject::RemoveDeathRecipient(const sptr<DeathRecipient>& recipient) in RemoveDeathRecipient() argument
53 (void)recipient; in RemoveDeathRecipient()
/base/powermgr/battery_manager/services/native/test/unittest/mock/source/
Dmock_remote_object.cpp44 bool MockRemoteObject::AddDeathRecipient(const sptr<DeathRecipient>& recipient) in AddDeathRecipient() argument
46 (void)recipient; in AddDeathRecipient()
50 bool MockRemoteObject::RemoveDeathRecipient(const sptr<DeathRecipient>& recipient) in RemoveDeathRecipient() argument
52 (void)recipient; in RemoveDeathRecipient()
/base/powermgr/power_manager/services/native/test/unittest/mock/
Dmock_power_remote_object.cpp44 bool MockPowerRemoteObject::AddDeathRecipient(const sptr<DeathRecipient>& recipient) in AddDeathRecipient() argument
46 (void)recipient; in AddDeathRecipient()
50 bool MockPowerRemoteObject::RemoveDeathRecipient(const sptr<DeathRecipient>& recipient) in RemoveDeathRecipient() argument
52 (void)recipient; in RemoveDeathRecipient()
Dmock_power_remote_object.h39 bool AddDeathRecipient(const sptr<DeathRecipient>& recipient) override;
41 bool RemoveDeathRecipient(const sptr<DeathRecipient>& recipient) override;
/base/powermgr/thermal_manager/services/native/test/unittest/mock/src/
Dmock_thermal_remote_object.cpp49 bool MockThermalRemoteObject::AddDeathRecipient(const sptr<DeathRecipient>& recipient) in AddDeathRecipient() argument
51 (void)recipient; in AddDeathRecipient()
55 bool MockThermalRemoteObject::RemoveDeathRecipient(const sptr<DeathRecipient>& recipient) in RemoveDeathRecipient() argument
57 (void)recipient; in RemoveDeathRecipient()
/base/powermgr/battery_statistics/services/native/test/unittest/mock/source/
Dmock_stats_remote_object.cpp47 bool MockStatsRemoteObject::AddDeathRecipient(const sptr<DeathRecipient> &recipient) in AddDeathRecipient() argument
49 (void)recipient; in AddDeathRecipient()
53 bool MockStatsRemoteObject::RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) in RemoveDeathRecipient() argument
55 (void)recipient; in RemoveDeathRecipient()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_death_recipient_test/
Dans_manager_death_recipient_unit_test.cpp65 …std::shared_ptr<AnsManagerDeathRecipient> recipient = std::make_shared<AnsManagerDeathRecipient>(); variable
66 ASSERT_NE(nullptr, recipient);
67 recipient->OnRemoteDied(nullptr);
/base/useriam/pin_auth/test/unittest/mocks/
Dmock_remote_object.h33 MOCK_METHOD1(AddDeathRecipient, bool(const sptr<DeathRecipient> &recipient));
34 MOCK_METHOD1(RemoveDeathRecipient, bool(const sptr<DeathRecipient> &recipient));
/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/
Dmock_remote_object.h33 MOCK_METHOD1(AddDeathRecipient, bool(const sptr<DeathRecipient> &recipient));
34 MOCK_METHOD1(RemoveDeathRecipient, bool(const sptr<DeathRecipient> &recipient));
/base/powermgr/thermal_manager/services/native/test/unittest/mock/include/
Dmock_thermal_remote_object.h39 bool AddDeathRecipient(const sptr<DeathRecipient>& recipient) override;
41 bool RemoveDeathRecipient(const sptr<DeathRecipient>& recipient) override;
/base/powermgr/battery_statistics/services/native/test/unittest/mock/include/
Dmock_stats_remote_object.h39 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override;
41 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override;
/base/powermgr/display_manager/test/unittest/common/native/mock/include/
Dmock_display_remote_object.h39 bool AddDeathRecipient(const sptr<DeathRecipient>& recipient) override;
41 bool RemoveDeathRecipient(const sptr<DeathRecipient>& recipient) override;
/base/powermgr/battery_manager/services/native/test/unittest/mock/include/
Dmock_remote_object.h39 bool AddDeathRecipient(const sptr<DeathRecipient>& recipient) override;
41 bool RemoveDeathRecipient(const sptr<DeathRecipient>& recipient) override;
/base/telephony/state_registry/frameworks/native/observer/src/
Dtelephony_observer_client.cpp47 …std::unique_ptr<StateRegistryDeathRecipient> recipient = std::make_unique<StateRegistryDeathRecipi… in GetProxy() local
48 if (recipient == nullptr) { in GetProxy()
52 sptr<IRemoteObject::DeathRecipient> dr(recipient.release()); in GetProxy()
/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/
Dmock_i_remote_object.h49 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override in AddDeathRecipient() argument
54 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override in RemoveDeathRecipient() argument
/base/location/test/mock/include/
Dmock_i_remote_object.h33 MOCK_METHOD(bool, AddDeathRecipient, (const sptr<DeathRecipient> &recipient), (override));
34 MOCK_METHOD(bool, RemoveDeathRecipient, (const sptr<DeathRecipient> &recipient), (override));
/base/useriam/user_auth_framework/services/ipc/inc/
Dipc_common.h47 …explicit PeerDeathRecipient(Recipient &&recipient) : recipient_(std::forward<Recipient>(recipient)) in PeerDeathRecipient() argument
/base/notification/common_event_service/test/mock/
Dmock_ipc_object_stub.cpp21 bool IPCObjectStub::AddDeathRecipient(const sptr<DeathRecipient> &recipient) in AddDeathRecipient() argument
/base/telephony/core_service/frameworks/native/src/
Dtelephony_state_registry_client.cpp47 …std::unique_ptr<StateRegistryDeathRecipient> recipient = std::make_unique<StateRegistryDeathRecipi… in GetProxy() local
48 if (recipient == nullptr) { in GetProxy()
52 sptr<IRemoteObject::DeathRecipient> dr(recipient.release()); in GetProxy()
/base/telephony/cellular_data/frameworks/native/
Dcellular_data_client.cpp64 …std::unique_ptr<CellularDataDeathRecipient> recipient = std::make_unique<CellularDataDeathRecipien… in GetProxy() local
65 if (recipient == nullptr) { in GetProxy()
69 sptr<IRemoteObject::DeathRecipient> dr(recipient.release()); in GetProxy()
/base/notification/common_event_service/frameworks/core/test/unittest/
Dcommon_event_proxy_test.cpp93 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override in AddDeathRecipient() argument
98 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override in RemoveDeathRecipient() argument
/base/notification/common_event_service/test/systemtest/common/resource/fuzzTest/include/
Dgetparam.h214 bool AddDeathRecipient(const sptr<DeathRecipient> &recipient) override in AddDeathRecipient() argument
222 bool RemoveDeathRecipient(const sptr<DeathRecipient> &recipient) override in RemoveDeathRecipient() argument

12