Home
last modified time | relevance | path

Searched refs:NetConnectSubtype (Results 1 – 19 of 19) sorted by relevance

/ohos5.0/base/web/webview/ohos_adapter/net_connect_adapter/src/
H A Dnet_connect_utils.cpp45 NetConnectSubtype NetConnectUtils::ConvertToConnectsubtype(const RadioTech &subtype) in ConvertToConnectsubtype()
54 return NetConnectSubtype::SUBTYPE_UNKNOWN; in ConvertToConnectsubtype()
56 return NetConnectSubtype::SUBTYPE_GSM; in ConvertToConnectsubtype()
58 return NetConnectSubtype::SUBTYPE_1XRTT; in ConvertToConnectsubtype()
60 return NetConnectSubtype::SUBTYPE_HSPA; in ConvertToConnectsubtype()
62 return NetConnectSubtype::SUBTYPE_HSPAP; in ConvertToConnectsubtype()
64 return NetConnectSubtype::SUBTYPE_EHRPD; in ConvertToConnectsubtype()
66 return NetConnectSubtype::SUBTYPE_LTE; in ConvertToConnectsubtype()
68 return NetConnectSubtype::SUBTYPE_LTE_ADVANCED; in ConvertToConnectsubtype()
70 return NetConnectSubtype::SUBTYPE_UNKNOWN; in ConvertToConnectsubtype()
H A Dnet_capabilities_adapter_impl.cpp30 NetConnectSubtype NetCapabilitiesAdapterImpl::GetConnectSubtype() in GetConnectSubtype()
45 void NetCapabilitiesAdapterImpl::SetConnectSubtype(NetConnectSubtype subtype) in SetConnectSubtype()
H A Dnet_connect_callback_impl.cpp53 NetConnectSubtype subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in NetCapabilitiesChange()
H A Dnet_connect_adapter_impl.cpp74 int32_t NetConnectAdapterImpl::GetDefaultNetConnect(NetConnectType &type, NetConnectSubtype &subtyp… in GetDefaultNetConnect()
92 subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in GetDefaultNetConnect()
/ohos5.0/base/web/webview/test/unittest/net_connect_adapter_test/
H A Dnet_connect_adapter_test.cpp88 std::unordered_map<RadioTech, NetConnectSubtype> typeMap;
94 …typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_NR, NetConnectSubtype::SUBTYPE_UNKNOWN));
95 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_GSM, NetConnectSubtype::SUBTYPE_GSM));
96 …typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_1XRTT, NetConnectSubtype::SUBTYPE_1XRTT)…
97 … typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_HSPA, NetConnectSubtype::SUBTYPE_HSPA));
98 …typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_HSPAP, NetConnectSubtype::SUBTYPE_HSPAP)…
99 …typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_EHRPD, NetConnectSubtype::SUBTYPE_EHRPD)…
100 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_LTE, NetConnectSubtype::SUBTYPE_LTE));
103 NetConnectSubtype exceptType = iter.second;
105 NetConnectSubtype actualType = OHOS::NWeb::NetConnectUtils::ConvertToConnectsubtype(type);
[all …]
/ohos5.0/base/web/webview/ohos_adapter/net_connect_adapter/include/
H A Dnet_capabilities_adapter_impl.h33 NetConnectSubtype GetConnectSubtype() override;
39 void SetConnectSubtype(NetConnectSubtype subtype);
44 NetConnectSubtype subtype_ = NetConnectSubtype::SUBTYPE_UNKNOWN;
H A Dnet_connect_utils.h33 static NetConnectSubtype ConvertToConnectsubtype(const RadioTech &subtype);
H A Dnet_connect_adapter_impl.h40 … int32_t GetDefaultNetConnect(NetConnectType &type, NetConnectSubtype &netConnectSubtype) override;
/ohos5.0/base/web/webview/ohos_interface/include/ohos_adapter/
H A Dnet_connect_adapter.h37 enum class NetConnectSubtype : uint32_t { enum
81 virtual NetConnectSubtype GetConnectSubtype() = 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 Dark_net_capabilities_adapter_wrapper.cpp33 OHOS::NWeb::NetConnectSubtype ArkNetCapabilitiesAdapterWrapper::GetConnectSubtype() in GetConnectSubtype()
35 return static_cast<OHOS::NWeb::NetConnectSubtype>(ctocpp_->GetConnectSubtype()); in GetConnectSubtype()
H A Dark_net_connect_adapter_wrapper.cpp41 OHOS::NWeb::NetConnectType& type, OHOS::NWeb::NetConnectSubtype& netConnectSubtype) in GetDefaultNetConnect()
47 netConnectSubtype = OHOS::NWeb::NetConnectSubtype(uNetConnectSubtype); in GetDefaultNetConnect()
H A Dark_net_capabilities_adapter_wrapper.h33 OHOS::NWeb::NetConnectSubtype GetConnectSubtype() override;
H A Dark_net_connect_adapter_wrapper.h34 … OHOS::NWeb::NetConnectType& type, OHOS::NWeb::NetConnectSubtype& netConnectSubtype) override;
H A Dark_net_conn_callback_impl.cpp34 (NWeb::NetConnectType)netConnectType, (NWeb::NetConnectSubtype)netConnectSubtype); in NetCapabilitiesChange()
/ohos5.0/base/web/webview/test/unittest/net_connect_adapter_impl_test/
H A Dnet_connect_adapter_impl_test.cpp131 const NetConnectSubtype &netConnectSubtype) override in NetCapabilitiesChange()
190 NetConnectSubtype subtype = NetConnectSubtype::SUBTYPE_UNKNOWN;
/ohos5.0/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/
H A Dark_net_conn_callback_wrapper.h30 const OHOS::NWeb::NetConnectSubtype& netConnectSubtype) override;
H A Dark_net_conn_callback_wrapper.cpp32 …const OHOS::NWeb::NetConnectType& netConnectType, const OHOS::NWeb::NetConnectSubtype& netConnectS… in NetCapabilitiesChange()
H A Dark_net_connect_adapter_impl.cpp43 NWeb::NetConnectSubtype nSubtype; in GetDefaultNetConnect()
/ohos5.0/base/web/webview/test/unittest/net_connect_callback_impl_test/
H A Dnet_connect_callback_impl_test.cpp72 const NetConnectSubtype &netConnectSubtype) override in NetCapabilitiesChange()