Home
last modified time | relevance | path

Searched refs:systemAbilityMgr (Results 1 - 25 of 41) sorted by relevance

12

/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dsystem_ability_helper.cpp36 sptr<ISystemAbilityManager> systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetSystemAbility() local
37 if (systemAbilityMgr == nullptr) { in GetSystemAbility()
41 return systemAbilityMgr->GetSystemAbility(systemAbilityId); in GetSystemAbility()
46 sptr<ISystemAbilityManager> systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in AddSystemAbility() local
47 if (systemAbilityMgr && (systemAbilityMgr->AddSystemAbility(systemAbilityId, systemAbility) == 0)) { in AddSystemAbility()
56 sptr<ISystemAbilityManager> systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in RemoveSystemAbility() local
57 if (systemAbilityMgr && (systemAbilityMgr->RemoveSystemAbility(systemAbilityId) == 0)) { in RemoveSystemAbility()
102 sptr<ISystemAbilityManager> systemAbilityMgr in UnloadSystemAbility() local
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_service_manager.cpp29 sptr<ISystemAbilityManager> systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetAppMgrService() local
30 if (!systemAbilityMgr) { in GetAppMgrService()
33 return systemAbilityMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in GetAppMgrService()
/foundation/arkui/ace_engine/adapter/ohos/osal/
H A Dapp_bar_helper_impl.cpp26 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in QueryAppGalleryBundleName() local
27 CHECK_NULL_RETURN(systemAbilityMgr, ""); in QueryAppGalleryBundleName()
29 auto bundleObj = systemAbilityMgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in QueryAppGalleryBundleName()
H A Dnavigation_route_ohos.cpp25 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBundleManager() local
26 if (!systemAbilityMgr) { in GetBundleManager()
30 auto bundleObj = systemAbilityMgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager()
H A Dpage_url_checker_ohos.cpp170 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBundleManager() local
171 if (systemAbilityMgr == nullptr) { in GetBundleManager()
176 auto bundleObj = systemAbilityMgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager()
/foundation/ability/ability_runtime/interfaces/inner_api/quick_fix/src/
H A Dquick_fix_utils.cpp29 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetRemoteObjectOfSystemAbility() local
30 if (systemAbilityMgr == nullptr) { in GetRemoteObjectOfSystemAbility()
35 auto remoteObj = systemAbilityMgr->GetSystemAbility(systemAbilityId); in GetRemoteObjectOfSystemAbility()
H A Dquick_fix_manager_client.cpp152 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadQuickFixMgrService() local
153 if (systemAbilityMgr == nullptr) { in LoadQuickFixMgrService()
164 auto ret = systemAbilityMgr->LoadSystemAbility(QUICK_FIX_MGR_SERVICE_ID, loadCallback); in LoadQuickFixMgrService()
/foundation/ability/dmsfwk/test/fuzztest/continuationmanager_fuzzer/
H A Dcontinuationmanager_fuzzer.cpp55 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in FuzzUnregister() local
56 if (systemAbilityMgr == nullptr) { in FuzzUnregister()
60 auto remoteObj = systemAbilityMgr->GetSystemAbility(CONTINUATION_MANAGER_SA_ID); in FuzzUnregister()
/foundation/ability/ability_runtime/test/unittest/quick_fix/mock/src/
H A Dmock_quick_fix_util.cpp32 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetRemoteObjectOfSystemAbility() local
33 if (systemAbilityMgr == nullptr) { in GetRemoteObjectOfSystemAbility()
38 auto object = systemAbilityMgr->GetSystemAbility(systemAbilityId); in GetRemoteObjectOfSystemAbility()
/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_info_module_test/
H A Dui_extension_info_module_test.cpp76 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SetUpTestCase() local
77 if (systemAbilityMgr == nullptr) { in SetUpTestCase()
82 auto remoteObj = systemAbilityMgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in SetUpTestCase()
/foundation/arkui/ace_engine/advanced_ui_component/navpushpathhelper/src/
H A Dhsp_silentinstall.cpp33 auto systemAbilityMgr = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBundleManager() local
34 if (!systemAbilityMgr) { in GetBundleManager()
38 auto bundleObj = systemAbilityMgr->GetSystemAbility(OHOS::BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager()
/foundation/arkui/advanced_ui_component/navpushpathhelper/src/
H A Dhsp_silentinstall.cpp33 auto systemAbilityMgr = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBundleManager() local
34 if (!systemAbilityMgr) { in GetBundleManager()
38 auto bundleObj = systemAbilityMgr->GetSystemAbility(OHOS::BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager()
/foundation/distributedhardware/distributed_audio/services/audiomanager/servicesink/src/
H A Ddaudio_sink_service.cpp86 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ReleaseSink() local
87 CHECK_NULL_RETURN(systemAbilityMgr, ERR_DH_AUDIO_NULLPTR); in ReleaseSink()
88 int32_t ret = systemAbilityMgr->UnloadSystemAbility(DISTRIBUTED_HARDWARE_AUDIO_SINK_SA_ID); in ReleaseSink()
/foundation/distributedhardware/distributed_audio/services/audiomanager/servicesource/src/
H A Ddaudio_source_service.cpp86 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ReleaseSource() local
87 CHECK_NULL_RETURN(systemAbilityMgr, ERR_DH_AUDIO_NULLPTR); in ReleaseSource()
88 int32_t ret = systemAbilityMgr->UnloadSystemAbility(DISTRIBUTED_HARDWARE_AUDIO_SOURCE_SA_ID); in ReleaseSource()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/dscreenservice/src/
H A Ddscreen_sink_service.cpp87 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ReleaseSink() local
88 if (systemAbilityMgr == nullptr) { in ReleaseSink()
89 DHLOGE("systemAbilityMgr is null"); in ReleaseSink()
92 int32_t ret = systemAbilityMgr->UnloadSystemAbility(DISTRIBUTED_HARDWARE_SCREEN_SINK_SA_ID); in ReleaseSink()
94 DHLOGE("sink systemAbilityMgr UnLoadSystemAbility failed, ret: %{public}" PRId32, ret); in ReleaseSink()
97 DHLOGI("sink systemAbilityMgr UnLoadSystemAbility success"); in ReleaseSink()
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_session_manager_lite.cpp39 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ConnectToServer() local
40 if (!systemAbilityMgr) { in ConnectToServer()
45 auto remoteObject = systemAbilityMgr->GetSystemAbility(DISPLAY_MANAGER_SERVICE_SA_ID); in ConnectToServer()
/foundation/ability/ability_runtime/interfaces/inner_api/uri_permission/src/
H A Duri_permission_manager_client.cpp165 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadUriPermService() local
166 if (systemAbilityMgr == nullptr) { in LoadUriPermService()
177 auto ret = systemAbilityMgr->LoadSystemAbility(URI_PERMISSION_MGR_SERVICE_ID, loadCallback); in LoadUriPermService()
/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/
H A Ddistributed_hardware_manager_factory.cpp112 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ExitDHFWK() local
113 if (systemAbilityMgr == nullptr) { in ExitDHFWK()
114 DHLOGE("systemAbilityMgr is null"); in ExitDHFWK()
117 int32_t ret = systemAbilityMgr->UnloadSystemAbility(DISTRIBUTED_HARDWARE_SA_ID); in ExitDHFWK()
119 DHLOGE("systemAbilityMgr UnLoadSystemAbility failed, ret: %{public}d", ret); in ExitDHFWK()
122 DHLOGI("systemAbilityMgr UnLoadSystemAbility success"); in ExitDHFWK()
/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_stability_test/
H A Dui_extension_stability_test.cpp105 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SetUpTestCase() local
106 if (systemAbilityMgr == nullptr) { in SetUpTestCase()
111 auto remoteObj = systemAbilityMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in SetUpTestCase()
/foundation/communication/netmanager_ext/services/mdnsmanager/src/
H A Dmdns_service.cpp167 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnloadSystemAbility() local
168 if (systemAbilityMgr == nullptr) { in UnloadSystemAbility()
171 int32_t ret = systemAbilityMgr->UnloadSystemAbility(COMM_MDNS_MANAGER_SYS_ABILITY_ID); in UnloadSystemAbility()
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenservice/src/
H A Ddscreen_source_service.cpp134 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ReleaseSource() local
135 if (systemAbilityMgr == nullptr) { in ReleaseSource()
136 DHLOGE("systemAbilityMgr is null"); in ReleaseSource()
139 ret = systemAbilityMgr->UnloadSystemAbility(DISTRIBUTED_HARDWARE_SCREEN_SOURCE_SA_ID); in ReleaseSource()
141 DHLOGE("source systemAbilityMgr UnLoadSystemAbility failed, ret: %{public}" PRId32, ret); in ReleaseSource()
144 DHLOGI("source systemAbilityMgr UnLoadSystemAbility success"); in ReleaseSource()
/foundation/ability/ability_runtime/test/moduletest/ui_extension_ability_test/ui_extension_connect_module_test/
H A Dui_extension_connect_module_test.cpp105 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SetUpTestCase() local
106 if (systemAbilityMgr == nullptr) { in SetUpTestCase()
111 auto remoteObj = systemAbilityMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in SetUpTestCase()
/foundation/arkui/ace_engine/frameworks/core/components/plugin/
H A Dplugin_component_manager.cpp95 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBundleManager() local
96 if (systemAbilityMgr == nullptr) { in GetBundleManager()
100 auto bundleObj = systemAbilityMgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager()
/foundation/multimedia/media_library/frameworks/utils/src/
H A Dpermission_utils.cpp65 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetSysBundleManager() local
66 if (systemAbilityMgr == nullptr) { in GetSysBundleManager()
71 auto bundleObj = systemAbilityMgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetSysBundleManager()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcamera/
H A Ddistributed_camera_sink_service.cpp118 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ReleaseSink() local
119 CHECK_AND_RETURN_RET_LOG(systemAbilityMgr == nullptr, DCAMERA_BAD_VALUE, "sink systemAbilityMgr is null"); in ReleaseSink()
120 int32_t ret = systemAbilityMgr->UnloadSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID); in ReleaseSink()
122 "sink systemAbilityMgr UnLoadSystemAbility failed, ret: %{public}d", ret); in ReleaseSink()
123 DHLOGI("sink systemAbilityMgr UnLoadSystemAbility success"); in ReleaseSink()

Completed in 12 milliseconds

12