Home
last modified time | relevance | path

Searched refs:sm (Results 1 – 10 of 10) sorted by relevance

/base/startup/init/test/exec_test/
Dsa_service_ondemand_test.cpp68 …sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager… in main() local
69 if (sm == nullptr) { in main()
73 int32_t result = sm->LoadSystemAbility(abilityId, loadCallback_); in main()
/base/update/updateservice/interfaces/inner_api/engine/
Dupdate_service_ondemand.cpp83 …sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager… in LoadUpdaterSa() local
84 if (sm == nullptr) { in LoadUpdaterSa()
88 int32_t result = sm->LoadSystemAbility(UPDATE_DISTRIBUTED_SERVICE_ID, this); in LoadUpdaterSa()
/base/request/request/download/interfaces/kits/js/napi/download_single/src/
Ddownload_manager.cpp206 auto sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadDownloadServer() local
207 if (sm == nullptr) { in LoadDownloadServer()
211 auto systemAbility = sm->GetSystemAbility(DOWNLOAD_SERVICE_ID); in LoadDownloadServer()
222 int32_t result = sm->LoadSystemAbility(DOWNLOAD_SERVICE_ID, loadCallback_); in LoadDownloadServer()
/base/sensors/miscdevice/frameworks/native/miscdevice/src/
Dvibrator_service_client.cpp44 auto sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitServiceClient() local
45 if (sm == nullptr) { in InitServiceClient()
51 …miscdeviceProxy_ = iface_cast<IMiscdeviceService>(sm->GetSystemAbility(MISCDEVICE_SERVICE_ABILITY_… in InitServiceClient()
/base/update/sys_installer/interfaces/innerkits/ipc_client/src/
Dsys_installer_kits_impl.cpp109 …sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager… in Init() local
110 if (sm == nullptr) { in Init()
114 int32_t result = sm->LoadSystemAbility(SYS_INSTALLER_DISTRIBUTED_SERVICE_ID, loadCallback_); in Init()
/base/security/permission_lite/
DREADME_zh.md293 SamgrLite *sm = SAMGR_GetInstance();
294 if (sm == nullptr) {
298sm->RegisterFeature(BMS_SERVICE, reinterpret_cast<Feature *>(BundleMsFeature::GetInstance()));
299 sm->RegisterFeatureApi(BMS_SERVICE, BMS_FEATURE,
DREADME.md357 SamgrLite *sm = SAMGR_GetInstance();
358 if (sm == nullptr) {
362sm->RegisterFeature(BMS_SERVICE, reinterpret_cast<Feature *>(BundleMsFeature::GetInstance()));
363 sm->RegisterFeatureApi(BMS_SERVICE, BMS_FEATURE,
/base/usb/usb_manager/interfaces/innerkits/native/src/
Dusb_srv_client.cpp42 …sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager… in Connect() local
43 if (sm == nullptr) { in Connect()
47 sptr<IRemoteObject> remoteObject = sm->CheckSystemAbility(USB_SYSTEM_ABILITY_ID); in Connect()
/base/telephony/state_registry/service/src/
Dtelephony_state_registry_service.cpp673 …sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager… in IsCommonEventServiceAbilityExist() local
674 if (sm == nullptr) { in IsCommonEventServiceAbilityExist()
678 sptr<IRemoteObject> remote = sm->CheckSystemAbility(COMMON_EVENT_SERVICE_ID); in IsCommonEventServiceAbilityExist()
/base/usb/usb_manager/services/native/src/
Dusb_service.cpp216 …sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager… in IsCommonEventServiceAbilityExist() local
217 if (sm == nullptr) { in IsCommonEventServiceAbilityExist()
223 sptr<IRemoteObject> remote = sm->CheckSystemAbility(COMMON_EVENT_SERVICE_ID); in IsCommonEventServiceAbilityExist()