Home
last modified time | relevance | path

Searched refs:simStateManager_ (Results 1 – 20 of 20) sorted by relevance

/base/telephony/core_service/services/sim/src/
Dsim_manager.cpp52 simStateManager_.resize(slotCount_); in InitMultiSimObject()
60 simStateManager_[slotId] = std::make_shared<SimStateManager>(telRilManager_); in InitMultiSimObject()
61 if (simStateManager_[slotId] != nullptr) { in InitMultiSimObject()
62 simStateManager_[slotId]->Init(slotId); in InitMultiSimObject()
64 …simFileManager_[slotId] = SimFileManager::CreateInstance(telRilManager_, simStateManager_[slotId]); in InitMultiSimObject()
69 telRilManager_, simFileManager_[slotId], simStateManager_[slotId]); in InitMultiSimObject()
74 telRilManager_, simStateManager_[slotId], simFileManager_[slotId]); in InitMultiSimObject()
79 … IccDiallingNumbersManager::CreateInstance(simFileManager_[slotId], simStateManager_[slotId]); in InitMultiSimObject()
83 … stkManager_[slotId] = std::make_shared<StkManager>(telRilManager_, simStateManager_[slotId]); in InitMultiSimObject()
87 if (simStateManager_[DEFAULT_SIM_SLOT_ID] != nullptr && slotId == DEFAULT_SIM_SLOT_ID) { in InitMultiSimObject()
[all …]
Dsim_file_manager.cpp25 : AppExecFwk::EventHandler(runner), telRilManager_(telRilManager), simStateManager_(state) in SimFileManager()
27 if (simStateManager_ == nullptr) { in SimFileManager()
57 CardType cardType = simStateManager_->GetCardType(); in Init()
79 simStateManager_->RegisterCoreNotify(shared_from_this(), RadioEvent::RADIO_CARD_TYPE_CHANGE); in Init()
103 simFile_ = std::make_shared<RuimFile>(eventLoopRecord_, simStateManager_); in InitSimFile()
105 simFile_ = std::make_shared<IsimFile>(eventLoopRecord_, simStateManager_); in InitSimFile()
107 simFile_ = std::make_shared<SimFile>(eventLoopRecord_, simStateManager_); in InitSimFile()
373 if (what == RadioEvent::RADIO_SIM_STATE_CHANGE && simStateManager_ != nullptr) { in RegisterCoreNotify()
374 simStateManager_->RegisterCoreNotify(handler, what); in RegisterCoreNotify()
386 if (what == RadioEvent::RADIO_SIM_STATE_CHANGE && simStateManager_ != nullptr) { in UnRegisterCoreNotify()
[all …]
Dsim_account_manager.cpp24 …: telRilManager_(telRilManager), simStateManager_(simStateManager), simFileManager_(simFileManager) in SimAccountManager()
42 …if ((telRilManager_ == nullptr) || (simFileManager_ == nullptr) || (simStateManager_ == nullptr)) { in Init()
116 …if ((privilegesRunner_ == nullptr) || (telRilManager_ == nullptr) || (simStateManager_ == nullptr)… in HasOperatorPrivileges()
121 …::make_shared<IccOperatorPrivilegeController>(privilegesRunner_, telRilManager_, simStateManager_); in HasOperatorPrivileges()
Dstk_manager.cpp25 : telRilManager_(telRilManager), simStateManager_(simStateManager) in StkManager()
39 if (telRilManager_ == nullptr || simStateManager_ == nullptr) { in Init()
50 …roller_ = std::make_shared<StkController>(stkEventLoop_, telRilManager_, simStateManager_, slotId); in Init()
Dicc_operator_privilege_controller.cpp175simStateManager_(simStateManager), state_(new IccOperatorPrivilegeController::LogicalStateMachine(… in IccOperatorPrivilegeController()
191 if (simStateManager_ == nullptr) { in Init()
207 simStateManager_->RegisterCoreNotify(self, RadioEvent::RADIO_SIM_STATE_CHANGE); in Init()
238 … ((simStateManager_ == nullptr) ? SimState::SIM_STATE_UNKNOWN : simStateManager_->GetSimState())); in HasOperatorPrivileges()
285 const SimState state = simStateManager_->GetSimState(); in ProcessSimStateChanged()
Dmulti_sim_monitor.cpp31 simStateManager_(simStateManager), simFileManager_(simFileManager) in MultiSimMonitor()
108 …if (controller_ == nullptr || simStateManager_[slotId] == nullptr || simFileManager_[slotId] == nu… in RefreshData()
112 if (simStateManager_[slotId]->GetSimState() == SimState::SIM_STATE_NOT_PRESENT) { in RefreshData()
Dstk_controller.cpp44 simStateManager_(simStateManager), slotId_(slotId) in StkController()
59 std::shared_ptr<SimStateManager> simStateManager = simStateManager_.lock(); in RegisterEvents()
80 std::shared_ptr<SimStateManager> simStateManager = simStateManager_.lock(); in UnRegisterEvents()
144 std::shared_ptr<SimStateManager> simStateManager = simStateManager_.lock(); in OnIccStateChanged()
Dicc_dialling_numbers_manager.cpp28 : AppExecFwk::EventHandler(runner), simFileManager_(simFileManager), simStateManager_(simState) in IccDiallingNumbersManager()
365 return (simStateManager_ != nullptr) ? simStateManager_->HasSimCard() : false; in HasSimCard()
Dmulti_sim_controller.cpp43 : simStateManager_(simStateManager), simFileManager_(simFileManager) in MultiSimController()
145 if (!IsSimActive(slotId) && simStateManager_[slotId]->HasSimCard()) { in InitActive()
149 if (IsSimActive(slotId) && !simStateManager_[slotId]->HasSimCard()) { in InitActive()
330 …if (((slotId < DEFAULT_SIM_SLOT_ID) || (slotId >= SIM_SLOT_COUNT)) || simStateManager_[slotId] == … in IsValidData()
334 return simStateManager_[slotId]->HasSimCard(); in IsValidData()
Dsim_state_handle.cpp44 : AppExecFwk::EventHandler(runner), simStateManager_(simStateManager) in SimStateHandle()
/base/telephony/core_service/services/sim/include/
Dstk_manager.h36 std::shared_ptr<SimStateManager> simStateManager_ = nullptr; variable
Dicc_operator_privilege_controller.h63 std::shared_ptr<SimStateManager> simStateManager_; variable
Dsim_account_manager.h44 std::shared_ptr<SimStateManager> simStateManager_ = nullptr; variable
Dmulti_sim_monitor.h62 std::vector<std::shared_ptr<Telephony::SimStateManager>> simStateManager_; variable
Dstk_controller.h55 std::weak_ptr<Telephony::SimStateManager> simStateManager_; variable
Dicc_dialling_numbers_manager.h61 std::shared_ptr<Telephony::SimStateManager> simStateManager_ = nullptr; variable
Dsim_file_manager.h89 std::shared_ptr<Telephony::SimStateManager> simStateManager_ = nullptr; variable
Dmulti_sim_controller.h96 std::vector<std::shared_ptr<Telephony::SimStateManager>> simStateManager_; variable
Dsim_state_handle.h157 std::weak_ptr<SimStateManager> simStateManager_; variable
Dsim_manager.h142 std::vector<std::shared_ptr<Telephony::SimStateManager>> simStateManager_; variable