Home
last modified time | relevance | path

Searched refs:systemAbilityManager (Results 1 - 25 of 62) sorted by relevance

123

/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
H A Dinput_method_ability_utils.cpp32 sptr<ISystemAbilityManager> systemAbilityManager = in GetImsaProxy() local
34 if (systemAbilityManager == nullptr) { in GetImsaProxy()
35 IMSA_HILOGE("ImaUtils systemAbilityManager is nullptr!"); in GetImsaProxy()
39 auto systemAbility = systemAbilityManager->GetSystemAbility(INPUT_METHOD_SYSTEM_ABILITY_ID, ""); in GetImsaProxy()
/base/notification/distributed_notification_service/test/systemtest/acts/ansDump/
H A DansDumpTest.cpp65 sptr<ISystemAbilityManager> systemAbilityManager = in HWTEST_F() local
67 EXPECT_NE(systemAbilityManager, nullptr); in HWTEST_F()
70 systemAbilityManager->GetSystemAbility(ADVANCED_NOTIFICATION_SERVICE_ABILITY_ID); in HWTEST_F()
/base/account/os_account/services/accountmgr/test/moduletest/common/
H A Dbundle_manager_adapter_module_test.cpp105 sptr<ISystemAbilityManager> systemAbilityManager = in HWTEST_F() local
107 ASSERT_NE(systemAbilityManager, nullptr); in HWTEST_F()
108 sptr<IRemoteObject> remoteObj = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in HWTEST_F()
127 sptr<ISystemAbilityManager> systemAbilityManager = in HWTEST_F() local
129 ASSERT_NE(systemAbilityManager, nullptr); in HWTEST_F()
130 sptr<IRemoteObject> remoteObj = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in HWTEST_F()
149 sptr<ISystemAbilityManager> systemAbilityManager = in HWTEST_F() local
151 ASSERT_NE(systemAbilityManager, nullptr); in HWTEST_F()
152 sptr<IRemoteObject> remoteObj = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in HWTEST_F()
169 sptr<ISystemAbilityManager> systemAbilityManager in HWTEST_F() local
191 sptr<ISystemAbilityManager> systemAbilityManager = HWTEST_F() local
259 sptr<ISystemAbilityManager> systemAbilityManager = HWTEST_F() local
[all...]
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
H A Ddump_jsheap_info.cpp38 OHOS::sptr<OHOS::ISystemAbilityManager> systemAbilityManager = in DumpJsHeapMemory() local
41 OHOS::iface_cast<OHOS::AppExecFwk::IAppMgr>(systemAbilityManager->GetSystemAbility(OHOS::APP_MGR_SERVICE_ID)); in DumpJsHeapMemory()
H A Dget_heap_info.cpp34 OHOS::sptr<OHOS::ISystemAbilityManager> systemAbilityManager = in GetAppManagerInstance() local
36 OHOS::sptr<OHOS::IRemoteObject> appObject = systemAbilityManager->GetSystemAbility(OHOS::APP_MGR_SERVICE_ID); in GetAppManagerInstance()
/base/notification/distributed_notification_service/frameworks/ans/src/
H A Dnotification_local_live_view_subscriber.cpp74 sptr<ISystemAbilityManager> systemAbilityManager = in GetAnsManagerProxy() local
76 if (!systemAbilityManager) { in GetAnsManagerProxy()
81 systemAbilityManager->GetSystemAbility(ADVANCED_NOTIFICATION_SERVICE_ABILITY_ID); in GetAnsManagerProxy()
/base/telephony/core_service/utils/common/src/
H A Dtelephony_permission.cpp40 OHOS::sptr<OHOS::ISystemAbilityManager> systemAbilityManager = in GetBundleNameByUid() local
42 if (systemAbilityManager == nullptr) { in GetBundleNameByUid()
43 TELEPHONY_LOGE("systemAbilityManager is nullptr"); in GetBundleNameByUid()
47 systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleNameByUid()
/base/security/code_signature/test/unittest/
H A Dlocal_code_sign_test.cpp138 sptr<ISystemAbilityManager> systemAbilityManager = in HWTEST_F() local
140 EXPECT_NE(systemAbilityManager, nullptr); in HWTEST_F()
142 systemAbilityManager->GetSystemAbility(LOCAL_CODE_SIGN_SA_ID); in HWTEST_F()
272 sptr<ISystemAbilityManager> systemAbilityManager = in HWTEST_F() local
274 EXPECT_NE(systemAbilityManager, nullptr); in HWTEST_F()
276 systemAbilityManager->GetSystemAbility(LOCAL_CODE_SIGN_SA_ID); in HWTEST_F()
/base/notification/common_event_service/services/src/
H A Dbundle_manager_helper.cpp171 sptr<ISystemAbilityManager> systemAbilityManager = in GetBundleMgrProxyInner() local
173 if (!systemAbilityManager) { in GetBundleMgrProxyInner()
179 remoteObject = systemAbilityManager->CheckSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleMgrProxyInner()
181 remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleMgrProxyInner()
H A Dability_manager_helper.cpp60 sptr<ISystemAbilityManager> systemAbilityManager = in GetAbilityMgrProxy() local
62 if (systemAbilityManager == nullptr) { in GetAbilityMgrProxy()
67 sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in GetAbilityMgrProxy()
/base/request/request/services/src/cxx/
H A Dapplication_state_observer.cpp52 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in RegisterAppStateChanged() local
53 if (systemAbilityManager == nullptr) { in RegisterAppStateChanged()
57 auto systemAbility = systemAbilityManager->GetSystemAbility(APP_MGR_SERVICE_ID); in RegisterAppStateChanged()
/base/notification/common_event_service/test/systemtest/common/ces/ces_check_service/
H A Dces_check_service.cpp95 sptr<ISystemAbilityManager> systemAbilityManager = in HWTEST_F() local
97 EXPECT_NE(systemAbilityManager, nullptr); in HWTEST_F()
99 sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(COMMON_EVENT_SERVICE_ID); in HWTEST_F()
/base/security/dlp_permission_service/interfaces/inner_api/dlp_parse/src/
H A Ddlp_utils.cpp34 sptr<ISystemAbilityManager> systemAbilityManager = in GetBundleMgrProxy() local
36 if (systemAbilityManager == nullptr) { in GetBundleMgrProxy()
41 sptr<IRemoteObject> remoteObj = systemAbilityManager->CheckSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleMgrProxy()
/base/security/dlp_permission_service/services/dlp_permission/sa/sa_common/
H A Dbundle_manager_adapter.cpp113 sptr<ISystemAbilityManager> systemAbilityManager = in Connect() local
115 if (systemAbilityManager == nullptr) { in Connect()
120 sptr<IRemoteObject> remoteObj = systemAbilityManager->CheckSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in Connect()
/base/theme/screenlock_mgr/frameworks/native/src/
H A Dscreenlock_manager.cpp141 sptr<ISystemAbilityManager> systemAbilityManager = in GetScreenLockManagerProxy() local
143 if (systemAbilityManager == nullptr) { in GetScreenLockManagerProxy()
147 auto systemAbility = systemAbilityManager->GetSystemAbility(SCREENLOCK_SERVICE_ID, ""); in GetScreenLockManagerProxy()
H A Dscreenlock_app_manager.cpp166 sptr<ISystemAbilityManager> systemAbilityManager = in GetScreenLockManagerProxy() local
168 if (systemAbilityManager == nullptr) { in GetScreenLockManagerProxy()
172 auto systemAbility = systemAbilityManager->GetSystemAbility(SCREENLOCK_SERVICE_ID, ""); in GetScreenLockManagerProxy()
/base/useriam/face_auth/frameworks/ipc/src/
H A Dface_auth_client_impl.cpp102 sptr<ISystemAbilityManager> systemAbilityManager = in GetProxy() local
104 if (systemAbilityManager == nullptr) { in GetProxy()
105 IAM_LOGE("failed to get systemAbilityManager."); in GetProxy()
109 sptr<IRemoteObject> obj = systemAbilityManager->CheckSystemAbility(SUBSYS_USERIAM_SYS_ABILITY_FACEAUTH); in GetProxy()
/base/account/os_account/services/accountmgr/src/osaccount/
H A Dos_account_interface.cpp362 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InnerSendToStorageAccountCreate() local
364 if (!systemAbilityManager) { in InnerSendToStorageAccountCreate()
371 auto remote = systemAbilityManager->CheckSystemAbility(STORAGE_MANAGER_MANAGER_ID); in InnerSendToStorageAccountCreate()
408 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SendToStorageAccountRemove() local
409 if (!systemAbilityManager) { in SendToStorageAccountRemove()
416 auto remote = systemAbilityManager->GetSystemAbility(STORAGE_MANAGER_MANAGER_ID); in SendToStorageAccountRemove()
450 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetStorageProxy() local
451 if (!systemAbilityManager) { in GetStorageProxy()
455 auto remote = systemAbilityManager->CheckSystemAbility(STORAGE_MANAGER_MANAGER_ID); in GetStorageProxy()
542 auto systemAbilityManager in SendToStorageAccountStop() local
[all...]
/base/security/access_token/interfaces/innerkits/el5filekeymanager/src/
H A Del5_filekey_manager_client.cpp114 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetProxy() local
115 if (systemAbilityManager == nullptr) { in GetProxy()
120 auto el5FilekeyService = systemAbilityManager->CheckSystemAbility(EL5_FILEKEY_MANAGER_SERVICE_ID); in GetProxy()
128 systemAbilityManager->LoadSystemAbility(EL5_FILEKEY_MANAGER_SERVICE_ID, LOAD_SA_TIMEOUT_SECOND); in GetProxy()
/base/print/print_fwk/services/print_service/src/
H A Dprint_service_helper.cpp109 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBundleMgr() local
110 if (systemAbilityManager == nullptr) { in GetBundleMgr()
115 return systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleMgr()
/base/useriam/user_auth_framework/services/context/src/
H A Dcontext_appstate_observer.cpp37 sptr<ISystemAbilityManager> systemAbilityManager = in GetAppManagerInstance() local
39 if (systemAbilityManager == nullptr) { in GetAppManagerInstance()
40 IAM_LOGE("systemAbilityManager is nullptr"); in GetAppManagerInstance()
44 sptr<IRemoteObject> object = systemAbilityManager->GetSystemAbility(APP_MGR_SERVICE_ID); in GetAppManagerInstance()
46 IAM_LOGE("systemAbilityManager remote object is nullptr"); in GetAppManagerInstance()
/base/request/request/frameworks/native/src/
H A Drequest_manager_impl.cpp457 sptr<ISystemAbilityManager> systemAbilityManager = in GetRequestServiceProxy() local
459 if (systemAbilityManager == nullptr) { in GetRequestServiceProxy()
463 auto systemAbility = systemAbilityManager->GetSystemAbility(DOWNLOAD_SERVICE_ID, ""); in GetRequestServiceProxy()
484 sptr<ISystemAbilityManager> systemAbilityManager = in SubscribeSA() local
486 if (systemAbilityManager == nullptr) { in SubscribeSA()
495 if (systemAbilityManager->SubscribeSystemAbility(DOWNLOAD_SERVICE_ID, saChangeListener_) != E_OK) { in SubscribeSA()
508 sptr<ISystemAbilityManager> systemAbilityManager = in UnsubscribeSA() local
510 if (systemAbilityManager == nullptr) { in UnsubscribeSA()
514 if (systemAbilityManager->UnSubscribeSystemAbility(DOWNLOAD_SERVICE_ID, saChangeListener_) != E_OK) { in UnsubscribeSA()
/base/print/print_fwk/test/unittest/service_test/
H A Dprint_service_helper_test.cpp76 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local
77 EXPECT_EQ(helper.GetBundleMgr(), systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID)); in HWTEST_F()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
H A Dans_innerkits_module_setting_test.cpp32 static sptr<ISystemAbilityManager> systemAbilityManager = member
53 systemAbilityManager->AddSystemAbility(OHOS::ADVANCED_NOTIFICATION_SERVICE_ABILITY_ID, service_, saExtraProp); in SetUpTestCase()
/base/account/os_account/services/accountmgr/src/bundle_manager_adapter/
H A Dbundle_manager_adapter.cpp185 sptr<ISystemAbilityManager> systemAbilityManager = in Connect() local
187 if (systemAbilityManager == nullptr) { in Connect()
193 sptr<IRemoteObject> remoteObj = systemAbilityManager->CheckSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in Connect()

Completed in 12 milliseconds

123