Home
last modified time | relevance | path

Searched refs:remoteObject_ (Results 1 - 25 of 61) sorted by relevance

123

/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_ability_manager_clientex.cpp34 sptr<IRemoteObject> remoteObject_; member
62 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in AttachAbilityThread()
68 if (remoteObject_ == nullptr) { in AbilityTransitionDone()
71 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in AbilityTransitionDone()
78 if (remoteObject_ == nullptr) { in ScheduleConnectAbilityDone()
81 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in ScheduleConnectAbilityDone()
87 if (remoteObject_ == nullptr) { in ScheduleDisconnectAbilityDone()
90 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in ScheduleDisconnectAbilityDone()
96 if (remoteObject_ == nullptr) { in ScheduleCommandAbilityDone()
100 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in ScheduleCommandAbilityDone()
[all...]
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/AMS/
H A Dmock_ability_manager_client.cpp34 sptr<IRemoteObject> remoteObject_; member
62 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in AttachAbilityThread()
68 if (remoteObject_ == nullptr) { in AbilityTransitionDone()
71 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in AbilityTransitionDone()
78 if (remoteObject_ == nullptr) { in ScheduleConnectAbilityDone()
81 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in ScheduleConnectAbilityDone()
87 if (remoteObject_ == nullptr) { in ScheduleDisconnectAbilityDone()
90 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in ScheduleDisconnectAbilityDone()
96 if (remoteObject_ == nullptr) { in ScheduleCommandAbilityDone()
100 sptr<IAbilityManager> abms = iface_cast<IAbilityManager>(remoteObject_); in ScheduleCommandAbilityDone()
[all...]
/foundation/arkui/ace_engine/adapter/ohos/services/uiservice/src/
H A Dui_service_mgr_client.cpp44 if (remoteObject_ == nullptr) { in RegisterCallBack()
51 sptr<IUIServiceMgr> doms = iface_cast<IUIServiceMgr>(remoteObject_); in RegisterCallBack()
57 if (remoteObject_ == nullptr) { in UnregisterCallBack()
64 sptr<IUIServiceMgr> doms = iface_cast<IUIServiceMgr>(remoteObject_); in UnregisterCallBack()
71 if (remoteObject_ == nullptr) { in Push()
78 sptr<IUIServiceMgr> doms = iface_cast<IUIServiceMgr>(remoteObject_); in Push()
84 if (remoteObject_ == nullptr) { in Request()
91 sptr<IUIServiceMgr> doms = iface_cast<IUIServiceMgr>(remoteObject_); in Request()
98 if (remoteObject_ == nullptr) { in ReturnRequest()
105 sptr<IUIServiceMgr> doms = iface_cast<IUIServiceMgr>(remoteObject_); in ReturnRequest()
[all...]
/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_proxy_test.cpp66 ASSERT_EQ(nullptr, proxy1.remoteObject_); in HWTEST_F()
72 ASSERT_EQ(static_cast<sptr<IRemoteObject>>(remoteMocker), proxy2.remoteObject_); in HWTEST_F()
88 ASSERT_EQ(nullptr, proxy1.remoteObject_); in HWTEST_F()
94 ASSERT_EQ(static_cast<sptr<IRemoteObject>>(remoteMocker), proxy2.remoteObject_); in HWTEST_F()
111 ASSERT_EQ(nullptr, proxy1.remoteObject_); in HWTEST_F()
117 ASSERT_EQ(static_cast<sptr<IRemoteObject>>(remoteMocker), proxy2.remoteObject_); in HWTEST_F()
134 ASSERT_EQ(nullptr, proxy1.remoteObject_); in HWTEST_F()
143 ASSERT_EQ(static_cast<sptr<IRemoteObject>>(remoteMocker), proxy2.remoteObject_); in HWTEST_F()
163 ASSERT_EQ(nullptr, proxy1.remoteObject_); in HWTEST_F()
169 ASSERT_EQ(static_cast<sptr<IRemoteObject>>(remoteMocker), proxy2.remoteObject_); in HWTEST_F()
[all...]
/foundation/ability/ability_runtime/frameworks/native/ability/ability_runtime/
H A Dlocal_call_record.cpp39 if (remoteObject_ == nullptr) { in ClearData()
44 remoteObject_->RemoveDeathRecipient(callRecipient_); in ClearData()
49 remoteObject_ = nullptr; in ClearData()
59 remoteObject_ = call; in SetRemoteObject()
72 remoteObject_->AddDeathRecipient(callRecipient_); in SetRemoteObject()
83 remoteObject_ = call; in SetRemoteObject()
86 remoteObject_->AddDeathRecipient(callRecipient_); in SetRemoteObject()
131 if (remoteObject_ == nullptr) { in InvokeCallBack()
138 callBack->InvokeCallBack(remoteObject_); in InvokeCallBack()
145 if (remoteObject_ in NotifyRemoteStateChanged()
[all...]
/foundation/arkui/ace_engine/adapter/ohos/services/uiservice/test/unittest/phone/ui_service_mgr_client_test/
H A Dui_service_mgr_client_test.cpp63 EXPECT_CALL(*((MockUIMgrService *)(UIServiceMgrClient::GetInstance()->remoteObject_).GetRefPtr()), in HWTEST_F()
69 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); in HWTEST_F()
83 EXPECT_CALL(*((MockUIMgrService *)(UIServiceMgrClient::GetInstance()->remoteObject_).GetRefPtr()), in HWTEST_F()
89 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); in HWTEST_F()
105 EXPECT_CALL(*((MockUIMgrService *)(UIServiceMgrClient::GetInstance()->remoteObject_).GetRefPtr()), in HWTEST_F()
115 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); in HWTEST_F()
131 EXPECT_CALL(*((MockUIMgrService *)(UIServiceMgrClient::GetInstance()->remoteObject_).GetRefPtr()), in HWTEST_F()
139 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); in HWTEST_F()
155 EXPECT_CALL(*((MockUIMgrService *)(UIServiceMgrClient::GetInstance()->remoteObject_).GetRefPtr()), in HWTEST_F()
164 testing::Mock::AllowLeak(UIServiceMgrClient::GetInstance()->remoteObject_); in HWTEST_F()
[all...]
H A Dmock_ui_service_mgr_client.h52 if (remoteObject_ == nullptr) { in Connect()
58 remoteObject_ = mockUIServiceManager; in Connect()
/foundation/ability/ability_base/interfaces/inner_api/base/src/
H A Dremote_object_wrapper.cpp22 RemoteObjectWrap::RemoteObjectWrap(sptr<IRemoteObject> remoteObject) : remoteObject_(remoteObject) {} in RemoteObjectWrap()
27 return otherObj != nullptr && otherObj->remoteObject_ == remoteObject_; in Equals()
42 return remoteObject_; in GetValue()
/foundation/multimodalinput/input/service/message_handle/src/
H A Dinject_notice_manager.cpp105 if (remoteObject_ == nullptr) { in OnAbilityConnectDone()
106 remoteObject_ = remoteObject; in OnAbilityConnectDone()
116 remoteObject_ = nullptr; in OnAbilityDisconnectDone()
128 CHKPF(remoteObject_); in SendNotice()
129 int32_t ret = remoteObject_->SendRequest(cmdCode, data, reply, option); in SendNotice()
147 CHKPF(remoteObject_); in CancelNotice()
148 int32_t ret = remoteObject_->SendRequest(cmdCode, data, reply, option); in CancelNotice()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/rust/connect_adapter/src/
H A Dconnect.cpp41 remoteObject_ = remoteObject; in OnAbilityConnectDone()
53 remoteObject_ = nullptr; in OnAbilityDisconnectDone()
62 return remoteObject_ != nullptr; in IsConnect()
105 return g_connect->remoteObject_; in ConnectServiceInner()
/foundation/ability/ability_runtime/frameworks/cj/ffi/
H A Dcj_remote_object_ffi.h26 explicit CJRemoteObject(const sptr<IRemoteObject>& remoteObject) : remoteObject_(remoteObject) {} in CJRemoteObject()
29 sptr<IRemoteObject> remoteObject_; member in OHOS::AppExecFwk::CJRemoteObject
/foundation/ability/ability_runtime/test/moduletest/ability_test/
H A Dability_test.cpp221 sptr<IRemoteObject> remoteObject_ = in HWTEST_F() local
223 sptr<AAFwk::IAbilityManager> abms = iface_cast<AAFwk::IAbilityManager>(remoteObject_); in HWTEST_F()
254 sptr<IRemoteObject> remoteObject_ = in HWTEST_F() local
256 sptr<AAFwk::IAbilityManager> abms = iface_cast<AAFwk::IAbilityManager>(remoteObject_); in HWTEST_F()
284 sptr<IRemoteObject> remoteObject_ = in HWTEST_F() local
286 sptr<AAFwk::IAbilityManager> abms = iface_cast<AAFwk::IAbilityManager>(remoteObject_); in HWTEST_F()
315 sptr<IRemoteObject> remoteObject_ = in HWTEST_F() local
317 sptr<AAFwk::IAbilityManager> abms = iface_cast<AAFwk::IAbilityManager>(remoteObject_); in HWTEST_F()
349 sptr<IRemoteObject> remoteObject_ = in HWTEST_F() local
351 sptr<AAFwk::IAbilityManager> abms = iface_cast<AAFwk::IAbilityManager>(remoteObject_); in HWTEST_F()
382 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
417 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
453 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
858 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
890 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
922 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
954 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
986 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
1005 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
1022 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
1040 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
1057 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
1074 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
1093 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
1109 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
1125 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
1141 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
1157 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
1174 sptr<IRemoteObject> remoteObject_ = HWTEST_F() local
[all...]
/foundation/communication/ipc/ipc/native/src/core/source/
H A Dpeer_holder.cpp26 PeerHolder::PeerHolder(const sptr<IRemoteObject> &object) : remoteObject_(object) {} in PeerHolder()
35 return remoteObject_; in Remote()
/foundation/resourceschedule/work_scheduler/frameworks/test/unittest/src/
H A Dwork_sched_client_test.cpp141 sptr<IRemoteObject> remoteObject_ = sam->CheckSystemAbility(WORK_SCHEDULE_SERVICE_ID); in HWTEST_F() local
144 deathRecipient_->OnRemoteDied(remoteObject_); in HWTEST_F()
146 deathRecipient_->OnRemoteDied(remoteObject_); in HWTEST_F()
147 EXPECT_NE(remoteObject_, nullptr); in HWTEST_F()
159 sptr<IRemoteObject> remoteObject_ = sam->CheckSystemAbility(WORK_SCHEDULE_SERVICE_ID); in HWTEST_F() local
/foundation/ability/ability_runtime/test/unittest/continuation_test/remote_register_service_test/connect_callback_proxy_test/
H A Dconnect_callback_proxy_test.cpp94 EXPECT_TRUE(testProxy->remoteObject_ != nullptr); in HWTEST_F()
114 EXPECT_TRUE(testProxy->remoteObject_ != nullptr); in HWTEST_F()
133 EXPECT_TRUE(testProxy->remoteObject_ != nullptr); in HWTEST_F()
156 EXPECT_TRUE(testProxy->remoteObject_ == nullptr); in HWTEST_F()
/foundation/communication/nfc/interfaces/inner_api/controller/
H A Dnfc_sa_client.cpp61 remoteObject_ = object; in LoadNfcSa()
62 return remoteObject_; in LoadNfcSa()
75 return remoteObject_; in LoadNfcSa()
105 remoteObject_ = remoteObject; in LoadSystemAbilitySuccess()
/foundation/distributedhardware/distributed_audio/services/audiomanager/test/unittest/servicesink/src/
H A Ddaudio_sink_service_test.cpp44 remoteObject_ = samgr_->GetSystemAbility(DISTRIBUTED_HARDWARE_AUDIO_SINK_SA_ID); in SetUp()
45 if (remoteObject_ == nullptr) { in SetUp()
97 sptr<DAudioSinkIpcCallbackProxy> dAudioSinkIpcCallbackProxy(new DAudioSinkIpcCallbackProxy(remoteObject_)); in HWTEST_F()
130 sptr<DAudioSinkIpcCallbackProxy> dAudioSinkIpcCallbackProxy(new DAudioSinkIpcCallbackProxy(remoteObject_)); in HWTEST_F()
/foundation/window/window_manager/test/common/mock/
H A Dmock_RSIWindowAnimationController.h31 remoteObject_ = new IRemoteObjectMocker(); in RSIWindowAnimationControllerMocker()
92 return remoteObject_;
96 sptr<IRemoteObject> remoteObject_ = nullptr; member in OHOS::Rosen::RSIWindowAnimationControllerMocker
/foundation/graphic/graphic_2d/frameworks/opengl_wrapper/src/EGL/
H A Degl_bundle_mgr_helper.cpp43 sptr<IRemoteObject> remoteObject_ = systemAbilityManager->GetSystemAbility( in Connect() local
45 if (remoteObject_ == nullptr || (bundleMgr_ = iface_cast<IBundleMgr>(remoteObject_)) == nullptr) { in Connect()
/foundation/window/window_manager/window_scene/screen_session_manager/src/connection/
H A Dscreen_session_ability_connection.cpp52 remoteObject_ = remoteObject; in OnAbilityConnectDone()
76 if (remoteObject_ == nullptr) { in OnAbilityDisconnectDone()
80 remoteObject_->RemoveDeathRecipient(deathRecipient_); in OnAbilityDisconnectDone()
81 remoteObject_ = nullptr; in OnAbilityDisconnectDone()
95 remoteObject_ = nullptr; in AddObjectDeathRecipient()
105 if (remoteObject_ == nullptr) { in AddObjectDeathRecipient()
109 if (!remoteObject_->AddDeathRecipient(deathRecipient_)) { in AddObjectDeathRecipient()
141 if (remoteObject_ == nullptr) { in SendMessageSync()
145 int32_t ret = remoteObject_->SendRequest(transCode, data, reply, option); in SendMessageSync()
167 if (remoteObject_ in SendMessageSyncBlock()
[all...]
/foundation/ability/ability_runtime/test/unittest/frameworks_kits_ability_ability_runtime_test/
H A Dlocal_call_record_ut_test.cpp81 EXPECT_TRUE(localCallRecord.remoteObject_ != nullptr); in HWTEST_F()
96 EXPECT_TRUE(localCallRecord.remoteObject_ == nullptr); in HWTEST_F()
221 localCallRecord.remoteObject_ = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F()
254 localCallRecord.remoteObject_ = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F()
270 localCallRecord.remoteObject_ = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F()
287 localCallRecord.remoteObject_ = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F()
323 localCallRecord.remoteObject_ = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F()
340 localCallRecord.remoteObject_ = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F()
358 localCallRecord.remoteObject_ = new (std::nothrow) MockServiceAbilityManagerService(); in HWTEST_F()
424 localCallRecord.remoteObject_ in HWTEST_F()
[all...]
/foundation/resourceschedule/work_scheduler/frameworks/src/
H A Dworkscheduler_srv_client.cpp41 sptr<IRemoteObject> remoteObject_ = sam->CheckSystemAbility(WORK_SCHEDULE_SERVICE_ID); in Connect() local
42 if (remoteObject_ == nullptr) { in Connect()
51 if ((remoteObject_->IsProxyObject()) && (!remoteObject_->AddDeathRecipient(deathRecipient_))) { in Connect()
55 iWorkSchedService_ = iface_cast<IWorkSchedService>(remoteObject_); in Connect()
/foundation/resourceschedule/qos_manager/frameworks/concurrent_task_client/src/
H A Dconcurrent_task_client.cpp110 remoteObject_ = systemManager->GetSystemAbility(CONCURRENT_TASK_SERVICE_ID); in TryConnect()
111 if (!remoteObject_) { in TryConnect()
116 clientService_ = iface_cast<IConcurrentTaskService>(remoteObject_); in TryConnect()
/foundation/resourceschedule/resource_schedule_service/ressched_executor/interfaces/innerkits/ressched_executor_client/src/
H A Dres_sched_exe_client.cpp115 remoteObject_ = systemManager->CheckSystemAbility(RES_SCHED_EXE_ABILITY_ID); in TryConnect()
116 if (!remoteObject_) { in TryConnect()
121 resSchedExe_ = iface_cast<IResSchedExeService>(remoteObject_); in TryConnect()
/foundation/graphic/graphic_2d/rosen/modules/platform/ipc_core/
H A Dpeer_holder.cpp19 PeerHolder::PeerHolder(const sptr<IRemoteObject> &object) : remoteObject_(object) {} in PeerHolder()

Completed in 13 milliseconds

123