Home
last modified time | relevance | path

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

12

/base/telephony/core_service/services/tel_ril/test/
Dtel_ril_test.cpp174 std::shared_ptr<ITelRilManager> telRilManager_ = nullptr; member in OHOS::Telephony::__anon1fec24bb0111::TelRilTest
404 telRilManager_ = std::make_shared<TelRilManager>(); in OnInitInterface()
405 telRilManager_->OnInit(); in OnInitInterface()
554 telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_STATE_CHANGED, nullptr); in OnInitForRegister()
555telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_IMS_NETWORK_STATE_CHANGED, n… in OnInitForRegister()
556 telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_ON, nullptr); in OnInitForRegister()
557 telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_NOT_AVAIL, nullptr); in OnInitForRegister()
558telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_CALL_STATUS_INFO, nullptr); in OnInitForRegister()
559 telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_NETWORK_STATE, nullptr); in OnInitForRegister()
560telRilManager_->RegisterCoreNotify(slotId, handler, RadioEvent::RADIO_DATA_CALL_LIST_CHANGED, null… in OnInitForRegister()
[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()
95 if (telRilManager_ == nullptr) { in RegisterCoreNotify()
99 return telRilManager_->RegisterCoreNotify(slotId, handler, what, obj); in RegisterCoreNotify()
120 if (telRilManager_ == nullptr) { in UnRegisterCoreNotify()
124 return telRilManager_->UnRegisterCoreNotify(slotId, observerCallBack, what); in UnRegisterCoreNotify()
188 if (telRilManager_ == nullptr) { in SetUssd()
198 return telRilManager_->SetUssd(slotId, str, response); in SetUssd()
[all …]
/base/telephony/core_service/test/unittest/tel_ril_gtest/
Dtel_ril_test.cpp70 std::shared_ptr<Telephony::ITelRilManager> TelRilTest::telRilManager_ = nullptr; member in OHOS::Telephony::TelRilTest
80 telRilManager_ = std::make_shared<TelRilManager>(); in SetUpTestCase()
81 auto ret = telRilManager_->OnInit(); in SetUpTestCase()
285 if (event != nullptr && telRilManager_ != nullptr) { in CallGetCurrentCallsStatusTest()
288 telRilManager_->GetCallList(slotId, event); in CallGetCurrentCallsStatusTest()
305 if (event != nullptr && telRilManager_ != nullptr) { in SimGetSimStatusTest()
308 telRilManager_->GetSimStatus(slotId, event); in SimGetSimStatusTest()
324 if (event != nullptr && telRilManager_ != nullptr) { in SimIccIoTest()
336 telRilManager_->GetSimIO(slotId, msg, event); in SimIccIoTest()
352 if (event != nullptr && telRilManager_ != nullptr) { in SimGetImsiTest()
[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()
103 telRilManager_->UnlockPin(slotId, pin, event); in UnlockPin()
115 telRilManager_->UnlockPuk(slotId, puk, newPin, event); in UnlockPuk()
133 telRilManager_->ChangeSimPassword(slotId, simPinPassword, event); in AlterPin()
145 telRilManager_->UnlockPin2(slotId, pin2, event); in UnlockPin2()
157 telRilManager_->UnlockPuk2(slotId, puk2, newPin2, event); in UnlockPuk2()
175 telRilManager_->ChangeSimPassword(slotId, simPin2Password, event); in AlterPin2()
195 telRilManager_->SetSimLock(slotId, simLock, event); in SetLockState()
[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 …std::make_shared<IccOperatorPrivilegeController>(privilegesRunner_, telRilManager_, simStateManage… in HasOperatorPrivileges()
Dradio_protocol_controller.cpp29 : AppExecFwk::EventHandler(runner), telRilManager_(telRilManager) in RadioProtocolController()
38 if (telRilManager_ == nullptr) { in Init()
56telRilManager_->RegisterCoreNotify(i, shared_from_this(), RADIO_SIM_RADIO_PROTOCOL_NOTIFY, nullptr… in Init()
67 if (telRilManager_ == nullptr) { in GetRadioProtocol()
77 telRilManager_->GetRadioProtocol(slotId, event); in GetRadioProtocol()
312 if (telRilManager_ == nullptr || radioProtocol.empty()) { in SendRadioProtocolEvent()
328 telRilManager_->SetRadioProtocol(i, radioProtocol[i], event); in SendRadioProtocolEvent()
378 if (telRilManager_ == nullptr) { in UnRegisterEvents()
383telRilManager_->UnRegisterCoreNotify(i, shared_from_this(), RADIO_SIM_RADIO_PROTOCOL_NOTIFY); in UnRegisterEvents()
413 if (telRilManager_ == nullptr) { in SetActiveSimToRil()
[all …]
Dstk_manager.cpp25 : telRilManager_(telRilManager), simStateManager_(simStateManager) in StkManager()
39 if (telRilManager_ == nullptr || simStateManager_ == nullptr) { in Init()
50 …stkController_ = std::make_shared<StkController>(stkEventLoop_, telRilManager_, simStateManager_, … in Init()
Dicc_file_controller.cpp121 if (telRilManager_ != nullptr) { in ProcessRecordSize()
131telRilManager_->GetSimIO(slotId_, msg, BuildCallerInfo(MSG_SIM_OBTAIN_FIXED_ELEMENTARY_FILE_DONE, … in ProcessRecordSize()
156 if (telRilManager_ != nullptr) { in ProcessBinarySize()
166 telRilManager_->GetSimIO(slotId_, msg, process); in ProcessBinarySize()
197telRilManager_->GetSimIO(slotId_, msg, BuildCallerInfo(MSG_SIM_OBTAIN_FIXED_ELEMENTARY_FILE_DONE, … in ProcessReadRecord()
244 if (telRilManager_ != nullptr) { in ObtainBinaryFile()
254 telRilManager_->GetSimIO(slotId_, msg, process); in ObtainBinaryFile()
263 if (telRilManager_ != nullptr) { in ObtainBinaryFile()
273 telRilManager_->GetSimIO(slotId_, msg, process); in ObtainBinaryFile()
286 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.cpp24 : telRilManager_(telRilManager), simFileManager_(simFileManager), stateManager_(simStateManager) in SimSmsManager()
40 if (telRilManager_ == nullptr) { in Init()
62 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.cpp174 : AppExecFwk::EventHandler(runner), slotId_(0), telRilManager_(telRilManager), in IccOperatorPrivilegeController()
187 if (telRilManager_ == nullptr) { in Init()
318 telRilManager_->SimOpenLogicalChannel(slotId_, ARAM_AID.data(), P2, response); in OpenChannel()
351 telRilManager_->SimTransmitApduLogicalChannel(slotId_, reqInfo, transmitEvent); in ProcessOpenLogicalChannelDone()
383 telRilManager_->SimTransmitApduLogicalChannel(slotId_, reqInfo, transmitEvent); in ProcessTransmitLogicalChannelDone()
393 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.cpp25 : AppExecFwk::EventHandler(runner), telRilManager_(telRilManager), simStateManager_(state) in SimFileManager()
53 if (telRilManager_ == nullptr) { in Init()
80 telRilManager_->RegisterCoreNotify( in Init()
118 simFile_->SetRilAndFileController(telRilManager_, fileController_, diallingNumberHandler_); in InitSimFile()
155 fileController_->SetRilManager(telRilManager_); in InitIccFileController()
/base/telephony/core_service/test/fuzztest/updatesmsicc_fuzzer/
Dupdatesmsicc_fuzzer.cpp39 auto telRilManager_ = std::make_shared<TelRilManager>(); in DoSomethingInterestingWithMyAPI() local
40 auto stateManager_ = std::make_shared<SimStateManager>(telRilManager_); in DoSomethingInterestingWithMyAPI()
/base/telephony/core_service/services/network_search/include/
Dnetwork_utils.h94 : telRilManager_(telRilManager), networkSearchManager_(networkSearchManager) in EventSender()
277 std::shared_ptr<ITelRilManager> telRilManager_ = nullptr; variable
297 if (telRilManager_ == nullptr) { in Send()
337 if (telRilManager_.get() == nullptr) { in Send()
341 (telRilManager_.get()->*rilFuncPointer)(slotId, args..., event); in Send()
Ddevice_state_handler.h50 std::weak_ptr<ITelRilManager> telRilManager_; variable
/base/telephony/core_service/test/fuzztest/updatevoicemail_fuzzer/
Dupdatevoicemail_fuzzer.cpp48 auto telRilManager_ = std::make_shared<TelRilManager>(); in DoSomethingInterestingWithMyAPI() local
49 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()
162 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in SetNotificationFilter()
178 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in SetDeviceState()
Dnetwork_search_handler.cpp65 …: AppExecFwk::EventHandler(runner), networkSearchManager_(networkSearchManager), telRilManager_(te… in NetworkSearchHandler()
165 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in RegisterEvents()
203 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in UnregisterEvents()
396 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in GetRilSignalIntensity()
521 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in GetRilOperatorInfo()
538 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in GetRilPsRegistration()
565 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in GetRilCsRegistration()
776 std::shared_ptr<ITelRilManager> telRilManager = telRilManager_.lock(); in SendUpdateCellLocationRequest()
/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
/base/telephony/core_service/services/tel_ril/include/
Dtel_ril_callback.h254 if (telRilManager_ == nullptr) { in Response()
259 telRilManager_->SendAckAndLock(); in Response()
268 if (telRilManager_ == nullptr) { in Notify()
273 telRilManager_->SendAckAndLock(); in Notify()
286 if (telRilManager_ == nullptr || _func == nullptr || _moduleFunc == nullptr) { in TaskSchedule()
290 …return ((telRilManager_.get()->*(_func))(slotId).*(_moduleFunc))(std::forward<ParamTypes>(_args)..… in TaskSchedule()
294 std::shared_ptr<TelRilManager> telRilManager_;

12