/base/web/webview/ohos_adapter/net_connect_adapter/src/ |
H A 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 NetConnectType NetConnectUtils::ConvertToConnectType(const NetBearType &netBearType, const RadioTech &subtype) in ConvertToConnectType() argument 78 return ConvertToConnectTypeInner(subtype); in ConvertToConnectType()
|
H A D | net_capabilities_adapter_impl.cpp | 45 void NetCapabilitiesAdapterImpl::SetConnectSubtype(NetConnectSubtype subtype) in SetConnectSubtype() argument 47 subtype_ = subtype; in SetConnectSubtype()
|
H A D | net_connect_callback_impl.cpp | 53 NetConnectSubtype subtype = NetConnectSubtype::SUBTYPE_UNKNOWN; in NetCapabilitiesChange() local 67 subtype = NetConnectUtils::ConvertToConnectsubtype(networkState->GetPsRadioTech()); in NetCapabilitiesChange() 76 capabilites->SetConnectSubtype(subtype); in NetCapabilitiesChange()
|
H A D | net_connect_adapter_impl.cpp | 74 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 D | net_connect_utils.h | 33 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 D | net_capabilities_adapter_impl.h | 39 void SetConnectSubtype(NetConnectSubtype subtype);
|
/base/hiviewdfx/hiview/core/param_update/src/ |
H A D | param_event_manager.cpp | 34 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 D | net_connect_adapter_impl_test.cpp | 190 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 D | ime_info_inquirer.cpp | 442 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 D | input_method_ffi.cpp | 96 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 D | input_method_ffi.h | 28 CInputMethodSubtype subtype);
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | json_operate_test.cpp | 300 * @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()
|