Searched refs:NetConnectType (Results 1 – 9 of 9) sorted by relevance
/base/web/webview/ohos_adapter/net_connect_adapter/src/ |
D | net_connect_utils.cpp | 19 NetConnectType NetConnectUtils::ConvertToConnectTypeInner(const RadioTech &subtype) in ConvertToConnectTypeInner() 24 return NetConnectType::CONNECTION_UNKNOWN; in ConvertToConnectTypeInner() 27 return NetConnectType::CONNECTION_2G; in ConvertToConnectTypeInner() 34 return NetConnectType::CONNECTION_3G; in ConvertToConnectTypeInner() 37 return NetConnectType::CONNECTION_4G; in ConvertToConnectTypeInner() 39 return NetConnectType::CONNECTION_5G; in ConvertToConnectTypeInner() 41 return NetConnectType::CONNECTION_UNKNOWN; in ConvertToConnectTypeInner() 74 NetConnectType NetConnectUtils::ConvertToConnectType(const NetBearType &netBearType, const RadioTec… in ConvertToConnectType() 80 return NetConnectType::CONNECTION_WIFI; in ConvertToConnectType() 82 return NetConnectType::CONNECTION_BLUETOOTH; in ConvertToConnectType() [all …]
|
D | net_connect_callback_impl.cpp | 68 NetConnectType type = NetConnectUtils::ConvertToConnectType(bearerTypes, radioTech); in NetCapabilitiesChange()
|
D | net_connect_adapter_impl.cpp | 72 int32_t NetConnectAdapterImpl::GetDefaultNetConnect(NetConnectType &type, NetConnectSubtype &subtyp… 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/web/webview/ohos_adapter/net_connect_adapter/include/ |
D | net_connect_utils.h | 34 …static NetConnectType ConvertToConnectType(const NetBearType &netBearType, const RadioTech &subtyp… 35 static std::string ConnectTypeToString(const NetConnectType &type); 37 static NetConnectType ConvertToConnectTypeInner(const RadioTech &subtype);
|
D | net_connect_adapter_impl.h | 40 … int32_t GetDefaultNetConnect(NetConnectType &type, NetConnectSubtype &netConnectSubtype) override;
|
/base/web/webview/ohos_adapter/interfaces/ |
D | net_connect_adapter.h | 23 enum class NetConnectType { enum 76 virtual int32_t NetCapabilitiesChange(const NetConnectType &netConnectType, 92 …virtual int32_t GetDefaultNetConnect(NetConnectType &type, NetConnectSubtype &netConnectSubtype) =…
|
/base/web/webview/test/unittest/net_connect_adapter_impl_test/ |
D | net_connect_adapter_impl_test.cpp | 101 int32_t NetCapabilitiesChange(const NetConnectType &netConnectType, in NetCapabilitiesChange() 152 NetConnectType type = NetConnectType::CONNECTION_UNKNOWN;
|
/base/web/webview/test/unittest/net_connect_callback_impl_test/ |
D | net_connect_callback_impl_test.cpp | 71 int32_t NetCapabilitiesChange(const NetConnectType &netConnectType, in NetCapabilitiesChange()
|