Home
last modified time | relevance | path

Searched refs:AddSystemAbility (Results 1 – 25 of 81) sorted by relevance

1234

/ohos5.0/foundation/communication/ipc/services/dbinder/test/moduletest/src/
H A Drpc_server_test.cpp47 int result = saMgr->AddSystemAbility(RPC_TEST_SERVICE, new RpcFooStub(), saExtra);
56 int result = saMgr->AddSystemAbility(RPC_TEST_SERVICE2, new RpcFooStub());
/ohos5.0/foundation/communication/ipc/ipc/test/rpc/samgr/
H A Drpc_samgr.c41 static int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility() function
79 if (AddSystemAbility(saId, sid) == ERR_FAILED) { in AddRemoteSystemAbility()
136 result = AddSystemAbility(saId, sid); in RemoteRequest()
H A Drpc_mini_samgr.c47 int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility() function
97 if (AddSystemAbility(saId, &sid) == ERR_FAILED) { in AddRemoteSystemAbility()
/ohos5.0/foundation/communication/ipc/ipc/test/unittest/rpc/samgr/
H A DRpcSamgrTest.cpp37 int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility() function
78 if (AddSystemAbility(saId, sid) == ERR_FAILED) { in AddRemoteSystemAbility()
159 result = AddSystemAbility(saId, sid); in RemoteRequest()
/ohos5.0/foundation/communication/ipc/ipc/test/ipc/samgr/
H A Dsamgr.c34 static int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility() function
77 result = AddSystemAbility(saId, sid); in RemoteRequest()
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dsystem_ability_helper.cpp42 bool SystemAbilityHelper::AddSystemAbility(const int32_t systemAbilityId, const sptr<IRemoteObject>… in AddSystemAbility() function in OHOS::AppExecFwk::SystemAbilityHelper
45 …if (systemAbilityMgr && (systemAbilityMgr->AddSystemAbility(systemAbilityId, systemAbility) == 0))… in AddSystemAbility()
/ohos5.0/foundation/systemabilitymgr/samgr/interfaces/innerkits/rust/src/
H A Dmanage.rs20 AbilityStub, AddOnDemandSystemAbilityInfo, AddSystemAbility, AddSystemAbilityConfig,
129 AddSystemAbility( in add_systemability()
151 AddSystemAbility( in add_systemability_with_extra()
/ohos5.0/foundation/systemabilitymgr/samgr/test/fuzztest/samgrcoverage_fuzzer/
H A Dsamgrcoverage_fuzzer.cpp90 saMgr->AddSystemAbility(SAID, testAbility, saExtraProp); in FuzzOndemandLoad()
96 saMgr->AddSystemAbility(SAID, testAbility, saExtraProp); in FuzzOndemandLoad()
98 saMgr->AddSystemAbility(SAID, testAbility, saExtraProp); in FuzzOndemandLoad()
/ohos5.0/foundation/communication/ipc/ipc/test/unittest/ipc/samgr/
H A DIpcSamgrTest.cpp35 int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid) in AddSystemAbility() function
81 result = AddSystemAbility(saId, sid); in RemoteRequest()
/ohos5.0/foundation/communication/ipc/services/dbinder/test/distributedtest/src/
H A Ddbinder_test_service.cpp65 int result = saMgr->AddSystemAbility(RPC_TEST_SERVICE2, new DBinderTestService(), saExtra); in Instantiate()
67 int result = saMgr->AddSystemAbility(RPC_TEST_SERVICE, new DBinderTestService(), saExtra); in Instantiate()
/ohos5.0/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dsystem_ability_mgr_test.cpp111 int32_t result = sm->AddSystemAbility(DISTRIBUTED_SCHED_TEST_TT_ID, nullptr);
126 int32_t result = sm->AddSystemAbility(DISTRIBUTED_SCHED_TEST_TT_ID, testAbility);
142 int32_t result = sm->AddSystemAbility(TEST_EXCEPTION_HIGH_SA_ID, testAbility);
144 result = sm->AddSystemAbility(TEST_EXCEPTION_LOW_SA_ID, testAbility);
209 sm->AddSystemAbility(DISTRIBUTED_SCHED_TEST_TT_ID, testAbility);
225 saMgr->AddSystemAbility(DISTRIBUTED_SCHED_TEST_TT_ID, testAbility, extraProp);
267 sm->AddSystemAbility(DISTRIBUTED_SCHED_TEST_TT_ID, testAbility);
283 sm->AddSystemAbility(DISTRIBUTED_SCHED_TEST_TT_ID, testAbility);
341 sm->AddSystemAbility(systemAbilityId, testAbility);
429 sm->AddSystemAbility(systemAbilityId, new TestTransactionService());
[all …]
/ohos5.0/foundation/communication/ipc/ipc/test/rpc/include/
H A Drpc_mini_samgr.h26 int32_t AddSystemAbility(int32_t saId, SvcIdentity *sid);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/
H A Dsystem_ability_helper.h39 …static bool AddSystemAbility(const int32_t systemAbilityId, const sptr<IRemoteObject> &systemAbili…
/ohos5.0/foundation/ability/idl_tool/test/native/src/
H A Dtest_service.cpp39 int result = saMgr->AddSystemAbility(IPC_TEST_SERVICE, newInstance); in Instantiate()
/ohos5.0/foundation/ability/ability_runtime/test/moduletest/mock/src/appmgr/
H A Dsystem_ability_helper.cpp41 bool SystemAbilityHelper::AddSystemAbility(const int32_t systemAbilityId, const sptr<IRemoteObject>… in AddSystemAbility() function in OHOS::AppExecFwk::SystemAbilityHelper
/ohos5.0/foundation/bundlemanager/bundle_framework/services/test/mock/src/
H A Dsystem_ability_helper.cpp37 bool SystemAbilityHelper::AddSystemAbility(const int32_t systemAbilityId, const sptr<IRemoteObject>… in AddSystemAbility() function in OHOS::AppExecFwk::SystemAbilityHelper
/ohos5.0/foundation/ability/ability_runtime/services/uripermmgr/src/
H A Duri_permission_manager_service.cpp48 …if (!systemAabilityMgr || systemAabilityMgr->AddSystemAbility(URI_PERMISSION_MGR_SERVICE_ID, impl_… in OnStart()
/ohos5.0/foundation/systemabilitymgr/samgr/
H A DREADME_zh.md31 …int32_t SystemAbilityManager::AddSystemAbility(int32_t systemAbilityId, const sptr<IRemoteObject>&…
61 … HILOGD("AddSystemAbility RegisterRemoteProxy, serviceId is %{public}d", systemAbilityId);
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/test/mock/src/
H A Dsystem_ability_helper.cpp39 bool SystemAbilityHelper::AddSystemAbility(const int32_t systemAbilityId, const sptr<IRemoteObject>… in AddSystemAbility() function in OHOS::AppExecFwk::SystemAbilityHelper
H A Dinstalld_service.cpp113 if (!SystemAbilityHelper::AddSystemAbility(INSTALLD_SERVICE_ID, hostImpl_)) { in Start()
/ohos5.0/foundation/bundlemanager/bundle_framework/test/fuzztest/fuzztest_others/systemabilityhelper_fuzzer/
H A Dsystemabilityhelper_fuzzer.cpp34 helper.AddSystemAbility(systemAbilityId, systemAbility); in DoSomethingInterestingWithMyAPI()
/ohos5.0/foundation/systemabilitymgr/samgr/interfaces/innerkits/samgr_proxy/
H A Dlibsamgr_proxy.versionscript19 *AddSystemAbility*;
/ohos5.0/foundation/communication/ipc/ipc/test/auxiliary/native/src/
H A Dtest_service.cpp60 int result = saMgr->AddSystemAbility(IPC_EXTRA_TEST_SERVICE, newInstance); in Instantiate()
63 int result = saMgr->AddSystemAbility(IPC_TEST_SERVICE, newInstance); in Instantiate()
/ohos5.0/docs/zh-cn/application-dev/ipc/
H A Dipc-rpc-development-guideline.md147 SA需要将自己的TestAbilityStub实例通过AddSystemAbility接口注册到SystemAbilityManager,设备内与分布式的注册参数不同。
152 samgr->AddSystemAbility(saId, new TestAbility());
158 int result = samgr->AddSystemAbility(saId, new TestAbility(), saExtra);
/ohos5.0/base/location/test/mock/include/
H A Dmock_if_system_ability_manager.h42 …MOCK_METHOD(int32_t, AddSystemAbility, (int32_t systemAbilityId, const sptr<IRemoteObject>& abilit…

1234