/base/useriam/user_auth_framework/frameworks/native/client/src/ |
D | ipc_client_utils.cpp | 29 auto sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetRemoteObject() local 30 if (!sam) { in GetRemoteObject() 35 obj = sam->CheckSystemAbility(saId); in GetRemoteObject()
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_manager_client.cpp | 68 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… in Connect() local 69 if (sam == nullptr) { in Connect() 72 sptr<IRemoteObject> remoteObject = sam->CheckSystemAbility(DFX_SYS_HIDUMPER_ABILITY_ID); in Connect() 74 ErrCode retStart = OnDemandStart(sam, remoteObject); in Connect() 132 ErrCode DumpManagerClient::OnDemandStart(sptr<ISystemAbilityManager> sam, sptr<IRemoteObject> &remo… in OnDemandStart() argument 135 int32_t result = sam->LoadSystemAbility(DFX_SYS_HIDUMPER_ABILITY_ID, loadCallback); in OnDemandStart() 148 remoteObject = sam->CheckSystemAbility(DFX_SYS_HIDUMPER_ABILITY_ID); in OnDemandStart()
|
D | dump_manager_cpu_client.cpp | 56 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… in Connect() local 57 if (sam == nullptr) { in Connect() 61 sptr<IRemoteObject> remoteObject = sam->CheckSystemAbility(DFX_SYS_HIDUMPER_CPU_ABILITY_ID); in Connect()
|
/base/powermgr/powermgr_lite/services/src/ |
D | screen_saver_feature.c | 73 SamgrLite *sam = SAMGR_GetInstance(); in Init() local 74 if (sam == NULL) { in Init() 84 BOOL result = sam->RegisterFeature(POWER_MANAGE_SERVICE, (Feature *)feature); in Init() 89 …result = sam->RegisterFeatureApi(POWER_MANAGE_SERVICE, POWER_SCREEN_SAVER_FEATURE, GET_IUNKNOWN(*f… in Init()
|
D | power_manage_feature.c | 102 SamgrLite *sam = SAMGR_GetInstance(); in Init() local 103 if (sam == NULL) { in Init() 113 BOOL result = sam->RegisterFeature(POWER_MANAGE_SERVICE, (Feature *)feature); in Init() 118 …result = sam->RegisterFeatureApi(POWER_MANAGE_SERVICE, POWER_MANAGE_FEATURE, GET_IUNKNOWN(*feature… in Init()
|
/base/hiviewdfx/hidumper/frameworks/native/src/executor/ |
D | sa_dumper.cpp | 151 DumpStatus SADumper::GetData(const std::string &name, const sptr<ISystemAbilityManager> &sam) in GetData() argument 158 sptr<IRemoteObject> sa = sam->CheckSystemAbility(id); in GetData() 182 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… in Execute() local 183 if (sam == nullptr) { in Execute() 188 U16StringVector vct = sam->ListSystemAbilities(); in Execute() 192 if (GetData(names_[i], sam) != DumpStatus::DUMP_OK) { in Execute()
|
/base/security/access_token/interfaces/innerkits/tokensync/src/ |
D | token_sync_manager_client.cpp | 77 auto sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in GetProxy() local 78 if (sam == nullptr) { in GetProxy() 83 auto tokensyncSa = sam->GetSystemAbility(ITokenSyncManager::SA_ID_TOKENSYNC_MANAGER_SERVICE); in GetProxy()
|
/base/web/webview/ohos_adapter/datashare_adapter/src/ |
D | datashare_adapter_impl.cpp | 44 auto sam = OHOS::SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in OpenDataShareUriForRead() local 45 if (sam == nullptr) { in OpenDataShareUriForRead() 49 auto remoteObj = sam->GetSystemAbility(OHOS::STORAGE_MANAGER_MANAGER_ID); in OpenDataShareUriForRead()
|
/base/security/security_component_manager/interfaces/inner_api/security_component/src/ |
D | sec_comp_client.cpp | 122 auto sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in StartLoadSecCompSa() local 123 if (sam == nullptr) { in StartLoadSecCompSa() 134 int32_t result = sam->LoadSystemAbility(SA_ID_SECURITY_COMPONENT_SERVICE, in StartLoadSecCompSa() 146 auto sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in TryToGetSecCompSa() local 147 if (sam == nullptr) { in TryToGetSecCompSa() 152 auto secCompSa = sam->CheckSystemAbility(SA_ID_SECURITY_COMPONENT_SERVICE); in TryToGetSecCompSa()
|
/base/security/access_token/services/privacymanager/src/sensitive/window_manager/ |
D | window_manager_privacy_client.cpp | 66 auto sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitProxy() local 67 if (sam == nullptr) { in InitProxy() 71 auto windowManagerSa = sam->GetSystemAbility(WINDOW_MANAGER_SERVICE_ID); in InitProxy()
|
/base/security/access_token/services/privacymanager/src/sensitive/ability_manager/ |
D | ability_manager_privacy_client.cpp | 57 auto sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitProxy() local 58 if (sam == nullptr) { in InitProxy() 62 auto abilityManagerSa = sam->GetSystemAbility(ABILITY_MGR_SERVICE_ID); in InitProxy()
|
/base/security/access_token/services/privacymanager/src/sensitive/camera_manager/ |
D | camera_manager_privacy_client.cpp | 76 auto sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitProxy() local 77 if (sam == nullptr) { in InitProxy() 81 auto cameraManagerSa = sam->GetSystemAbility(CAMERA_SERVICE_ID); in InitProxy()
|
/base/hiviewdfx/hidumper/test/unittest/common/ |
D | hidumper_cpu_service_test.cpp | 63 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… variable 64 ASSERT_TRUE(sam != nullptr) << "HidumperCpuServiceTest001 fail to get GetSystemAbilityManager"; 65 sptr<IRemoteObject> remoteObject = sam->CheckSystemAbility(DFX_SYS_HIDUMPER_CPU_ABILITY_ID);
|
D | hidumper_service_test.cpp | 51 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… variable 52 ASSERT_TRUE(sam != nullptr) << "HidumperServiceTest001 fail to get GetSystemAbilityManager"; 54 int32_t result = sam->LoadSystemAbility(DFX_SYS_HIDUMPER_ABILITY_ID, loadCallback);
|
/base/powermgr/power_manager/frameworks/native/ |
D | client_lifecycle.cpp | 48 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… in Connect() local 49 if (sam == nullptr) { in Connect() 53 sptr<IRemoteObject> remoteObject_ = sam->CheckSystemAbility(POWER_MANAGER_SERVICE_ID); in Connect()
|
/base/powermgr/thermal_manager/test/common/src/ |
D | mock_thermal_mgr_client.cpp | 45 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… in Connect() local 46 if (sam == nullptr) { in Connect() 51 sptr<IRemoteObject> remoteObject_ = sam->CheckSystemAbility(POWER_MANAGER_THERMAL_SERVICE_ID); in Connect()
|
/base/security/access_token/services/privacymanager/src/sensitive/audio_manager/ |
D | audio_manager_privacy_client.cpp | 85 auto sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitProxy() local 86 if (sam == nullptr) { in InitProxy() 90 auto audioManagerSa = sam->GetSystemAbility(AUDIO_POLICY_SERVICE_ID); in InitProxy()
|
/base/security/access_token/services/privacymanager/src/sensitive/app_manager/ |
D | app_manager_privacy_client.cpp | 84 auto sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitProxy() local 85 if (sam == nullptr) { in InitProxy() 89 auto appManagerSa = sam->GetSystemAbility(APP_MGR_SERVICE_ID); in InitProxy()
|
/base/useriam/pin_auth/frameworks/client/src/ |
D | pinauth_register_impl.cpp | 71 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… in GetProxy() local 72 if (sam == nullptr) { in GetProxy() 76 sptr<IRemoteObject> obj = sam->CheckSystemAbility(SUBSYS_USERIAM_SYS_ABILITY_PINAUTH); in GetProxy()
|
/base/telephony/state_registry/frameworks/native/observer/src/ |
D | telephony_observer_client.cpp | 37 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… in GetProxy() local 38 if (sam == nullptr) { in GetProxy() 42 sptr<IRemoteObject> obj = sam->CheckSystemAbility(TELEPHONY_STATE_REGISTRY_SYS_ABILITY_ID); in GetProxy()
|
/base/powermgr/battery_statistics/test/unittest/src/clienttest/ |
D | stats_service_test.cpp | 74 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… variable 75 ASSERT_TRUE(sam != nullptr) << "StatsServiceTest_001 fail to get GetSystemAbilityManager"; 76 … sptr<IRemoteObject> remoteObject_ = sam->CheckSystemAbility(POWER_MANAGER_BATT_STATS_SERVICE_ID);
|
/base/location/services/location_locator/locator/source/ |
D | subability_common.cpp | 116 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… in Enable() local 117 if (sam == nullptr) { in Enable() 124 if (sam->CheckSystemAbility(saId) == nullptr) { in Enable() 125 …sam->AddSystemAbility(saId, ability, ISystemAbilityManager::SAExtraProp(true, 1, capability_, u"")… in Enable() 129 if (sam->CheckSystemAbility(saId) != nullptr) { in Enable() 130 sam->RemoveSystemAbility(saId); in Enable()
|
/base/startup/init/device_info/ |
D | device_info_kits.cpp | 44 auto sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in LoadDeviceInfoSa() local 45 DINFO_CHECK(sam != nullptr, return, "GetSystemAbilityManager return null"); in LoadDeviceInfoSa() 50 int32_t ret = sam->LoadSystemAbility(SYSPARAM_DEVICE_SERVICE_ID, deviceInfoLoad); in LoadDeviceInfoSa()
|
/base/hiviewdfx/hiview/adapter/plugins/eventservice/service/test/unittest/common/ |
D | sys_event_service_ohos_test.cpp | 257 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… variable 258 if (sam == nullptr) { 262 sptr<IRemoteObject> stub = sam->CheckSystemAbility(SYS_EVENT_SERVICE_ID); 298 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… variable 299 if (sam == nullptr) { 303 sptr<IRemoteObject> stub = sam->CheckSystemAbility(SYS_EVENT_SERVICE_ID); 336 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… variable 337 if (sam == nullptr) { 341 sptr<IRemoteObject> stub = sam->CheckSystemAbility(SYS_EVENT_SERVICE_ID); 374 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… variable [all …]
|
/base/powermgr/power_manager/test/unittest/src/ |
D | power_mgr_client_native_test.cpp | 55 …sptr<ISystemAbilityManager> sam = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManage… variable 56 wptr<IRemoteObject> remoteObject_ = sam->CheckSystemAbility(POWER_MANAGER_SERVICE_ID);
|