Home
last modified time | relevance | path

Searched refs:props (Results 1 – 12 of 12) sorted by relevance

/base/inputmethod/imf/test/unittest/napi_test/src/
DInputMethodTest.js273 inputMethodSetting.listInputMethod((err, props) => {
280 expect(props.length >= LEAST_ALL_IME_NUM).assertTrue();
281 …let imeProp = props.filter(function (prop) {return prop.name === bundleName && prop.id === extName…
283 let imeProp1 = props.filter(function (prop) {return prop.name === bundleName1;});
299 await inputMethodSetting.listInputMethod().then((props) => {
300 expect(props.length >= LEAST_ALL_IME_NUM).assertTrue();
301 …let imeProp = props.filter(function (prop) {return prop.name === bundleName && prop.id === extName…
303 let imeProp1 = props.filter(function (prop) {return prop.name === bundleName1;});
323 await inputMethodSetting.getInputMethods(true).then((props)=>{
324 expect(props.length).assertEqual(ENABLE_IME_NUM);
[all …]
/base/inputmethod/imf/services/include/
Dime_info_inquirer.h63 …istInputMethod(const int32_t userId, const InputMethodStatus status, std::vector<Property> &props);
84 int32_t ListInputMethod(const int32_t userId, std::vector<Property> &props);
85 int32_t ListEnabledInputMethod(const int32_t userId, std::vector<Property> &props);
86 int32_t ListDisabledInputMethod(const int32_t userId, std::vector<Property> &props);
Di_input_method_system_ability.h52 virtual int32_t ListInputMethod(InputMethodStatus status, std::vector<Property> &props) = 0;
Dinput_method_system_ability.h71 int32_t ListInputMethod(InputMethodStatus status, std::vector<Property> &props) override;
/base/inputmethod/imf/services/src/
Dime_info_inquirer.cpp247 const int32_t userId, const InputMethodStatus status, std::vector<Property> &props) in ListInputMethod() argument
251 return ListInputMethod(userId, props); in ListInputMethod()
254 return ListEnabledInputMethod(userId, props); in ListInputMethod()
257 return ListDisabledInputMethod(userId, props); in ListInputMethod()
262 int32_t ImeInfoInquirer::ListInputMethod(const int32_t userId, std::vector<Property> &props) in ListInputMethod() argument
269 auto it = std::find_if(props.begin(), props.end(), in ListInputMethod()
271 if (it != props.end()) { in ListInputMethod()
274 props.push_back({ .name = extension.bundleName, in ListInputMethod()
284 int32_t ImeInfoInquirer::ListEnabledInputMethod(const int32_t userId, std::vector<Property> &props) in ListEnabledInputMethod() argument
292 props = { *prop }; in ListEnabledInputMethod()
[all …]
Dinput_method_system_ability.cpp517 …t InputMethodSystemAbility::ListInputMethod(InputMethodStatus status, std::vector<Property> &props) in ListInputMethod() argument
519 return ImeInfoInquirer::GetInstance().ListInputMethod(userId_, status, props); in ListInputMethod()
743 std::vector<Property> props = {}; in SwitchType() local
744 auto ret = ImeInfoInquirer::GetInstance().ListInputMethod(userId_, ALL, props); in SwitchType()
750 auto iter = std::find_if(props.begin(), props.end(), in SwitchType()
752 if (iter != props.end()) { in SwitchType()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
Dcert_manager_app_cert_process.c247 struct CmKeyProperties props = { in ImportRsaKey() local
253 ret = CmKeyOpImportKey(keyUri, &props, &keyPair); in ImportRsaKey()
285 const struct CmKeyProperties props = { in ImportEccKey() local
291 ret = CmKeyOpImportKey(keyUri, &props, &keyPair); in ImportEccKey()
314 struct CmKeyProperties props = { in ImportEd25519Key() local
319 ret = CmKeyOpImportKey(keyUri, &props, &keyPair); in ImportEd25519Key()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
Dinput_method_system_ability_proxy.cpp122 …utMethodSystemAbilityProxy::ListInputMethod(InputMethodStatus status, std::vector<Property> &props) in ListInputMethod() argument
130 [&props](MessageParcel &reply) { in ListInputMethod()
131 return ITypesUtil::Unmarshal(reply, props); in ListInputMethod()
Dinput_method_controller.cpp563 …nputMethodController::ListInputMethodCommon(InputMethodStatus status, std::vector<Property> &props) in ListInputMethodCommon() argument
571 return proxy->ListInputMethod(status, props); in ListInputMethodCommon()
574 int32_t InputMethodController::ListInputMethod(std::vector<Property> &props) in ListInputMethod() argument
577 return ListInputMethodCommon(ALL, props); in ListInputMethod()
580 int32_t InputMethodController::ListInputMethod(bool enable, std::vector<Property> &props) in ListInputMethod() argument
583 return ListInputMethodCommon(enable ? ENABLE : DISABLE, props); in ListInputMethod()
/base/inputmethod/imf/interfaces/inner_api/inputmethod_controller/include/
Dinput_method_controller.h225 IMF_API int32_t ListInputMethod(std::vector<Property> &props);
237 IMF_API int32_t ListInputMethod(bool enable, std::vector<Property> &props);
446 int32_t ListInputMethodCommon(InputMethodStatus status, std::vector<Property> &props);
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_private_member_test.cpp173 std::vector<Property> props; variable
174 …utMethodController::GetInstance()->ListInputMethodCommon(static_cast<InputMethodStatus>(5), props);
176 EXPECT_TRUE(props.empty());
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
Dinput_method_system_ability_proxy.h56 int32_t ListInputMethod(InputMethodStatus status, std::vector<Property> &props) override;