Home
last modified time | relevance | path

Searched refs:remoteObject (Results 1 – 16 of 16) sorted by relevance

/test/testfwk/arkxtest/uitest/connection/
Dipc_transactor.cpp228 sptr<IRemoteObject> remoteObject = nullptr; in WaitForPublishedCaller() local
229 auto onEvent = [&condition, &remoteObject, &token](const CommonEventData &data) { in WaitForPublishedCaller()
232 remoteObject = want.GetRemoteObject(string(token)); in WaitForPublishedCaller()
233 if (remoteObject == nullptr) { in WaitForPublishedCaller()
235 remoteObject = nullptr; in WaitForPublishedCaller()
248 } else if (remoteObject == nullptr) { in WaitForPublishedCaller()
253 return remoteObject; in WaitForPublishedCaller()
296 sptr<IRemoteObject> remoteObject = nullptr; in InitAndConnectPeer() local
299 remoteObject = PublishCallerAndWaitForBackcaller(caller_, token); in InitAndConnectPeer()
300 if (remoteObject != nullptr) { in InitAndConnectPeer()
[all …]
/test/xts/device_attest/interfaces/innerkits/native_cpp/src/
Ddevattest_profile_load_callback.cpp25 int32_t systemAbilityId, const sptr<OHOS::IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess() argument
27 DelayedSingleton<DevAttestClient>::GetInstance()->LoadSystemAbilitySuccess(remoteObject); in OnLoadSystemAbilitySuccess()
Ddevattest_client.cpp98 void DevAttestClient::LoadSystemAbilitySuccess(const sptr<IRemoteObject> &remoteObject) in LoadSystemAbilitySuccess() argument
101 if (remoteObject == nullptr) { in LoadSystemAbilitySuccess()
104 attestClientInterface_ = iface_cast<DevAttestInterface>(remoteObject); in LoadSystemAbilitySuccess()
/test/xts/acts/advertising/ads/abilitydemo/entry/src/main/ets/common/
DAdsCoreServiceRpcObj.ts34 let remoteObject: rpc.IRemoteObject = data.readRemoteObject(); variable
35 Logger.i(TAG, `ad request remoteObject is : ${remoteObject}`);
75 remoteObject.sendMessageRequest(code1, data1, reply1, new rpc.MessageOption());
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/src/main/js/ServiceAbility2/
Dservice.js178 OnAbilityConnectDone(element, remoteObject, resultCode) {
181 + remoteObject + " , JSON." + JSON.stringify(remoteObject)
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/src/main/js/ServiceAbility1/
Dservice.js182 OnAbilityConnectDone(element, remoteObject, resultCode) {
185 + remoteObject + " , JSON." + JSON.stringify(remoteObject)
/test/xts/hats/hdf/external_device_manager/drivers_pkg_manager_test/
Dpkg_db_helper_test.cpp50 …oadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override;
169 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess() argument
173 … << " IRemoteObject result:" << ((remoteObject != nullptr) ? "succeed" : "failed") << std::endl; in OnLoadSystemAbilitySuccess()
175 g_saObject = remoteObject; in OnLoadSystemAbilitySuccess()
/test/xts/hats/hdf/external_device_manager/driver_extension_manager_client_test/
Ddriver_extension_manager_client_test.cpp45 …oadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override;
107 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess() argument
110 … << " IRemoteObject result:" << ((remoteObject != nullptr) ? "succeed" : "failed") << std::endl; in OnLoadSystemAbilitySuccess()
112 g_saObject = remoteObject; in OnLoadSystemAbilitySuccess()
/test/xts/device_attest/interfaces/innerkits/native_cpp/include/
Ddevattest_profile_load_callback.h27 const sptr<OHOS::IRemoteObject> &remoteObject) override;
Ddevattest_client.h34 void LoadSystemAbilitySuccess(const sptr<IRemoteObject> &remoteObject);
/test/xts/device_attest/services/devattest_ability/src/
Ddevattest_notification_publish.cpp133 …sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SA_ID… in GetBundleMgr() local
134 if (remoteObject == nullptr) { in GetBundleMgr()
138 sptr<IBundleMgr> bundleMgr = iface_cast<IBundleMgr>(remoteObject); in GetBundleMgr()
/test/xts/dcts/distributedhardware/distributedinputtest/
Ddistributed_input_test.cpp121 OHOS::sptr<OHOS::IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility( in CheckSourceProxy() local
123 if (!remoteObject) { in CheckSourceProxy()
129 proxyTest = OHOS::iface_cast<IDistributedSourceInput>(remoteObject); in CheckSourceProxy()
145 OHOS::sptr<OHOS::IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility( in CheckSinkProxy() local
147 if (!remoteObject) { in CheckSinkProxy()
153 proxyTest = OHOS::iface_cast<IDistributedSinkInput>(remoteObject); in CheckSinkProxy()
/test/testfwk/arkxtest/uitest/server/
Dsystem_ui_controller.cpp798 …LoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject) override in OnLoadSystemAbilitySuccess() argument
801 remoteObject_ = remoteObject; in OnLoadSystemAbilitySuccess()
830 auto remoteObject = sam->CheckSystemAbility(OHOS::DFX_HI_DUMPER_SERVICE_ABILITY_ID); in GetHidumperInfo() local
831 if (remoteObject == nullptr) { in GetHidumperInfo()
842 remoteObject = loadCallback->GetSaObject(); in GetHidumperInfo()
843 …LOG_E("LoadSystemAbility callbacked, result = %{public}s", remoteObject == nullptr ? "FAIL" : "SUC… in GetHidumperInfo()
845 if (remoteObject == nullptr) { in GetHidumperInfo()
850 sptr<IDumpBroker> client = iface_cast<IDumpBroker>(remoteObject); in GetHidumperInfo()
/test/ostest/wukong/common/src/
Dwukong_util.cpp472 …sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_A… in GetBundleMgrProxy() local
473 if (!remoteObject) { in GetBundleMgrProxy()
478 return iface_cast<IBundleMgr>(remoteObject); in GetBundleMgrProxy()
/test/xts/dcts/communication/dsoftbus/rpc/src/main/js/test/
DRpcJsunit.test.js13286 let remoteObject = new TestRemoteObject("aaa");
13287 expect(rpc.IPCSkeleton.flushCommands(remoteObject)).assertEqual(101);
13307 let remoteObject = {};
13308 expect(rpc.IPCSkeleton.flushCommands(remoteObject)).assertEqual(101);
13640 let remoteObject = new TestRemoteObject("aaa");
13641 let ret = rpc.IPCSkeleton.flushCmdBuffer(remoteObject);
13662 let remoteObject = {};
13663 let ret = rpc.IPCSkeleton.flushCmdBuffer(remoteObject);
13707 let remoteObject = null;
13708 rpc.IPCSkeleton.flushCmdBuffer(remoteObject);
/test/xts/acts/communication/dsoftbus/rpc/src/main/js/test/
DRpcClientJsunit.test.js13927 let remoteObject = new TestRemoteObject("aaa");
13928 let ret = rpc.IPCSkeleton.flushCommands(remoteObject);
13949 let remoteObject = {};
13950 let ret = rpc.IPCSkeleton.flushCommands(remoteObject);
14315 let remoteObject = new TestRemoteObject("aaa");
14316 rpc.IPCSkeleton.flushCmdBuffer(remoteObject);
14337 let remoteObject = {};
14338 rpc.IPCSkeleton.flushCmdBuffer(remoteObject);
14382 let remoteObject = null;
14383 rpc.IPCSkeleton.flushCmdBuffer(remoteObject);