Home
last modified time | relevance | path

Searched refs:GetRemoteObject (Results 1 – 25 of 87) sorted by relevance

1234

/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_mgr_client.cpp52 sptr<IRemoteObject> GetRemoteObject() in GetRemoteObject() function in OHOS::AppExecFwk::AppMgrRemoteHolder
135 sptr<IAppMgr> service = iface_cast<IAppMgr>(mgrHolder_->GetRemoteObject()); in LoadAbility()
153 sptr<IAppMgr> service = iface_cast<IAppMgr>(mgrHolder_->GetRemoteObject()); in TerminateAbility()
166 sptr<IAppMgr> service = iface_cast<IAppMgr>(mgrHolder_->GetRemoteObject()); in UpdateAbilityState()
179 sptr<IAppMgr> service = iface_cast<IAppMgr>(mgrHolder_->GetRemoteObject()); in UpdateExtensionState()
192 sptr<IAppMgr> service = iface_cast<IAppMgr>(mgrHolder_->GetRemoteObject()); in RegisterAppStateCallback()
207 sptr<IAppMgr> service = iface_cast<IAppMgr>(mgrHolder_->GetRemoteObject()); in AbilityBehaviorAnalysis()
220 sptr<IAppMgr> service = iface_cast<IAppMgr>(mgrHolder_->GetRemoteObject()); in KillProcessByAbilityToken()
233 sptr<IAppMgr> service = iface_cast<IAppMgr>(mgrHolder_->GetRemoteObject()); in KillProcessesByUserId()
887 sptr<IRemoteObject> AppMgrClient::GetRemoteObject() in GetRemoteObject() function in OHOS::AppExecFwk::AppMgrClient
[all …]
/ohos5.0/foundation/communication/dsoftbus/tests/core/frame/fuzztest/softbusserverstub_fuzzer/
H A Dsoftbusserverstub_fuzzer.cpp85 static sptr<IRemoteObject> GetRemoteObject(void) in GetRemoteObject() function
96 sptr<IRemoteObject> object = GetRemoteObject(); in SendRequestByCommand()
112 sptr<IRemoteObject> object = GetRemoteObject(); in CreateSessionServerFuzzTest()
144 sptr<IRemoteObject> object = GetRemoteObject(); in RemoveSessionServerFuzzTest()
176 sptr<IRemoteObject> object = GetRemoteObject(); in OpenSessionFuzzTest()
227 sptr<IRemoteObject> object = GetRemoteObject(); in OpenAuthSessionFuzzTest()
258 sptr<IRemoteObject> object = GetRemoteObject(); in NotifyAuthSuccessFuzzTest()
281 sptr<IRemoteObject> object = GetRemoteObject(); in CloseChannelFuzzTest()
313 sptr<IRemoteObject> object = GetRemoteObject(); in SendMessageFuzzTest()
354 sptr<IRemoteObject> object = GetRemoteObject(); in QosReportFuzzTest()
[all …]
/ohos5.0/base/location/test/location_common/source/
H A Dcommon_utils_test.cpp188 EXPECT_NE(nullptr, CommonUtils::GetRemoteObject(LOCATION_GNSS_SA_ID));
189 EXPECT_NE(nullptr, CommonUtils::GetRemoteObject(LOCATION_NETWORK_LOCATING_SA_ID));
190 EXPECT_NE(nullptr, CommonUtils::GetRemoteObject(LOCATION_NOPOWER_LOCATING_SA_ID));
191 CommonUtils::GetRemoteObject(LOCATION_GEO_CONVERT_SA_ID);
192 EXPECT_EQ(nullptr, CommonUtils::GetRemoteObject(UNKNOWN_SA_ID));
195 EXPECT_NE(nullptr, CommonUtils::GetRemoteObject(LOCATION_GNSS_SA_ID));
196 EXPECT_NE(nullptr, CommonUtils::GetRemoteObject(LOCATION_NETWORK_LOCATING_SA_ID));
197 EXPECT_NE(nullptr, CommonUtils::GetRemoteObject(LOCATION_NOPOWER_LOCATING_SA_ID));
198 CommonUtils::GetRemoteObject(LOCATION_GEO_CONVERT_SA_ID);
199 EXPECT_EQ(nullptr, CommonUtils::GetRemoteObject(UNKNOWN_SA_ID));
/ohos5.0/foundation/ability/ability_runtime/test/unittest/ams_app_mgr_client_test/
H A Dams_app_mgr_client_test.cpp90 … *(static_cast<MockAppMgrService*>((iface_cast<IAppMgr>(client_->GetRemoteObject())).GetRefPtr())),
127 …EXPECT_CALL(*(static_cast<MockAppMgrService*>((iface_cast<IAppMgr>(client_->GetRemoteObject())).Ge…
174 …EXPECT_CALL(*(static_cast<MockAppMgrService*>((iface_cast<IAppMgr>(client_->GetRemoteObject())).Ge…
214 …EXPECT_CALL(*(static_cast<MockAppMgrService*>((iface_cast<IAppMgr>(client_->GetRemoteObject())).Ge…
256 …EXPECT_CALL(*(static_cast<MockAppMgrService*>((iface_cast<IAppMgr>(client_->GetRemoteObject())).Ge…
303 …EXPECT_CALL(*(static_cast<MockAppMgrService*>((iface_cast<IAppMgr>(client_->GetRemoteObject())).Ge…
331 …EXPECT_CALL(*(static_cast<MockAppMgrService*>((iface_cast<IAppMgr>(client_->GetRemoteObject())).Ge…
358 …EXPECT_CALL(*(static_cast<MockAppMgrService*>((iface_cast<IAppMgr>(client_->GetRemoteObject())).Ge…
384 …EXPECT_CALL(*(static_cast<MockAppMgrService*>((iface_cast<IAppMgr>(client_->GetRemoteObject())).Ge…
410 …EXPECT_CALL(*(static_cast<MockAppMgrService*>((iface_cast<IAppMgr>(client_->GetRemoteObject())).Ge…
[all …]
/ohos5.0/foundation/communication/netmanager_ext/frameworks/native/netfirewallclient/src/
H A Dnetfirewall_client.cpp57 const sptr<IRemoteObject> &NetFirewallLoadCallback::GetRemoteObject() const in GetRemoteObject() function in OHOS::NetManagerStandard::NetFirewallLoadCallback
189 if (loadCallback_->GetRemoteObject() == nullptr) { in LoadSaOnDemand()
202 [this]() { return loadCallback_->GetRemoteObject() != nullptr; })) { in LoadSaOnDemand()
207 return loadCallback_->GetRemoteObject(); in LoadSaOnDemand()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/native/mdnsclient/src/
H A Dmdns_client.cpp55 const sptr<IRemoteObject> &OnDemandLoadCallback::GetRemoteObject() const in GetRemoteObject() function in OHOS::NetManagerStandard::OnDemandLoadCallback
182 if (loadCallback_->GetRemoteObject() == nullptr) { in LoadSaOnDemand()
195 [this]() { return loadCallback_->GetRemoteObject() != nullptr; })) { in LoadSaOnDemand()
202 return loadCallback_->GetRemoteObject(); in LoadSaOnDemand()
/ohos5.0/base/account/os_account/interfaces/kits/napi/appaccount/src/
H A Dnapi_app_account_authenticator_callback.cpp38 sptr<IRemoteObject> NapiAppAccountAuthenticatorCallback::GetRemoteObject() in GetRemoteObject() function in OHOS::AccountJsKit::NapiAppAccountAuthenticatorCallback
136 …o callbackProxy = iface_cast<IAppAccountAuthenticatorCallback>(param->callback->GetRemoteObject()); in JsOnResult()
166 …o callbackProxy = iface_cast<IAppAccountAuthenticatorCallback>(param->callback->GetRemoteObject()); in JsOnRequestRedirected()
193 …o callbackProxy = iface_cast<IAppAccountAuthenticatorCallback>(param->callback->GetRemoteObject()); in JsOnRequestContinued()
/ohos5.0/foundation/communication/netmanager_ext/frameworks/native/netshareclient/src/
H A Dnetworkshare_client.cpp55 const sptr<IRemoteObject> &NetworkShareLoadCallback::GetRemoteObject() const in GetRemoteObject() function in OHOS::NetManagerStandard::NetworkShareLoadCallback
227 … [&callback]() { return callback->GetRemoteObject() != nullptr || callback->IsFailed(); }); in GetProxy()
230 auto remote = callback->GetRemoteObject(); in GetProxy()
/ohos5.0/base/location/test/location_geocode/source/
H A Dgeo_convert_service_test.cpp186 CommonUtils::GetRemoteObject(LOCATION_GEO_CONVERT_SA_ID, CommonUtils::InitDeviceId());
227 CommonUtils::GetRemoteObject(LOCATION_GEO_CONVERT_SA_ID, CommonUtils::InitDeviceId());
388 CommonUtils::GetRemoteObject(LOCATION_GEO_CONVERT_SA_ID, CommonUtils::InitDeviceId());
410 CommonUtils::GetRemoteObject(LOCATION_GEO_CONVERT_SA_ID, CommonUtils::InitDeviceId());
458 CommonUtils::GetRemoteObject(LOCATION_GEO_CONVERT_SA_ID, CommonUtils::InitDeviceId());
/ohos5.0/base/location/interfaces/inner_api/include/
H A Dcommon_utils.h163 static sptr<IRemoteObject> GetRemoteObject(int abilityId);
164 static sptr<IRemoteObject> GetRemoteObject(int abilityId, std::string deviceId);
/ohos5.0/foundation/ability/ability_runtime/frameworks/js/napi/js_dialog_request/
H A Djs_dialog_request.cpp93 sptr<IRemoteObject> callerToken = want.GetRemoteObject(RequestConstants::REQUEST_TOKEN_KEY); in OnGetRequestInfo()
131 … sptr<IRemoteObject> remoteObj = want.GetRemoteObject(RequestConstants::REQUEST_CALLBACK_KEY); in OnGetRequestCallback()
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/client/inc/
H A Dipc_client_utils.h26 static sptr<IRemoteObject> GetRemoteObject(int32_t saId);
/ohos5.0/base/useriam/user_auth_framework/test/unittest/inner_api/mocks/
H A Dmock_ipc_client_utils.h26 static sptr<IRemoteObject> GetRemoteObject(int32_t saId);
H A Dmock_ipc_client_utils.cpp22 sptr<IRemoteObject> IpcClientUtils::GetRemoteObject(int32_t saId) in GetRemoteObject() function in OHOS::UserIam::UserAuth::IpcClientUtils
/ohos5.0/base/useriam/user_auth_framework/frameworks/native/client/src/
H A Dipc_client_utils.cpp26 sptr<IRemoteObject> IpcClientUtils::GetRemoteObject(int32_t saId) in GetRemoteObject() function in OHOS::UserIam::UserAuth::IpcClientUtils
/ohos5.0/foundation/window/window_manager/test/demo/
H A Ddemo_session_manager.cpp29 auto remoteObject = sessionManager.GetRemoteObject(); in main()
/ohos5.0/base/location/test/location_network/mock/src/
H A Dmock_common_utils.cpp26 sptr<IRemoteObject> CommonUtils::GetRemoteObject( in GetRemoteObject() function in OHOS::Location::CommonUtils
/ohos5.0/base/location/test/mock/src/
H A Dmock_common_utils.cpp26 sptr<IRemoteObject> CommonUtils::GetRemoteObject( in GetRemoteObject() function in OHOS::Location::CommonUtils
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/include/
H A Dsa_status_change_mock.h40 sptr<IRemoteObject> GetRemoteObject() const in GetRemoteObject() function
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/free_install/
H A Dservice_center_connection.h54 sptr<IRemoteObject> GetRemoteObject();
/ohos5.0/base/account/os_account/interfaces/kits/napi/appaccount/include/
H A Dnapi_app_account_authenticator_callback.h30 sptr<IRemoteObject> GetRemoteObject();
/ohos5.0/foundation/ability/ability_runtime/interfaces/kits/native/ability/ability_runtime/
H A Dability_connection.h83 sptr<IRemoteObject> GetRemoteObject() const;
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/free_install/
H A Dservice_center_connection.cpp75 sptr<IRemoteObject> ServiceCenterConnection::GetRemoteObject() in GetRemoteObject() function in OHOS::AppExecFwk::ServiceCenterConnection
/ohos5.0/foundation/communication/ipc/services/dbinder/test/distributedtest/include/
H A Ddbinder_test_service_skeleton.h82 virtual sptr<IRemoteObject> GetRemoteObject(int type) = 0;
165 sptr<IRemoteObject> GetRemoteObject(int type) override;
/ohos5.0/base/location/frameworks/location_common/common/source/
H A Dcommon_utils.cpp95 sptr<IRemoteObject> CommonUtils::GetRemoteObject(int abilityId) in GetRemoteObject() function in OHOS::Location::CommonUtils
97 return GetRemoteObject(abilityId, InitDeviceId()); in GetRemoteObject()
100 sptr<IRemoteObject> CommonUtils::GetRemoteObject(int abilityId, std::string deviceId) in GetRemoteObject() function in OHOS::Location::CommonUtils

1234