/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 in ConvertToConnectsubtype() [all...] |
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 &subtype) in GetDefaultNetConnect() 92 subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in GetDefaultNetConnect()
|
/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;
|
/base/web/webview/test/unittest/net_connect_adapter_test/ |
H A D | net_connect_adapter_test.cpp | 88 std::unordered_map<RadioTech, NetConnectSubtype> typeMap; in HWTEST_F() 89 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_UNKNOWN, NetConnectSubtype::SUBTYPE_UNKNOWN)); in HWTEST_F() 90 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_IWLAN, NetConnectSubtype::SUBTYPE_UNKNOWN)); in HWTEST_F() 91 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_WCDMA, NetConnectSubtype::SUBTYPE_UNKNOWN)); in HWTEST_F() 92 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_TD_SCDMA, NetConnectSubtype::SUBTYPE_UNKNOWN)); in HWTEST_F() 93 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_EVDO, NetConnectSubtype::SUBTYPE_UNKNOWN)); in HWTEST_F() 94 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_NR, NetConnectSubtype::SUBTYPE_UNKNOWN)); in HWTEST_F() 95 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_GSM, NetConnectSubtype::SUBTYPE_GSM)); in HWTEST_F() 96 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_1XRTT, NetConnectSubtype::SUBTYPE_1XRTT)); in HWTEST_F() 97 typeMap.insert(std::make_pair(RadioTech::RADIO_TECHNOLOGY_HSPA, NetConnectSubtype in HWTEST_F() [all...] |
/base/web/webview/ohos_interface/include/ohos_adapter/ |
H A D | net_connect_adapter.h | 37 enum class NetConnectSubtype : uint32_t { class in OHOS::NWeb::NetConnectType 81 virtual NetConnectSubtype GetConnectSubtype() = 0; 99 const NetConnectType& netConnectType, const NetConnectSubtype& netConnectSubtype) = 0; 118 virtual int32_t GetDefaultNetConnect(NetConnectType& type, NetConnectSubtype& netConnectSubtype) = 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()
|
/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& netConnectSubtype) in NetCapabilitiesChange()
|
H A D | ark_net_connect_adapter_impl.cpp | 43 NWeb::NetConnectSubtype nSubtype; in GetDefaultNetConnect()
|
/base/web/webview/test/unittest/net_connect_adapter_impl_test/ |
H A D | net_connect_adapter_impl_test.cpp | 131 const NetConnectSubtype &netConnectSubtype) override 190 NetConnectSubtype subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in HWTEST_F()
|
/base/web/webview/test/unittest/net_connect_callback_impl_test/ |
H A D | net_connect_callback_impl_test.cpp | 72 const NetConnectSubtype &netConnectSubtype) override
|