Searched refs:subtype (Results 1 – 5 of 5) sorted by relevance
/base/web/webview/ohos_adapter/net_connect_adapter/src/ |
D | net_connect_utils.cpp | 19 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()
|
D | net_connect_callback_impl.cpp | 51 NetConnectSubtype subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in NetCapabilitiesChange() local 65 subtype = NetConnectUtils::ConvertToConnectsubtype(networkState->GetPsRadioTech()); in NetCapabilitiesChange() 71 return cb_->NetCapabilitiesChange(type, subtype); in NetCapabilitiesChange()
|
D | net_connect_adapter_impl.cpp | 72 …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/ |
D | net_connect_utils.h | 33 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/ |
D | net_connect_adapter_impl_test.cpp | 153 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);
|