/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/ |
H A D | resolver_config_test.cpp | 40 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ConnManagerGetProxy() local 41 if (samgr == nullptr) { in ConnManagerGetProxy() 45 auto remote = samgr->GetSystemAbility(COMM_NETSYS_NATIVE_SYS_ABILITY_ID); in ConnManagerGetProxy()
|
/foundation/distributeddatamgr/pasteboard/adapter/data_share/ |
H A D | datashare_delegate.cpp | 53 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Initialize() local 54 if (samgr == nullptr) { in Initialize() 58 auto remoteObj = samgr->GetSystemAbility(PASTEBOARD_SA_ID); in Initialize()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcameramgr/ |
H A D | dcamera_sink_service_ipc.cpp | 88 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetSourceRemoteCamSrv() local 89 if (samgr == nullptr) { in GetSourceRemoteCamSrv() 94 auto object = samgr->CheckSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SOURCE_SA_ID, deviceId); in GetSourceRemoteCamSrv()
|
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/test/unittest/audiosourcetest/src/ |
H A D | daudio_source_proxy_test.cpp | 35 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SetUp() local 36 if (samgr == nullptr) { in SetUp() 39 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_AUDIO_SINK_SA_ID); in SetUp()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/ |
H A D | dcamera_source_service_ipc.cpp | 88 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetSinkRemoteCamSrv() local 89 if (samgr == nullptr) { in GetSinkRemoteCamSrv() 94 auto object = samgr->CheckSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID, deviceId); in GetSinkRemoteCamSrv()
|
/foundation/distributedhardware/distributed_input/sourcehandler/src/ |
H A D | distributed_input_source_handler.cpp | 46 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitSource() local 47 if (!samgr) { in InitSource() 54 int32_t ret = samgr->LoadSystemAbility(DISTRIBUTED_HARDWARE_INPUT_SOURCE_SA_ID, loadCallback); in InitSource()
|
/foundation/distributedhardware/distributed_input/services/source/sourcemanager/src/ |
H A D | distributed_input_source_sa_cli_mgr.cpp | 75 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetRemoteCli() local 76 if (samgr == nullptr) { in GetRemoteCli() 81 auto object = samgr->CheckSystemAbility(DISTRIBUTED_HARDWARE_INPUT_SOURCE_SA_ID, deviceId); in GetRemoteCli()
|
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_sink/src/ |
H A D | dscreen_sink_handler.cpp | 63 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitSink() local 64 if (samgr == nullptr) { in InitSink() 67 "dscreen sink get samgr failed."); in InitSink() 78 int32_t ret = samgr->LoadSystemAbility(DISTRIBUTED_HARDWARE_SCREEN_SINK_SA_ID, loadCallback); in InitSink()
|
/test/testfwk/arkxtest/testserver/src/service/ |
H A D | test_server_service.cpp | 168 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in RemoveTestServer() local 169 if (samgr == nullptr) { in RemoveTestServer() 173 auto res = samgr->UnloadSystemAbility(TEST_SERVER_SA_ID); in RemoveTestServer()
|
/foundation/multimedia/media_library/frameworks/services/media_mtp/src/ |
H A D | mtp_storage_manager.cpp | 36 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in MtpStorageManager() local 37 auto remote = samgr->GetSystemAbility(STORAGE_MANAGER_MANAGER_ID); in MtpStorageManager()
|
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/unittest/common/camera_source/ |
H A D | dcamera_source_handler_ipc_test.cpp | 135 sptr<ISystemAbilityManager> samgr = in HWTEST_F() local 137 wptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(systemAbilityId); in HWTEST_F()
|
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/unittest/common/camera_sink/ |
H A D | dcamera_sink_handler_ipc_test.cpp | 135 sptr<ISystemAbilityManager> samgr = in HWTEST_F() local 137 wptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(systemAbilityId); in HWTEST_F()
|
/foundation/systemabilitymgr/samgr_lite/samgr_endpoint/source/ |
H A D | endpoint_rpc.c | 118 SvcIdentity *samgr = GetContextObject();
in SAMGR_AddSysCap() local 121 int ret = SendRequest(*samgr, INVALID_INDEX, &req, &reply,
in SAMGR_AddSysCap() 153 SvcIdentity *samgr = GetContextObject();
in SAMGR_GetSysCap() local 156 int ret = SendRequest(*samgr, INVALID_INDEX, &req, &reply,
in SAMGR_GetSysCap() 183 SvcIdentity *samgr = GetContextObject();
in SendGetAllSysCapsRequest() local 186 int ret = SendRequest(*samgr, INVALID_INDEX, &req, reply,
in SendGetAllSysCapsRequest()
|
/foundation/communication/netmanager_base/test/netmanagernative/unit_test/ |
H A D | network_route.cpp | 36 NETNATIVE_LOGE("Get samgr >>>>>>>>>>>>>>>>>>>>>>>>>>"); in GetProxyR() 37 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetProxyR() local 38 NETNATIVE_LOGE("Get samgr %{public}p", samgr.GetRefPtr()); in GetProxyR() 39 std::cout << "Get samgr " << samgr.GetRefPtr() << std::endl; in GetProxyR() 41 auto remote = samgr->GetSystemAbility(COMM_NETSYS_NATIVE_SYS_ABILITY_ID); in GetProxyR()
|
/foundation/ai/intelligent_voice_framework/frameworks/native/ |
H A D | intell_voice_manager.cpp | 58 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Init() local 59 if (samgr == nullptr) { in Init() 64 auto object = samgr->LoadSystemAbility(INTELL_VOICE_SERVICE_ID, LOAD_SA_TIMEOUT_S); in Init()
|
/foundation/multimedia/camera_framework/frameworks/native/camera/src/deferred_proc_session/ |
H A D | deferred_photo_proc_session.cpp | 249 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ConnectDeferredProcessingSession() local 250 CHECK_ERROR_RETURN_LOG(samgr == nullptr, "Failed to get System ability manager"); in ConnectDeferredProcessingSession() 251 object = samgr->GetSystemAbility(CAMERA_SERVICE_ID); in ConnectDeferredProcessingSession()
|
/foundation/multimedia/camera_framework/test/fuzztest/streamrepeatstub_fuzzer/ |
H A D | stream_repeat_stub_fuzzer.cpp | 106 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager();
in TestHandleSetCallback() local 107 CHECK_ERROR_RETURN(!samgr);
in TestHandleSetCallback() 108 object = samgr->GetSystemAbility(AUDIO_POLICY_SERVICE_ID);
in TestHandleSetCallback()
|
/foundation/multimedia/drm_framework/frameworks/native/drm/ |
H A D | media_key_system_factory_impl.cpp | 53 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager();
in GetServiceProxy() local 54 DRM_CHECK_AND_RETURN_RET_LOG(samgr != nullptr, nullptr,
in GetServiceProxy() 56 object = samgr->GetSystemAbility(MEDIA_KEY_SYSTEM_SERVICE_ID);
in GetServiceProxy()
|
/foundation/communication/dsoftbus/sdk/frame/standard/src/ |
H A D | softbus_server_proxy_frame.cpp | 56 const std::u16string SAMANAGER_INTERFACE_TOKEN = u"ohos.samgr.accessToken"; 109 OHOS::sptr<OHOS::IRemoteObject> samgr = OHOS::IPCSkeleton::GetContextObject(); in GetSystemAbility() local 110 if (samgr == nullptr) { in GetSystemAbility() 111 COMM_LOGE(COMM_EVENT, "Get samgr failed!"); in GetSystemAbility() 114 int32_t err = samgr->SendRequest(g_getSystemAbilityId, data, reply, option); in GetSystemAbility()
|
/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_wrapper_test/ |
H A D | netsys_wrapper_test.cpp | 52 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SetUpTestCase() local 53 if (samgr == nullptr) { in SetUpTestCase() 56 auto remote = samgr->GetSystemAbility(OHOS::COMM_NETSYS_NATIVE_SYS_ABILITY_ID); in SetUpTestCase()
|
/foundation/communication/wifi/wifi/services/wifi_standard/wifi_framework/wifi_manage/wifi_sub_manage/ |
H A D | wifi_toggler_manager.cpp | 293 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager();
in IsInterfaceUp() local 294 if (samgr == nullptr) {
in IsInterfaceUp() 298 auto remote = samgr->GetSystemAbility(COMM_NETSYS_NATIVE_SYS_ABILITY_ID);
in IsInterfaceUp()
|
/foundation/distributedhardware/device_manager/interfaces/inner_kits/native_cpp/src/ipc/standard/ |
H A D | ipc_client_manager.cpp | 49 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ClientInit() local 50 if (samgr == nullptr) { in ClientInit() 55 auto object = samgr->CheckSystemAbility(DISTRIBUTED_HARDWARE_DEVICEMANAGER_SA_ID); in ClientInit()
|
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/audio_sink/src/ |
H A D | daudio_sink_handler.cpp | 56 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitSink() local 57 CHECK_NULL_RETURN(samgr, ERR_DH_AUDIO_NULLPTR); in InitSink() 59 int32_t ret = samgr->LoadSystemAbility(DISTRIBUTED_HARDWARE_AUDIO_SINK_SA_ID, loadCallback); in InitSink()
|
/foundation/distributedhardware/distributed_audio/interfaces/inner_kits/native_cpp/audio_source/src/ |
H A D | daudio_source_handler.cpp | 56 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitSource() local 57 CHECK_NULL_RETURN(samgr, ERR_DH_AUDIO_NULLPTR); in InitSource() 60 int32_t ret = samgr->LoadSystemAbility(DISTRIBUTED_HARDWARE_AUDIO_SOURCE_SA_ID, loadCallback); in InitSource()
|
/foundation/distributedhardware/distributed_screen/interfaces/innerkits/native_cpp/screen_source/src/ |
H A D | dscreen_source_handler.cpp | 64 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitSource() local 65 if (samgr == nullptr) { in InitSource() 68 "dscreen source get samgr failed."); in InitSource() 73 int32_t ret = samgr->LoadSystemAbility(DISTRIBUTED_HARDWARE_SCREEN_SOURCE_SA_ID, loadCallback); in InitSource()
|