Home
last modified time | relevance | path

Searched refs:sm (Results 1 – 12 of 12) 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.cpp77 …sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager… in LoadUpdaterSa() local
78 if (sm == nullptr) { in LoadUpdaterSa()
82 int32_t result = sm->LoadSystemAbility(UPDATE_DISTRIBUTED_SERVICE_ID, this); in LoadUpdaterSa()
/base/update/updateservice/services/startup/manage/src/
Dstartup_manager.cpp123 …sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager… in SAExit() local
124 if (sm == nullptr) { in SAExit()
128 int32_t res = sm->UnloadSystemAbility(UPDATE_DISTRIBUTED_SERVICE_ID); in SAExit()
/base/update/sys_installer/interfaces/innerkits/ipc_client/src/
Dsys_installer_kits_impl.cpp115 …sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager… in Init() local
116 if (sm == nullptr) { in Init()
120 int32_t result = sm->LoadSystemAbility(SYS_INSTALLER_DISTRIBUTED_SERVICE_ID, loadCallback_); in Init()
/base/sensors/miscdevice/frameworks/native/miscdevice/src/
Dvibrator_service_client.cpp56 auto sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitServiceClient() local
57 if (sm == nullptr) { in InitServiceClient()
63 …miscdeviceProxy_ = iface_cast<IMiscdeviceService>(sm->GetSystemAbility(MISCDEVICE_SERVICE_ABILITY_… in InitServiceClient()
/base/request/request/frameworks/native/src/
Drequest_manager.cpp302 auto sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadRequestServer() local
303 if (sm == nullptr) { in LoadRequestServer()
307 auto systemAbility = sm->CheckSystemAbility(DOWNLOAD_SERVICE_ID); in LoadRequestServer()
318 int32_t result = sm->LoadSystemAbility(DOWNLOAD_SERVICE_ID, loadCallback_); in LoadRequestServer()
/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.md241 SamgrLite *sm = SAMGR_GetInstance();
242 if (sm == nullptr) {
246sm->RegisterFeature(BMS_SERVICE, reinterpret_cast<Feature *>(BundleMsFeature::GetInstance()));
247 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/print/print_fwk/frameworks/innerkitsimpl/src/
Dprint_manager_client.cpp511 auto sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadServer() local
512 if (sm == nullptr) { in LoadServer()
523 int32_t result = sm->LoadSystemAbility(PRINT_SERVICE_ID, loadCallback_); in LoadServer()
/base/telephony/state_registry/services/src/
Dtelephony_state_registry_service.cpp781 …sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager… in IsCommonEventServiceAbilityExist() local
782 if (sm == nullptr) { in IsCommonEventServiceAbilityExist()
786 sptr<IRemoteObject> remote = sm->CheckSystemAbility(COMMON_EVENT_SERVICE_ID); in IsCommonEventServiceAbilityExist()
/base/usb/usb_manager/services/native/src/
Dusb_service.cpp253 …sptr<ISystemAbilityManager> sm = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager… in IsCommonEventServiceAbilityExist() local
254 if (sm == nullptr) { in IsCommonEventServiceAbilityExist()
260 sptr<IRemoteObject> remote = sm->CheckSystemAbility(COMMON_EVENT_SERVICE_ID); in IsCommonEventServiceAbilityExist()