Lines Matching refs:CellularDataHandler
47 CellularDataHandler::CellularDataHandler(const EventFwk::CommonEventSubscribeInfo &sp, int32_t slotId)
48 : TelEventHandler("CellularDataHandler"), CommonEventSubscriber(sp), slotId_(slotId)
51 void CellularDataHandler::Init()
76 CellularDataHandler::~CellularDataHandler() {}
78 bool CellularDataHandler::ReleaseNet(const NetRequest &request)
96 bool CellularDataHandler::RequestNet(const NetRequest &request)
112 bool CellularDataHandler::AddUid(const NetRequest &request)
127 bool CellularDataHandler::RemoveUid(const NetRequest &request)
141 int32_t CellularDataHandler::SetCellularDataEnable(bool userDataOn)
168 int32_t CellularDataHandler::SetIntelligenceSwitchEnable(bool userSwitchOn)
186 int32_t CellularDataHandler::IsCellularDataEnabled(bool &dataEnabled) const
195 int32_t CellularDataHandler::IsCellularDataRoamingEnabled(bool &dataRoamingEnabled) const
213 int32_t CellularDataHandler::GetIntelligenceSwitchState(bool &switchState)
229 int32_t CellularDataHandler::SetCellularDataRoamingEnabled(bool dataRoamingEnabled)
258 void CellularDataHandler::ClearAllConnections(DisConnectionReason reason)
278 void CellularDataHandler::ClearConnectionsOnUpdateApns(DisConnectionReason reason)
302 void CellularDataHandler::ResetDataFlowType()
314 void CellularDataHandler::ClearConnection(const sptr<ApnHolder> &apn, DisConnectionReason reason)
345 ApnProfileState CellularDataHandler::GetCellularDataState() const
354 ApnProfileState CellularDataHandler::GetCellularDataState(const std::string &apnType) const
368 void CellularDataHandler::RadioPsConnectionAttached(const InnerEvent::Pointer &event)
378 void CellularDataHandler::RadioPsConnectionDetached(const InnerEvent::Pointer &event)
388 void CellularDataHandler::RoamingStateOn(const InnerEvent::Pointer &event)
416 void CellularDataHandler::RoamingStateOff(const InnerEvent::Pointer &event)
438 void CellularDataHandler::PsRadioEmergencyStateOpen(const InnerEvent::Pointer &event)
448 void CellularDataHandler::PsRadioEmergencyStateClose(const InnerEvent::Pointer &event)
458 void CellularDataHandler::EstablishAllApnsIfConnectable()
479 bool CellularDataHandler::SetDataPermittedForMms(bool dataPermittedForMms)
502 bool CellularDataHandler::CheckDataPermittedByDsds()
523 bool CellularDataHandler::CheckCellularDataSlotId(sptr<ApnHolder> &apnHolder)
558 bool CellularDataHandler::CheckAttachAndSimState(sptr<ApnHolder> &apnHolder)
584 bool CellularDataHandler::CheckRoamingState(sptr<ApnHolder> &apnHolder)
631 bool CellularDataHandler::CheckApnState(sptr<ApnHolder> &apnHolder)
665 void CellularDataHandler::AttemptEstablishDataConnection(sptr<ApnHolder> &apnHolder)
686 std::shared_ptr<CellularDataStateMachine> CellularDataHandler::FindIdleCellularDataConnection() const
695 TELEPHONY_LOGE("Slot%{public}d: CellularDataHandler:stateMachine or apnManager_ is null", slotId_);
705 std::shared_ptr<CellularDataStateMachine> CellularDataHandler::CreateCellularDataConnect()
716 bool CellularDataHandler::EstablishDataConnection(sptr<ApnHolder> &apnHolder, int32_t radioTech)
783 void CellularDataHandler::EstablishDataConnectionComplete(const InnerEvent::Pointer &event)
831 std::shared_ptr<DataShare::DataShareHelper> CellularDataHandler::CreatorDataShareHelper()
846 bool CellularDataHandler::GetCurrentDataShareApnInfo(std::shared_ptr<DataShare::DataShareHelper> dataShareHelper,
873 void CellularDataHandler::UpdateApnInfo(const int32_t profileId)
907 int32_t CellularDataHandler::GetSlotId() const
912 void CellularDataHandler::DisconnectDataComplete(const InnerEvent::Pointer &event)
960 void CellularDataHandler::RetryOrClearConnection(const sptr<ApnHolder> &apnHolder, DisConnectionReason reason,
983 void CellularDataHandler::RetryToSetupDatacall(const AppExecFwk::InnerEvent::Pointer &event)
995 void CellularDataHandler::UpdatePhysicalConnectionState(bool noActiveConnection)
1006 void CellularDataHandler::HandleSortConnection()
1022 void CellularDataHandler::MsgEstablishDataConnection(const InnerEvent::Pointer &event)
1052 bool CellularDataHandler::IsSimRequestNetOnVSimEnabled(int32_t reqType, bool isMmsType) const
1065 void CellularDataHandler::SetNetRequest(NetRequest &request, const std::unique_ptr<NetRequest> &netRequest)
1074 void CellularDataHandler::SendEstablishDataConnectionEvent(int32_t id)
1082 void CellularDataHandler::MsgRequestNetwork(const InnerEvent::Pointer &event)
1137 bool CellularDataHandler::WriteEventCellularRequest(NetRequest request, int32_t state)
1148 void CellularDataHandler::ProcessEvent(const InnerEvent::Pointer &event)
1161 void CellularDataHandler::OnReceiveEvent(const EventFwk::CommonEventData &data)
1201 void CellularDataHandler::HandleScreenStateChanged(bool isScreenOn) const
1210 bool CellularDataHandler::IsSimStateReadyOrLoaded()
1218 void CellularDataHandler::UpdateCellularDataConnectState(const std::string &apnType)
1228 void CellularDataHandler::HandleSettingSwitchChanged(const InnerEvent::Pointer &event)
1238 void CellularDataHandler::HandleDBSettingIncallChanged(const AppExecFwk::InnerEvent::Pointer &event)
1258 std::shared_ptr<IncallDataStateMachine> CellularDataHandler::CreateIncallDataStateMachine(int32_t callState)
1270 void CellularDataHandler::IncallDataComplete(const InnerEvent::Pointer &event)
1278 void CellularDataHandler::HandleCallChanged(int32_t state)
1302 void CellularDataHandler::HandleImsCallChanged(int32_t state)
1324 void CellularDataHandler::HandleVoiceCallChanged(int32_t state)
1353 void CellularDataHandler::HandleDefaultDataSubscriptionChanged()
1373 void CellularDataHandler::ReleaseAllNetworkRequest()
1387 void CellularDataHandler::HandleSimStateChanged()
1409 void CellularDataHandler::HandleRecordsChanged()
1430 void CellularDataHandler::HandleSimEvent(const AppExecFwk::InnerEvent::Pointer &event)
1463 void CellularDataHandler::HandleSimAccountLoaded()
1489 void CellularDataHandler::CreateApnItem()
1504 bool CellularDataHandler::HandleApnChanged()
1522 void CellularDataHandler::HandleApnChanged(const InnerEvent::Pointer &event)
1546 int32_t CellularDataHandler::GetCellularDataFlowType()
1555 void CellularDataHandler::HandleRadioStateChanged(const AppExecFwk::InnerEvent::Pointer &event)
1588 void CellularDataHandler::HandleDsdsModeChanged(const AppExecFwk::InnerEvent::Pointer &event)
1631 void CellularDataHandler::ClearConnectionIfRequired()
1671 void CellularDataHandler::PsDataRatChanged(const InnerEvent::Pointer &event)
1698 void CellularDataHandler::SetPolicyDataOn(bool enable)
1715 bool CellularDataHandler::IsRestrictedMode() const
1727 DisConnectionReason CellularDataHandler::GetDisConnectionReason()
1732 void CellularDataHandler::SetDataPermitted(int32_t slotId, bool dataPermitted)
1750 void CellularDataHandler::SetDataPermittedResponse(const AppExecFwk::InnerEvent::Pointer &event)
1766 bool CellularDataHandler::GetEsmFlagFromOpCfg()
1780 void CellularDataHandler::SetRilAttachApn()
1810 void CellularDataHandler::SetRilAttachApnResponse(const AppExecFwk::InnerEvent::Pointer &event)
1828 bool CellularDataHandler::HasAnyHigherPriorityConnection(const sptr<ApnHolder> &apnHolder)
1855 bool CellularDataHandler::HasInternetCapability(const int32_t cid) const
1873 bool CellularDataHandler::ChangeConnectionForDsds(bool enable)
1889 void CellularDataHandler::GetConfigurationFor5G()
1902 bool CellularDataHandler::ParseOperatorConfig(const std::u16string &configName)
1916 void CellularDataHandler::GetSinglePdpEnabledFromOpCfg()
1926 bool CellularDataHandler::IsSingleConnectionEnabled(int32_t radioTech)
1946 void CellularDataHandler::GetDefaultDataRoamingConfig()
1993 void CellularDataHandler::GetDefaultConfiguration()
2014 void CellularDataHandler::HandleRadioNrStateChanged(const AppExecFwk::InnerEvent::Pointer &event)
2029 void CellularDataHandler::HandleRadioNrFrequencyChanged(const AppExecFwk::InnerEvent::Pointer &event)
2044 void CellularDataHandler::GetDefaultUpLinkThresholdsConfig()
2054 void CellularDataHandler::GetDefaultDownLinkThresholdsConfig()
2064 void CellularDataHandler::SetRilLinkBandwidths()
2082 void CellularDataHandler::HandleDBSettingEnableChanged(const AppExecFwk::InnerEvent::Pointer &event)
2102 void CellularDataHandler::HandleDBSettingRoamingChanged(const AppExecFwk::InnerEvent::Pointer &event)
2136 void CellularDataHandler::UnRegisterDataSettingObserver()
2170 void CellularDataHandler::RegisterDataSettingObserver()
2204 void CellularDataHandler::OnRilAdapterHostDied(const AppExecFwk::InnerEvent::Pointer &event)
2219 void CellularDataHandler::GetDataConnApnAttr(ApnItem::Attribute &apnAttr) const
2241 std::string CellularDataHandler::GetDataConnIpType() const
2264 int32_t CellularDataHandler::GetDataRecoveryState()
2273 void CellularDataHandler::HandleFactoryReset(const InnerEvent::Pointer &event)
2285 void CellularDataHandler::IsNeedDoRecovery(bool needDoRecovery) const
2294 void CellularDataHandler::OnCleanAllDataConnectionsDone(const AppExecFwk::InnerEvent::Pointer &event)
2299 bool CellularDataHandler::IsVSimSlotId(int32_t slotId)
2309 std::shared_ptr<CellularDataStateMachine> CellularDataHandler::CheckForCompatibleDataConnection(
2354 void CellularDataHandler::HandleUpdateNetInfo(const AppExecFwk::InnerEvent::Pointer &event)
2385 bool CellularDataHandler::IsGsm()
2392 bool CellularDataHandler::IsCdma()
2399 void CellularDataHandler::ReleaseCellularDataConnection()
2414 bool CellularDataHandler::UpdateNetworkInfo()