Lines Matching refs:subName

116     const std::string &subName)
118 IMSA_HILOGD("userId: %{public}d, bundleName: %{public}s, subName: %{public}s.", userId, bundleName.c_str(),
119 subName.c_str());
120 auto info = GetImeInfoFromCache(userId, bundleName, subName);
121 return info == nullptr ? GetImeInfoFromBundleMgr(userId, bundleName, subName) : info;
125 const std::string &subName)
135 info->isSpecificSubName = !subName.empty();
136 if (subName.empty() && !subProps.empty()) {
140 [&subName](const SubProperty &subProp) { return subProp.id == subName; });
142 IMSA_HILOGE("find subName: %{public}s failed!", subName.c_str());
158 const int32_t userId, const std::string &bundleName, const std::string &subName)
160 IMSA_HILOGD("userId: %{public}d, bundleName: %{public}s, subName: %{public}s.", userId, bundleName.c_str(),
161 subName.c_str());
184 if (subName.empty()) {
189 [&subName](const SubProperty &subProp) { return subProp.id == subName; });
191 IMSA_HILOGE("find subName: %{public}s failed!", subName.c_str());
431 int32_t ImeInfoInquirer::GetSubProperty(int32_t userId, const std::string &subName,
440 [&subName](const ExtensionAbilityInfo &info) { return info.name == subName; });
442 IMSA_HILOGE("subtype %{public}s not found!", subName.c_str());
481 int32_t ImeInfoInquirer::GetSubProperty(int32_t userId, const std::string &subName,
496 subtypes.begin(), subtypes.end(), [&subName](const Subtype &subtype) { return subtype.id == subName; });
498 IMSA_HILOGE("subtype %{public}s not found!", subName.c_str());
701 [&currentIme](const SubProperty &subProp) { return subProp.id == currentIme->subName; });
705 IMSA_HILOGW("subtype %{public}s not found.", currentIme->subName.c_str());
711 currentIme->subName.c_str());
720 ret = IsNewExtInfos(extInfos) ? GetSubProperty(userId, currentIme->subName, extInfos[0], subProp)
721 : GetSubProperty(userId, currentIme->subName, extInfos, subProp);
723 IMSA_HILOGE("get %{public}s property failed, ret: %{public}d!", currentIme->subName.c_str(), ret);
756 newIme.subName = "";
758 newIme.subName = info->subProp.id;
761 ? ImeCfgManager::GetInstance().AddImeCfg({ userId, newIme.imeId, newIme.subName, false })
762 : ImeCfgManager::GetInstance().ModifyImeCfg({ userId, newIme.imeId, newIme.subName, false});