Home
last modified time | relevance | path

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

/ohos5.0/base/telephony/core_service/services/sim/src/
H A Dsim_state_handle.cpp121 observerHandler_ = std::make_unique<ObserverHandler>(); in Init()
122 if (observerHandler_ == nullptr) { in Init()
373 iter->second.c_str(), newSimStatus, (observerHandler_ == nullptr)); in ProcessIccCardState()
374 if (observerHandler_ != nullptr) { in ProcessIccCardState()
820 observerHandler_->NotifyObserver(RadioEvent::RADIO_SIM_STATE_SIMLOCK); in NotifySimLock()
866 observerHandler_->NotifyObserver(RadioEvent::RADIO_CARD_TYPE_CHANGE); in CardTypeEscape()
923 observerHandler_->Remove(RadioEvent::RADIO_SIM_STATE_CHANGE, handler); in UnRegisterCoreNotify()
927 observerHandler_->Remove(RadioEvent::RADIO_SIM_STATE_READY, handler); in UnRegisterCoreNotify()
931 observerHandler_->Remove(RadioEvent::RADIO_SIM_STATE_LOCKED, handler); in UnRegisterCoreNotify()
935 observerHandler_->Remove(RadioEvent::RADIO_SIM_STATE_SIMLOCK, handler); in UnRegisterCoreNotify()
[all …]
H A Dmulti_sim_monitor.cpp40 if (observerHandler_ == nullptr) { in MultiSimMonitor()
41 observerHandler_ = std::make_unique<ObserverHandler>(); in MultiSimMonitor()
201 if (observerHandler_ == nullptr) { in InitData()
206 observerHandler_->NotifyObserver(RadioEvent::RADIO_SIM_ACCOUNT_LOADED, slotId); in InitData()
241 if (observerHandler_ == nullptr || handler == nullptr) { in RegisterCoreNotify()
245 observerHandler_->RegObserver(what, handler); in RegisterCoreNotify()
/ohos5.0/base/telephony/core_service/services/network_search/src/
H A Dnetwork_search_manager.cpp76 if (inner->observerHandler_ == nullptr) { in InitPointer()
270 if (inner->observerHandler_ != nullptr) { in RegisterCoreNotify()
281 if (inner->observerHandler_ != nullptr) { in UnRegisterCoreNotify()
312 if (inner->observerHandler_ != nullptr) { in NotifyPsRoamingOpenChanged()
323 if (inner->observerHandler_ != nullptr) { in NotifyPsRoamingCloseChanged()
334 if (inner->observerHandler_ != nullptr) { in NotifyEmergencyOpenChanged()
345 if (inner->observerHandler_ != nullptr) { in NotifyEmergencyCloseChanged()
356 if (inner->observerHandler_ != nullptr) { in NotifyPsRatChanged()
367 if (inner->observerHandler_ != nullptr) { in NotifyPsConnectionAttachedChanged()
378 if (inner->observerHandler_ != nullptr) { in NotifyPsConnectionDetachedChanged()
[all …]
/ohos5.0/base/telephony/core_service/services/tel_ril/include/
H A Dtel_ril_base.h90 std::shared_ptr<ObserverHandler> observerHandler_;
208 if (observerHandler_ == nullptr || data == nullptr) { in Notify()
213 observerHandler_->NotifyObserver(notifyId, data); in Notify()
219 if (observerHandler_ == nullptr) { in Notify()
224 observerHandler_->NotifyObserver(notifyId); in Notify()
H A Dtel_ril_manager.h367 std::vector<std::shared_ptr<ObserverHandler>> observerHandler_; variable
/ohos5.0/base/telephony/core_service/services/tel_ril/src/
H A Dtel_ril_manager.cpp112 observerHandler_.push_back(observerHandler); in InitTelModule()
113 …telRilSms_.push_back(std::make_shared<TelRilSms>(slotId, rilInterface_, observerHandler_[slotId], … in InitTelModule()
114 …telRilSim_.push_back(std::make_shared<TelRilSim>(slotId, rilInterface_, observerHandler_[slotId], … in InitTelModule()
115 …telRilCall_.push_back(std::make_shared<TelRilCall>(slotId, rilInterface_, observerHandler_[slotId]… in InitTelModule()
116 …telRilData_.push_back(std::make_shared<TelRilData>(slotId, rilInterface_, observerHandler_[slotId]… in InitTelModule()
117 …telRilModem_.push_back(std::make_shared<TelRilModem>(slotId, rilInterface_, observerHandler_[slotI… in InitTelModule()
119 std::make_shared<TelRilNetwork>(slotId, rilInterface_, observerHandler_[slotId], handler_)); in InitTelModule()
214 if (slotId < 0 || static_cast<size_t>(slotId) >= observerHandler_.size()) { in GetObserverHandler()
218 return observerHandler_[slotId]; in GetObserverHandler()
H A Dtel_ril_base.cpp29 : observerHandler_(observerHandler), rilInterface_(rilInterface), slotId_(slotId) in TelRilBase()
/ohos5.0/base/telephony/core_service/services/sim/include/
H A Dmulti_sim_monitor.h115 std::unique_ptr<ObserverHandler> observerHandler_ = nullptr; variable
H A Dsim_state_handle.h185 std::unique_ptr<ObserverHandler> observerHandler_ = nullptr; variable
/ohos5.0/base/telephony/core_service/test/unittest/core_service_gtest/
H A Dzero_branch_test_sim_ril.cpp825 telRilManager->observerHandler_.push_back(observerHandler);
1348 simStateHandle->observerHandler_ = std::make_unique<ObserverHandler>();
1374 simStateHandle->observerHandler_ = std::make_unique<ObserverHandler>();
1405 simStateHandle->observerHandler_ = std::make_unique<ObserverHandler>();
H A Dzero_branch_test.cpp2116 inner->observerHandler_ = std::make_unique<ObserverHandler>();
2222 inner->observerHandler_ = std::make_unique<ObserverHandler>();
2315 inner->observerHandler_ = std::make_unique<ObserverHandler>();
/ohos5.0/base/telephony/core_service/services/network_search/include/
H A Dnetwork_search_manager.h58 std::unique_ptr<ObserverHandler> observerHandler_ = nullptr; member