/test/xts/device_attest/interfaces/innerkits/native_cpp/src/ |
H A D | devattest_client.cpp | 77 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 D | avcodec_client.cpp | 127 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 D | storage_daemon_client.cpp | 41 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 D | cast_session_manager.cpp | 59 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 D | resolver_config.cpp | 35 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 D | test_server_client.cpp | 100 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 D | events_monitor.cpp | 241 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 D | media_utils.cpp | 72 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 D | sinkproxyopenchannel_fuzzer.cpp | 37 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 D | sinkproxyreleasesink_fuzzer.cpp | 35 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 D | sinkproxyinitsink_fuzzer.cpp | 37 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 D | sourceproxyunregisterdistributedhardware_fuzzer.cpp | 36 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 D | dcamera_sink_callback_proxy_test.cpp | 67 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 D | onsourcelocalcamsrvdied_fuzzer.cpp | 36 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 D | sinkproxygetcamerainfo_fuzzer.cpp | 37 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 D | sinkproxyclosechannel_fuzzer.cpp | 35 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 D | sourceonloadsystemabilitysuccess_fuzzer.cpp | 38 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 D | onsinklocalcamsrvdied_fuzzer.cpp | 36 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 D | sinkonloadsystemabilitysuccess_fuzzer.cpp | 38 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 D | sinkproxychannelneg_fuzzer.cpp | 37 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 D | sinkproxyunsubscribelocalhardware_fuzzer.cpp | 36 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 D | sinkproxysubscribelocalhardware_fuzzer.cpp | 37 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 D | sinkproxystopcapture_fuzzer.cpp | 36 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 D | sourceproxydcameranotify_fuzzer.cpp | 36 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 D | sourceproxyinitsource_fuzzer.cpp | 33 sptr<ISystemAbilityManager> samgr = in SourceProxyInitSourceFuzzTest() local 35 sptr<IRemoteObject> remoteObject = samgr->GetSystemAbility(DISTRIBUTED_HARDWARE_CAMERA_SOURCE_SA_ID); in SourceProxyInitSourceFuzzTest()
|