/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 | 77 …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/ |
D | startup_manager.cpp | 123 …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/ |
D | sys_installer_kits_impl.cpp | 115 …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/ |
D | vibrator_service_client.cpp | 56 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/ |
D | request_manager.cpp | 302 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/ |
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 | 241 SamgrLite *sm = SAMGR_GetInstance(); 242 if (sm == nullptr) { 246 … sm->RegisterFeature(BMS_SERVICE, reinterpret_cast<Feature *>(BundleMsFeature::GetInstance())); 247 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/print/print_fwk/frameworks/innerkitsimpl/src/ |
D | print_manager_client.cpp | 511 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/ |
D | telephony_state_registry_service.cpp | 781 …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/ |
D | usb_service.cpp | 253 …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()
|