Home
last modified time | relevance | path

Searched refs:CellularDataUtils (Results 1 - 7 of 7) sorted by relevance

/base/telephony/cellular_data/services/src/utils/
H A Dcellular_data_utils.cpp24 std::vector<AddressInfo> CellularDataUtils::ParseIpAddr(const std::string &address) in ParseIpAddr()
53 std::vector<AddressInfo> CellularDataUtils::ParseNormalIpAddr(const std::string &address) in ParseNormalIpAddr()
72 std::vector<RouteInfo> CellularDataUtils::ParseRoute(const std::string &address) in ParseRoute()
91 std::vector<std::string> CellularDataUtils::Split(const std::string &input, const std::string &flag) in Split()
110 int32_t CellularDataUtils::GetPrefixLen(const std::string &netmask, const std::string& flag) in GetPrefixLen()
116 int32_t CellularDataUtils::GetPrefixLen(const std::vector<std::string> &netmask, const size_t start) in GetPrefixLen()
138 int CellularDataUtils::GetDefaultMobileMtuConfig() in GetDefaultMobileMtuConfig()
145 bool CellularDataUtils::GetDefaultPreferApnConfig() in GetDefaultPreferApnConfig()
152 bool CellularDataUtils::GetDefaultMultipleConnectionsConfig() in GetDefaultMultipleConnectionsConfig()
159 std::string CellularDataUtils
[all...]
/base/telephony/cellular_data/services/include/utils/
H A Dcellular_data_utils.h29 class CellularDataUtils { class
43 CellularDataUtils() = default;
44 ~CellularDataUtils() = default;
/base/telephony/cellular_data/test/
H A Dzero_branch_test.cpp1180 CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_UNKNOWN))); in HWTEST_F()
1182 "EDGE", CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_GSM))); in HWTEST_F()
1184 CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_1XRTT))); in HWTEST_F()
1186 CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_WCDMA))); in HWTEST_F()
1188 "HSPA", CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_HSPA))); in HWTEST_F()
1190 CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_HSPAP))); in HWTEST_F()
1192 CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_TD_SCDMA))); in HWTEST_F()
1194 "EVDO", CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_EVDO))); in HWTEST_F()
1196 CellularDataUtils::ConvertRadioTechToRadioName(static_cast<int32_t>(RadioTech::RADIO_TECHNOLOGY_EHRPD))); in HWTEST_F()
1198 "LTE", CellularDataUtils in HWTEST_F()
[all...]
/base/telephony/cellular_data/services/src/
H A Ddata_connection_manager.cpp347 linkBandwidthVec = CellularDataUtils::Split(DEFAULT_BANDWIDTH_CONFIG, ";"); in GetDefaultBandWidthsConfig()
352 std::vector<std::string> linkBandwidths = CellularDataUtils::Split(temp, ":"); in GetDefaultBandWidthsConfig()
356 std::vector<std::string> upDownBandwidthValue = CellularDataUtils::Split(linkUpDownBandwidth, ","); in GetDefaultBandWidthsConfig()
394 std::vector<std::string> tcpBufferVec = CellularDataUtils::Split(tcpBufferConfig, ";"); in GetDefaultTcpBufferConfig()
398 std::vector<std::string> str = CellularDataUtils::Split(tcpBuffer, ":"); in GetDefaultTcpBufferConfig()
410 std::string radioTechName = CellularDataUtils::ConvertRadioTechToRadioName(radioTech); in GetBandwidthsByRadioTech()
438 std::string radioTechName = CellularDataUtils::ConvertRadioTechToRadioName(radioTech); in GetTcpBufferByRadioTech()
H A Dcellular_data_handler.cpp2003 defaultMobileMtuConfig_ = CellularDataUtils::GetDefaultMobileMtuConfig(); in GetDefaultConfiguration()
2005 defaultPreferApn_ = CellularDataUtils::GetDefaultPreferApnConfig(); in GetDefaultConfiguration()
2007 multipleConnectionsEnabled_ = CellularDataUtils::GetDefaultMultipleConnectionsConfig(); in GetDefaultConfiguration()
2051 upLinkThresholds_ = CellularDataUtils::Split(upLinkConfig, ","); in GetDefaultUpLinkThresholdsConfig()
2061 downLinkThresholds_ = CellularDataUtils::Split(downLinkConfig, ","); in GetDefaultDownLinkThresholdsConfig()
/base/telephony/cellular_data/services/src/apn_manager/
H A Dapn_item.cpp71 apnItem->apnTypes_ = CellularDataUtils::Split(apnType, ","); in MakeDefaultApn()
95 apnItem->apnTypes_ = CellularDataUtils::Split(apnData.apnTypes, ","); in MakeApn()
/base/telephony/cellular_data/services/src/state_machine/
H A Dcellular_data_state_machine.cpp257 std::vector<std::string> mtuArray = CellularDataUtils::Split(mtuString, ";"); in GetMtuSizeFromOpCfg()
259 std::vector<std::string> mtuIpTypeArray = CellularDataUtils::Split(ipTypeArray, ":"); in GetMtuSizeFromOpCfg()
324 std::vector<AddressInfo> ipInfoArray = CellularDataUtils::ParseIpAddr(dataCallInfo.address); in UpdateNetworkInfo()
325 std::vector<AddressInfo> dnsInfoArray = CellularDataUtils::ParseNormalIpAddr(dataCallInfo.dns); in UpdateNetworkInfo()
326 std::vector<AddressInfo> dnsSecArray = CellularDataUtils::ParseNormalIpAddr(dataCallInfo.dnsSec); in UpdateNetworkInfo()
328 std::vector<AddressInfo> routeInfoArray = CellularDataUtils::ParseNormalIpAddr(dataCallInfo.gateway); in UpdateNetworkInfo()

Completed in 12 milliseconds