Home
last modified time | relevance | path

Searched refs:observerHandler_ (Results 1 – 11 of 11) sorted by relevance

/base/telephony/core_service/services/sim/src/
Dmulti_sim_monitor.cpp36 if (observerHandler_ == nullptr) { in MultiSimMonitor()
37 observerHandler_ = std::make_unique<ObserverHandler>(); in MultiSimMonitor()
94 if (observerHandler_ == nullptr) { in InitData()
99 observerHandler_->NotifyObserver(RadioEvent::RADIO_SIM_ACCOUNT_LOADED, slotId); in InitData()
167 if (observerHandler_ == nullptr) { in RegisterCoreNotify()
171 observerHandler_->RegObserver(what, handler); in RegisterCoreNotify()
Dsim_state_handle.cpp62 observerHandler_ = std::make_unique<ObserverHandler>(); in Init()
63 if (observerHandler_ == nullptr) { in Init()
257 newSimStatus, (observerHandler_ == nullptr)); in ProcessIccCardState()
258 if (observerHandler_ != nullptr) { in ProcessIccCardState()
259 observerHandler_->NotifyObserver(RadioEvent::RADIO_SIM_STATE_CHANGE, slotId); in ProcessIccCardState()
550 observerHandler_->NotifyObserver(RadioEvent::RADIO_SIM_STATE_READY); in SimStateEscape()
556 observerHandler_->NotifyObserver(RadioEvent::RADIO_SIM_STATE_LOCKED); in SimStateEscape()
562 observerHandler_->NotifyObserver(RadioEvent::RADIO_SIM_STATE_LOCKED); in SimStateEscape()
613 observerHandler_->NotifyObserver(RadioEvent::RADIO_SIM_STATE_SIMLOCK); in NotifySimLock()
659 observerHandler_->NotifyObserver(RadioEvent::RADIO_CARD_TYPE_CHANGE); in CardTypeEscape()
[all …]
/base/telephony/core_service/services/network_search/src/
Dnetwork_search_manager.cpp71 inner->observerHandler_ = std::make_unique<ObserverHandler>(); in InitPointer()
72 if (inner->observerHandler_ == nullptr) { in InitPointer()
245 if (inner->observerHandler_ != nullptr) { in RegisterCoreNotify()
246 inner->observerHandler_->RegObserver(what, handler); in RegisterCoreNotify()
256 if (inner->observerHandler_ != nullptr) { in UnRegisterCoreNotify()
257 inner->observerHandler_->Remove(what, handler); in UnRegisterCoreNotify()
287 if (inner->observerHandler_ != nullptr) { in NotifyPsRoamingOpenChanged()
288 inner->observerHandler_->NotifyObserver(RadioEvent::RADIO_PS_ROAMING_OPEN); in NotifyPsRoamingOpenChanged()
298 if (inner->observerHandler_ != nullptr) { in NotifyPsRoamingCloseChanged()
299 inner->observerHandler_->NotifyObserver(RadioEvent::RADIO_PS_ROAMING_CLOSE); in NotifyPsRoamingCloseChanged()
[all …]
/base/telephony/core_service/services/tel_ril/include/
Dtel_ril_base.h87 std::shared_ptr<ObserverHandler> observerHandler_;
207 if (observerHandler_ == nullptr || data == nullptr) { in Notify()
212 observerHandler_->NotifyObserver(notifyId, data); in Notify()
218 if (observerHandler_ == nullptr) { in Notify()
223 observerHandler_->NotifyObserver(notifyId); in Notify()
Dtel_ril_manager.h340 std::vector<std::shared_ptr<ObserverHandler>> observerHandler_; variable
/base/telephony/core_service/services/sim/include/
Dmulti_sim_monitor.h64 std::unique_ptr<ObserverHandler> observerHandler_ = nullptr; variable
Dsim_state_handle.h159 std::unique_ptr<ObserverHandler> observerHandler_ = nullptr; variable
/base/telephony/core_service/services/tel_ril/src/
Dtel_ril_manager.cpp107 observerHandler_.push_back(observerHandler); in InitTelModule()
108 …telRilSms_.push_back(std::make_unique<TelRilSms>(slotId, rilInterface_, observerHandler_[slotId], … in InitTelModule()
109 …telRilSim_.push_back(std::make_unique<TelRilSim>(slotId, rilInterface_, observerHandler_[slotId], … in InitTelModule()
110 …telRilCall_.push_back(std::make_unique<TelRilCall>(slotId, rilInterface_, observerHandler_[slotId]… in InitTelModule()
111 …telRilData_.push_back(std::make_unique<TelRilData>(slotId, rilInterface_, observerHandler_[slotId]… in InitTelModule()
112 …telRilModem_.push_back(std::make_unique<TelRilModem>(slotId, rilInterface_, observerHandler_[slotI… in InitTelModule()
114 std::make_unique<TelRilNetwork>(slotId, rilInterface_, observerHandler_[slotId], handler_)); in InitTelModule()
148 return observerHandler_[slotId]; in GetObserverHandler()
Dtel_ril_base.cpp29 : observerHandler_(observerHandler), rilInterface_(rilInterface), slotId_(slotId) in TelRilBase()
/base/telephony/core_service/services/network_search/include/
Dnetwork_search_manager.h57 std::unique_ptr<ObserverHandler> observerHandler_ = nullptr; member
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test.cpp1206 inner->observerHandler_ = std::make_unique<ObserverHandler>();
1279 inner->observerHandler_ = std::make_unique<ObserverHandler>();