Home
last modified time | relevance | path

Searched refs:RadioTech (Results 1 – 25 of 32) sorted by relevance

12

/base/web/webview/ohos_adapter/net_connect_adapter/src/
Dnet_connect_utils.cpp19 NetConnectType NetConnectUtils::ConvertToConnectTypeInner(const RadioTech &subtype) in ConvertToConnectTypeInner()
22 case RadioTech::RADIO_TECHNOLOGY_UNKNOWN: in ConvertToConnectTypeInner()
23 case RadioTech::RADIO_TECHNOLOGY_IWLAN: in ConvertToConnectTypeInner()
25 case RadioTech::RADIO_TECHNOLOGY_GSM: in ConvertToConnectTypeInner()
26 case RadioTech::RADIO_TECHNOLOGY_1XRTT: in ConvertToConnectTypeInner()
28 case RadioTech::RADIO_TECHNOLOGY_WCDMA: in ConvertToConnectTypeInner()
29 case RadioTech::RADIO_TECHNOLOGY_HSPA: in ConvertToConnectTypeInner()
30 case RadioTech::RADIO_TECHNOLOGY_HSPAP: in ConvertToConnectTypeInner()
31 case RadioTech::RADIO_TECHNOLOGY_TD_SCDMA: in ConvertToConnectTypeInner()
32 case RadioTech::RADIO_TECHNOLOGY_EVDO: in ConvertToConnectTypeInner()
[all …]
Dnet_connect_callback_impl.cpp52 RadioTech radioTech = RadioTech::RADIO_TECHNOLOGY_UNKNOWN; in NetCapabilitiesChange()
Dnet_connect_adapter_impl.cpp91 RadioTech radioTech = RadioTech::RADIO_TECHNOLOGY_UNKNOWN; in GetDefaultNetConnect()
/base/web/webview/test/unittest/net_connect_adapter_test/
Dnet_connect_adapter_test.cpp55 std::unordered_map<RadioTech, NetConnectType> typeMap;
56 …typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_UNKNOWN, NetConnectType::CONNECTION_UNKN…
57 …typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_IWLAN, NetConnectType::CONNECTION_UNKNOW…
58 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_GSM, NetConnectType::CONNECTION_2G));
59 … typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_1XRTT, NetConnectType::CONNECTION_2G));
60 … typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_WCDMA, NetConnectType::CONNECTION_3G));
61 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_HSPA, NetConnectType::CONNECTION_3G));
62 … typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_HSPAP, NetConnectType::CONNECTION_3G));
63 …typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_TD_SCDMA, NetConnectType::CONNECTION_3G)…
64 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_EVDO, NetConnectType::CONNECTION_3G));
[all …]
/base/telephony/core_service/interfaces/innerkits/include/
Dnetwork_search_types.h53 enum class RadioTech { enum
235 RADIO_PROTOCOL_TECH_UNKNOWN = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_UNKNOWN),
236 RADIO_PROTOCOL_TECH_GSM = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_GSM),
237 RADIO_PROTOCOL_TECH_1XRTT = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_1XRTT),
238 RADIO_PROTOCOL_TECH_WCDMA = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_WCDMA),
239 RADIO_PROTOCOL_TECH_HSPA = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_HSPA),
240 RADIO_PROTOCOL_TECH_HSPAP = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_HSPAP),
241 RADIO_PROTOCOL_TECH_TD_SCDMA = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_TD_SCDMA),
242 RADIO_PROTOCOL_TECH_EVDO = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_EVDO),
243 RADIO_PROTOCOL_TECH_EHRPD = 1 << static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_EHRPD),
[all …]
Dnetwork_state.h36 void SetNetworkType(RadioTech tech, DomainType domainType);
40 void SetCfgTech(RadioTech tech);
49 RadioTech GetPsRadioTech() const;
54 RadioTech GetCsRadioTech() const;
95 RadioTech GetCfgTech() const;
105 RadioTech psRadioTech_;
106 RadioTech csRadioTech_;
107 RadioTech cfgTech_;
/base/telephony/core_service/services/network_search/src/
Dnetwork_register.cpp115RadioTech tech = ConvertTechFromRil(static_cast<HRilRadioTech>(csRegStateResult->radioTechnology)); in ProcessCsRegister()
160RadioTech tech = ConvertTechFromRil(static_cast<HRilRadioTech>(psRegStatusResult->radioTechnology)… in ProcessPsRegister()
210 … if (static_cast<RadioTech>(channelConfigInfos_[i].ratType) == RadioTech::RADIO_TECHNOLOGY_NR && in ProcessChannelConfigInfo()
291 RadioTech rat = networkSearchState_->GetNetworkStatus()->GetPsRadioTech(); in UpdateNrState()
292 if (rat == RadioTech::RADIO_TECHNOLOGY_NR) { in UpdateNrState()
297 …if (endcSupport_ && (rat == RadioTech::RADIO_TECHNOLOGY_LTE || rat == RadioTech::RADIO_TECHNOLOGY_… in UpdateNrState()
310 if (rat == RadioTech::RADIO_TECHNOLOGY_LTE) { in UpdateNrState()
313 if (rat == RadioTech::RADIO_TECHNOLOGY_LTE_CA) { in UpdateNrState()
333 RadioTech cfgTech = nrConfigMap_[nrState_]; in UpdateCfgTech()
334 if (cfgTech != RadioTech::RADIO_TECHNOLOGY_NR) { in UpdateCfgTech()
[all …]
Dradio_info.cpp222 void RadioInfo::UpdatePhone(RadioTech csRadioTech, const RadioTech &psRadioTech) in UpdatePhone()
273 UpdatePhone(static_cast<RadioTech>(csRadioTech->actType), static_cast<RadioTech>(psRadioTech)); in ProcessVoiceTechChange()
276 PhoneType RadioInfo::RadioTechToPhoneType(RadioTech csRadioTech, const RadioTech &psRadioTech) const in RadioTechToPhoneType()
280 case RadioTech::RADIO_TECHNOLOGY_GSM: in RadioTechToPhoneType()
281 case RadioTech::RADIO_TECHNOLOGY_WCDMA: in RadioTechToPhoneType()
282 case RadioTech::RADIO_TECHNOLOGY_HSPA: in RadioTechToPhoneType()
283 case RadioTech::RADIO_TECHNOLOGY_HSPAP: in RadioTechToPhoneType()
284 case RadioTech::RADIO_TECHNOLOGY_TD_SCDMA: in RadioTechToPhoneType()
285 case RadioTech::RADIO_TECHNOLOGY_LTE: in RadioTechToPhoneType()
286 case RadioTech::RADIO_TECHNOLOGY_LTE_CA: in RadioTechToPhoneType()
[all …]
Dcell_info.cpp155 CellInformation::CellType type = ConvertTechToCellType(static_cast<RadioTech>(techType)); in UpdateCellLocation()
295 CellInformation::CellType CellInfo::ConvertTechToCellType(RadioTech techType) const in ConvertTechToCellType()
298 case RadioTech::RADIO_TECHNOLOGY_GSM: in ConvertTechToCellType()
300 case RadioTech::RADIO_TECHNOLOGY_WCDMA: in ConvertTechToCellType()
301 case RadioTech::RADIO_TECHNOLOGY_HSPAP: in ConvertTechToCellType()
302 case RadioTech::RADIO_TECHNOLOGY_HSPA: in ConvertTechToCellType()
304 case RadioTech::RADIO_TECHNOLOGY_LTE: in ConvertTechToCellType()
305 case RadioTech::RADIO_TECHNOLOGY_LTE_CA: in ConvertTechToCellType()
307 case RadioTech::RADIO_TECHNOLOGY_TD_SCDMA: in ConvertTechToCellType()
309 case RadioTech::RADIO_TECHNOLOGY_1XRTT: in ConvertTechToCellType()
[all …]
/base/web/webview/ohos_adapter/net_connect_adapter/include/
Dnet_connect_utils.h33 static NetConnectSubtype ConvertToConnectsubtype(const RadioTech &subtype);
34 …static NetConnectType ConvertToConnectType(const NetBearType &netBearType, const RadioTech &subtyp…
37 static NetConnectType ConvertToConnectTypeInner(const RadioTech &subtype);
/base/telephony/core_service/services/network_search/include/
Dradio_info.h36 void UpdatePhone(RadioTech csRadioTech, const RadioTech &psRadioTech);
42 PhoneType RadioTechToPhoneType(RadioTech csRadioTech, const RadioTech &psRadioTech) const;
Dnetwork_search_state.h38 void SetNetworkType(RadioTech tech, DomainType domainType);
43 void SetCfgTech(RadioTech tech);
Dnetwork_register.h60 RadioTech ConvertTechFromRil(HRilRadioTech code) const;
93 std::map<NrState, RadioTech> nrConfigMap_;
Dnetwork_search_handler.h51 void UpdatePhone(RadioTech csRadioTech, const RadioTech &psRadioTech) const;
Dcell_info.h66 CellInformation::CellType ConvertTechToCellType(RadioTech techType) const;
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_utils.cpp221 case static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_UNKNOWN): in ConvertRadioTechToRadioName()
224 case static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_GSM): in ConvertRadioTechToRadioName()
227 case static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_1XRTT): in ConvertRadioTechToRadioName()
230 case static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_WCDMA): in ConvertRadioTechToRadioName()
233 case static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_HSPA): in ConvertRadioTechToRadioName()
236 case static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_HSPAP): in ConvertRadioTechToRadioName()
239 case static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_TD_SCDMA): in ConvertRadioTechToRadioName()
242 case static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_EVDO): in ConvertRadioTechToRadioName()
245 case static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_EHRPD): in ConvertRadioTechToRadioName()
248 case static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_LTE): in ConvertRadioTechToRadioName()
[all …]
/base/telephony/core_service/frameworks/native/src/
Dnetwork_state.cpp42 psRadioTech_ = RadioTech::RADIO_TECHNOLOGY_UNKNOWN; in Init()
43 csRadioTech_ = RadioTech::RADIO_TECHNOLOGY_UNKNOWN; in Init()
44 cfgTech_ = RadioTech::RADIO_TECHNOLOGY_UNKNOWN; in Init()
75 psRadioTech_ = static_cast<RadioTech>(parcel.ReadInt32()); in ReadFromParcel()
76 csRadioTech_ = static_cast<RadioTech>(parcel.ReadInt32()); in ReadFromParcel()
77 cfgTech_ = static_cast<RadioTech>(parcel.ReadInt32()); in ReadFromParcel()
211 RadioTech NetworkState::GetPsRadioTech() const in GetPsRadioTech()
216 RadioTech NetworkState::GetCsRadioTech() const in GetCsRadioTech()
250 void NetworkState::SetNetworkType(RadioTech tech, DomainType domainType) in SetNetworkType()
310 void NetworkState::SetCfgTech(RadioTech tech) in SetCfgTech()
[all …]
/base/telephony/cellular_data/test/
Dzero_branch_test.cpp341 …CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_UN…
343 …"EDGE", CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHN…
345 …CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_1X…
347 …CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_WC…
349 …"HSPA", CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHN…
351 …CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_HS…
353 …CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_TD…
355 …"EVDO", CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHN…
357 …CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_EH…
359 …"LTE", CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNO…
[all …]
/base/telephony/state_registry/frameworks/js/napi/src/
Devent_listener_handler.cpp113 RadioTech techType = static_cast<RadioTech>(radioTechType); in WrapRadioTech()
115 case RadioTech::RADIO_TECHNOLOGY_GSM: in WrapRadioTech()
117 case RadioTech::RADIO_TECHNOLOGY_LTE: in WrapRadioTech()
119 case RadioTech::RADIO_TECHNOLOGY_WCDMA: in WrapRadioTech()
121 case RadioTech::RADIO_TECHNOLOGY_1XRTT: in WrapRadioTech()
123 case RadioTech::RADIO_TECHNOLOGY_HSPA: in WrapRadioTech()
125 case RadioTech::RADIO_TECHNOLOGY_HSPAP: in WrapRadioTech()
127 case RadioTech::RADIO_TECHNOLOGY_TD_SCDMA: in WrapRadioTech()
129 case RadioTech::RADIO_TECHNOLOGY_EVDO: in WrapRadioTech()
131 case RadioTech::RADIO_TECHNOLOGY_EHRPD: in WrapRadioTech()
[all …]
/base/telephony/core_service/services/sim/src/
Dsim_file_manager.cpp568 case int32_t(RadioTech::RADIO_TECHNOLOGY_EHRPD): in GetIccTypeByTech()
569 case int32_t(RadioTech::RADIO_TECHNOLOGY_1XRTT): in GetIccTypeByTech()
571 case int32_t(RadioTech::RADIO_TECHNOLOGY_LTE_CA): in GetIccTypeByTech()
572 case int32_t(RadioTech::RADIO_TECHNOLOGY_LTE): in GetIccTypeByTech()
573 case int32_t(RadioTech::RADIO_TECHNOLOGY_GSM): in GetIccTypeByTech()
574 case int32_t(RadioTech::RADIO_TECHNOLOGY_TD_SCDMA): in GetIccTypeByTech()
575 case int32_t(RadioTech::RADIO_TECHNOLOGY_HSPA): in GetIccTypeByTech()
576 case int32_t(RadioTech::RADIO_TECHNOLOGY_HSPAP): in GetIccTypeByTech()
/base/telephony/cellular_data/services/include/state_machine/
Dcellular_data_state_machine.h45 rilRat_(RadioTech::RADIO_TECHNOLOGY_UNKNOWN), apnId_(0) in CellularDataStateMachine()
91 RadioTech rilRat_;
/base/telephony/core_service/test/unittest/core_service_gtest/
Dzero_branch_test.cpp187 …cellInfo->ConvertTechToCellType(RadioTech::RADIO_TECHNOLOGY_GSM), CellInformation::CellType::CELL_…
189 …cellInfo->ConvertTechToCellType(RadioTech::RADIO_TECHNOLOGY_WCDMA), CellInformation::CellType::CEL…
191 …cellInfo->ConvertTechToCellType(RadioTech::RADIO_TECHNOLOGY_HSPAP), CellInformation::CellType::CEL…
193 …cellInfo->ConvertTechToCellType(RadioTech::RADIO_TECHNOLOGY_HSPA), CellInformation::CellType::CELL…
195 …cellInfo->ConvertTechToCellType(RadioTech::RADIO_TECHNOLOGY_LTE), CellInformation::CellType::CELL_…
197 …cellInfo->ConvertTechToCellType(RadioTech::RADIO_TECHNOLOGY_LTE_CA), CellInformation::CellType::CE…
198 EXPECT_EQ(cellInfo->ConvertTechToCellType(RadioTech::RADIO_TECHNOLOGY_TD_SCDMA),
201 …cellInfo->ConvertTechToCellType(RadioTech::RADIO_TECHNOLOGY_1XRTT), CellInformation::CellType::CEL…
203 …cellInfo->ConvertTechToCellType(RadioTech::RADIO_TECHNOLOGY_EVDO), CellInformation::CellType::CELL…
205 …cellInfo->ConvertTechToCellType(RadioTech::RADIO_TECHNOLOGY_EHRPD), CellInformation::CellType::CEL…
[all …]
/base/telephony/cellular_data/services/src/
Ddata_connection_manager.cpp313 if (radioTech == (int32_t)RadioTech::RADIO_TECHNOLOGY_LTE && in GetBandwidthsByRadioTech()
340 if ((radioTech == (int32_t)RadioTech::RADIO_TECHNOLOGY_LTE || in GetTcpBufferByRadioTech()
341 radioTech == (int32_t)RadioTech::RADIO_TECHNOLOGY_LTE_CA) && in GetTcpBufferByRadioTech()
Dcellular_data_handler.cpp226 int32_t networkType = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in ClearAllConnections()
518 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in AttemptEstablishDataConnection()
635 int32_t networkType = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in EstablishDataConnectionComplete()
680 int32_t networkType = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in DisconnectDataComplete()
840 int32_t psRadioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in HandleVoiceCallChanged()
842 bool support = (psRadioTech == static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_GSM)); in HandleVoiceCallChanged()
1036 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in PsDataRatChanged()
1080 int32_t networkType = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in IsRestrictedMode()
1082 bool support = (networkType == (int32_t)RadioTech::RADIO_TECHNOLOGY_GSM); in IsRestrictedMode()
/base/telephony/cellular_data/services/src/state_machine/
Dactive.cpp260 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in RefreshTcpBufferSizes()
279 int32_t radioTech = static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_INVALID); in RefreshConnectionBandwidths()

12