Home
last modified time | relevance | path

Searched refs:props (Results 1 - 18 of 18) sorted by relevance

/base/inputmethod/imf/frameworks/cj/src/
H A Dutils.cpp31 void Utils::InputMethodProperty2C(CInputMethodProperty &props, const Property &property) in InputMethodProperty2C() argument
33 props.name = Utils::MallocCString(property.name); in InputMethodProperty2C()
34 props.id = Utils::MallocCString(property.id); in InputMethodProperty2C()
35 props.label = Utils::MallocCString(property.label); in InputMethodProperty2C()
36 props.labelId = property.labelId; in InputMethodProperty2C()
37 props.icon = Utils::MallocCString(property.icon); in InputMethodProperty2C()
38 props.iconId = property.iconId; in InputMethodProperty2C()
41 Property Utils::C2InputMethodProperty(CInputMethodProperty props) in C2InputMethodProperty() argument
44 property.name = std::string(props.name); in C2InputMethodProperty()
45 property.id = std::string(props in C2InputMethodProperty()
53 InputMethodSubProperty2C(CInputMethodSubtype &props, const SubProperty &property) InputMethodSubProperty2C() argument
[all...]
H A Dinput_method_ffi.cpp27 int32_t FfiInputMethodGetDefaultInputMethod(CInputMethodProperty &props) in FfiInputMethodGetDefaultInputMethod() argument
39 Utils::InputMethodProperty2C(props, *property); in FfiInputMethodGetDefaultInputMethod()
43 int32_t FfiInputMethodGetCurrentInputMethod(CInputMethodProperty &props) in FfiInputMethodGetCurrentInputMethod() argument
54 Utils::InputMethodProperty2C(props, *property); in FfiInputMethodGetCurrentInputMethod()
58 int32_t FfiInputMethodSwitchInputMethod(bool &result, CInputMethodProperty props) in FfiInputMethodSwitchInputMethod() argument
66 ctrl->SwitchInputMethod(SwitchTrigger::CURRENT_IME, std::string(props.name), std::string(props.id)); in FfiInputMethodSwitchInputMethod()
88 int32_t FfiInputMethodGetCurrentInputMethodSubtype(CInputMethodSubtype &props) in FfiInputMethodGetCurrentInputMethodSubtype() argument
99 Utils::InputMethodSubProperty2C(props, *subProperty); in FfiInputMethodGetCurrentInputMethodSubtype()
136 RetInputMethodSubtype FfiInputMethodSettingListInputMethodSubtype(CInputMethodProperty props) in FfiInputMethodSettingListInputMethodSubtype() argument
162 CInputMethodSubtype props; FfiInputMethodSettingListInputMethodSubtype() local
194 CInputMethodSubtype props; FfiInputMethodSettingListCurrentInputMethodSubtype() local
225 CInputMethodProperty props; FfiInputMethodSettingGetInputMethods() local
256 CInputMethodProperty props; FfiInputMethodSettingGetAllInputMethods() local
[all...]
/base/inputmethod/imf/frameworks/cj/include/
H A Dutils.h30 static void InputMethodProperty2C(CInputMethodProperty &props, const Property &property);
31 static Property C2InputMethodProperty(CInputMethodProperty props);
32 static void InputMethodSubProperty2C(CInputMethodSubtype &props, const SubProperty &property);
H A Dinput_method_ffi.h22 FFI_EXPORT int32_t FfiInputMethodGetDefaultInputMethod(CInputMethodProperty &props);
23 FFI_EXPORT int32_t FfiInputMethodGetCurrentInputMethod(CInputMethodProperty &props);
24 FFI_EXPORT int32_t FfiInputMethodSwitchInputMethod(bool &result, CInputMethodProperty props);
26 FFI_EXPORT int32_t FfiInputMethodGetCurrentInputMethodSubtype(CInputMethodSubtype &props);
30 FFI_EXPORT RetInputMethodSubtype FfiInputMethodSettingListInputMethodSubtype(CInputMethodProperty props);
/base/global/resource_management/interfaces/js/kits/src/
H A Dsendable_resource_manager_napi.cpp58 static bool GetResourceProp(napi_env env, napi_callback_info info, std::vector<napi_value> &props) in GetResourceProp() argument
100 props.emplace_back(bundleName); in GetResourceProp()
101 props.emplace_back(moduleName); in GetResourceProp()
102 props.emplace_back(id); in GetResourceProp()
103 props.emplace_back(params); in GetResourceProp()
104 props.emplace_back(type); in GetResourceProp()
153 std::vector<napi_value> props; in InstanceResource() local
154 if (!GetResourceProp(env, info, props)) { in InstanceResource()
158 DECLARE_NAPI_DEFAULT_PROPERTY("bundleName", props[0]), in InstanceResource()
159 DECLARE_NAPI_DEFAULT_PROPERTY("moduleName", props[ in InstanceResource()
[all...]
/base/inputmethod/imf/services/src/
H A Dime_info_inquirer.cpp254 int32_t ImeInfoInquirer::ListInputMethod(int32_t userId, InputMethodStatus status, std::vector<Property> &props, in ListInputMethod() argument
259 return ListInputMethod(userId, props); in ListInputMethod()
262 return ListEnabledInputMethod(userId, props, enableOn); in ListInputMethod()
265 return ListDisabledInputMethod(userId, props, enableOn); in ListInputMethod()
270 int32_t ImeInfoInquirer::ListInputMethod(const int32_t userId, std::vector<Property> &props) in ListInputMethod() argument
275 props.push_back(info.prop); in ListInputMethod()
277 if (!props.empty()) { in ListInputMethod()
288 auto it = std::find_if(props.begin(), props.end(), in ListInputMethod()
290 if (it != props in ListInputMethod()
305 ListEnabledInputMethod(const int32_t userId, std::vector<Property> &props, bool enableOn) ListEnabledInputMethod() argument
332 ListDisabledInputMethod(const int32_t userId, std::vector<Property> &props, bool enableOn) ListDisabledInputMethod() argument
365 std::vector<Property> props; GetSwitchInfoBySwitchCount() local
[all...]
H A Dinput_method_system_ability.cpp939 int32_t InputMethodSystemAbility::ListInputMethod(InputMethodStatus status, std::vector<Property> &props) in ListInputMethod() argument
941 return ImeInfoInquirer::GetInstance().ListInputMethod(GetCallingUserId(), status, props, enableImeOn_.load()); in ListInputMethod()
/base/security/certificate_manager/services/cert_manager_standard/cert_manager_engine/main/core/src/
H A Dcert_manager_app_cert_process.c251 struct CmKeyProperties props = { in ImportRsaKey() local
257 ret = CmKeyOpImportKey(keyUri, &props, &keyPair); in ImportRsaKey()
289 const struct CmKeyProperties props = { in ImportEccKey() local
295 ret = CmKeyOpImportKey(keyUri, &props, &keyPair); in ImportEccKey()
318 struct CmKeyProperties props = { in ImportEd25519Key() local
323 ret = CmKeyOpImportKey(keyUri, &props, &keyPair); in ImportEd25519Key()
/base/inputmethod/imf/services/include/
H A Dime_info_inquirer.h92 int32_t ListInputMethod(int32_t userId, InputMethodStatus status, std::vector<Property> &props, bool enableOn);
128 int32_t ListInputMethod(const int32_t userId, std::vector<Property> &props);
129 int32_t ListEnabledInputMethod(const int32_t userId, std::vector<Property> &props, bool enableOn);
130 int32_t ListDisabledInputMethod(const int32_t userId, std::vector<Property> &props, bool enableOn);
H A Di_input_method_system_ability.h58 virtual int32_t ListInputMethod(InputMethodStatus status, std::vector<Property> &props) = 0;
H A Dinput_method_system_ability.h66 int32_t ListInputMethod(InputMethodStatus status, std::vector<Property> &props) override;
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_private_member_test.cpp223 std::vector<Property> props; in HWTEST_F() local
224 auto ret = InputMethodController::GetInstance()->ListInputMethodCommon(static_cast<InputMethodStatus>(5), props); in HWTEST_F()
226 EXPECT_TRUE(props.empty()); in HWTEST_F()
474 std::vector<Property> props; in HWTEST_F() local
475 InputMethodController::GetInstance()->ListInputMethod(props); in HWTEST_F()
476 if (props.size() == 1) { in HWTEST_F()
497 std::vector<Property> props; in HWTEST_F() local
498 InputMethodController::GetInstance()->ListInputMethod(props); in HWTEST_F()
499 if (props.size() == 1) { in HWTEST_F()
587 std::vector<Property> props; in HWTEST_F() local
620 std::vector<Property> props; HWTEST_F() local
[all...]
H A Djson_operate_test.cpp378 std::vector<Property> props; in HWTEST_F() local
380 auto ret = ImeInfoInquirer::GetInstance().ListDisabledInputMethod(userId, props, enableOn); in HWTEST_F()
383 ret = ImeInfoInquirer::GetInstance().ListDisabledInputMethod(userId, props, enableOn); in HWTEST_F()
H A Dinput_method_switch_test.cpp477 std::vector<Property> props; in HWTEST_F() local
478 imc_->ListInputMethod(props); in HWTEST_F()
481 for (auto iter = 0; iter < props.size(); ++iter) { in HWTEST_F()
/base/inputmethod/imf/frameworks/native/inputmethod_controller/include/
H A Dinput_method_system_ability_proxy.h60 int32_t ListInputMethod(InputMethodStatus status, std::vector<Property> &props) override;
/base/inputmethod/imf/frameworks/native/inputmethod_controller/src/
H A Dinput_method_system_ability_proxy.cpp188 int32_t InputMethodSystemAbilityProxy::ListInputMethod(InputMethodStatus status, std::vector<Property> &props)
193 [&props](MessageParcel &reply) { return ITypesUtil::Unmarshal(reply, props); });
H A Dinput_method_controller.cpp404 int32_t InputMethodController::ListInputMethodCommon(InputMethodStatus status, std::vector<Property> &props) in ListInputMethodCommon() argument
412 return proxy->ListInputMethod(status, props); in ListInputMethodCommon()
415 int32_t InputMethodController::ListInputMethod(std::vector<Property> &props) in ListInputMethod() argument
418 return ListInputMethodCommon(ALL, props); in ListInputMethod()
421 int32_t InputMethodController::ListInputMethod(bool enable, std::vector<Property> &props) in ListInputMethod() argument
424 return ListInputMethodCommon(enable ? ENABLE : DISABLE, props); in ListInputMethod()
/base/inputmethod/imf/interfaces/inner_api/inputmethod_controller/include/
H A Dinput_method_controller.h279 * @param props Indicates the input methods that will be listed.
283 IMF_API int32_t ListInputMethod(std::vector<Property> &props);
290 * @param props Indicates the input methods that will be listed.
295 IMF_API int32_t ListInputMethod(bool enable, std::vector<Property> &props);
835 int32_t ListInputMethodCommon(InputMethodStatus status, std::vector<Property> &props);

Completed in 17 milliseconds