Searched refs:samgr (Results 26 - 37 of 37) sorted by relevance
12
/base/startup/init/test/unittest/deviceinfo/ |
H A D | DeviceInfoUnittest.cpp | 95 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in HWTEST_F() local 96 DINFO_CHECK(samgr != nullptr, return, "Get samgr failed"); in HWTEST_F() 97 sptr<IRemoteObject> object = samgr->GetSystemAbility(SYSPARAM_DEVICE_SERVICE_ID); in HWTEST_F() 98 DINFO_CHECK(object != nullptr, return, "Get deviceinfo manager object from samgr failed"); in HWTEST_F()
|
/base/startup/init/test/unittest/param/ |
H A D | watcher_agent_unittest.cpp | 193 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in TestResetService() local 194 WATCHER_CHECK(samgr != nullptr, return -1, "Get samgr failed"); in TestResetService() 195 sptr<IRemoteObject> object = samgr->GetSystemAbility(PARAM_WATCHER_DISTRIBUTED_SERVICE_ID); in TestResetService() 196 WATCHER_CHECK(object != nullptr, return -1, "Get watcher manager object from samgr failed"); in TestResetService()
|
/base/hiviewdfx/hidumper/services/native/src/ |
H A D | dump_manager_cpu_service.cpp | 401 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in StartService() local 402 if (samgr == nullptr) { in StartService() 407 int ret = samgr->AddSystemAbility(DFX_SYS_HIDUMPER_CPU_ABILITY_ID, dumpManagerCpuService); in StartService()
|
/base/startup/init/services/param/watcher/agent/ |
H A D | watcher_manager_kits.cpp | 69 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetService() local 70 WATCHER_CHECK(samgr != nullptr, return nullptr, "Get samgr failed"); in GetService() 71 sptr<IRemoteObject> object = samgr->GetSystemAbility(PARAM_WATCHER_DISTRIBUTED_SERVICE_ID); in GetService() 72 WATCHER_CHECK(object != nullptr, return nullptr, "Get watcher manager object from samgr failed"); in GetService()
|
/base/security/asset/interfaces/inner_kits/rs/src/ |
H A D | lib.rs | 22 use samgr::manage::SystemAbilityManager;
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/idl/src/ |
H A D | sys_event_service_ohos.cpp | 151 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in StartService() local 152 if (samgr == nullptr) { in StartService() 160 int ret = samgr->AddSystemAbility(DFX_SYS_EVENT_SERVICE_ABILITY_ID, instance); in StartService()
|
/base/theme/wallpaper_mgr/frameworks/native/src/ |
H A D | wallpaper_manager.cpp | 101 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetService() local 102 if (samgr == nullptr) { in GetService() 103 HILOG_ERROR("Get samgr failed!"); in GetService() 106 sptr<IRemoteObject> object = samgr->GetSystemAbility(WALLPAPER_MANAGER_SERVICE_ID); in GetService() 108 HILOG_ERROR("Get wallpaper object from samgr failed!"); in GetService()
|
/base/account/os_account/interfaces/kits/napi/common/src/ |
H A D | napi_account_common.cpp | 630 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager();
in GetSelfTargetVersion() local 631 if (samgr == nullptr) {
in GetSelfTargetVersion() 635 auto bundleObj = samgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID);
in GetSelfTargetVersion()
|
/base/sensors/sensor/frameworks/js/napi/src/ |
H A D | sensor_napi_utils.cpp | 618 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager();
in GetSelfTargetVersion() local 619 if (samgr == nullptr) {
in GetSelfTargetVersion() 623 auto bundleObj = samgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID);
in GetSelfTargetVersion()
|
/base/security/asset/services/core_service/src/ |
H A D | lib.rs | 24 use samgr::manage::SystemAbilityManager;
|
/base/request/request/test/rustest/src/ |
H A D | lib.rs | 45 use samgr::definition::DOWNLOAD_SERVICE_ID; 46 use samgr::manage::SystemAbilityManager;
|
/base/request/request/services/src/manage/ |
H A D | task_manager.rs | 23 use samgr::manage::SystemAbilityManager;
|
Completed in 11 milliseconds
12