/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/ |
H A D | system_ability_helper.cpp | 36 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 D | app_service_manager.cpp | 29 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 D | app_bar_helper_impl.cpp | 26 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 D | navigation_route_ohos.cpp | 25 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 D | page_url_checker_ohos.cpp | 170 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 D | quick_fix_utils.cpp | 29 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetRemoteObjectOfSystemAbility() local 30 if (systemAbilityMgr == nullptr) { in GetRemoteObjectOfSystemAbility() 35 auto remoteObj = systemAbilityMgr->GetSystemAbility(systemAbilityId); in GetRemoteObjectOfSystemAbility()
|
H A D | quick_fix_manager_client.cpp | 152 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 D | continuationmanager_fuzzer.cpp | 55 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 D | mock_quick_fix_util.cpp | 32 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 D | ui_extension_info_module_test.cpp | 76 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 D | hsp_silentinstall.cpp | 33 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 D | hsp_silentinstall.cpp | 33 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 D | daudio_sink_service.cpp | 86 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 D | daudio_source_service.cpp | 86 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 D | dscreen_sink_service.cpp | 87 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 D | screen_session_manager_lite.cpp | 39 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 D | uri_permission_manager_client.cpp | 165 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 D | distributed_hardware_manager_factory.cpp | 112 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 D | ui_extension_stability_test.cpp | 105 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 D | mdns_service.cpp | 167 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 D | dscreen_source_service.cpp | 134 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 D | ui_extension_connect_module_test.cpp | 105 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 D | plugin_component_manager.cpp | 95 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 D | permission_utils.cpp | 65 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 D | distributed_camera_sink_service.cpp | 118 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()
|