Home
last modified time | relevance | path

Searched refs:MockIRemoteObject (Results 1 – 25 of 49) sorted by relevance

12

/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_manager_proxy_test/
H A Dans_manager_proxy_unit_test.cpp169 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
192 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
215 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
258 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
279 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
302 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
324 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
348 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
372 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
419 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
[all …]
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_mgr_proxy_test/
H A Dfms_form_mgr_proxy_test.cpp102 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
122 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
144 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
161 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
181 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
201 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
218 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
238 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
258 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
276 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
[all …]
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_host_proxy_test/
H A Dfms_form_host_proxy_test.cpp64 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
85 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
106 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
128 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
148 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
169 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
189 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
210 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
229 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
250 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_test/
H A Dans_subscriber_proxy_unit_test.cpp67 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
90 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
113 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
156 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
182 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
208 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
228 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
251 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
269 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
292 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_notification_test/
H A Dans_notification_unit_test.cpp120 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
137 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
158 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
176 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
205 sptr<MockIRemoteObject> iremoteObjects = new (std::nothrow) MockIRemoteObject();
227 sptr<MockIRemoteObject> iremoteObjects = new (std::nothrow) MockIRemoteObject();
249 sptr<MockIRemoteObject> iremoteObjects = new (std::nothrow) MockIRemoteObject();
270 sptr<MockIRemoteObject> iremoteObjects = new (std::nothrow) MockIRemoteObject();
291 sptr<MockIRemoteObject> iremoteObjects = new (std::nothrow) MockIRemoteObject();
312 sptr<MockIRemoteObject> iremoteObjects = new (std::nothrow) MockIRemoteObject();
[all …]
/ohos5.0/foundation/ability/form_fwk/test/unittest/fms_form_supply_proxy_test/
H A Dfms_form_supply_proxy_test.cpp67 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
86 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
104 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
122 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
143 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
164 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
186 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
208 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
227 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
246 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
[all …]
/ohos5.0/foundation/ability/ability_runtime/tools/test/unittest/ability_delegator/
H A Dtest_observer_proxy_test.cpp66 class MockIRemoteObject : public IRemoteObject { class
68 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") {} in MockIRemoteObject() function in OHOS::MockIRemoteObject
70 ~MockIRemoteObject() {} in ~MockIRemoteObject()
134 bool MockIRemoteObject::bExchange = true;
145 OHOS::sptr<OHOS::IRemoteObject> object = new OHOS::MockIRemoteObject();
146 OHOS::MockIRemoteObject::SetExchange(true);
149 OHOS::MockIRemoteObject::SetExchange(false);
169 OHOS::MockIRemoteObject::SetExchange(true);
172 OHOS::MockIRemoteObject::SetExchange(false);
189 OHOS::MockIRemoteObject::SetExchange(true);
[all …]
/ohos5.0/base/telephony/sms_mms/test/gtest/
H A Dsms_satellite_gtest.cpp30 class MockIRemoteObject : public IRemoteObject { class
35 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") {} in MockIRemoteObject() function in OHOS::Telephony::__anon18a6e5350110::MockIRemoteObject
37 ~MockIRemoteObject() {} in ~MockIRemoteObject()
125 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
145 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
161 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
178 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
195 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
/ohos5.0/base/notification/common_event_service/frameworks/core/test/unittest/
H A Dcommon_event_proxy_test.cpp67 class MockIRemoteObject : public IRemoteObject { class
69 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") {} in MockIRemoteObject() function in OHOS::MockIRemoteObject
71 ~MockIRemoteObject() {} in ~MockIRemoteObject()
136 OHOS::sptr<OHOS::IRemoteObject> object = new OHOS::MockIRemoteObject();
163 OHOS::sptr<OHOS::IRemoteObject> object = new OHOS::MockIRemoteObject();
188 OHOS::sptr<OHOS::IRemoteObject> object = new OHOS::MockIRemoteObject();
216 OHOS::sptr<OHOS::IRemoteObject> object = new OHOS::MockIRemoteObject();
244 OHOS::sptr<OHOS::IRemoteObject> object = new OHOS::MockIRemoteObject();
272 OHOS::sptr<OHOS::IRemoteObject> object = new OHOS::MockIRemoteObject();
300 OHOS::sptr<OHOS::IRemoteObject> object = new OHOS::MockIRemoteObject();
[all …]
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/ans_subscriber_proxy_branch_test/
H A Dans_subscriber_proxy_branch_test.cpp67 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
88 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
112 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
135 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
154 sptr<MockIRemoteObject> iremoteObject = new (std::nothrow) MockIRemoteObject();
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dsatellite_service_test.cpp33 class MockIRemoteObject : public IRemoteObject { class
39 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") {} in MockIRemoteObject() function in OHOS::Telephony::__anon745f00ad0110::MockIRemoteObject
41 ~MockIRemoteObject() {} in ~MockIRemoteObject()
145 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
165 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
181 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
197 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
213 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
229 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
245 sptr<MockIRemoteObject> remote = new (std::nothrow) MockIRemoteObject();
/ohos5.0/base/notification/common_event_service/services/test/unittest/
H A Dsubscriber_deach_recipient_test.cpp50 class MockIRemoteObject : public IRemoteObject { class
52 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") {} in MockIRemoteObject() function in OHOS::EventFwk::MockIRemoteObject
54 ~MockIRemoteObject() {} in ~MockIRemoteObject()
118 const wptr<MockIRemoteObject> remote = nullptr; in HWTEST_F()
132 sptr<MockIRemoteObject> sptrDeath = new (std::nothrow) MockIRemoteObject(); in HWTEST_F()
134 const wptr<MockIRemoteObject> remote = sptrDeath; in HWTEST_F()
/ohos5.0/foundation/graphic/graphic_2d/rosen/modules/animation/window_animation/test/unittest/
H A Drs_window_animation_finished_callback_proxy_test.cpp25 class MockIRemoteObject : public IRemoteObject { class
27 MockIRemoteObject() : IRemoteObject {u"MockIRemoteObject"} in MockIRemoteObject() function in OHOS::Rosen::MockIRemoteObject
31 ~MockIRemoteObject() in ~MockIRemoteObject()
114 sptr<MockIRemoteObject> remoteMocker = new MockIRemoteObject();
/ohos5.0/base/notification/common_event_service/services/test/unittest/bundle_manager_death_recipient_unit_test/
H A Dbundle_manager_death_recipient_unit_test.cpp56 class MockIRemoteObject : public IRemoteObject { class
58 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") {} in MockIRemoteObject() function in MockIRemoteObject
60 ~MockIRemoteObject() {} in ~MockIRemoteObject()
127 sptr<MockIRemoteObject> sptrDeath = new (std::nothrow) MockIRemoteObject();
129 wptr<MockIRemoteObject> wptrDeath = sptrDeath;
/ohos5.0/base/security/security_component_manager/services/security_component_service/sa/test/mock/include/
H A Dmock_system_ability_proxy.h30 MOCK_METHOD1(GetSystemAbility, sptr<MockIRemoteObject>(int32_t));
33 sptr<MockIRemoteObject> GetSystemAbility(int32_t saId) in GetSystemAbility()
35 sptr<MockIRemoteObject> object = new MockIRemoteObject(); in GetSystemAbility()
H A Dif_system_ability_manager.h23 class MockIRemoteObject : public virtual RefBase {
33 template <typename INTERFACE> inline sptr<INTERFACE> iface_cast(const sptr<MockIRemoteObject> &obje… in iface_cast()
47 virtual sptr<MockIRemoteObject> GetSystemAbility(int32_t systemAbilityId) = 0;
/ohos5.0/base/location/test/location_network/source/
H A Dnetwork_ability_test.cpp360 sptr<MockIRemoteObject> nlpServiceProxy =
361 sptr<MockIRemoteObject>(new (std::nothrow) MockIRemoteObject());
538 sptr<MockIRemoteObject> nlpServiceProxy =
539 sptr<MockIRemoteObject>(new (std::nothrow) MockIRemoteObject());
562 sptr<MockIRemoteObject> nlpServiceProxy =
563 sptr<MockIRemoteObject>(new (std::nothrow) MockIRemoteObject());
659 sptr<MockIRemoteObject> nlpServiceProxy =
660 sptr<MockIRemoteObject>(new (std::nothrow) MockIRemoteObject());
672 sptr<MockIRemoteObject> nlpServiceProxy =
673 sptr<MockIRemoteObject>(new (std::nothrow) MockIRemoteObject());
[all …]
/ohos5.0/foundation/systemabilitymgr/safwk/test/services/safwk/unittest/
H A Dsa_proxy_cache_test.cpp145 class MockIRemoteObject : public IRemoteObject { class
147 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") {} in MockIRemoteObject() function in OHOS::MockIRemoteObject
149 ~MockIRemoteObject() {} in ~MockIRemoteObject()
215 …sptr<MockIRemoteObject> iRemoteObject = sptr<MockIRemoteObject>(new (std::nothrow) MockIRemoteObje…
231 …sptr<MockIRemoteObject> iRemoteObject = sptr<MockIRemoteObject>(new (std::nothrow) MockIRemoteObje…
/ohos5.0/base/location/test/location_network/mock/src/
H A Dmock_common_utils.cpp29 sptr<MockIRemoteObject> iRemoteObject = in GetRemoteObject()
30 sptr<MockIRemoteObject>(new (std::nothrow) MockIRemoteObject()); in GetRemoteObject()
/ohos5.0/base/location/test/mock/src/
H A Dmock_common_utils.cpp29 sptr<MockIRemoteObject> iRemoteObject = in GetRemoteObject()
30 sptr<MockIRemoteObject>(new (std::nothrow) MockIRemoteObject()); in GetRemoteObject()
/ohos5.0/foundation/arkui/ace_engine/test/mock/interfaces/
H A Dmock_i_remote_object.h23 class MockIRemoteObject : public IRemoteObject {
25 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") {} in MockIRemoteObject() function
27 ~MockIRemoteObject() {} in ~MockIRemoteObject()
/ohos5.0/foundation/ability/form_fwk/test/mock/include/
H A Dmock_i_remote_object.h26 class MockIRemoteObject : public IRemoteObject {
28 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") {} in MockIRemoteObject() function
30 ~MockIRemoteObject() {} in ~MockIRemoteObject()
/ohos5.0/foundation/ability/ability_runtime/test/unittest/appkit/ohos_application_test/
H A Dmock_i_remote_object.h26 class MockIRemoteObject : public IRemoteObject {
28 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") {} in MockIRemoteObject() function
30 ~MockIRemoteObject() {} in ~MockIRemoteObject()
/ohos5.0/base/notification/distributed_notification_service/frameworks/core/test/unittest/mock/
H A Dmock_i_remote_object.h26 class MockIRemoteObject : public IRemoteObject {
28 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") {} in MockIRemoteObject() function
30 ~MockIRemoteObject() {} in ~MockIRemoteObject()
/ohos5.0/foundation/filemanagement/app_file_service/tests/mock/utils_mock/include/
H A Diremote_object_mock.h24 class MockIRemoteObject : public IRemoteObject {
26 MockIRemoteObject() : IRemoteObject(u"mock_i_remote_object") in MockIRemoteObject() function
31 ~MockIRemoteObject() {} in ~MockIRemoteObject()

12