/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/ |
H A D | input_method_ability_utils.cpp | 32 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 D | ansDumpTest.cpp | 65 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 D | bundle_manager_adapter_module_test.cpp | 105 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 D | dump_jsheap_info.cpp | 38 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 D | get_heap_info.cpp | 34 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 D | notification_local_live_view_subscriber.cpp | 74 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 D | telephony_permission.cpp | 40 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 D | local_code_sign_test.cpp | 138 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 D | bundle_manager_helper.cpp | 171 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 D | ability_manager_helper.cpp | 60 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 D | application_state_observer.cpp | 52 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 D | ces_check_service.cpp | 95 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 D | dlp_utils.cpp | 34 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 D | bundle_manager_adapter.cpp | 113 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 D | screenlock_manager.cpp | 141 sptr<ISystemAbilityManager> systemAbilityManager = in GetScreenLockManagerProxy() local 143 if (systemAbilityManager == nullptr) { in GetScreenLockManagerProxy() 147 auto systemAbility = systemAbilityManager->GetSystemAbility(SCREENLOCK_SERVICE_ID, ""); in GetScreenLockManagerProxy()
|
H A D | screenlock_app_manager.cpp | 166 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 D | face_auth_client_impl.cpp | 102 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 D | os_account_interface.cpp | 362 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 D | el5_filekey_manager_client.cpp | 114 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 D | print_service_helper.cpp | 109 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 D | context_appstate_observer.cpp | 37 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 D | request_manager_impl.cpp | 457 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 D | print_service_helper_test.cpp | 76 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 D | ans_innerkits_module_setting_test.cpp | 32 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 D | bundle_manager_adapter.cpp | 185 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()
|