/base/web/webview/ohos_adapter/net_connect_adapter/src/ |
D | net_connect_utils.cpp | 19 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 …]
|
D | net_connect_callback_impl.cpp | 52 RadioTech radioTech = RadioTech::RADIO_TECHNOLOGY_UNKNOWN; in NetCapabilitiesChange()
|
D | net_connect_adapter_impl.cpp | 91 RadioTech radioTech = RadioTech::RADIO_TECHNOLOGY_UNKNOWN; in GetDefaultNetConnect()
|
/base/web/webview/test/unittest/net_connect_adapter_test/ |
D | net_connect_adapter_test.cpp | 55 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/ |
D | network_search_types.h | 53 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 …]
|
D | network_state.h | 36 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/ |
D | network_register.cpp | 115 …RadioTech tech = ConvertTechFromRil(static_cast<HRilRadioTech>(csRegStateResult->radioTechnology)); in ProcessCsRegister() 160 …RadioTech 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 …]
|
D | radio_info.cpp | 222 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 …]
|
D | cell_info.cpp | 155 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/ |
D | net_connect_utils.h | 33 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/ |
D | radio_info.h | 36 void UpdatePhone(RadioTech csRadioTech, const RadioTech &psRadioTech); 42 PhoneType RadioTechToPhoneType(RadioTech csRadioTech, const RadioTech &psRadioTech) const;
|
D | network_search_state.h | 38 void SetNetworkType(RadioTech tech, DomainType domainType); 43 void SetCfgTech(RadioTech tech);
|
D | network_register.h | 60 RadioTech ConvertTechFromRil(HRilRadioTech code) const; 93 std::map<NrState, RadioTech> nrConfigMap_;
|
D | network_search_handler.h | 51 void UpdatePhone(RadioTech csRadioTech, const RadioTech &psRadioTech) const;
|
D | cell_info.h | 66 CellInformation::CellType ConvertTechToCellType(RadioTech techType) const;
|
/base/telephony/cellular_data/services/src/utils/ |
D | cellular_data_utils.cpp | 221 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/ |
D | network_state.cpp | 42 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/ |
D | zero_branch_test.cpp | 341 …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/ |
D | event_listener_handler.cpp | 113 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/ |
D | sim_file_manager.cpp | 568 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/ |
D | cellular_data_state_machine.h | 45 rilRat_(RadioTech::RADIO_TECHNOLOGY_UNKNOWN), apnId_(0) in CellularDataStateMachine() 91 RadioTech rilRat_;
|
/base/telephony/core_service/test/unittest/core_service_gtest/ |
D | zero_branch_test.cpp | 187 …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/ |
D | data_connection_manager.cpp | 313 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()
|
D | cellular_data_handler.cpp | 226 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/ |
D | active.cpp | 260 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()
|