Home
last modified time | relevance | path

Searched refs:NetBearType (Results 1 – 12 of 12) sorted by relevance

/base/web/webview/test/unittest/net_connect_adapter_test/
Dnet_connect_adapter_test.cpp120 std::unordered_map<NetBearType, OHOS::NWeb::NetConnectType> typeMap;
121 … typeMap.insert(std::make_pair(NetBearType::BEARER_CELLULAR, NetConnectType::CONNECTION_UNKNOWN));
122 typeMap.insert(std::make_pair(NetBearType::BEARER_WIFI, NetConnectType::CONNECTION_WIFI));
123 …typeMap.insert(std::make_pair(NetBearType::BEARER_BLUETOOTH, NetConnectType::CONNECTION_BLUETOOTH)…
124 … typeMap.insert(std::make_pair(NetBearType::BEARER_ETHERNET, NetConnectType::CONNECTION_ETHERNET));
125 typeMap.insert(std::make_pair(NetBearType::BEARER_VPN, NetConnectType::CONNECTION_UNKNOWN));
126 …typeMap.insert(std::make_pair(NetBearType::BEARER_WIFI_AWARE, NetConnectType::CONNECTION_UNKNOWN));
127 typeMap.insert(std::make_pair(NetBearType::BEARER_DEFAULT, NetConnectType::CONNECTION_UNKNOWN));
129 NetBearType netBearType = iter.first;
137 static_cast<NetBearType>(BEARER_ELSE), RadioTech::RADIO_TECHNOLOGY_UNKNOWN));
/base/web/webview/test/unittest/net_connect_callback_impl_test/
Dnet_connect_callback_impl_test.cpp111 netAllCap->bearerTypes_.insert(NetBearType::BEARER_WIFI);
112 netAllCap->bearerTypes_.insert(NetBearType::BEARER_BLUETOOTH);
113 netAllCap->bearerTypes_.insert(NetBearType::BEARER_ETHERNET);
114 netAllCap->bearerTypes_.insert(NetBearType::BEARER_CELLULAR);
140 netAllCap->bearerTypes_.insert(NetBearType::BEARER_WIFI);
/base/web/webview/ohos_adapter/net_connect_adapter/include/
Dnet_connect_utils.h34 …static NetConnectType ConvertToConnectType(const NetBearType &netBearType, const RadioTech &subtyp…
/base/telephony/core_service/services/network_search/include/
Ddevice_state_observer.h36 using NetBearType = OHOS::NetManagerStandard::NetBearType; variable
/base/web/webview/test/unittest/net_connect_adapter_impl_test/
Dnet_connect_adapter_impl_test.cpp58 netAllCap.bearerTypes_.insert(NetBearType::BEARER_WIFI); in GetNetCapabilities()
59 netAllCap.bearerTypes_.insert(NetBearType::BEARER_CELLULAR); in GetNetCapabilities()
/base/update/update_app/common/src/main/ets/util/
DNetUtils.ts59 …fo?.bearerTypes?.length === 1 && info?.bearerTypes?.[0] === connection.NetBearType.BEARER_CELLULAR…
/base/request/request/services/service/rust/src/c_wrapper/source/
Dnetwork_adapter.cpp115 …if (capabilities.bearerTypes_.find(NetBearType::BEARER_CELLULAR) != capabilities.bearerTypes_.end(… in UpdateNetworkInfoInner()
119 …} else if (capabilities.bearerTypes_.find(NetBearType::BEARER_WIFI) != capabilities.bearerTypes_.e… in UpdateNetworkInfoInner()
/base/telephony/sms_mms/services/mms/
Dmms_network_manager.cpp35 netAllCapabilities.bearerTypes_.insert(NetBearType::BEARER_CELLULAR); in AcquireNetwork()
/base/web/webview/ohos_adapter/net_connect_adapter/src/
Dnet_connect_utils.cpp74 NetConnectType NetConnectUtils::ConvertToConnectType(const NetBearType &netBearType, const RadioTec… in ConvertToConnectType()
/base/telephony/core_service/services/network_search/src/
Ddevice_state_observer.cpp128 …if (data.GetWant().GetIntParam(NET_TYPE, NetBearType::BEARER_DEFAULT) == NetBearType::BEARER_WIFI)… in ProcessWifiState()
/base/telephony/cellular_data/services/src/utils/
Dcellular_data_net_agent.cpp59NetBearType::BEARER_CELLULAR, std::string(IDENT_PREFIX) + std::to_string(simId), netCap, supplierI… in RegisterNetSupplier()
/base/telephony/cellular_data/test/unit_test/
Dcellular_data_code_test.cpp415 netAllCapabilities.bearerTypes_.insert(NetBearType::BEARER_CELLULAR); in AcquireMmsNetwork()