Home
last modified time | relevance | path

Searched refs:subtype (Results 1 – 5 of 5) sorted by relevance

/base/web/webview/ohos_adapter/net_connect_adapter/src/
Dnet_connect_utils.cpp19 NetConnectType NetConnectUtils::ConvertToConnectTypeInner(const RadioTech &subtype) in ConvertToConnectTypeInner() argument
21 switch (subtype) { in ConvertToConnectTypeInner()
45 NetConnectSubtype NetConnectUtils::ConvertToConnectsubtype(const RadioTech &subtype) in ConvertToConnectsubtype() argument
47 switch (subtype) { in ConvertToConnectsubtype()
74 …ype NetConnectUtils::ConvertToConnectType(const NetBearType &netBearType, const RadioTech &subtype) in ConvertToConnectType() argument
78 return ConvertToConnectTypeInner(subtype); in ConvertToConnectType()
Dnet_connect_callback_impl.cpp51 NetConnectSubtype subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in NetCapabilitiesChange() local
65 subtype = NetConnectUtils::ConvertToConnectsubtype(networkState->GetPsRadioTech()); in NetCapabilitiesChange()
71 return cb_->NetCapabilitiesChange(type, subtype); in NetCapabilitiesChange()
Dnet_connect_adapter_impl.cpp72 …t32_t NetConnectAdapterImpl::GetDefaultNetConnect(NetConnectType &type, NetConnectSubtype &subtype) in GetDefaultNetConnect() argument
90 subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in GetDefaultNetConnect()
104 subtype = NetConnectUtils::ConvertToConnectsubtype(radioTech); in GetDefaultNetConnect()
/base/web/webview/ohos_adapter/net_connect_adapter/include/
Dnet_connect_utils.h33 static NetConnectSubtype ConvertToConnectsubtype(const RadioTech &subtype);
34 …atic NetConnectType ConvertToConnectType(const NetBearType &netBearType, const RadioTech &subtype);
37 static NetConnectType ConvertToConnectTypeInner(const RadioTech &subtype);
/base/web/webview/test/unittest/net_connect_adapter_impl_test/
Dnet_connect_adapter_impl_test.cpp153 NetConnectSubtype subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; variable
156 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), 0);
158 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), 0);
160 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), -1);
163 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), -1);