Home
last modified time | relevance | path

Searched refs:systemManager (Results 1 - 17 of 17) sorted by relevance

/foundation/ability/ability_runtime/services/dataobsmgr/src/
H A Ddataobs_mgr_client.cpp147 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetObsMgr() local
148 if (systemManager == nullptr) { in GetObsMgr()
153 auto remoteObject = systemManager->CheckSystemAbility(DATAOBS_MGR_SERVICE_SA_ID); in GetObsMgr()
241 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in OnRemoteDied() local
242 if (systemManager == nullptr) { in OnRemoteDied()
246 systemManager->SubscribeSystemAbility(DATAOBS_MGR_SERVICE_SA_ID, callback_); in OnRemoteDied()
/foundation/ability/ability_runtime/services/abilitymgr/src/
H A Dability_auto_startup_client.cpp67 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Connect() local
68 if (systemManager == nullptr) { in Connect()
69 TAG_LOGE(AAFwkTag::AUTO_STARTUP, "null systemManager"); in Connect()
72 sptr<IRemoteObject> remoteObj = systemManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in Connect()
H A Dability_manager_client.cpp644 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Connect() local
645 if (systemManager == nullptr) { in Connect()
649 sptr<IRemoteObject> remoteObj = systemManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in Connect()
/foundation/ability/form_fwk/services/src/
H A Dform_ams_helper.cpp45 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetAbilityManager() local
46 if (systemManager == nullptr) { in GetAbilityManager()
50 sptr<IRemoteObject> remoteObject = systemManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in GetAbilityManager()
/foundation/resourceschedule/qos_manager/frameworks/concurrent_task_client/src/
H A Dconcurrent_task_client.cpp104 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in TryConnect() local
105 if (!systemManager) { in TryConnect()
110 remoteObject_ = systemManager->GetSystemAbility(CONCURRENT_TASK_SERVICE_ID); in TryConnect()
/foundation/resourceschedule/resource_schedule_service/ressched_executor/interfaces/innerkits/ressched_executor_client/src/
H A Dres_sched_exe_client.cpp109 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in TryConnect() local
110 if (!systemManager) { in TryConnect()
115 remoteObject_ = systemManager->CheckSystemAbility(RES_SCHED_EXE_ABILITY_ID); in TryConnect()
/foundation/ability/ability_runtime/interfaces/inner_api/extension_manager/src/
H A Dextension_manager_client.cpp53 auto systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Connect() local
54 if (systemManager == nullptr) { in Connect()
58 auto remoteObj = systemManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in Connect()
/foundation/arkui/ace_engine/adapter/ohos/services/uiservice/src/
H A Dui_service_mgr_client.cpp143 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Connect() local
144 if (systemManager == nullptr) { in Connect()
148 remoteObject_ = systemManager->GetSystemAbility(UI_MGR_SERVICE_SA_ID); in Connect()
/foundation/multimedia/av_session/services/session/adapter/
H A Dability_connect_helper.cpp136 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetSystemAbility() local
137 if (systemManager == nullptr) { in GetSystemAbility()
141 sptr<IRemoteObject> remote = systemManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in GetSystemAbility()
H A Davsession_dynamic_insight.cpp176 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in StartAVPlayback() local
177 if (systemManager == nullptr) { in StartAVPlayback()
181 sptr<IRemoteObject> remote = systemManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in StartAVPlayback()
/foundation/ability/ability_runtime/interfaces/inner_api/connectionobs_manager/src/
H A Dconnection_observer_client_impl.cpp206 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ConnectLocked() local
207 if (systemManager == nullptr) { in ConnectLocked()
211 sptr<IRemoteObject> remoteObj = systemManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in ConnectLocked()
/foundation/resourceschedule/resource_schedule_service/ressched/interfaces/innerkits/ressched_client/src/
H A Dres_sched_client.cpp234 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in TryConnect() local
235 if (!systemManager) { in TryConnect()
240 remoteObject_ = systemManager->CheckSystemAbility(RES_SCHED_SYS_ABILITY_ID); in TryConnect()
277 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in AddResSaListenerLocked() local
278 if (!systemManager) { in AddResSaListenerLocked()
287 int32_t ret = systemManager->SubscribeSystemAbility(RES_SCHED_SYS_ABILITY_ID, resSchedSvcStatusListener_); in AddResSaListenerLocked()
/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/src/
H A Dwant_agent_client.cpp349 auto systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetAbilityManager() local
350 if (systemManager == nullptr) { in GetAbilityManager()
354 auto remoteObj = systemManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in GetAbilityManager()
/foundation/communication/wifi/wifi/utils/src/
H A Dwifi_common_util.cpp272 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBundleManager() local
273 if (systemManager == nullptr) { in GetBundleManager()
277 return iface_cast<AppExecFwk::IBundleMgr>(systemManager->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID)); in GetBundleManager()
/foundation/ability/form_fwk/interfaces/kits/native/src/
H A Dform_mgr.cpp865 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Connect() local
866 if (systemManager == nullptr) { in Connect()
870 sptr<IRemoteObject> remoteObject = systemManager->GetSystemAbility(FORM_MGR_SERVICE_ID); in Connect()
/foundation/ability/ability_runtime/tools/aa/src/
H A Dability_command.cpp2010 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetAbilityManagerService() local
2011 if (systemManager == nullptr) { in GetAbilityManagerService()
2015 sptr<IRemoteObject> remoteObject = systemManager->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in GetAbilityManagerService()
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/service/data_share/
H A Ddata_share_service_impl.cpp540 sptr<ISystemAbilityManager> systemManager = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager();
541 if (systemManager == nullptr) {
546 systemManager->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, callback);

Completed in 26 milliseconds