Searched refs:sm (Results 1 – 10 of 10) sorted by relevance
/base/startup/init/test/exec_test/ |
D | sa_service_ondemand_test.cpp | 68 …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/ |
D | update_service_ondemand.cpp | 83 …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/ |
D | download_manager.cpp | 206 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/ |
D | vibrator_service_client.cpp | 44 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/ |
D | sys_installer_kits_impl.cpp | 109 …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/ |
D | README_zh.md | 293 SamgrLite *sm = SAMGR_GetInstance(); 294 if (sm == nullptr) { 298 … sm->RegisterFeature(BMS_SERVICE, reinterpret_cast<Feature *>(BundleMsFeature::GetInstance())); 299 sm->RegisterFeatureApi(BMS_SERVICE, BMS_FEATURE,
|
D | README.md | 357 SamgrLite *sm = SAMGR_GetInstance(); 358 if (sm == nullptr) { 362 … sm->RegisterFeature(BMS_SERVICE, reinterpret_cast<Feature *>(BundleMsFeature::GetInstance())); 363 sm->RegisterFeatureApi(BMS_SERVICE, BMS_FEATURE,
|
/base/usb/usb_manager/interfaces/innerkits/native/src/ |
D | usb_srv_client.cpp | 42 …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/ |
D | telephony_state_registry_service.cpp | 673 …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/ |
D | usb_service.cpp | 216 …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()
|