Home
last modified time | relevance | path

Searched refs:enableOn (Results 1 - 3 of 3) sorted by relevance

/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Djson_operate_test.cpp379 bool enableOn = false; in HWTEST_F() local
380 auto ret = ImeInfoInquirer::GetInstance().ListDisabledInputMethod(userId, props, enableOn); in HWTEST_F()
382 enableOn = true; in HWTEST_F()
383 ret = ImeInfoInquirer::GetInstance().ListDisabledInputMethod(userId, props, enableOn); in HWTEST_F()
399 bool enableOn = false; in HWTEST_F() local
400 auto ret = ImeInfoInquirer::GetInstance().GetSwitchInfoBySwitchCount(switchInfo, userId, enableOn, cacheCount); in HWTEST_F()
/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);
95 int32_t GetSwitchInfoBySwitchCount(SwitchInfo &switchInfo, int32_t userId, bool enableOn, uint32_t cacheCount);
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);
/base/inputmethod/imf/services/src/
H A Dime_info_inquirer.cpp255 bool enableOn) in ListInputMethod()
262 return ListEnabledInputMethod(userId, props, enableOn); in ListInputMethod()
265 return ListDisabledInputMethod(userId, props, enableOn); in ListInputMethod()
305 int32_t ImeInfoInquirer::ListEnabledInputMethod(const int32_t userId, std::vector<Property> &props, bool enableOn) in ListEnabledInputMethod() argument
313 if (enableOn) { in ListEnabledInputMethod()
332 int32_t ImeInfoInquirer::ListDisabledInputMethod(const int32_t userId, std::vector<Property> &props, bool enableOn) in ListDisabledInputMethod() argument
335 if (!enableOn) { in ListDisabledInputMethod()
362 int32_t ImeInfoInquirer::GetSwitchInfoBySwitchCount(SwitchInfo &switchInfo, int32_t userId, bool enableOn, in GetSwitchInfoBySwitchCount() argument
366 auto ret = ListEnabledInputMethod(userId, props, enableOn); in GetSwitchInfoBySwitchCount()
254 ListInputMethod(int32_t userId, InputMethodStatus status, std::vector<Property> &props, bool enableOn) ListInputMethod() argument

Completed in 7 milliseconds