Home
last modified time | relevance | path

Searched refs:systemAbilityListener_ (Results 1 - 4 of 4) sorted by relevance

/base/telephony/cellular_data/services/src/
H A Dcellular_data_controller.cpp39 if (systemAbilityListener_ != nullptr) { in ~CellularDataController()
42 samgrProxy->UnSubscribeSystemAbility(COMM_NET_CONN_MANAGER_SYS_ABILITY_ID, systemAbilityListener_); in ~CellularDataController()
43 samgrProxy->UnSubscribeSystemAbility(COMM_NET_POLICY_MANAGER_SYS_ABILITY_ID, systemAbilityListener_); in ~CellularDataController()
44 samgrProxy->UnSubscribeSystemAbility(COMMON_EVENT_SERVICE_ID, systemAbilityListener_); in ~CellularDataController()
45 samgrProxy->UnSubscribeSystemAbility(DISTRIBUTED_KV_DATA_SERVICE_ABILITY_ID, systemAbilityListener_); in ~CellularDataController()
46 systemAbilityListener_ = nullptr; in ~CellularDataController()
73 systemAbilityListener_ = new (std::nothrow) SystemAbilityStatusChangeListener(slotId_, cellularDataHandler_); in Init()
74 if (systemAbilityListener_ == nullptr) { in Init()
75 TELEPHONY_LOGE("systemAbilityListener_ is nullptr"); in Init()
78 samgrProxy->SubscribeSystemAbility(COMM_NET_CONN_MANAGER_SYS_ABILITY_ID, systemAbilityListener_); in Init()
[all...]
/base/telephony/cellular_data/test/
H A Dcellular_data_service_test.cpp271 cellularDataController->systemAbilityListener_ = in HWTEST_F()
273 if (cellularDataController->systemAbilityListener_ != nullptr) { in HWTEST_F()
274 cellularDataController->systemAbilityListener_->OnRemoveSystemAbility( in HWTEST_F()
276 cellularDataController->systemAbilityListener_->OnRemoveSystemAbility( in HWTEST_F()
278 cellularDataController->systemAbilityListener_->OnRemoveSystemAbility( in HWTEST_F()
280 cellularDataController->systemAbilityListener_->OnRemoveSystemAbility(-1, ""); in HWTEST_F()
H A Dzero_branch_test.cpp880 if (controller.systemAbilityListener_ != nullptr) { in HWTEST_F()
881 controller.systemAbilityListener_->OnAddSystemAbility(COMM_NET_CONN_MANAGER_SYS_ABILITY_ID, "test"); in HWTEST_F()
882 controller.systemAbilityListener_->OnAddSystemAbility(COMM_NET_POLICY_MANAGER_SYS_ABILITY_ID, "test"); in HWTEST_F()
883 controller.systemAbilityListener_->OnAddSystemAbility(COMMON_EVENT_SERVICE_ID, "test"); in HWTEST_F()
884 controller.systemAbilityListener_->OnAddSystemAbility(DISTRIBUTED_KV_DATA_SERVICE_ABILITY_ID, "test"); in HWTEST_F()
885 controller.systemAbilityListener_->OnAddSystemAbility(0, "test"); in HWTEST_F()
886 controller.systemAbilityListener_->OnRemoveSystemAbility(COMM_NET_CONN_MANAGER_SYS_ABILITY_ID, "test"); in HWTEST_F()
887 controller.systemAbilityListener_->OnRemoveSystemAbility(COMM_NET_POLICY_MANAGER_SYS_ABILITY_ID, "test"); in HWTEST_F()
888 controller.systemAbilityListener_->OnRemoveSystemAbility(COMMON_EVENT_SERVICE_ID, "test"); in HWTEST_F()
889 controller.systemAbilityListener_ in HWTEST_F()
[all...]
/base/telephony/cellular_data/services/include/
H A Dcellular_data_controller.h69 sptr<ISystemAbilityStatusChange> systemAbilityListener_ = nullptr; member in OHOS::Telephony::CellularDataController

Completed in 6 milliseconds