/ohos5.0/base/web/webview/ohos_adapter/net_connect_adapter/src/ |
H A D | net_connect_utils.cpp | 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() 97 case NetConnectType::CONNECTION_UNKNOWN: in ConnectTypeToString() 101 case NetConnectType::CONNECTION_WIFI: in ConnectTypeToString() 103 case NetConnectType::CONNECTION_2G: in ConnectTypeToString() 105 case NetConnectType::CONNECTION_3G: in ConnectTypeToString() 107 case NetConnectType::CONNECTION_4G: in ConnectTypeToString() 109 case NetConnectType::CONNECTION_NONE: in ConnectTypeToString() [all …]
|
H A D | net_capabilities_adapter_impl.cpp | 25 NetConnectType NetCapabilitiesAdapterImpl::GetConnectType() in GetConnectType() 40 void NetCapabilitiesAdapterImpl::SetConnectType(NetConnectType type) in SetConnectType()
|
H A D | net_connect_callback_impl.cpp | 70 NetConnectType type = NetConnectUtils::ConvertToConnectType(bearerTypes, radioTech); in NetCapabilitiesChange()
|
H A D | net_connect_adapter_impl.cpp | 74 int32_t NetConnectAdapterImpl::GetDefaultNetConnect(NetConnectType &type, NetConnectSubtype &subtyp… in GetDefaultNetConnect()
|
/ohos5.0/base/web/webview/test/unittest/net_connect_adapter_test/ |
H A D | net_connect_adapter_test.cpp | 55 std::unordered_map<RadioTech, NetConnectType> typeMap; 71 NetConnectType exceptType = iter.second; 76 EXPECT_EQ(NetConnectType::CONNECTION_UNKNOWN, 120 std::unordered_map<NetBearType, OHOS::NWeb::NetConnectType> typeMap; 130 NetConnectType exceptType = iter.second; 148 std::unordered_map<OHOS::NWeb::NetConnectType, std::string> typeMap; 152 typeMap.insert(std::make_pair(NetConnectType::CONNECTION_2G, "2g")); 153 typeMap.insert(std::make_pair(NetConnectType::CONNECTION_3G, "3g")); 154 typeMap.insert(std::make_pair(NetConnectType::CONNECTION_4G, "4g")); 157 typeMap.insert(std::make_pair(NetConnectType::CONNECTION_5G, "5g")); [all …]
|
/ohos5.0/base/web/webview/ohos_adapter/net_connect_adapter/include/ |
H A D | net_capabilities_adapter_impl.h | 31 NetConnectType GetConnectType() override; 37 void SetConnectType(NetConnectType type); 43 NetConnectType type_ = NetConnectType::CONNECTION_UNKNOWN;
|
H A 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);
|
H A D | net_connect_adapter_impl.h | 40 … int32_t GetDefaultNetConnect(NetConnectType &type, NetConnectSubtype &netConnectSubtype) override;
|
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | net_connect_adapter.h | 24 enum class NetConnectType : uint32_t { enum 80 virtual NetConnectType GetConnectType() = 0; 99 const NetConnectType& netConnectType, const NetConnectSubtype& netConnectSubtype) = 0; 118 …virtual int32_t GetDefaultNetConnect(NetConnectType& type, NetConnectSubtype& netConnectSubtype) =…
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_net_capabilities_adapter_wrapper.cpp | 28 OHOS::NWeb::NetConnectType ArkNetCapabilitiesAdapterWrapper::GetConnectType() in GetConnectType() 30 return static_cast<OHOS::NWeb::NetConnectType>(ctocpp_->GetConnectType()); in GetConnectType()
|
H A D | ark_net_connect_adapter_wrapper.cpp | 41 OHOS::NWeb::NetConnectType& type, OHOS::NWeb::NetConnectSubtype& netConnectSubtype) in GetDefaultNetConnect() 46 type = OHOS::NWeb::NetConnectType(uType); in GetDefaultNetConnect()
|
H A D | ark_net_capabilities_adapter_wrapper.h | 31 OHOS::NWeb::NetConnectType GetConnectType() override;
|
H A D | ark_net_connect_adapter_wrapper.h | 34 … OHOS::NWeb::NetConnectType& type, OHOS::NWeb::NetConnectSubtype& netConnectSubtype) override;
|
H A D | ark_net_conn_callback_impl.cpp | 34 (NWeb::NetConnectType)netConnectType, (NWeb::NetConnectSubtype)netConnectSubtype); in NetCapabilitiesChange()
|
/ohos5.0/base/web/webview/test/unittest/net_connect_adapter_impl_test/ |
H A D | net_connect_adapter_impl_test.cpp | 130 int32_t NetCapabilitiesChange(const NetConnectType &netConnectType, in NetCapabilitiesChange() 189 NetConnectType type = NetConnectType::CONNECTION_UNKNOWN;
|
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_net_conn_callback_wrapper.h | 29 int32_t NetCapabilitiesChange(const OHOS::NWeb::NetConnectType& netConnectType,
|
H A D | ark_net_conn_callback_wrapper.cpp | 32 …const OHOS::NWeb::NetConnectType& netConnectType, const OHOS::NWeb::NetConnectSubtype& netConnectS… in NetCapabilitiesChange()
|
H A D | ark_net_connect_adapter_impl.cpp | 42 NWeb::NetConnectType nType; in GetDefaultNetConnect()
|
/ohos5.0/base/web/webview/test/unittest/net_connect_callback_impl_test/ |
H A D | net_connect_callback_impl_test.cpp | 71 int32_t NetCapabilitiesChange(const NetConnectType &netConnectType, in NetCapabilitiesChange()
|