Home
last modified time | relevance | path

Searched refs:subtype (Results 1 - 12 of 12) sorted by relevance

/base/web/webview/ohos_adapter/net_connect_adapter/src/
H A 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 NetConnectType NetConnectUtils::ConvertToConnectType(const NetBearType &netBearType, const RadioTech &subtype) in ConvertToConnectType() argument
78 return ConvertToConnectTypeInner(subtype); in ConvertToConnectType()
H A Dnet_capabilities_adapter_impl.cpp45 void NetCapabilitiesAdapterImpl::SetConnectSubtype(NetConnectSubtype subtype) in SetConnectSubtype() argument
47 subtype_ = subtype; in SetConnectSubtype()
H A Dnet_connect_callback_impl.cpp53 NetConnectSubtype subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in NetCapabilitiesChange() local
67 subtype = NetConnectUtils::ConvertToConnectsubtype(networkState->GetPsRadioTech()); in NetCapabilitiesChange()
76 capabilites->SetConnectSubtype(subtype); in NetCapabilitiesChange()
H A Dnet_connect_adapter_impl.cpp74 int32_t NetConnectAdapterImpl::GetDefaultNetConnect(NetConnectType &type, NetConnectSubtype &subtype) in GetDefaultNetConnect() argument
92 subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in GetDefaultNetConnect()
106 subtype = NetConnectUtils::ConvertToConnectsubtype(radioTech); in GetDefaultNetConnect()
/base/web/webview/ohos_adapter/net_connect_adapter/include/
H A Dnet_connect_utils.h33 static NetConnectSubtype ConvertToConnectsubtype(const RadioTech &subtype);
34 static NetConnectType ConvertToConnectType(const NetBearType &netBearType, const RadioTech &subtype);
37 static NetConnectType ConvertToConnectTypeInner(const RadioTech &subtype);
H A Dnet_capabilities_adapter_impl.h39 void SetConnectSubtype(NetConnectSubtype subtype);
/base/hiviewdfx/hiview/core/param_update/src/
H A Dparam_event_manager.cpp34 const std::string EVENT_INFO_SUBTYPE = "subtype";
77 std::string subtype = want.GetStringParam(EVENT_INFO_SUBTYPE); in OnReceiveEvent() local
79 subtype.c_str()); in OnReceiveEvent()
/base/web/webview/test/unittest/net_connect_adapter_impl_test/
H A Dnet_connect_adapter_impl_test.cpp190 NetConnectSubtype subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in HWTEST_F() local
193 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), 0); in HWTEST_F()
195 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), 0); in HWTEST_F()
197 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), -1); in HWTEST_F()
200 EXPECT_EQ(netConnectAdapterImpl->GetDefaultNetConnect(type, subtype), -1); in HWTEST_F()
/base/inputmethod/imf/services/src/
H A Dime_info_inquirer.cpp442 IMSA_HILOGE("subtype %{public}s not found!", subName.c_str()); in GetSubProperty()
488 IMSA_HILOGE("failed to parse subtype!"); in GetSubProperty()
495 auto subtype = std::find_if( in GetSubProperty() local
496 subtypes.begin(), subtypes.end(), [&subName](const Subtype &subtype) { return subtype.id == subName; }); in GetSubProperty()
497 if (subtype == subtypes.end()) { in GetSubProperty()
498 IMSA_HILOGE("subtype %{public}s not found!", subName.c_str()); in GetSubProperty()
499 subtype = subtypes.begin(); in GetSubProperty()
501 subProp.label = subtype->label; in GetSubProperty()
503 subProp.id = subtype in GetSubProperty()
[all...]
/base/inputmethod/imf/frameworks/cj/src/
H A Dinput_method_ffi.cpp96 IMSA_HILOGE("current input method subtype is nullptr!"); in FfiInputMethodGetCurrentInputMethodSubtype()
104 CInputMethodProperty target, CInputMethodSubtype subtype) in FfiInputMethodSwitchCurrentInputMethodAndSubtype()
112 std::string(subtype.name), std::string(subtype.id)); in FfiInputMethodSwitchCurrentInputMethodAndSubtype()
103 FfiInputMethodSwitchCurrentInputMethodAndSubtype(bool &result, CInputMethodProperty target, CInputMethodSubtype subtype) FfiInputMethodSwitchCurrentInputMethodAndSubtype() argument
/base/inputmethod/imf/frameworks/cj/include/
H A Dinput_method_ffi.h28 CInputMethodSubtype subtype);
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Djson_operate_test.cpp300 * @tc.desc: parse subtype
309 SubtypeCfg subtype; in HWTEST_F() local
310 auto ret = ImeInfoInquirer::GetInstance().ParseSubtypeProfile(profiles, subtype); in HWTEST_F()
312 ASSERT_EQ(subtype.subtypes.size(), 2); in HWTEST_F()
313 auto subtypes = subtype.subtypes; in HWTEST_F()

Completed in 6 milliseconds