Searched refs:NetBearType (Results 1 – 12 of 12) sorted by relevance
/base/web/webview/test/unittest/net_connect_adapter_test/ |
D | net_connect_adapter_test.cpp | 120 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/ |
D | net_connect_callback_impl_test.cpp | 111 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/ |
D | net_connect_utils.h | 34 …static NetConnectType ConvertToConnectType(const NetBearType &netBearType, const RadioTech &subtyp…
|
/base/telephony/core_service/services/network_search/include/ |
D | device_state_observer.h | 36 using NetBearType = OHOS::NetManagerStandard::NetBearType; variable
|
/base/web/webview/test/unittest/net_connect_adapter_impl_test/ |
D | net_connect_adapter_impl_test.cpp | 58 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/ |
D | NetUtils.ts | 59 …fo?.bearerTypes?.length === 1 && info?.bearerTypes?.[0] === connection.NetBearType.BEARER_CELLULAR…
|
/base/request/request/services/service/rust/src/c_wrapper/source/ |
D | network_adapter.cpp | 115 …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/ |
D | mms_network_manager.cpp | 35 netAllCapabilities.bearerTypes_.insert(NetBearType::BEARER_CELLULAR); in AcquireNetwork()
|
/base/web/webview/ohos_adapter/net_connect_adapter/src/ |
D | net_connect_utils.cpp | 74 NetConnectType NetConnectUtils::ConvertToConnectType(const NetBearType &netBearType, const RadioTec… in ConvertToConnectType()
|
/base/telephony/core_service/services/network_search/src/ |
D | device_state_observer.cpp | 128 …if (data.GetWant().GetIntParam(NET_TYPE, NetBearType::BEARER_DEFAULT) == NetBearType::BEARER_WIFI)… in ProcessWifiState()
|
/base/telephony/cellular_data/services/src/utils/ |
D | cellular_data_net_agent.cpp | 59 …NetBearType::BEARER_CELLULAR, std::string(IDENT_PREFIX) + std::to_string(simId), netCap, supplierI… in RegisterNetSupplier()
|
/base/telephony/cellular_data/test/unit_test/ |
D | cellular_data_code_test.cpp | 415 netAllCapabilities.bearerTypes_.insert(NetBearType::BEARER_CELLULAR); in AcquireMmsNetwork()
|