/test/testfwk/arkxtest/uitest/connection/ |
H A D | ipc_transactor.cpp | 230 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 D | devattest_profile_load_callback.cpp | 25 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 D | devattest_client.cpp | 92 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 D | driver_extension_manager_client_test.cpp | 48 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 D | driver_pkg_manager_test.cpp | 44 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 D | pkg_db_helper_test.cpp | 50 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 D | service.js | 181 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 D | service.js | 178 OnAbilityConnectDone(element, remoteObject, resultCode) { 181 remoteObject + ' , JSON.' + JSON.stringify(remoteObject) +
|
/test/xts/dcts/distributedhardware/distributedinputtest/ |
H A D | distributed_input_test.cpp | 121 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 D | devattest_notification_publish.cpp | 133 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 D | start_test_server.cpp | 62 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override 67 remoteObject_ = remoteObject;
|
/test/testfwk/arkxtest/testserver/src/client/ |
H A D | test_server_client.cpp | 68 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 D | devattest_profile_load_callback.h | 27 const sptr<OHOS::IRemoteObject> &remoteObject) override;
|
H A D | devattest_client.h | 31 void LoadSystemAbilitySuccess(const sptr<IRemoteObject> &remoteObject);
|
/test/ostest/wukong/common/src/ |
H A D | wukong_util.cpp | 550 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 D | system_ui_controller.cpp | 884 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 D | RpcClientJsunit.test.js | 14583 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...] |