Home
last modified time | relevance | path

Searched refs:samgrProxy (Results 1 - 25 of 46) sorted by relevance

12

/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_common/
H A Dwifi_system_ability_listerner.cpp36 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~WifiSystemAbilityListener() local
37 if (samgrProxy != NULL && statusChangeListener != NULL) { in ~WifiSystemAbilityListener()
39 int32_t ret = samgrProxy->UnSubscribeSystemAbility(id, statusChangeListener); in ~WifiSystemAbilityListener()
56 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeSystemAbility() local
57 if (samgrProxy == NULL || statusChangeListener == NULL) { in SubscribeSystemAbility()
58 WIFI_LOGE("samgrProxy or statusChangeListener is NULL"); in SubscribeSystemAbility()
61 int32_t ret = samgrProxy->SubscribeSystemAbility(systemAbilityId, statusChangeListener); in SubscribeSystemAbility()
78 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnSubscribeSystemAbility() local
79 if (samgrProxy != NULL && statusChangeListener != NULL) { in UnSubscribeSystemAbility()
80 int32_t ret = samgrProxy in UnSubscribeSystemAbility()
[all...]
/foundation/communication/wifi/wifi/frameworks/cj/include/
H A Dwifi_callback.h40 auto samgrProxy = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in CjEventRegister() local
41 if (samgrProxy == nullptr) { in CjEventRegister()
48 ret = samgrProxy->SubscribeSystemAbility((int32_t)WIFI_DEVICE_ABILITY_ID, mSaStatusListener); in CjEventRegister()
49 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_SCAN_ABILITY_ID, mSaStatusListener); in CjEventRegister()
50 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_HOTSPOT_ABILITY_ID, mSaStatusListener); in CjEventRegister()
51 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_P2P_ABILITY_ID, mSaStatusListener); in CjEventRegister()
/foundation/filemanagement/dfs_service/frameworks/native/distributed_file_inner/src/asset/
H A Dasset_adapter_sa_client.cpp48 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeAssetAdapterSA() local
49 if (samgrProxy == nullptr) { in SubscribeAssetAdapterSA()
54 int32_t ret = samgrProxy->SubscribeSystemAbility(FILEMANAGEMENT_DISTRIBUTED_FILE_DAEMON_SA_ID, callback); in SubscribeAssetAdapterSA()
66 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in AddListener() local
67 if (samgrProxy == nullptr) { in AddListener()
96 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in CheckSystemAbilityStatus() local
97 if (samgrProxy == nullptr) { in CheckSystemAbilityStatus()
101 if (!samgrProxy->CheckSystemAbility(FILEMANAGEMENT_DISTRIBUTED_FILE_DAEMON_SA_ID)) { in CheckSystemAbilityStatus()
/foundation/systemabilitymgr/safwk/services/safwk/src/
H A Dsystem_ability.cpp84 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Publish() local
85 if (samgrProxy == nullptr) { in Publish()
86 HILOGE(TAG, "failed to get samgrProxy"); in Publish()
92 int32_t result = samgrProxy->AddSystemAbility(saId_, publishObj_, saExtra); in Publish()
111 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in CancelIdle() local
112 if (samgrProxy == nullptr) { in CancelIdle()
113 HILOGE(TAG, "failed to get samgrProxy"); in CancelIdle()
117 int32_t result = samgrProxy->CancelUnloadSystemAbility(saId_); in CancelIdle()
125 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in StopAbility() local
126 if (samgrProxy in StopAbility()
141 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); GetOnDemandReasonExtraData() local
263 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); Stop() local
410 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); GetSystemAbility() local
[all...]
H A Dlocal_ability_manager.cpp177 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in CheckSystemAbilityManagerReady() local
178 while (samgrProxy == nullptr) { in CheckSystemAbilityManagerReady()
182 samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in CheckSystemAbilityManagerReady()
297 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in AddSystemAbilityListener() local
298 if (samgrProxy == nullptr) { in AddSystemAbilityListener()
299 HILOGE(TAG, "failed to get samgrProxy"); in AddSystemAbilityListener()
317 int32_t ret = samgrProxy->SubscribeSystemAbility(systemAbilityId, listenerMap_[key]); in AddSystemAbilityListener()
351 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in RemoveSystemAbilityListener() local
352 if (samgrProxy == nullptr) { in RemoveSystemAbilityListener()
353 HILOGE(TAG, "failed to get samgrProxy"); in RemoveSystemAbilityListener()
583 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); CheckDependencyStatus() local
666 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); RegisterOnDemandSystemAbility() local
798 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); AddLocalAbilityManager() local
[all...]
/foundation/ability/dmsfwk/services/dtbschedmgr/test/unittest/
H A Ddistributed_sched_test_util.cpp120 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBundleManager() local
121 if (samgrProxy == nullptr) { in GetBundleManager()
124 sptr<IRemoteObject> bmsProxy = samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleManager()
158 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadDistributedSchedService() local
159 if (samgrProxy == nullptr) { in LoadDistributedSchedService()
163 int32_t ret = samgrProxy->LoadSystemAbility(DISTRIBUTED_SCHED_SA_ID, loadCallback); in LoadDistributedSchedService()
/foundation/communication/dsoftbus/core/authentication/src/
H A Dauth_hichain_system_ability_monitor.cpp93 OHOS::sptr<OHOS::ISystemAbilityManager> samgrProxy = in RegHichainSaStatusListener() local
95 if (samgrProxy == nullptr) { in RegHichainSaStatusListener()
100 int32_t ret = samgrProxy->SubscribeSystemAbility(OHOS::DEVICE_AUTH_SERVICE_ID, in RegHichainSaStatusListener()
117 OHOS::sptr<OHOS::ISystemAbilityManager> samgrProxy = in UnRegHichainSaStatusListener() local
119 if (samgrProxy == nullptr) { in UnRegHichainSaStatusListener()
124 int32_t ret = samgrProxy->UnSubscribeSystemAbility(OHOS::DEVICE_AUTH_SERVICE_ID, in UnRegHichainSaStatusListener()
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/commonevent/
H A Ddm_common_event_manager.cpp63 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeServiceEvent() local
64 if (samgrProxy == nullptr) { in SubscribeServiceEvent()
65 LOGE("samgrProxy is nullptr"); in SubscribeServiceEvent()
77 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribeServiceEvent()
111 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnsubscribeServiceEvent() local
112 if (samgrProxy == nullptr) { in UnsubscribeServiceEvent()
113 LOGE("samgrProxy is nullptr"); in UnsubscribeServiceEvent()
116 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribeServiceEvent()
/foundation/distributedhardware/device_manager/services/service/src/publishcommonevent/
H A Ddm_screen_common_event.cpp71 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeScreenCommonEvent() local
72 if (samgrProxy == nullptr) { in SubscribeScreenCommonEvent()
73 LOGE("samgrProxy is nullptr"); in SubscribeScreenCommonEvent()
84 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribeScreenCommonEvent()
118 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnsubscribeScreenCommonEvent() local
119 if (samgrProxy == nullptr) { in UnsubscribeScreenCommonEvent()
120 LOGE("samgrProxy is nullptr"); in UnsubscribeScreenCommonEvent()
123 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribeScreenCommonEvent()
H A Ddm_data_share_common_event.cpp72 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeDataShareCommonEvent() local
73 if (samgrProxy == nullptr) { in SubscribeDataShareCommonEvent()
74 LOGE("samgrProxy is nullptr"); in SubscribeDataShareCommonEvent()
85 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribeDataShareCommonEvent()
119 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnsubscribeDataShareCommonEvent() local
120 if (samgrProxy == nullptr) { in UnsubscribeDataShareCommonEvent()
121 LOGE("samgrProxy is nullptr"); in UnsubscribeDataShareCommonEvent()
124 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribeDataShareCommonEvent()
H A Ddm_account_common_event.cpp71 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeAccountCommonEvent() local
72 if (samgrProxy == nullptr) { in SubscribeAccountCommonEvent()
73 LOGE("samgrProxy is nullptr"); in SubscribeAccountCommonEvent()
84 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribeAccountCommonEvent()
118 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnsubscribeAccountCommonEvent() local
119 if (samgrProxy == nullptr) { in UnsubscribeAccountCommonEvent()
120 LOGE("samgrProxy is nullptr"); in UnsubscribeAccountCommonEvent()
123 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribeAccountCommonEvent()
H A Ddm_package_common_event.cpp71 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribePackageCommonEvent() local
72 if (samgrProxy == nullptr) { in SubscribePackageCommonEvent()
73 LOGE("samgrProxy is nullptr"); in SubscribePackageCommonEvent()
84 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribePackageCommonEvent()
118 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnsubscribePackageCommonEvent() local
119 if (samgrProxy == nullptr) { in UnsubscribePackageCommonEvent()
120 LOGE("samgrProxy is nullptr"); in UnsubscribePackageCommonEvent()
123 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribePackageCommonEvent()
H A Ddm_publish_common_event.cpp73 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribePublishCommonEvent() local
74 if (samgrProxy == nullptr) { in SubscribePublishCommonEvent()
75 LOGE("samgrProxy is nullptr"); in SubscribePublishCommonEvent()
86 if (samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_) == ERR_OK) { in SubscribePublishCommonEvent()
121 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnsubscribePublishCommonEvent() local
122 if (samgrProxy == nullptr) { in UnsubscribePublishCommonEvent()
123 LOGE("samgrProxy is nullptr"); in UnsubscribePublishCommonEvent()
126 int32_t ret = samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in UnsubscribePublishCommonEvent()
/foundation/communication/bluetooth/frameworks/inner/src/
H A Dbluetooth_profile_manager.cpp52 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubScribeBluetoothSystemAbility() local
53 CHECK_AND_RETURN_LOG(samgrProxy != nullptr, "[BLUETOOTH_PROFILE_MANAGER] failed to get samgrProxy"); in SubScribeBluetoothSystemAbility()
54 int32_t ret = samgrProxy->SubscribeSystemAbility(BLUETOOTH_HOST_SYS_ABILITY_ID, bluetoothSystemAbility_); in SubScribeBluetoothSystemAbility()
61 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnSubScribeBluetoothSystemAbility() local
62 CHECK_AND_RETURN_LOG(samgrProxy != nullptr, "[BLUETOOTH_PROFILE_MANAGER] failed to get samgrProxy"); in UnSubScribeBluetoothSystemAbility()
63 int32_t ret = samgrProxy->UnSubscribeSystemAbility(BLUETOOTH_HOST_SYS_ABILITY_ID, bluetoothSystemAbility_); in UnSubScribeBluetoothSystemAbility()
79 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetHostRemote() local
80 CHECK_AND_RETURN_LOG_RET(samgrProxy ! in GetHostRemote()
[all...]
/foundation/filemanagement/app_file_service/services/backup_sa/src/module_ipc/
H A Dsa_backup_connection.cpp47 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in DisconnectBackupSAExt() local
48 if (!samgrProxy) { in DisconnectBackupSAExt()
52 int32_t result = samgrProxy->UnloadSystemAbility(saId_); in DisconnectBackupSAExt()
83 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadBackupSAExt() local
84 if (!samgrProxy) { in LoadBackupSAExt()
88 int32_t ret = samgrProxy->GetRunningSaExtensionInfoList(extension_, saExtentionInfos); in LoadBackupSAExt()
108 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadBackupSAExtInner() local
109 if (!samgrProxy) { in LoadBackupSAExtInner()
118 int32_t ret = samgrProxy->LoadSystemAbility(saId_, loadCallback); in LoadBackupSAExtInner()
/foundation/ability/form_fwk/services/src/
H A Dform_distributed_client.cpp39 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/native/c_adapter/src/
H A Dwifi_c_event.cpp301 auto samgrProxy = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in RegisterWifiEvents() local
302 if (samgrProxy == nullptr) { in RegisterWifiEvents()
303 WIFI_LOGI("samgrProxy is nullptr!"); in RegisterWifiEvents()
311 ret = samgrProxy->SubscribeSystemAbility((int32_t)WIFI_DEVICE_ABILITY_ID, mSaStatusListener); in RegisterWifiEvents()
312 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_SCAN_ABILITY_ID, mSaStatusListener); in RegisterWifiEvents()
313 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_HOTSPOT_ABILITY_ID, mSaStatusListener); in RegisterWifiEvents()
314 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_P2P_ABILITY_ID, mSaStatusListener); in RegisterWifiEvents()
378 auto samgrProxy = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Init() local
379 if (samgrProxy == nullptr) { in Init()
380 WIFI_LOGI("samgrProxy i in Init()
[all...]
/foundation/bundlemanager/app_domain_verify/interfaces/inner_api/client/src/
H A Dapp_domain_verify_agent_client.cpp73 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ConnectService() local
74 if (samgrProxy == nullptr) { in ConnectService()
79 sptr<IRemoteObject> remoteObject = samgrProxy->CheckSystemAbility(APP_DOMAIN_VERIFY_AGENT_SA_ID); in ConnectService()
81 remoteObject = samgrProxy->LoadSystemAbility(APP_DOMAIN_VERIFY_AGENT_SA_ID, LOADSA_TIMEOUT_MS); in ConnectService()
/foundation/communication/wifi/wifi/frameworks/js/napi/inc/
H A Dwifi_napi_event.h126 auto samgrProxy = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in EventRegister() local
127 if (samgrProxy == nullptr) { in EventRegister()
128 WIFI_LOGI("samgrProxy is nullptr!"); in EventRegister()
136 ret = samgrProxy->SubscribeSystemAbility((int32_t)WIFI_DEVICE_ABILITY_ID, mSaStatusListener); in EventRegister()
137 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_SCAN_ABILITY_ID, mSaStatusListener); in EventRegister()
138 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_HOTSPOT_ABILITY_ID, mSaStatusListener); in EventRegister()
139 samgrProxy->SubscribeSystemAbility((int32_t)WIFI_P2P_ABILITY_ID, mSaStatusListener); in EventRegister()
/foundation/ability/dmsfwk/services/dtbabilitymgr/src/
H A Ddistributed_ability_manager_client.cpp34 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()
/foundation/bundlemanager/bundle_framework/interfaces/kits/native/bundle/src/
H A Dbundle_mgr_proxy_native.cpp34 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBmsProxy() local
35 if (samgrProxy == nullptr) { in GetBmsProxy()
39 return samgrProxy->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBmsProxy()
/foundation/systemabilitymgr/samgr/services/samgr/native/test/unittest/src/
H A Dsystem_ability_mgr_proxy_test.cpp1010 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local
1011 int32_t res = samgrProxy->UnloadAllIdleSystemAbility(); in HWTEST_F()
1105 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local
1107 int32_t result = samgrProxy->CancelUnloadSystemAbility(said); in HWTEST_F()
1119 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local
1123 int32_t result = samgrProxy->GetOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); in HWTEST_F()
1135 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local
1139 int32_t result = samgrProxy->UpdateOnDemandPolicy(systemAbilityId, type, abilityOnDemandEvents); in HWTEST_F()
1151 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local
1154 int32_t ret = samgrProxy in HWTEST_F()
1166 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local
1178 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local
1195 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local
1210 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local
1220 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local
1235 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); HWTEST_F() local
[all...]
/foundation/communication/wifi/wifi/frameworks/native/src/
H A Dwifi_sa_event.cpp66 WIFI_LOGI("Init: samgrProxy systemAbilityId:%{public}d!", systemAbilityId); in Init()
67 sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Init() local
68 int32_t ret = samgrProxy->SubscribeSystemAbility(systemAbilityId, this); in Init()
/foundation/deviceprofile/device_info_manager/interfaces/innerkits/core/src/
H A Ddistributed_device_profile_client.cpp62 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadDeviceProfileService() local
63 if (samgrProxy == nullptr) { in LoadDeviceProfileService()
68 int32_t ret = samgrProxy->LoadSystemAbility(DISTRIBUTED_DEVICE_PROFILE_SA_ID, loadCallback); in LoadDeviceProfileService()
375 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetDeviceProfileService() local
376 if (samgrProxy == nullptr) { in GetDeviceProfileService()
380 auto object = samgrProxy->CheckSystemAbility(DISTRIBUTED_DEVICE_PROFILE_SA_ID); in GetDeviceProfileService()
427 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeDeviceProfileSA() local
428 if (samgrProxy == nullptr) { in SubscribeDeviceProfileSA()
438 ret = samgrProxy->SubscribeSystemAbility(DISTRIBUTED_DEVICE_PROFILE_SA_ID, saListenerCallback_); in SubscribeDeviceProfileSA()
/foundation/filemanagement/dfs_service/frameworks/native/cloud_file_kit_inner/src/data_sync/
H A Dtask_state_manager.cpp126 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in DelayUnloadTask()
127 if (samgrProxy == nullptr) { in DelayUnloadTask()
132 int32_t ret = samgrProxy->UnloadSystemAbility(FILEMANAGEMENT_CLOUD_SYNC_SERVICE_SA_ID); in DelayUnloadTask()

Completed in 13 milliseconds

12