/base/telephony/core_service/services/sim/src/ |
D | sim_state_tracker.cpp | 44 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~SimStateTracker() local 45 if (samgrProxy != nullptr) { in ~SimStateTracker() 46 …samgrProxy->UnSubscribeSystemAbility(OHOS::SUBSYS_ACCOUNT_SYS_ABILITY_ID_BEGIN, statusChangeListen… in ~SimStateTracker() 47 … samgrProxy->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()
|
D | multi_sim_monitor.cpp | 42 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~MultiSimMonitor() local 43 if (samgrProxy != nullptr) { in ~MultiSimMonitor() 44 …samgrProxy->UnSubscribeSystemAbility(OHOS::SUBSYS_ACCOUNT_SYS_ABILITY_ID_BEGIN, statusChangeListen… in ~MultiSimMonitor() 45 … samgrProxy->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/ |
D | cellular_data_controller.cpp | 42 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~CellularDataController() local 43 if (samgrProxy != nullptr) { in ~CellularDataController() 44 …samgrProxy->UnSubscribeSystemAbility(COMM_NET_CONN_MANAGER_SYS_ABILITY_ID, systemAbilityListener_); in ~CellularDataController() 45 …samgrProxy->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() 77 … samgrProxy->SubscribeSystemAbility(COMM_NET_CONN_MANAGER_SYS_ABILITY_ID, systemAbilityListener_); in Init() 78 …samgrProxy->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/ |
D | device_state_observer.cpp | 50 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() 61 …samgrProxy->SubscribeSystemAbility(COMM_NET_TETHERING_MANAGER_SYS_ABILITY_ID, statusChangeListener… in StartEventSubscriber()
|
D | network_search_handler.cpp | 148 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/ |
D | sms_state_observer.cpp | 44 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/ |
D | dslm_ipc_process.cpp | 124 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/ |
D | call_records_manager.cpp | 35 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~CallRecordsManager() local 36 if (samgrProxy != nullptr) { in ~CallRecordsManager() 37 …samgrProxy->UnSubscribeSystemAbility(OHOS::SUBSYS_ACCOUNT_SYS_ABILITY_ID_BEGIN, statusChangeListen… in ~CallRecordsManager()
|
/base/notification/distributed_notification_service/services/ans/src/ |
D | reminder_event_manager.cpp | 78 …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/ |
D | bluetooth_connection.cpp | 42 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in ~BluetoothConnection() local 43 if (samgrProxy != nullptr) { in ~BluetoothConnection() 44 … samgrProxy->UnSubscribeSystemAbility(BLUETOOTH_HOST_SYS_ABILITY_ID, statusChangeListener_); in ~BluetoothConnection()
|
/base/hiviewdfx/hidumper/services/native/src/ |
D | dump_manager_service.cpp | 385 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/ |
D | locator_background_proxy.cpp | 90 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/ |
D | call_control_manager.cpp | 53 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/ |
D | usb_service.cpp | 162 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/ |
D | cellular_call_service.cpp | 62 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/ |
D | cellular_call_connection.cpp | 78 auto samgrProxy = SystemAbilityManagerClient::GetInstance().GetSystemAbilityManager(); in UnInit() local 79 if (samgrProxy != nullptr) { in UnInit() 80 …samgrProxy->UnSubscribeSystemAbility(TELEPHONY_CELLULAR_CALL_SYS_ABILITY_ID, statusChangeListener_… in UnInit()
|