Home
last modified time | relevance | path

Searched refs:remoteObject (Results 1 - 17 of 17) sorted by relevance

/test/testfwk/arkxtest/uitest/connection/
H A Dipc_transactor.cpp230 sptr<IRemoteObject> remoteObject = nullptr; in WaitForPublishedCaller() local
231 auto onEvent = [&condition, &remoteObject, &token](const CommonEventData &data) { in WaitForPublishedCaller()
234 remoteObject = want.GetRemoteObject(string(token)); in WaitForPublishedCaller()
235 if (remoteObject == nullptr) { in WaitForPublishedCaller()
237 remoteObject = nullptr; in WaitForPublishedCaller()
253 } else if (remoteObject == nullptr) { in WaitForPublishedCaller()
256 return remoteObject; in WaitForPublishedCaller()
299 sptr<IRemoteObject> remoteObject = nullptr; in InitAndConnectPeer() local
302 remoteObject = PublishCallerAndWaitForBackcaller(caller_, token); in InitAndConnectPeer()
303 if (remoteObject ! in InitAndConnectPeer()
[all...]
/test/xts/device_attest/interfaces/innerkits/native_cpp/src/
H A Ddevattest_profile_load_callback.cpp25 int32_t systemAbilityId, const sptr<OHOS::IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess()
28 ((remoteObject != nullptr) ? "true" : "false")); in OnLoadSystemAbilitySuccess()
33 if (remoteObject == nullptr) { in OnLoadSystemAbilitySuccess()
34 HILOGE("remoteObject is null."); in OnLoadSystemAbilitySuccess()
37 DevAttestClient::GetInstance().LoadSystemAbilitySuccess(remoteObject); in OnLoadSystemAbilitySuccess()
24 OnLoadSystemAbilitySuccess( int32_t systemAbilityId, const sptr<OHOS::IRemoteObject> &remoteObject) OnLoadSystemAbilitySuccess() argument
H A Ddevattest_client.cpp92 void DevAttestClient::LoadSystemAbilitySuccess(const sptr<IRemoteObject> &remoteObject) in LoadSystemAbilitySuccess() argument
95 attestClientInterface_ = iface_cast<DevAttestInterface>(remoteObject); in LoadSystemAbilitySuccess()
/test/xts/hats/hdf/external_device_manager/driver_extension_manager_client_test/
H A Ddriver_extension_manager_client_test.cpp48 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override;
134 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess()
137 << " IRemoteObject result:" << ((remoteObject != nullptr) ? "succeed" : "failed") << std::endl; in OnLoadSystemAbilitySuccess()
139 g_saObject = remoteObject; in OnLoadSystemAbilitySuccess()
133 OnLoadSystemAbilitySuccess( int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) OnLoadSystemAbilitySuccess() argument
/test/xts/hats/hdf/external_device_manager/drivers_pkg_manager_test/
H A Ddriver_pkg_manager_test.cpp44 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override;
109 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess()
113 << " IRemoteObject result:" << ((remoteObject != nullptr) ? "succeed" : "failed") << std::endl; in OnLoadSystemAbilitySuccess()
115 g_saObject = remoteObject; in OnLoadSystemAbilitySuccess()
108 OnLoadSystemAbilitySuccess( int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) OnLoadSystemAbilitySuccess() argument
H A Dpkg_db_helper_test.cpp50 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override;
169 int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) in OnLoadSystemAbilitySuccess()
173 << " IRemoteObject result:" << ((remoteObject != nullptr) ? "succeed" : "failed") << std::endl; in OnLoadSystemAbilitySuccess()
175 g_saObject = remoteObject; in OnLoadSystemAbilitySuccess()
168 OnLoadSystemAbilitySuccess( int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) OnLoadSystemAbilitySuccess() argument
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/entry/src/main/js/ServiceAbility1/
H A Dservice.js181 OnAbilityConnectDone(element, remoteObject, resultCode) {
184 remoteObject + ' , JSON.' + JSON.stringify(remoteObject) +
/test/xts/acts/ability/ability_runtime/actsserviceabilityclienttest/actsserviceabilityclienttest/entry/src/main/js/ServiceAbility2/
H A Dservice.js178 OnAbilityConnectDone(element, remoteObject, resultCode) {
181 remoteObject + ' , JSON.' + JSON.stringify(remoteObject) +
/test/xts/dcts/distributedhardware/distributedinputtest/
H A 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/xts/device_attest/services/devattest_ability/src/
H A Ddevattest_notification_publish.cpp133 sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SA_ID); in GetBundleMgr() local
134 if (remoteObject == nullptr) { in GetBundleMgr()
135 HILOGE("[GetBundleMgr] get remoteObject failed"); in GetBundleMgr()
138 sptr<IBundleMgr> bundleMgr = iface_cast<IBundleMgr>(remoteObject); in GetBundleMgr()
/test/testfwk/arkxtest/testserver/test/unittest/
H A Dstart_test_server.cpp62 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override
67 remoteObject_ = remoteObject;
/test/testfwk/arkxtest/testserver/src/client/
H A Dtest_server_client.cpp68 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override
75 remoteObject_ = remoteObject;
124 HiLog::Error(LABEL, "%{public}s. Get SystemAbility [%{public}d] remoteObject FAILED", in LoadTestServer()
/test/xts/device_attest/interfaces/innerkits/native_cpp/include/
H A Ddevattest_profile_load_callback.h27 const sptr<OHOS::IRemoteObject> &remoteObject) override;
H A Ddevattest_client.h31 void LoadSystemAbilitySuccess(const sptr<IRemoteObject> &remoteObject);
/test/ostest/wukong/common/src/
H A Dwukong_util.cpp550 sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleMgrProxy() local
551 if (!remoteObject) { in GetBundleMgrProxy()
556 return iface_cast<IBundleMgr>(remoteObject); in GetBundleMgrProxy()
/test/testfwk/arkxtest/uitest/server/
H A Dsystem_ui_controller.cpp884 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject>& remoteObject) override
887 remoteObject_ = remoteObject;
930 auto remoteObject = sam->CheckSystemAbility(OHOS::DFX_HI_DUMPER_SERVICE_ABILITY_ID); in GetHidumperInfo() local
931 if (remoteObject == nullptr) { in GetHidumperInfo()
942 remoteObject = loadCallback->GetSaObject(); in GetHidumperInfo()
943 LOG_E("LoadSystemAbility callbacked, result = %{public}s", remoteObject == nullptr ? "FAIL" : "SUCCESS"); in GetHidumperInfo()
945 if (remoteObject == nullptr) { in GetHidumperInfo()
946 LOG_E("remoteObject is null"); in GetHidumperInfo()
950 sptr<IDumpBroker> client = iface_cast<IDumpBroker>(remoteObject); in GetHidumperInfo()
/test/xts/acts/communication/dsoftbus/rpc/entry/src/ohosTest/js/test/
H A DRpcClientJsunit.test.js14583 let remoteObject = new TestRemoteObject("aaa");
14584 let ret = rpc.IPCSkeleton.flushCommands(remoteObject);
14605 let remoteObject = {};
14606 let ret = rpc.IPCSkeleton.flushCommands(remoteObject);
14971 let remoteObject = new TestRemoteObject("aaa");
14972 rpc.IPCSkeleton.flushCmdBuffer(remoteObject);
14993 let remoteObject = {};
14994 rpc.IPCSkeleton.flushCmdBuffer(remoteObject);
15038 let remoteObject = null;
15039 rpc.IPCSkeleton.flushCmdBuffer(remoteObject);
[all...]

Completed in 68 milliseconds