/foundation/systemabilitymgr/safwk/services/safwk/src/ |
D | system_ability.cpp | 85 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in Publish() local 86 if (samgrProxy == nullptr) { in Publish() 93 int32_t result = samgrProxy->AddSystemAbility(saId_, publishObj_, saExtra); in Publish() 109 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in CancelIdle() local 110 if (samgrProxy == nullptr) { in CancelIdle() 114 int32_t result = samgrProxy->CancelUnloadSystemAbility(saId_); in CancelIdle() 122 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in StopAbility() local 123 if (samgrProxy == nullptr) { in StopAbility() 128 int32_t ret = samgrProxy->RemoveSystemAbility(systemAbilityId); in StopAbility() 137 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in GetOnDemandReasonExtraData() local [all …]
|
D | local_ability_manager.cpp | 157 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in CheckSystemAbilityManagerReady() local 158 while (samgrProxy == nullptr) { in CheckSystemAbilityManagerReady() 162 samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in CheckSystemAbilityManagerReady() 278 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in AddSystemAbilityListener() local 279 if (samgrProxy == nullptr) { in AddSystemAbilityListener() 297 sptr<IRemoteObject> object = samgrProxy->CheckSystemAbility(systemAbilityId); in AddSystemAbilityListener() 306 … int32_t ret = samgrProxy->SubscribeSystemAbility(systemAbilityId, GetSystemAbilityStatusChange()); in AddSystemAbilityListener() 344 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in RemoveSystemAbilityListener() local 345 if (samgrProxy == nullptr) { in RemoveSystemAbilityListener() 349 …int32_t ret = samgrProxy->UnSubscribeSystemAbility(systemAbilityId, GetSystemAbilityStatusChange()… in RemoveSystemAbilityListener() [all …]
|
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/commonevent/ |
D | dm_common_event_manager.cpp | 58 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeServiceEvent() local 59 if (samgrProxy == nullptr) { in SubscribeServiceEvent() 70 … int32_t ret = samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in SubscribeServiceEvent() 100 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnsubscribeServiceEvent() local 101 if (samgrProxy == nullptr) { in UnsubscribeServiceEvent() 105 …int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribeServiceEvent()
|
/foundation/communication/wifi/wifi/frameworks/native/c_adapter/src/ |
D | wifi_c_event.cpp | 261 auto samgrProxy = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in RegisterWifiEvents() local 262 if (samgrProxy == nullptr) { in RegisterWifiEvents() 271 … ret = samgrProxy->SubscribeSystemAbility((int32_t)WIFI_DEVICE_ABILITY_ID, mSaStatusListener); in RegisterWifiEvents() 272 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_SCAN_ABILITY_ID, mSaStatusListener); in RegisterWifiEvents() 273 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_HOTSPOT_ABILITY_ID, mSaStatusListener); in RegisterWifiEvents() 274 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_P2P_ABILITY_ID, mSaStatusListener); in RegisterWifiEvents() 342 auto samgrProxy = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Init() local 343 if (samgrProxy == nullptr) { in Init() 352 … ret = samgrProxy->SubscribeSystemAbility((int32_t)WIFI_DEVICE_ABILITY_ID, mSaStatusListener); in Init() 353 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_SCAN_ABILITY_ID, mSaStatusListener); in Init() [all …]
|
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/ |
D | distributed_sched_util.cpp | 101 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in GetBundleManager() local 102 if (samgrProxy == nullptr) { in GetBundleManager() 105 sptr<IRemoteObject> bmsProxy = samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager() 165 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadDistributedSchedService() local 166 if (samgrProxy == nullptr) { in LoadDistributedSchedService() 170 int32_t ret = samgrProxy->LoadSystemAbility(DISTRIBUTED_SCHED_SA_ID, loadCallback); in LoadDistributedSchedService()
|
/foundation/ability/form_fwk/services/src/ |
D | form_distributed_client.cpp | 39 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetDmsServiceProxy() local 40 if (samgrProxy == nullptr) { in GetDmsServiceProxy() 44 dmsProxy_ = samgrProxy->GetSystemAbility(DISTRIBUTED_SCHED_SA_ID); in GetDmsServiceProxy()
|
/foundation/communication/wifi/wifi/frameworks/js/napi/inc/ |
D | wifi_napi_event.h | 122 auto samgrProxy = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in EventRegister() local 123 if (samgrProxy == nullptr) { in EventRegister() 132 … ret = samgrProxy->SubscribeSystemAbility((int32_t)WIFI_DEVICE_ABILITY_ID, mSaStatusListener); in EventRegister() 133 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_SCAN_ABILITY_ID, mSaStatusListener); in EventRegister() 134 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_HOTSPOT_ABILITY_ID, mSaStatusListener); in EventRegister() 135 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_P2P_ABILITY_ID, mSaStatusListener); in EventRegister()
|
/foundation/bundlemanager/bundle_framework/interfaces/kits/native/bundle/src/ |
D | bundle_mgr_proxy_native.cpp | 33 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBmsProxy() local 34 if (samgrProxy == nullptr) { in GetBmsProxy() 38 return samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBmsProxy()
|
/foundation/ability/dmsfwk/services/dtbabilitymgr/src/ |
D | distributed_ability_manager_client.cpp | 34 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetContinuationMgrService() local 35 if (samgrProxy == nullptr) { in GetContinuationMgrService() 39 sptr<IRemoteObject> remoteObj = samgrProxy->GetSystemAbility(CONTINUATION_MANAGER_SA_ID); in GetContinuationMgrService()
|
D | distributed_ability_manager_service.cpp | 377 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in QueryExtensionAbilityInfo() local 378 if (samgrProxy == nullptr) { in QueryExtensionAbilityInfo() 382 sptr<IRemoteObject> bmsProxy = samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in QueryExtensionAbilityInfo()
|
/foundation/communication/wifi/wifi/frameworks/native/src/ |
D | wifi_sa_event.cpp | 67 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in Init() local 68 int32_t ret = samgrProxy->SubscribeSystemAbility(systemAbilityId, this); in Init()
|
/foundation/deviceprofile/device_info_manager/interfaces/innerkits/core/src/ |
D | distributed_device_profile_client.cpp | 65 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadDeviceProfileService() local 66 if (samgrProxy == nullptr) { in LoadDeviceProfileService() 71 int32_t ret = samgrProxy->LoadSystemAbility(DISTRIBUTED_DEVICE_PROFILE_SA_ID, loadCallback); in LoadDeviceProfileService() 275 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetDeviceProfileService() local 276 if (samgrProxy == nullptr) { in GetDeviceProfileService() 280 auto object = samgrProxy->CheckSystemAbility(DISTRIBUTED_DEVICE_PROFILE_SA_ID); in GetDeviceProfileService()
|
/foundation/window/window_manager/window_scene/session_manager/src/ |
D | distributed_client.cpp | 32 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetDmsProxy() local 33 if (samgrProxy == nullptr) { in GetDmsProxy() 37 return samgrProxy->CheckSystemAbility(DISTRIBUTED_SCHED_SA_ID); in GetDmsProxy()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/bundle/ |
D | bundle_manager_internal.cpp | 288 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in GetBundleManager() local 289 if (samgrProxy == nullptr) { in GetBundleManager() 292 sptr<IRemoteObject> bmsProxy = samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager() 302 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in GetDistributedBundleManager() local 303 if (samgrProxy == nullptr) { in GetDistributedBundleManager() 307 …sptr<IRemoteObject> dbmsProxy = samgrProxy->GetSystemAbility(DISTRIBUTED_BUNDLE_MGR_SERVICE_SYS_AB… in GetDistributedBundleManager()
|
/foundation/resourceschedule/memmgr/interface/innerkits/src/ |
D | mem_mgr_client.cpp | 218 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetMemMgrService() local 219 if (samgrProxy == nullptr) { in GetMemMgrService() 223 auto object = samgrProxy->GetSystemAbility(MEMORY_MANAGER_SA_ID); in GetMemMgrService()
|
/foundation/deviceprofile/device_info_manager/services/core/src/ |
D | distributed_device_profile_service.cpp | 176 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in DelayUnloadTask() local 177 if (samgrProxy == nullptr) { in DelayUnloadTask() 181 int32_t ret = samgrProxy->UnloadSystemAbility(DISTRIBUTED_DEVICE_PROFILE_SA_ID); in DelayUnloadTask()
|
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/ |
D | system_ability_mgr_proxy_test.cpp | 889 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… variable 891 int32_t result = samgrProxy->CancelUnloadSystemAbility(said); 903 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… variable 907 int32_t result = samgrProxy->GetOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); 919 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… variable 923 int32_t result = samgrProxy->UpdateOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); 935 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… variable 938 int32_t ret = samgrProxy->GetOnDemandReasonExtraData(EXTRA_DATA_ID, extraDataParcel); 950 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… variable 951 int32_t ret = samgrProxy->SubscribeSystemProcess(nullptr);
|
/foundation/communication/bluetooth/frameworks/inner/src/ |
D | bluetooth_load_system_ability.cpp | 57 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in SubScribeBluetoothSystemAbility() local 58 if (samgrProxy == nullptr) { in SubScribeBluetoothSystemAbility() 62 int32_t ret = samgrProxy->SubscribeSystemAbility(BLUETOOTH_HOST_SYS_ABILITY_ID, this); in SubScribeBluetoothSystemAbility()
|
D | bluetooth_host.cpp | 367 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitBluetoothHostProxy() local 368 if (samgrProxy == nullptr) { in InitBluetoothHostProxy() 372 auto object = samgrProxy->CheckSystemAbility(BLUETOOTH_HOST_SYS_ABILITY_ID); in InitBluetoothHostProxy() 427 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadBluetoothHostService() local 428 if (samgrProxy == nullptr) { in LoadBluetoothHostService() 432 auto object = samgrProxy->CheckSystemAbility(BLUETOOTH_HOST_SYS_ABILITY_ID); in LoadBluetoothHostService() 447 int32_t ret = samgrProxy->LoadSystemAbility(BLUETOOTH_HOST_SYS_ABILITY_ID, loadCallback); in LoadBluetoothHostService() 547 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Init() local 548 if (samgrProxy == nullptr) { in Init() 552 auto object = samgrProxy->CheckSystemAbility(BLUETOOTH_HOST_SYS_ABILITY_ID); in Init()
|
/foundation/distributeddatamgr/pasteboard/framework/innerkits/src/ |
D | pasteboard_client.cpp | 303 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in ConnectService() local 304 if (samgrProxy == nullptr) { in ConnectService() 309 sptr<IRemoteObject> remoteObject = samgrProxy->CheckSystemAbility(PASTEBOARD_SERVICE_ID); in ConnectService() 325 int32_t ret = samgrProxy->LoadSystemAbility(PASTEBOARD_SERVICE_ID, loadCallback); in ConnectService()
|
/foundation/ability/dmsfwk/services/dtbschedmgr/src/mission/ |
D | distributed_data_storage.cpp | 87 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in WaitKvDataService() local 88 if (samgrProxy == nullptr) { in WaitKvDataService() 94 auto kvDataSvr = samgrProxy->CheckSystemAbility(DISTRIBUTED_KV_DATA_SERVICE_ABILITY_ID); in WaitKvDataService()
|
/foundation/deviceprofile/device_info_manager/services/core/src/dbstorage/ |
D | device_profile_storage_manager.cpp | 105 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in WaitKvDataService() local 106 if (samgrProxy == nullptr) { in WaitKvDataService() 112 auto kvDataSvr = samgrProxy->CheckSystemAbility(DISTRIBUTED_KV_DATA_SERVICE_ABILITY_ID); in WaitKvDataService()
|
/foundation/ability/ability_runtime/frameworks/native/ability/native/distributed_ability_runtime/ |
D | distributed_client.cpp | 32 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetDmsProxy() local 33 if (samgrProxy == nullptr) { in GetDmsProxy() 37 return samgrProxy->CheckSystemAbility(DISTRIBUTED_SCHED_SA_ID); in GetDmsProxy()
|
/foundation/communication/bluetooth_service/services/bluetooth/service/src/hfp_ag/ |
D | hfp_ag_system_interface.cpp | 49 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in Start() local 50 if (samgrProxy == nullptr) { in Start() 55 …int32_t ret = samgrProxy->SubscribeSystemAbility(TELEPHONY_CALL_MANAGER_SYS_ABILITY_ID, statusChan… in Start()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sta/ |
D | sta_state_machine.cpp | 112 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~StaStateMachine() local 113 if (samgrProxy != NULL && statusChangeListener_ != NULL) { in ~StaStateMachine() 114 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMM_NET_CONN_MANAGER_SYS_ABILITY_ID, in ~StaStateMachine() 2416 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeSystemAbilityChanged() local 2418 if (samgrProxy == nullptr || statusChangeListener_ == nullptr) { in SubscribeSystemAbilityChanged() 2422 …int32_t ret = samgrProxy->SubscribeSystemAbility(COMM_NET_CONN_MANAGER_SYS_ABILITY_ID, statusChang… in SubscribeSystemAbilityChanged()
|