Home
last modified time | relevance | path

Searched refs:samgrProxy (Results 1 – 16 of 16) sorted by relevance

/base/telephony/core_service/services/sim/src/
Dsim_state_tracker.cpp44 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~SimStateTracker() local
45 if (samgrProxy != nullptr) { in ~SimStateTracker()
46samgrProxy->UnSubscribeSystemAbility(OHOS::SUBSYS_ACCOUNT_SYS_ABILITY_ID_BEGIN, statusChangeListen… in ~SimStateTracker()
47samgrProxy->UnSubscribeSystemAbility(OHOS::COMMON_EVENT_SERVICE_ID, statusChangeListener_); in ~SimStateTracker()
55 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitListener() local
57 if (samgrProxy == nullptr || statusChangeListener_ == nullptr) { in InitListener()
61 …int32_t ret = samgrProxy->SubscribeSystemAbility(SUBSYS_ACCOUNT_SYS_ABILITY_ID_BEGIN, statusChange… in InitListener()
63 ret = samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in InitListener()
Dmulti_sim_monitor.cpp42 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~MultiSimMonitor() local
43 if (samgrProxy != nullptr) { in ~MultiSimMonitor()
44samgrProxy->UnSubscribeSystemAbility(OHOS::SUBSYS_ACCOUNT_SYS_ABILITY_ID_BEGIN, statusChangeListen… in ~MultiSimMonitor()
45samgrProxy->UnSubscribeSystemAbility(OHOS::COMMON_EVENT_SERVICE_ID, statusChangeListener_); in ~MultiSimMonitor()
241 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitListener() local
243 if (samgrProxy == nullptr || statusChangeListener_ == nullptr) { in InitListener()
247 …int32_t ret = samgrProxy->SubscribeSystemAbility(SUBSYS_ACCOUNT_SYS_ABILITY_ID_BEGIN, statusChange… in InitListener()
249 ret = samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in InitListener()
/base/telephony/cellular_data/services/src/
Dcellular_data_controller.cpp42 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~CellularDataController() local
43 if (samgrProxy != nullptr) { in ~CellularDataController()
44samgrProxy->UnSubscribeSystemAbility(COMM_NET_CONN_MANAGER_SYS_ABILITY_ID, systemAbilityListener_); in ~CellularDataController()
45samgrProxy->UnSubscribeSystemAbility(COMM_NET_POLICY_MANAGER_SYS_ABILITY_ID, systemAbilityListener… in ~CellularDataController()
46 samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, systemAbilityListener_); in ~CellularDataController()
67 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Init() local
68 if (samgrProxy == nullptr) { in Init()
77samgrProxy->SubscribeSystemAbility(COMM_NET_CONN_MANAGER_SYS_ABILITY_ID, systemAbilityListener_); in Init()
78samgrProxy->SubscribeSystemAbility(COMM_NET_POLICY_MANAGER_SYS_ABILITY_ID, systemAbilityListener_); in Init()
79 samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, systemAbilityListener_); in Init()
/base/telephony/core_service/services/network_search/src/
Ddevice_state_observer.cpp50 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in StartEventSubscriber() local
52 if (samgrProxy == nullptr || statusChangeListener_ == nullptr) { in StartEventSubscriber()
56 …int32_t commonEventResult = samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChan… in StartEventSubscriber()
57 …int32_t powerManagerResult = samgrProxy->SubscribeSystemAbility(POWER_MANAGER_SERVICE_ID, statusCh… in StartEventSubscriber()
59 samgrProxy->SubscribeSystemAbility(POWER_MANAGER_BATT_SERVICE_ID, statusChangeListener_); in StartEventSubscriber()
61samgrProxy->SubscribeSystemAbility(COMM_NET_TETHERING_MANAGER_SYS_ABILITY_ID, statusChangeListener… in StartEventSubscriber()
Dnetwork_search_handler.cpp148 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in InitOperatorName() local
150 if (samgrProxy == nullptr || statusChangeListener_ == nullptr) { in InitOperatorName()
153 … int32_t ret = samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in InitOperatorName()
/base/telephony/sms_mms/services/sms/
Dsms_state_observer.cpp44 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in StartEventSubscriber() local
45 if (samgrProxy == nullptr) { in StartEventSubscriber()
54 int32_t ret = samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, smsStatusListener_); in StartEventSubscriber()
/base/security/device_security_level/services/sa/standard/
Ddslm_ipc_process.cpp124 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in TimerProcessUnloadSystemAbility() local
125 if (samgrProxy == nullptr) { in TimerProcessUnloadSystemAbility()
130 int32_t ret = samgrProxy->UnloadSystemAbility(DEVICE_SECURITY_LEVEL_MANAGER_SA_ID); in TimerProcessUnloadSystemAbility()
/base/telephony/call_manager/services/call/call_state_observer/src/
Dcall_records_manager.cpp35 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~CallRecordsManager() local
36 if (samgrProxy != nullptr) { in ~CallRecordsManager()
37samgrProxy->UnSubscribeSystemAbility(OHOS::SUBSYS_ACCOUNT_SYS_ABILITY_ID_BEGIN, statusChangeListen… in ~CallRecordsManager()
/base/notification/distributed_notification_service/services/ans/src/
Dreminder_event_manager.cpp78 …sptr<ISystemAbilityManager> samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilit… in init() local
79 if (samgrProxy == nullptr) { in init()
83 …int32_t ret = samgrProxy->SubscribeSystemAbility(BUNDLE_MGR_SERVICE_SYS_ABILITY_ID, statusChangeLi… in init()
/base/telephony/call_manager/services/bluetooth/src/
Dbluetooth_connection.cpp42 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~BluetoothConnection() local
43 if (samgrProxy != nullptr) { in ~BluetoothConnection()
44samgrProxy->UnSubscribeSystemAbility(BLUETOOTH_HOST_SYS_ABILITY_ID, statusChangeListener_); in ~BluetoothConnection()
/base/hiviewdfx/hidumper/services/native/src/
Ddump_manager_service.cpp385 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in DelayUnloadTask() local
386 if (samgrProxy == nullptr) { in DelayUnloadTask()
390 int32_t ret = samgrProxy->UnloadSystemAbility(DFX_SYS_HIDUMPER_ABILITY_ID); in DelayUnloadTask()
/base/location/services/location_locator/locator/source/
Dlocator_background_proxy.cpp90 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in SubscribeSaStatusChangeListerner() local
92 if (samgrProxy == nullptr || statusChangeListener_ == nullptr) { in SubscribeSaStatusChangeListerner()
97 … int32_t ret = samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in SubscribeSaStatusChangeListerner()
/base/telephony/call_manager/services/call/src/
Dcall_control_manager.cpp53 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~CallControlManager() local
54 if (samgrProxy != nullptr) { in ~CallControlManager()
55 samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in ~CallControlManager()
1159 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in BroadcastSubscriber() local
1160 if (samgrProxy == nullptr) { in BroadcastSubscriber()
1171 … int32_t ret = samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in BroadcastSubscriber()
/base/usb/usb_manager/services/native/src/
Dusb_service.cpp162 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in OnStart() local
164 if (samgrProxy == nullptr || status == nullptr) { in OnStart()
168 int32_t ret = samgrProxy->SubscribeSystemAbility(USB_SYSTEM_ABILITY_ID, status); in OnStart()
1170 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnLoadSelf() local
1171 if (samgrProxy == nullptr) { in UnLoadSelf()
1176 auto ret = samgrProxy->UnloadSystemAbility(USB_SYSTEM_ABILITY_ID); in UnLoadSelf()
/base/telephony/cellular_call/services/manager/src/
Dcellular_call_service.cpp62 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in Init() local
64 if (samgrProxy == nullptr || callManagerListener_ == nullptr) { in Init()
67 …int32_t ret = samgrProxy->SubscribeSystemAbility(TELEPHONY_CALL_MANAGER_SYS_ABILITY_ID, callManage… in Init()
146 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in CreateHandler() local
148 if (samgrProxy == nullptr || statusChangeListener_ == nullptr) { in CreateHandler()
151 … int32_t ret = samgrProxy->SubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, statusChangeListener_); in CreateHandler()
/base/telephony/call_manager/services/telephony_interaction/src/
Dcellular_call_connection.cpp78 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnInit() local
79 if (samgrProxy != nullptr) { in UnInit()
80samgrProxy->UnSubscribeSystemAbility(TELEPHONY_CELLULAR_CALL_SYS_ABILITY_ID, statusChangeListener_… in UnInit()