Home
last modified time | relevance | path

Searched refs:samgr (Results 51 - 75 of 241) sorted by relevance

12345678910

/test/xts/device_attest/interfaces/innerkits/native_cpp/src/
H A Ddevattest_client.cpp77 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadDevAttestProfile() local
78 if (samgr == nullptr) { in LoadDevAttestProfile()
82 int32_t ret = samgr->LoadSystemAbility(DevAttestInterface::SA_ID_DEVICE_ATTEST_SERVICE, loadCallback); in LoadDevAttestProfile()
/foundation/multimedia/av_codec/services/services/sa_avcodec/client/
H A Davcodec_client.cpp127 sptr<ISystemAbilityManager> samgr = nullptr; in GetAVCodecProxy() local
128 CLIENT_COLLIE_LISTEN(samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(), in GetAVCodecProxy()
130 CHECK_AND_RETURN_RET_LOG(samgr != nullptr, nullptr, "system ability manager is nullptr."); in GetAVCodecProxy()
133 CLIENT_COLLIE_LISTEN(object = samgr->GetSystemAbility(OHOS::AV_CODEC_SERVICE_ID), "AVCodecClient GetAVCodecProxy"); in GetAVCodecProxy()
135 CLIENT_COLLIE_LISTEN(object = samgr->LoadSystemAbility(OHOS::AV_CODEC_SERVICE_ID, 30), // 30: timeout in GetAVCodecProxy()
/foundation/filemanagement/storage_service/services/storage_daemon/client/
H A Dstorage_daemon_client.cpp41 auto samgr = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetStorageDaemonProxy() local
42 if (samgr == nullptr) { in GetStorageDaemonProxy()
43 LOGE("samgr empty error"); in GetStorageDaemonProxy()
47 sptr<IRemoteObject> object = samgr->GetSystemAbility(OHOS::STORAGE_MANAGER_DAEMON_ID); in GetStorageDaemonProxy()
49 LOGE("storage daemon client samgr ablity empty error"); in GetStorageDaemonProxy()
60 auto samgr = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in CheckServiceStatus() local
61 if (samgr == nullptr) { in CheckServiceStatus()
62 LOGW("samgr is nullptr, retry"); in CheckServiceStatus()
64 samgr = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in CheckServiceStatus()
65 if (samgr ! in CheckServiceStatus()
[all...]
/foundation/CastEngine/castengine_cast_framework/client/src/
H A Dcast_session_manager.cpp59 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetAdaptor() local
60 if (samgr == nullptr) { in GetAdaptor()
70 auto result = samgr->LoadSystemAbility(CAST_ENGINE_SA_ID, loadCallback); in GetAdaptor()
81 while ((object = samgr->CheckSystemAbility(CAST_ENGINE_SA_ID)) == nullptr && (retryTime < retryTimes)) { in GetAdaptor()
/foundation/communication/netmanager_base/test/netmanagernative/unit_test/
H A Dresolver_config.cpp35 NETNATIVE_LOGE("Get samgr >>>>>>>>>>>>>>>>>>>>>>>>>>"); in GetProxyK()
36 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetProxyK() local
37 NETNATIVE_LOGE("Get samgr %{public}p", samgr.GetRefPtr()); in GetProxyK()
38 std::cout << "Get samgr " << samgr.GetRefPtr() << std::endl; in GetProxyK()
40 auto remote = samgr->GetSystemAbility(COMM_NETSYS_NATIVE_SYS_ABILITY_ID); in GetProxyK()
/test/testfwk/arkxtest/testserver/src/client/
H A Dtest_server_client.cpp100 sptr<ISystemAbilityManager> samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadTestServer() local
101 if (samgr == nullptr) { in LoadTestServer()
105 auto object = samgr->CheckSystemAbility(systemAbilityId); in LoadTestServer()
112 int32_t ret = samgr->LoadSystemAbility(systemAbilityId, testServerLoadCallback); in LoadTestServer()
/foundation/multimedia/camera_framework/services/deferred_processing_service/src/event_monitor/
H A Devents_monitor.cpp241 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeSystemAbility() local
242 DP_CHECK_ERROR_RETURN_RET_LOG(samgr == nullptr, DP_NULL_POINTER, "failed to get system ability manager"); in SubscribeSystemAbility()
247 int32_t ret = samgr->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, ceListener_); in SubscribeSystemAbility()
256 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnSubscribeSystemAbility() local
257 DP_CHECK_ERROR_RETURN_RET_LOG(samgr == nullptr, DP_NULL_POINTER, "failed to get System ability manager"); in UnSubscribeSystemAbility()
259 int32_t ret = samgr->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, ceListener_); in UnSubscribeSystemAbility()
/foundation/multimedia/player_framework/services/utils/
H A Dmedia_utils.cpp72 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetClientBundleName() local
73 if (samgr == nullptr) { in GetClientBundleName()
78 sptr<IRemoteObject> object = samgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetClientBundleName()
102 auto samgr = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetBundleResourceLabel() local
103 if (samgr == nullptr) { in GetBundleResourceLabel()
108 sptr<IRemoteObject> object = samgr->GetSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID); in GetBundleResourceLabel()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkproxyopenchannel_fuzzer/
H A Dsinkproxyopenchannel_fuzzer.cpp37 sptr<ISystemAbilityManager> samgr = in SinkProxyOpenChannelFuzzTest() local
39 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID); in SinkProxyOpenChannelFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkproxyreleasesink_fuzzer/
H A Dsinkproxyreleasesink_fuzzer.cpp35 sptr<ISystemAbilityManager> samgr = in SinkProxyReleaseSinkFuzzTest() local
37 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID); in SinkProxyReleaseSinkFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkproxyinitsink_fuzzer/
H A Dsinkproxyinitsink_fuzzer.cpp37 sptr<ISystemAbilityManager> samgr = in SinkProxyInitSinkFuzzTest() local
39 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID); in SinkProxyInitSinkFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sourcefuzztest/sourceproxyunregisterdistributedhardware_fuzzer/
H A Dsourceproxyunregisterdistributedhardware_fuzzer.cpp36 sptr<ISystemAbilityManager> samgr = in SourceProxyUnregisterDistributedHardwareFuzzTest() local
38 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SOURCE_SA_ID); in SourceProxyUnregisterDistributedHardwareFuzzTest()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/test/unittest/common/distributedcamera/
H A Ddcamera_sink_callback_proxy_test.cpp67 sptr<ISystemAbilityManager> samgr = in HWTEST_F() local
69 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID); in HWTEST_F()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sourcefuzztest/onsourcelocalcamsrvdied_fuzzer/
H A Donsourcelocalcamsrvdied_fuzzer.cpp36 sptr<ISystemAbilityManager> samgr = in OnSourceLocalCamSrvDiedFuzzTest() local
38 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(saId); in OnSourceLocalCamSrvDiedFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkproxygetcamerainfo_fuzzer/
H A Dsinkproxygetcamerainfo_fuzzer.cpp37 sptr<ISystemAbilityManager> samgr = in SinkProxyGetCameraInfoFuzzTest() local
39 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID); in SinkProxyGetCameraInfoFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkproxyclosechannel_fuzzer/
H A Dsinkproxyclosechannel_fuzzer.cpp35 sptr<ISystemAbilityManager> samgr = in SinkProxyCloseChannelFuzzTest() local
37 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID); in SinkProxyCloseChannelFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sourcefuzztest/sourceonloadsystemabilitysuccess_fuzzer/
H A Dsourceonloadsystemabilitysuccess_fuzzer.cpp38 sptr<ISystemAbilityManager> samgr = in SourceOnLoadSystemAbilitySuccessFuzzTest() local
40 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(systemAbilityId); in SourceOnLoadSystemAbilitySuccessFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/onsinklocalcamsrvdied_fuzzer/
H A Donsinklocalcamsrvdied_fuzzer.cpp36 sptr<ISystemAbilityManager> samgr = in OnSinkLocalCamSrvDiedFuzzTest() local
38 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(saId); in OnSinkLocalCamSrvDiedFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkonloadsystemabilitysuccess_fuzzer/
H A Dsinkonloadsystemabilitysuccess_fuzzer.cpp38 sptr<ISystemAbilityManager> samgr = in SinkOnLoadSystemAbilitySuccessFuzzTest() local
40 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(systemAbilityId); in SinkOnLoadSystemAbilitySuccessFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkproxychannelneg_fuzzer/
H A Dsinkproxychannelneg_fuzzer.cpp37 sptr<ISystemAbilityManager> samgr = in SinkProxyChannelNegFuzzTest() local
39 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID); in SinkProxyChannelNegFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkproxyunsubscribelocalhardware_fuzzer/
H A Dsinkproxyunsubscribelocalhardware_fuzzer.cpp36 sptr<ISystemAbilityManager> samgr = in SinkProxyUnsubscribeLocalHardwareFuzzTest() local
38 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID); in SinkProxyUnsubscribeLocalHardwareFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkproxysubscribelocalhardware_fuzzer/
H A Dsinkproxysubscribelocalhardware_fuzzer.cpp37 sptr<ISystemAbilityManager> samgr = in SinkProxySubscribeLocalHardwareFuzzTest() local
39 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID); in SinkProxySubscribeLocalHardwareFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sinkfuzztest/sinkproxystopcapture_fuzzer/
H A Dsinkproxystopcapture_fuzzer.cpp36 sptr<ISystemAbilityManager> samgr = in SinkProxyStopCaptureFuzzTest() local
38 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SINK_SA_ID); in SinkProxyStopCaptureFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sourcefuzztest/sourceproxydcameranotify_fuzzer/
H A Dsourceproxydcameranotify_fuzzer.cpp36 sptr<ISystemAbilityManager> samgr = in SourceProxyDCameraNotifyFuzzTest() local
38 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SOURCE_SA_ID); in SourceProxyDCameraNotifyFuzzTest()
/foundation/distributedhardware/distributed_camera/interfaces/inner_kits/native_cpp/test/sourcefuzztest/sourceproxyinitsource_fuzzer/
H A Dsourceproxyinitsource_fuzzer.cpp33 sptr<ISystemAbilityManager> samgr = in SourceProxyInitSourceFuzzTest() local
35 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SOURCE_SA_ID); in SourceProxyInitSourceFuzzTest()

Completed in 9 milliseconds

12345678910