Home
last modified time | relevance | path

Searched refs:systemAbilityMgr (Results 1 – 25 of 65) sorted by relevance

123

/ohos5.0/base/telephony/cellular_call/test/unittest/satellitetest/
H A Dsatellite_test.cpp68 ASSERT_TRUE(systemAbilityMgr != nullptr);
86 ASSERT_TRUE(systemAbilityMgr != nullptr);
103 ASSERT_TRUE(systemAbilityMgr != nullptr);
135 ASSERT_TRUE(systemAbilityMgr != nullptr);
169 ASSERT_TRUE(systemAbilityMgr != nullptr);
203 ASSERT_TRUE(systemAbilityMgr != nullptr);
235 ASSERT_TRUE(systemAbilityMgr != nullptr);
273 ASSERT_TRUE(systemAbilityMgr != nullptr);
304 ASSERT_TRUE(systemAbilityMgr != nullptr);
340 ASSERT_TRUE(systemAbilityMgr != nullptr);
[all …]
/ohos5.0/foundation/bundlemanager/bundle_framework/services/bundlemgr/src/
H A Dsystem_ability_helper.cpp34 …sptr<ISystemAbilityManager> systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystem… in GetSystemAbility() local
35 if (systemAbilityMgr == nullptr) { in GetSystemAbility()
39 return systemAbilityMgr->GetSystemAbility(systemAbilityId); in GetSystemAbility()
44 …sptr<ISystemAbilityManager> systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystem… in AddSystemAbility() local
45 …if (systemAbilityMgr && (systemAbilityMgr->AddSystemAbility(systemAbilityId, systemAbility) == 0))… in AddSystemAbility()
54 …sptr<ISystemAbilityManager> systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystem… in RemoveSystemAbility() local
55 if (systemAbilityMgr && (systemAbilityMgr->RemoveSystemAbility(systemAbilityId) == 0)) { in RemoveSystemAbility()
100 …sptr<ISystemAbilityManager> systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystem… in UnloadSystemAbility() local
101 …if (systemAbilityMgr != nullptr && (systemAbilityMgr->UnloadSystemAbility(systemAbilityId) == 0)) { in UnloadSystemAbility()
/ohos5.0/base/telephony/cellular_call/test/unittest/cstest/
H A Dcs_calloperation_test.cpp474 ASSERT_TRUE(systemAbilityMgr != nullptr);
513 ASSERT_TRUE(systemAbilityMgr != nullptr);
543 ASSERT_TRUE(systemAbilityMgr != nullptr);
579 ASSERT_TRUE(systemAbilityMgr != nullptr);
609 ASSERT_TRUE(systemAbilityMgr != nullptr);
645 ASSERT_TRUE(systemAbilityMgr != nullptr);
675 ASSERT_TRUE(systemAbilityMgr != nullptr);
711 ASSERT_TRUE(systemAbilityMgr != nullptr);
741 ASSERT_TRUE(systemAbilityMgr != nullptr);
777 ASSERT_TRUE(systemAbilityMgr != nullptr);
[all …]
H A Dcs1_test.cpp53 ASSERT_TRUE(systemAbilityMgr != nullptr);
69 ASSERT_TRUE(systemAbilityMgr != nullptr);
86 ASSERT_TRUE(systemAbilityMgr != nullptr);
128 ASSERT_TRUE(systemAbilityMgr != nullptr);
589 ASSERT_TRUE(systemAbilityMgr != nullptr);
628 ASSERT_TRUE(systemAbilityMgr != nullptr);
658 ASSERT_TRUE(systemAbilityMgr != nullptr);
694 ASSERT_TRUE(systemAbilityMgr != nullptr);
724 ASSERT_TRUE(systemAbilityMgr != nullptr);
760 ASSERT_TRUE(systemAbilityMgr != nullptr);
[all …]
H A Dcs2_test.cpp58 ASSERT_TRUE(systemAbilityMgr != nullptr);
94 ASSERT_TRUE(systemAbilityMgr != nullptr);
124 ASSERT_TRUE(systemAbilityMgr != nullptr);
160 ASSERT_TRUE(systemAbilityMgr != nullptr);
190 ASSERT_TRUE(systemAbilityMgr != nullptr);
226 ASSERT_TRUE(systemAbilityMgr != nullptr);
256 ASSERT_TRUE(systemAbilityMgr != nullptr);
283 ASSERT_TRUE(systemAbilityMgr != nullptr);
321 ASSERT_TRUE(systemAbilityMgr != nullptr);
352 ASSERT_TRUE(systemAbilityMgr != nullptr);
[all …]
H A Dcs_test.h150 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in TestDialCallByCs() local
151 if (systemAbilityMgr == nullptr) { in TestDialCallByCs()
154 auto remote = systemAbilityMgr->CheckSystemAbility(TELEPHONY_CELLULAR_CALL_SYS_ABILITY_ID); in TestDialCallByCs()
/ohos5.0/base/telephony/cellular_call/test/unittest/imstest/
H A Dims1_test.cpp53 ASSERT_TRUE(systemAbilityMgr != nullptr);
71 ASSERT_TRUE(systemAbilityMgr != nullptr);
407 ASSERT_TRUE(systemAbilityMgr != nullptr);
444 ASSERT_TRUE(systemAbilityMgr != nullptr);
477 ASSERT_TRUE(systemAbilityMgr != nullptr);
510 ASSERT_TRUE(systemAbilityMgr != nullptr);
543 ASSERT_TRUE(systemAbilityMgr != nullptr);
576 ASSERT_TRUE(systemAbilityMgr != nullptr);
609 ASSERT_TRUE(systemAbilityMgr != nullptr);
642 ASSERT_TRUE(systemAbilityMgr != nullptr);
[all …]
H A Dims2_test.cpp59 ASSERT_TRUE(systemAbilityMgr != nullptr);
83 ASSERT_TRUE(systemAbilityMgr != nullptr);
112 ASSERT_TRUE(systemAbilityMgr != nullptr);
139 ASSERT_TRUE(systemAbilityMgr != nullptr);
166 ASSERT_TRUE(systemAbilityMgr != nullptr);
195 ASSERT_TRUE(systemAbilityMgr != nullptr);
224 ASSERT_TRUE(systemAbilityMgr != nullptr);
253 ASSERT_TRUE(systemAbilityMgr != nullptr);
282 ASSERT_TRUE(systemAbilityMgr != nullptr);
311 ASSERT_TRUE(systemAbilityMgr != nullptr);
[all …]
/ohos5.0/base/telephony/cellular_call/services/manager/src/
H A Dcellular_call_callback.cpp31 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ClearCellularCallList() local
32 if (systemAbilityMgr == nullptr) { in ClearCellularCallList()
36 auto remote = systemAbilityMgr->CheckSystemAbility(TELEPHONY_CELLULAR_CALL_SYS_ABILITY_ID); in ClearCellularCallList()
47 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SetReadyToCall() local
48 if (systemAbilityMgr == nullptr) { in SetReadyToCall()
52 auto remote = systemAbilityMgr->CheckSystemAbility(TELEPHONY_CELLULAR_CALL_SYS_ABILITY_ID); in SetReadyToCall()
/ohos5.0/foundation/ability/ability_runtime/interfaces/inner_api/app_manager/src/appmgr/
H A Dapp_service_manager.cpp29 …sptr<ISystemAbilityManager> systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystem… in GetAppMgrService() local
30 if (!systemAbilityMgr) { in GetAppMgrService()
33 return systemAbilityMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in GetAppMgrService()
/ohos5.0/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.cpp27 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBundleManager() local
28 if (!systemAbilityMgr) { in GetBundleManager()
32 auto bundleObj = systemAbilityMgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
/ohos5.0/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()
92 int32_t ret = systemAbilityMgr->UnloadSystemAbility(DISTRIBUTED_HARDWARE_SCREEN_SINK_SA_ID); in ReleaseSink()
/ohos5.0/base/hiviewdfx/hicollie/interfaces/ndk/
H A Dhicollie.cpp55 … auto systemAbilityMgr = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in NotifyAppFault() local
56 if (systemAbilityMgr == nullptr) { in NotifyAppFault()
60 auto appMgrService = systemAbilityMgr->GetSystemAbility(APP_MGR_SERVICE_ID); in NotifyAppFault()
/ohos5.0/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()
/ohos5.0/foundation/window/window_manager/window_scene/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()
/ohos5.0/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()
/ohos5.0/base/web/webview/sa/src/
H A Dapp_fwk_update_client.cpp129 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadFwkService() local
130 if (systemAbilityMgr == nullptr) { in LoadFwkService()
139 …auto ret = systemAbilityMgr->LoadSystemAbility(SUBSYS_WEBVIEW_SYS_UPDATE_SERVICE_ID, loadCallback); in LoadFwkService()
/ohos5.0/foundation/distributedhardware/distributed_hardware_fwk/services/distributedhardwarefwkservice/src/
H A Ddistributed_hardware_manager_factory.cpp108 auto systemAbilityMgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ExitDHFWK() local
109 if (systemAbilityMgr == nullptr) { in ExitDHFWK()
113 int32_t ret = systemAbilityMgr->UnloadSystemAbility(DISTRIBUTED_HARDWARE_SA_ID); in ExitDHFWK()

123