Home
last modified time | relevance | path

Searched refs:systemAbilityManager (Results 1 – 25 of 54) sorted by relevance

123

/base/account/os_account/services/accountmgr/test/moduletest/common/
Dbundle_manager_adapter_module_test.cpp100 sptr<ISystemAbilityManager> systemAbilityManager = variable
102 ASSERT_NE(systemAbilityManager, nullptr);
103 …sptr<IRemoteObject> remoteObj = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABIL…
122 sptr<ISystemAbilityManager> systemAbilityManager = variable
124 ASSERT_NE(systemAbilityManager, nullptr);
125 …sptr<IRemoteObject> remoteObj = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABIL…
144 sptr<ISystemAbilityManager> systemAbilityManager = variable
146 ASSERT_NE(systemAbilityManager, nullptr);
147 …sptr<IRemoteObject> remoteObj = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABIL…
164 sptr<ISystemAbilityManager> systemAbilityManager = variable
[all …]
/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dinput_method_ability_utils.cpp26 sptr<ISystemAbilityManager> systemAbilityManager = in GetImsaProxy() local
28 if (systemAbilityManager == nullptr) { in GetImsaProxy()
33 auto systemAbility = systemAbilityManager->GetSystemAbility(INPUT_METHOD_SYSTEM_ABILITY_ID, ""); in GetImsaProxy()
/base/notification/distributed_notification_service/test/systemtest/acts/ansDump/
DansDumpTest.cpp65 sptr<ISystemAbilityManager> systemAbilityManager = variable
67 EXPECT_NE(systemAbilityManager, nullptr);
70 systemAbilityManager->GetSystemAbility(ADVANCED_NOTIFICATION_SERVICE_ABILITY_ID);
/base/account/os_account/services/accountmgr/src/osaccount/
Dos_account_interface.cpp260 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SendToStorageAccountCreate() local
261 if (!systemAbilityManager) { in SendToStorageAccountCreate()
268 auto remote = systemAbilityManager->CheckSystemAbility(STORAGE_MANAGER_MANAGER_ID); in SendToStorageAccountCreate()
302 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SendToStorageAccountRemove() local
303 if (!systemAbilityManager) { in SendToStorageAccountRemove()
310 auto remote = systemAbilityManager->GetSystemAbility(STORAGE_MANAGER_MANAGER_ID); in SendToStorageAccountRemove()
343 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SendToStorageAccountStart() local
344 if (!systemAbilityManager) { in SendToStorageAccountStart()
351 auto remote = systemAbilityManager->CheckSystemAbility(STORAGE_MANAGER_MANAGER_ID); in SendToStorageAccountStart()
392 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SendToStorageAccountStop() local
[all …]
/base/customization/enterprise_device_management/services/edm/src/connection/
Denterprise_conn_manager.cpp72 sptr<ISystemAbilityManager> systemAbilityManager = in GetAbilityMgrProxy() local
74 if (systemAbilityManager == nullptr) { in GetAbilityMgrProxy()
79 … sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in GetAbilityMgrProxy()
/base/request/request/services/service/rust/src/c_wrapper/source/
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/security/huks/services/huks_standard/huks_service/main/systemapi_wrap/bms/src/
Dhks_bms_api_wrap.cpp43 sptr<ISystemAbilityManager> systemAbilityManager = in GetBundleMgrProxy() local
45 HKS_IF_NULL_LOGE_RETURN(systemAbilityManager, nullptr, "fail to get system ability mgr.") in GetBundleMgrProxy()
47 …sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_A… in GetBundleMgrProxy()
/base/notification/common_event_service/test/systemtest/common/ces/ces_check_service/
Dces_check_service.cpp95 sptr<ISystemAbilityManager> systemAbilityManager = variable
97 EXPECT_NE(systemAbilityManager, nullptr);
99 …sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(COMMON_EVENT_SERVICE_ID);
/base/notification/common_event_service/services/src/
Dability_manager_helper.cpp59 sptr<ISystemAbilityManager> systemAbilityManager = in GetAbilityMgrProxy() local
61 if (systemAbilityManager == nullptr) { in GetAbilityMgrProxy()
66 … sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in GetAbilityMgrProxy()
Dbundle_manager_helper.cpp161 sptr<ISystemAbilityManager> systemAbilityManager = in GetBundleMgrProxy() local
163 if (!systemAbilityManager) { in GetBundleMgrProxy()
169 systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleMgrProxy()
/base/security/code_signature/test/unittest/
Dlocal_code_sign_test.cpp131 sptr<ISystemAbilityManager> systemAbilityManager = variable
133 EXPECT_NE(systemAbilityManager, nullptr);
135 systemAbilityManager->GetSystemAbility(LOCAL_CODE_SIGN_SA_ID);
/base/print/print_fwk/services/src/
Dprint_service_helper.cpp96 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBundleMgr() local
97 if (systemAbilityManager == nullptr) { in GetBundleMgr()
102 return systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleMgr()
/base/useriam/face_auth/frameworks/ipc/src/
Dface_auth_client_impl.cpp102 sptr<ISystemAbilityManager> systemAbilityManager = in GetProxy() local
104 if (systemAbilityManager == nullptr) { in GetProxy()
109 …sptr<IRemoteObject> obj = systemAbilityManager->CheckSystemAbility(SUBSYS_USERIAM_SYS_ABILITY_FACE… in GetProxy()
/base/update/updateservice/services/engine/src/
Dupdate_notify.cpp37 sptr<ISystemAbilityManager> systemAbilityManager = in InitAbilityManagerService() local
39 if (systemAbilityManager == nullptr) { in InitAbilityManagerService()
43 … sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in InitAbilityManagerService()
/base/theme/screenlock_mgr/frameworks/native/src/
Dscreenlock_app_manager.cpp93 sptr<ISystemAbilityManager> systemAbilityManager = in GetScreenLockManagerProxy() local
95 if (systemAbilityManager == nullptr) { in GetScreenLockManagerProxy()
99 auto systemAbility = systemAbilityManager->GetSystemAbility(SCREENLOCK_SERVICE_ID, ""); in GetScreenLockManagerProxy()
Dscreenlock_manager.cpp124 sptr<ISystemAbilityManager> systemAbilityManager = in GetScreenLockManagerProxy() local
126 if (systemAbilityManager == nullptr) { in GetScreenLockManagerProxy()
130 auto systemAbility = systemAbilityManager->GetSystemAbility(SCREENLOCK_SERVICE_ID, ""); in GetScreenLockManagerProxy()
/base/notification/distributed_notification_service/services/ans/src/
Dbundle_manager_helper.cpp115 sptr<ISystemAbilityManager> systemAbilityManager = in Connect() local
117 if (systemAbilityManager == nullptr) { in Connect()
121 …sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_A… in Connect()
/base/notification/distributed_notification_service/frameworks/ans/src/
Dnotification_subscriber.cpp121 sptr<ISystemAbilityManager> systemAbilityManager = in GetAnsManagerProxy() local
123 if (!systemAbilityManager) { in GetAnsManagerProxy()
128 systemAbilityManager->GetSystemAbility(ADVANCED_NOTIFICATION_SERVICE_ABILITY_ID); in GetAnsManagerProxy()
/base/telephony/core_service/utils/common/src/
Dtelephony_permission.cpp40 OHOS::sptr<OHOS::ISystemAbilityManager> systemAbilityManager = in GetBundleNameByUid() local
43 systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleNameByUid()
/base/hiviewdfx/hidumper/services/native/src/
Ddump_app_state_observer.cpp34 OHOS::sptr<OHOS::ISystemAbilityManager> systemAbilityManager = in GetAppManagerInstance() local
36 …OHOS::sptr<OHOS::IRemoteObject> appObject = systemAbilityManager->GetSystemAbility(OHOS::APP_MGR_S… in GetAppManagerInstance()
/base/hiviewdfx/hidumper/frameworks/native/src/executor/memory/
Dget_heap_info.cpp34 OHOS::sptr<OHOS::ISystemAbilityManager> systemAbilityManager = in GetAppManagerInstance() local
36 …OHOS::sptr<OHOS::IRemoteObject> appObject = systemAbilityManager->GetSystemAbility(OHOS::APP_MGR_S… in GetAppManagerInstance()
/base/account/os_account/services/accountmgr/src/bundle_manager_adapter/
Dbundle_manager_adapter.cpp182 sptr<ISystemAbilityManager> systemAbilityManager = in Connect() local
184 if (systemAbilityManager == nullptr) { in Connect()
190 …sptr<IRemoteObject> remoteObj = systemAbilityManager->CheckSystemAbility(BUNDLE_MGR_SERVICE_SYS_AB… in Connect()
/base/sensors/medical_sensor/services/medical_sensor/test/unittest/phone/
Dmedical_proxy_test.cpp66 auto systemAbilityManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SetUp() local
67 ASSERT_NE(systemAbilityManager, nullptr); in SetUp()
69 …iface_cast<IMedicalSensorService>(systemAbilityManager->GetSystemAbility(MEDICAL_SENSOR_SERVICE_AB… in SetUp()
/base/inputmethod/imf/test/unittest/cpp_test/common/src/
Dtdd_util.cpp193 sptr<ISystemAbilityManager> systemAbilityManager = in GetBundleMgr() local
195 if (systemAbilityManager == nullptr) { in GetBundleMgr()
199 …sptr<IRemoteObject> remoteObject = systemAbilityManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_A… in GetBundleMgr()
/base/notification/distributed_notification_service/frameworks/test/moduletest/
Dans_innerkits_module_setting_test.cpp32 static sptr<ISystemAbilityManager> systemAbilityManager = variable
53systemAbilityManager->AddSystemAbility(OHOS::ADVANCED_NOTIFICATION_SERVICE_ABILITY_ID, service_, s… in SetUpTestCase()

123