Home
last modified time | relevance | path

Searched refs:samgr (Results 1 - 5 of 5) sorted by relevance

/drivers/peripheral/usb/hdi_service/src/
H A Dusbd_load_usb_service.cpp75 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadService() local
76 if (samgr == nullptr) { in LoadService()
80 auto saObj = samgr->CheckSystemAbility(saId_); in LoadService()
94 int32_t result = samgr->LoadSystemAbility(saId_, loadCallback_); in LoadService()
/drivers/external_device_manager/test/unittest/driver_extension_manager_client_test/
H A Ddriver_extension_manager_client_test.cpp90 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SetUpTestCase() local
91 if (samgr == nullptr) { in SetUpTestCase()
92 EDM_LOGE(EDM_MODULE_TEST, "%{public}s get samgr failed", __func__); in SetUpTestCase()
97 auto saObj = samgr->CheckSystemAbility(HDF_EXTERNAL_DEVICE_MANAGER_SA_ID); in SetUpTestCase()
105 int32_t ret = samgr->LoadSystemAbility(HDF_EXTERNAL_DEVICE_MANAGER_SA_ID, loadCallback_); in SetUpTestCase()
119 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in TearDownTestCase() local
120 if (samgr == nullptr) { in TearDownTestCase()
121 EDM_LOGE(EDM_MODULE_TEST, "%{public}s get samgr failed", __func__); in TearDownTestCase()
125 int32_t ret = samgr->UnloadSystemAbility(HDF_EXTERNAL_DEVICE_MANAGER_SA_ID); in TearDownTestCase()
240 sptr<ISystemAbilityManager> samgr in HWTEST_F() local
[all...]
/drivers/external_device_manager/test/unittest/drivers_pkg_manager_test/src/
H A Ddriver_pkg_manager_test.cpp61 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SetUpTestCase() local
62 if (samgr == nullptr) { in SetUpTestCase()
63 EDM_LOGE(EDM_MODULE_TEST, "%{public}s get samgr failed", __func__); in SetUpTestCase()
67 auto saObj = samgr->CheckSystemAbility(HDF_EXTERNAL_DEVICE_MANAGER_SA_ID); in SetUpTestCase()
76 int32_t ret = samgr->LoadSystemAbility(HDF_EXTERNAL_DEVICE_MANAGER_SA_ID, loadCallback_); in SetUpTestCase()
94 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in TearDownTestCase() local
95 if (samgr == nullptr) { in TearDownTestCase()
96 EDM_LOGE(EDM_MODULE_TEST, "%{public}s get samgr failed", __func__); in TearDownTestCase()
100 int32_t ret = samgr->UnloadSystemAbility(HDF_EXTERNAL_DEVICE_MANAGER_SA_ID); in TearDownTestCase()
H A Dpkg_db_helper_test.cpp116 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadSaService() local
117 if (samgr == nullptr) { in LoadSaService()
118 EDM_LOGE(EDM_MODULE_TEST, "%{public}s get samgr failed", __func__); in LoadSaService()
122 auto saObj = samgr->CheckSystemAbility(HDF_EXTERNAL_DEVICE_MANAGER_SA_ID); in LoadSaService()
131 ret = samgr->LoadSystemAbility(HDF_EXTERNAL_DEVICE_MANAGER_SA_ID, loadCallback_); in LoadSaService()
154 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnLoadSaService() local
155 if (samgr == nullptr) { in UnLoadSaService()
156 EDM_LOGE(EDM_MODULE_TEST, "%{public}s get samgr failed", __func__); in UnLoadSaService()
160 int32_t ret = samgr->UnloadSystemAbility(HDF_EXTERNAL_DEVICE_MANAGER_SA_ID); in UnLoadSaService()
/drivers/peripheral/bluetooth/audio/hal/hdi_passthrough/src/
H A Daudio_bluetooth_manager.cpp132 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetProxy() local
133 if (!samgr) { in GetProxy()
134 HDF_LOGE("%{public}s: error: no samgr", __func__); in GetProxy()
138 sptr<IRemoteObject> hostRemote = samgr->GetSystemAbility(BLUETOOTH_HOST_SYS_ABILITY_ID); in GetProxy()

Completed in 4 milliseconds