Home
last modified time | relevance | path

Searched refs:extName (Results 1 - 9 of 9) sorted by relevance

/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_switch_test.cpp39 static void CheckCurrentProp(const std::string &extName);
40 static void CheckCurrentSubProp(const std::string &extName);
46 static std::vector<std::string> extName; member in OHOS::MiscServices::InputMethodSwitchTest
56 std::vector<std::string> InputMethodSwitchTest::extName{ "InputMethodExtAbility", "InputMethodExtAbility2" };
101 void InputMethodSwitchTest::CheckCurrentProp(const std::string &extName) in CheckCurrentProp() argument
106 EXPECT_EQ(property->id, extName); in CheckCurrentProp()
109 void InputMethodSwitchTest::CheckCurrentSubProp(const std::string &extName) in CheckCurrentSubProp() argument
113 EXPECT_EQ(subProperty->id, extName); in CheckCurrentSubProp()
124 EXPECT_EQ(subProps[i].id, extName[i]); in CheckCurrentSubProps()
146 CheckCurrentProp(extName[ in HWTEST_F()
[all...]
H A DnewIme_switch_test.cpp43 static std::string extName; member in OHOS::MiscServices::NewImeSwitchTest
52 std::string NewImeSwitchTest::extName = "InputMethodExtAbility"; member in OHOS::MiscServices::NewImeSwitchTest
99 EXPECT_EQ(property->id, extName); in CheckCurrentProp()
/base/sensors/miscdevice/utils/common/include/
H A Dfile_utils.h40 int32_t GetFileExtName(const int32_t &fd, std::string &extName);
/base/sensors/miscdevice/utils/common/src/
H A Dfile_utils.cpp133 int32_t GetFileExtName(const int32_t &fd, std::string &extName) in GetFileExtName() argument
144 extName = fileName.substr(fileName.find_last_of(".") + 1); in GetFileExtName()
/base/inputmethod/imf/services/src/
H A Dime_info_inquirer.cpp658 int32_t userId, const std::string &bundleName, const std::string &extName) in GetImeProperty()
668 .id = extName.empty() ? extInfos[0].name : extName, in GetImeProperty()
684 prop->id = currentImeCfg->extName; in GetCurrentInputMethod()
689 return GetImeProperty(userId, currentImeCfg->bundleName, currentImeCfg->extName); in GetCurrentInputMethod()
729 bool ImeInfoInquirer::IsImeInstalled(const int32_t userId, const std::string &bundleName, const std::string &extName) in IsImeInstalled() argument
731 IMSA_HILOGD("userId: %{public}d, bundleName: %{public}s, extName: %{public}s.", userId, bundleName.c_str(), in IsImeInstalled()
732 extName.c_str()); in IsImeInstalled()
736 [&bundleName, &extName](const OHOS::AppExecFwk::ExtensionAbilityInfo &extInfo) { in IsImeInstalled()
737 return extInfo.bundleName == bundleName && extName in IsImeInstalled()
657 GetImeProperty( int32_t userId, const std::string &bundleName, const std::string &extName) GetImeProperty() argument
[all...]
H A Dime_cfg_manager.cpp156 info.extName = info.imeId.substr(pos + 1); in GetCurrentImeCfg()
H A Dperuser_session.cpp1036 imeId.subName = currentImeCfg->extName; in GetCurrentUsingImeId()
1053 want.SetElementName(ime->bundleName, ime->extName); in GetWant()
1080 InitImeData({ ime->bundleName, ime->extName }); in StartInputService()
1226 if (imeData == nullptr || imeData->ime.first != cfgIme->bundleName || imeData->ime.second != cfgIme->extName) {
1487 if (imeData->ime.first == ime->bundleName && imeData->ime.second == ime->extName) {
1686 if (imeData != nullptr && imeData->ime.first == cfgIme->bundleName && imeData->ime.second == cfgIme->extName) {
/base/inputmethod/imf/services/include/
H A Dime_cfg_manager.h72 std::string extName; member
H A Dime_info_inquirer.h80 int32_t userId, const std::string &bundleName, const std::string &extName = "");
126 bool IsImeInstalled(const int32_t userId, const std::string &bundleName, const std::string &extName);

Completed in 7 milliseconds