Home
last modified time | relevance | path

Searched refs:telRilManager_ (Results 1 – 25 of 49) sorted by relevance

12

/base/telephony/core_service/services/tel_ril/test/
Dtel_ril_test.cpp35 telRilManager_ = std::make_shared<TelRilManager>(); in OnInitInterface()
36 telRilManager_->OnInit(); in OnInitInterface()
190 telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_STATE_CHANGED, nullptr); in OnInitForRegister()
191telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_DSDS_MODE_CHANGED, nullptr); in OnInitForRegister()
192telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_LINK_CAPABILITY_CHANGED, nul… in OnInitForRegister()
193telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_IMS_NETWORK_STATE_CHANGED, n… in OnInitForRegister()
194 telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_ON, nullptr); in OnInitForRegister()
195 telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_NOT_AVAIL, nullptr); in OnInitForRegister()
196telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_CALL_STATUS_INFO, nullptr); in OnInitForRegister()
197 telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_NETWORK_STATE, nullptr); in OnInitForRegister()
[all …]
/base/telephony/core_service/test/unittest/tel_ril_gtest/
Dtel_ril_test_util.cpp66 std::shared_ptr<Telephony::ITelRilManager> TelRilTest::telRilManager_ = nullptr; member in OHOS::Telephony::TelRilTest
75 telRilManager_ = std::make_shared<TelRilManager>(); in SetUpTestCase()
76 auto ret = telRilManager_->OnInit(); in SetUpTestCase()
99 telRilManager_ = nullptr; in TearDownTestCase()
301 if (event != nullptr && telRilManager_ != nullptr) { in CallGetCurrentCallsStatusTest()
304 telRilManager_->GetCallList(slotId, event); in CallGetCurrentCallsStatusTest()
321 if (event != nullptr && telRilManager_ != nullptr) { in SimGetSimStatusTest()
324 telRilManager_->GetSimStatus(slotId, event); in SimGetSimStatusTest()
340 if (event != nullptr && telRilManager_ != nullptr) { in SimIccIoTest()
352 telRilManager_->GetSimIO(slotId, msg, event); in SimIccIoTest()
[all …]
/base/telephony/core_service/frameworks/native/src/
Dcore_manager_inner.cpp44 telRilManager_ = telRilManager; in OnInit()
55 telRilManager_ = telRilManager; in SetTelRilMangerObj()
60 if (telRilManager_ == nullptr) { in IsInitFinishedForTelRil()
63 return telRilManager_ != nullptr; in IsInitFinishedForTelRil()
92 if (telRilManager_ == nullptr) { in RegisterCoreNotify()
96 return telRilManager_->RegisterCoreNotify(slotId, handler, what, obj); in RegisterCoreNotify()
117 if (telRilManager_ == nullptr) { in UnRegisterCoreNotify()
121 return telRilManager_->UnRegisterCoreNotify(slotId, observerCallBack, what); in UnRegisterCoreNotify()
185 if (telRilManager_ == nullptr) { in SetUssd()
195 return telRilManager_->SetUssd(slotId, str, response); in SetUssd()
[all …]
/base/telephony/core_service/services/sim/src/
Dsim_state_handle.cpp54 if (telRilManager_ != nullptr) { in Init()
56telRilManager_->RegisterCoreNotify(slotId_, shared_from_this(), RadioEvent::RADIO_SIM_STATE_CHANGE… in Init()
57telRilManager_->RegisterCoreNotify(slotId_, shared_from_this(), RadioEvent::RADIO_STATE_CHANGED, n… in Init()
102 telRilManager_->UnlockPin(slotId, pin, event); in UnlockPin()
114 telRilManager_->UnlockPuk(slotId, puk, newPin, event); in UnlockPuk()
132 telRilManager_->ChangeSimPassword(slotId, simPinPassword, event); in AlterPin()
144 telRilManager_->UnlockPin2(slotId, pin2, event); in UnlockPin2()
156 telRilManager_->UnlockPuk2(slotId, puk2, newPin2, event); in UnlockPuk2()
174 telRilManager_->ChangeSimPassword(slotId, simPin2Password, event); in AlterPin2()
194 telRilManager_->SetSimLock(slotId, simLock, event); in SetLockState()
[all …]
Dsim_account_manager.cpp25 …: telRilManager_(telRilManager), simStateManager_(simStateManager), simFileManager_(simFileManager) in SimAccountManager()
43 …if ((telRilManager_ == nullptr) || (simFileManager_ == nullptr) || (simStateManager_ == nullptr)) { in Init()
117 …if ((privilegesRunner_ == nullptr) || (telRilManager_ == nullptr) || (simStateManager_ == nullptr)… in HasOperatorPrivileges()
122 …std::make_shared<IccOperatorPrivilegeController>(privilegesRunner_, telRilManager_, simStateManage… in HasOperatorPrivileges()
Dradio_protocol_controller.cpp29 : AppExecFwk::EventHandler(runner), telRilManager_(telRilManager) in RadioProtocolController()
34 if (telRilManager_ == nullptr) { in Init()
52telRilManager_->RegisterCoreNotify(i, shared_from_this(), RADIO_SIM_RADIO_PROTOCOL_NOTIFY, nullptr… in Init()
63 if (telRilManager_ == nullptr) { in GetRadioProtocol()
73 telRilManager_->GetRadioProtocol(slotId, event); in GetRadioProtocol()
308 if (telRilManager_ == nullptr || radioProtocol.empty()) { in SendRadioProtocolEvent()
324 telRilManager_->SetRadioProtocol(i, radioProtocol[i], event); in SendRadioProtocolEvent()
374 if (telRilManager_ == nullptr) { in UnRegisterEvents()
379telRilManager_->UnRegisterCoreNotify(i, shared_from_this(), RADIO_SIM_RADIO_PROTOCOL_NOTIFY); in UnRegisterEvents()
409 if (telRilManager_ == nullptr) { in SetActiveSimToRil()
[all …]
Dstk_manager.cpp26 : telRilManager_(telRilManager), simStateManager_(simStateManager) in StkManager()
40 if (telRilManager_ == nullptr || simStateManager_ == nullptr) { in Init()
49 …stkController_ = std::make_shared<StkController>(stkEventLoop_, telRilManager_, simStateManager_, … in Init()
Dicc_file_controller.cpp129 if (telRilManager_ != nullptr) { in ProcessRecordSize()
139telRilManager_->GetSimIO(slotId_, msg, BuildCallerInfo(MSG_SIM_OBTAIN_FIXED_ELEMENTARY_FILE_DONE, … in ProcessRecordSize()
164 if (telRilManager_ != nullptr) { in ProcessBinarySize()
174 telRilManager_->GetSimIO(slotId_, msg, process); in ProcessBinarySize()
213telRilManager_->GetSimIO(slotId_, msg, BuildCallerInfo(MSG_SIM_OBTAIN_FIXED_ELEMENTARY_FILE_DONE, … in ProcessReadRecord()
260 if (telRilManager_ != nullptr) { in ObtainBinaryFile()
270 telRilManager_->GetSimIO(slotId_, msg, process); in ObtainBinaryFile()
279 if (telRilManager_ != nullptr) { in ObtainBinaryFile()
289 telRilManager_->GetSimIO(slotId_, msg, process); in ObtainBinaryFile()
302 if (telRilManager_ != nullptr) { in ObtainLinearFixedFile()
[all …]
Dsim_sms_controller.cpp146 telRilManager_->UpdateSimMessage(slotId_, param, response); in UpdateSmsIcc()
150 telRilManager_->UpdateCdmaSimMessage(slotId_, param, response); in UpdateSmsIcc()
174 telRilManager_->DelSimMessage(slotId_, index, response); in DelSmsIcc()
178 telRilManager_->DelCdmaSimMessage(slotId_, index, response); in DelSmsIcc()
203 telRilManager_->AddSimMessage(slotId_, param, response); in AddSmsToIcc()
206 telRilManager_->AddCdmaSimMessage(slotId_, status, pdu, response); in AddSmsToIcc()
254 telRilManager_ = ril; in SetRilAndFileManager()
255 if (telRilManager_ == nullptr) { in SetRilAndFileManager()
Dsim_sms_manager.cpp25 : telRilManager_(telRilManager), simFileManager_(simFileManager), stateManager_(simStateManager) in SimSmsManager()
41 if (telRilManager_ == nullptr) { in Init()
63 smsController_->SetRilAndFileManager(telRilManager_, fileManager); in Init()
Druim_file_controller.cpp42 if (telRilManager_ != nullptr) { in ObtainTransparentImg()
52 telRilManager_->GetSimIO(slotId_, msg, response); in ObtainTransparentImg()
Dicc_operator_privilege_controller.cpp175 : AppExecFwk::EventHandler(runner), slotId_(0), telRilManager_(telRilManager), in IccOperatorPrivilegeController()
188 if (telRilManager_ == nullptr) { in Init()
316 telRilManager_->SimOpenLogicalChannel(slotId_, ARAM_AID.data(), P2, response); in OpenChannel()
349 telRilManager_->SimTransmitApduLogicalChannel(slotId_, reqInfo, transmitEvent); in ProcessOpenLogicalChannelDone()
381 telRilManager_->SimTransmitApduLogicalChannel(slotId_, reqInfo, transmitEvent); in ProcessTransmitLogicalChannelDone()
391 telRilManager_->SimCloseLogicalChannel(slotId_, state_->currentChannelId, closeEvent); in ProcessTransmitLogicalChannelDone()
Dstk_controller.cpp43 : AppExecFwk::EventHandler(runner), telRilManager_(telRilManager), in StkController()
54 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in RegisterEvents()
75 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in UnRegisterEvents()
170 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in OnIccStateChanged()
274 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in SendTerminalResponseCmd()
306 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in SendEnvelopeCmd()
338 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in SendCallSetupRequestResult()
Dsim_file_manager.cpp26 : AppExecFwk::EventHandler(runner), telRilManager_(telRilManager), simStateManager_(state) in SimFileManager()
54 if (telRilManager_ == nullptr) { in Init()
81 telRilManager_->RegisterCoreNotify( in Init()
119 simFile_->SetRilAndFileController(telRilManager_, fileController_, diallingNumberHandler_); in InitSimFile()
155 fileController_->SetRilManager(telRilManager_); in InitIccFileController()
/base/telephony/core_service/test/fuzztest/updatesmsicc_fuzzer/
Dupdatesmsicc_fuzzer.cpp45 auto telRilManager_ = std::make_shared<TelRilManager>(); in DoSomethingInterestingWithMyAPI() local
46 auto stateManager_ = std::make_shared<SimStateManager>(telRilManager_); in DoSomethingInterestingWithMyAPI()
/base/telephony/core_service/services/network_search/include/
Dnetwork_utils.h95 : telRilManager_(telRilManager), networkSearchManager_(networkSearchManager) in EventSender()
278 std::shared_ptr<ITelRilManager> telRilManager_ = nullptr; variable
298 if (telRilManager_ == nullptr) { in Send()
338 if (telRilManager_.get() == nullptr) { in Send()
342 if ((telRilManager_.get()->*rilFuncPointer)(slotId, args..., event) != TELEPHONY_ERR_SUCCESS) { in Send()
Ddevice_state_handler.h51 std::weak_ptr<ITelRilManager> telRilManager_; variable
/base/telephony/core_service/test/fuzztest/updatevoicemail_fuzzer/
Dupdatevoicemail_fuzzer.cpp53 auto telRilManager_ = std::make_shared<TelRilManager>(); in DoSomethingInterestingWithMyAPI() local
54 auto stateManager_ = std::make_shared<SimStateManager>(telRilManager_); in DoSomethingInterestingWithMyAPI()
/base/telephony/core_service/services/network_search/src/
Ddevice_state_handler.cpp33 : networkSearchManager_(networkSearchManager), telRilManager_(telRilManager), slotId_(slotId) in DeviceStateHandler()
165 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in SetNotificationFilter()
181 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in SetDeviceState()
/base/telephony/core_service/services/sim/include/
Dstk_manager.h35 std::shared_ptr<ITelRilManager> telRilManager_ = nullptr;
Dicc_operator_privilege_controller.h62 std::shared_ptr<Telephony::ITelRilManager> telRilManager_; variable
Dsim_account_manager.h43 std::shared_ptr<Telephony::ITelRilManager> telRilManager_ = nullptr;
Dsim_sms_manager.h44 std::shared_ptr<Telephony::ITelRilManager> telRilManager_ = nullptr; variable
Dstk_controller.h54 std::weak_ptr<Telephony::ITelRilManager> telRilManager_;
Dsim_sms_controller.h56 std::shared_ptr<Telephony::ITelRilManager> telRilManager_ = nullptr; variable

12