Home
last modified time | relevance | path

Searched refs:subProps (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/base/inputmethod/imf/services/src/
H A Dime_info_inquirer.cpp134 auto subProps = it->subProps; in GetImeInfoFromCache() local
139 auto iter = std::find_if(subProps.begin(), subProps.end(), in GetImeInfoFromCache()
148 info->subProps = it->subProps; in GetImeInfoFromCache()
183 info->subProps = subProps; in GetImeInfoFromBundleMgr()
188 auto it = std::find_if(subProps.begin(), subProps.end(), in GetImeInfoFromBundleMgr()
398 subProps = (*it).subProps; in ListInputMethodSubtype()
696 auto iter = std::find_if(it->subProps.begin(), it->subProps.end(), in GetCurrentSubtype()
836 auto it = std::find_if(info->subProps.begin(), info->subProps.end(), in GetDefaultImeInfo()
885 auto it = subProps.end(); in FindTargetSubtypeByCondition()
898 it = std::find_if(subProps.begin(), subProps.end(), in FindTargetSubtypeByCondition()
[all …]
H A Dinput_method_system_ability_stub.cpp272 std::vector<SubProperty> subProps = {}; in ListInputMethodSubtypeOnRemote() local
273 auto ret = ListInputMethodSubtype(bundleName, subProps); in ListInputMethodSubtypeOnRemote()
274 if (!ITypesUtil::Marshal(reply, ret, subProps)) { in ListInputMethodSubtypeOnRemote()
283 std::vector<SubProperty> subProps = {}; in ListCurrentInputMethodSubtypeOnRemote() local
284 auto ret = ListCurrentInputMethodSubtype(subProps); in ListCurrentInputMethodSubtypeOnRemote()
285 if (!ITypesUtil::Marshal(reply, ret, subProps)) { in ListCurrentInputMethodSubtypeOnRemote()
H A Dinput_method_system_ability.cpp958 int32_t InputMethodSystemAbility::ListCurrentInputMethodSubtype(std::vector<SubProperty> &subProps) in ListCurrentInputMethodSubtype() argument
960 … return ImeInfoInquirer::GetInstance().ListCurrentInputMethodSubtype(GetCallingUserId(), subProps); in ListCurrentInputMethodSubtype()
964 const std::string &bundleName, std::vector<SubProperty> &subProps) in ListInputMethodSubtype() argument
966 …rn ImeInfoInquirer::GetInstance().ListInputMethodSubtype(GetCallingUserId(), bundleName, subProps); in ListInputMethodSubtype()
1336 …auto target = ImeInfoInquirer::GetInstance().FindTargetSubtypeByCondition(info->subProps, conditio… in SwitchMode()
1368 …auto target = ImeInfoInquirer::GetInstance().FindTargetSubtypeByCondition(info->subProps, conditio… in SwitchLanguage()
/ohos5.0/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_switch_test.cpp122 std::vector<SubProperty> subProps; in CheckCurrentSubProps() local
125 ASSERT_EQ(subProps.size(), IME_EXT_NUM); in CheckCurrentSubProps()
127 EXPECT_EQ(subProps[i].id, extName[i]); in CheckCurrentSubProps()
128 EXPECT_EQ(subProps[i].name, bundleName); in CheckCurrentSubProps()
129 EXPECT_EQ(subProps[i].language, language[i]); in CheckCurrentSubProps()
130 EXPECT_EQ(subProps[i].locale, locale[i]); in CheckCurrentSubProps()
357 std::vector<SubProperty> subProps; variable
378 std::vector<SubProperty> subProps; variable
381 ASSERT_EQ(subProps.size(), IME_EXT_NUM);
383 EXPECT_EQ(subProps[i].id, extName[i]);
[all …]
H A DnewIme_switch_test.cpp115 std::vector<SubProperty> subProps; in CheckCurrentSubProps() local
116 auto ret = imc_->ListCurrentInputMethodSubtype(subProps); in CheckCurrentSubProps()
118 ASSERT_EQ(subProps.size(), IME_SUBTYPE_NUM); in CheckCurrentSubProps()
120 EXPECT_EQ(subProps[i].id, subName[i]); in CheckCurrentSubProps()
121 EXPECT_EQ(subProps[i].name, bundleName); in CheckCurrentSubProps()
122 EXPECT_EQ(subProps[i].language, language[i]); in CheckCurrentSubProps()
123 EXPECT_EQ(subProps[i].locale, locale[i]); in CheckCurrentSubProps()
H A Dinput_method_private_member_test.cpp382 info.subProps = { { .id = "testSubName" } };
404 info.subProps = { { .name = "testBundleName", .id = "testSubName", .language = "French" } };
424 …info.subProps = { { .name = "testBundleName", .id = "testSubName", .mode = "upper", .language = "e…
446 …info.subProps = { { .name = "testBundleName", .id = "testSubName", .mode = "upper", .language = "e…
601 std::vector<SubProperty> subProps; variable
603 … auto ret = ImeInfoInquirer::GetInstance().ListCurrentInputMethodSubtype(currentUserId, subProps);
633 std::vector<SubProperty> subProps; variable
634 auto ret = ImeInfoInquirer::GetInstance().ListInputMethodSubtype(50, extInfo, subProps);
/ohos5.0/base/inputmethod/imf/test/unittest/napi_test/src/
H A DInputMethodTest.js70 function checkNewImeSubProps(subProps) argument
73 for (let i = 0; i < subProps.length; i++) {
74 expect(subProps[i].name).assertEqual(bundleName);
75 expect(subProps[i].id).assertEqual(subName[i]);
97 function checkImeSubProps(subProps) argument
100 for (let i = 0; i < subProps.length; i++) {
102 expect(subProps[i].id).assertEqual(extName1[i]);
227 checkNewImeSubProps(subProps);
244 checkNewImeSubProps(subProps);
526 checkNewImeSubProps(subProps);
[all …]
/ohos5.0/base/inputmethod/imf/services/include/
H A Dime_info_inquirer.h88 …std::shared_ptr<SubProperty> FindTargetSubtypeByCondition(const std::vector<SubProperty> &subProps,
95 …utMethodSubtype(int32_t userId, const std::string &bundleName, std::vector<SubProperty> &subProps);
96 int32_t ListCurrentInputMethodSubtype(int32_t userId, std::vector<SubProperty> &subProps);
133 …std::vector<OHOS::AppExecFwk::ExtensionAbilityInfo> &extInfos, std::vector<SubProperty> &subProps);
135 std::vector<SubProperty> &subProps);
H A Di_input_method_system_ability.h64 virtual int32_t ListCurrentInputMethodSubtype(std::vector<SubProperty> &subProps) = 0;
65 …al int32_t ListInputMethodSubtype(const std::string &name, std::vector<SubProperty> &subProps) = 0;
H A Dinput_method_system_ability.h69 int32_t ListCurrentInputMethodSubtype(std::vector<SubProperty> &subProps) override;
70 …ListInputMethodSubtype(const std::string &bundleName, std::vector<SubProperty> &subProps) override;
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dinput_method_system_ability_proxy.cpp213 const std::string &name, std::vector<SubProperty> &subProps) in ListInputMethodSubtype() argument
218 [&subProps](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, subProps); }); in ListInputMethodSubtype()
221 …_t InputMethodSystemAbilityProxy::ListCurrentInputMethodSubtype(std::vector<SubProperty> &subProps) in ListCurrentInputMethodSubtype() argument
224 [&subProps](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, subProps); }); in ListCurrentInputMethodSubtype()
H A Dinput_method_controller.cpp951 …hodController::ListInputMethodSubtype(const Property &property, std::vector<SubProperty> &subProps) in ListInputMethodSubtype() argument
959 return proxy->ListInputMethodSubtype(property.name, subProps); in ListInputMethodSubtype()
962 int32_t InputMethodController::ListCurrentInputMethodSubtype(std::vector<SubProperty> &subProps) in ListCurrentInputMethodSubtype() argument
970 return proxy->ListCurrentInputMethodSubtype(subProps); in ListCurrentInputMethodSubtype()
/ohos5.0/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
H A Dinput_method_system_ability_proxy.h66 int32_t ListCurrentInputMethodSubtype(std::vector<SubProperty> &subProps) override;
67 …int32_t ListInputMethodSubtype(const std::string &name, std::vector<SubProperty> &subProps) overri…
H A Dinput_method_property.h52 std::vector<SubProperty> subProps; member