/ohos5.0/base/web/webview/ohos_adapter/net_connect_adapter/src/ |
H A D | net_connect_utils.cpp | 45 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 D | net_capabilities_adapter_impl.cpp | 30 NetConnectSubtype NetCapabilitiesAdapterImpl::GetConnectSubtype() in GetConnectSubtype() 45 void NetCapabilitiesAdapterImpl::SetConnectSubtype(NetConnectSubtype subtype) in SetConnectSubtype()
|
H A D | net_connect_callback_impl.cpp | 53 NetConnectSubtype subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in NetCapabilitiesChange()
|
H A D | net_connect_adapter_impl.cpp | 74 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 D | net_connect_adapter_test.cpp | 88 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 D | net_capabilities_adapter_impl.h | 33 NetConnectSubtype GetConnectSubtype() override; 39 void SetConnectSubtype(NetConnectSubtype subtype); 44 NetConnectSubtype subtype_ = NetConnectSubtype::SUBTYPE_UNKNOWN;
|
H A D | net_connect_utils.h | 33 static NetConnectSubtype ConvertToConnectsubtype(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 | 37 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 D | ark_net_capabilities_adapter_wrapper.cpp | 33 OHOS::NWeb::NetConnectSubtype ArkNetCapabilitiesAdapterWrapper::GetConnectSubtype() in GetConnectSubtype() 35 return static_cast<OHOS::NWeb::NetConnectSubtype>(ctocpp_->GetConnectSubtype()); in GetConnectSubtype()
|
H A D | ark_net_connect_adapter_wrapper.cpp | 41 OHOS::NWeb::NetConnectType& type, OHOS::NWeb::NetConnectSubtype& netConnectSubtype) in GetDefaultNetConnect() 47 netConnectSubtype = OHOS::NWeb::NetConnectSubtype(uNetConnectSubtype); in GetDefaultNetConnect()
|
H A D | ark_net_capabilities_adapter_wrapper.h | 33 OHOS::NWeb::NetConnectSubtype GetConnectSubtype() 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 | 131 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 D | ark_net_conn_callback_wrapper.h | 30 const OHOS::NWeb::NetConnectSubtype& netConnectSubtype) override;
|
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 | 43 NWeb::NetConnectSubtype nSubtype; in GetDefaultNetConnect()
|
/ohos5.0/base/web/webview/test/unittest/net_connect_callback_impl_test/ |
H A D | net_connect_callback_impl_test.cpp | 72 const NetConnectSubtype &netConnectSubtype) override in NetCapabilitiesChange()
|