Home
last modified time | relevance | path

Searched refs:samgr (Results 101 - 125 of 246) sorted by relevance

12345678910

/foundation/communication/netmanager_base/test/netmanagernative/unittest/netsys_manager_test/
H A Dresolver_config_test.cpp40 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 Ddatashare_delegate.cpp53 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 Ddcamera_sink_service_ipc.cpp88 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 Ddaudio_source_proxy_test.cpp35 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 Ddcamera_source_service_ipc.cpp88 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 Ddistributed_input_source_handler.cpp46 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 Ddistributed_input_source_sa_cli_mgr.cpp75 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 Ddscreen_sink_handler.cpp63 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 Dtest_server_service.cpp168 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 Dmtp_storage_manager.cpp36 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 Ddcamera_source_handler_ipc_test.cpp135 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 Ddcamera_sink_handler_ipc_test.cpp135 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 Dendpoint_rpc.c118 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 Dnetwork_route.cpp36 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 Dintell_voice_manager.cpp58 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 Ddeferred_photo_proc_session.cpp249 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 Dstream_repeat_stub_fuzzer.cpp106 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 Dmedia_key_system_factory_impl.cpp53 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 Dsoftbus_server_proxy_frame.cpp56 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 Dnetsys_wrapper_test.cpp52 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 Dwifi_toggler_manager.cpp293 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 Dipc_client_manager.cpp49 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 Ddaudio_sink_handler.cpp56 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 Ddaudio_source_handler.cpp56 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 Ddscreen_source_handler.cpp64 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()

Completed in 11 milliseconds

12345678910