Home
last modified time | relevance | path

Searched refs:currentIme (Results 1 – 6 of 6) sorted by relevance

/base/inputmethod/imf/services/src/
Dbundle_checker.cpp24 bool BundleChecker::IsCurrentIme(uint32_t tokenID, const std::string &currentIme) in IsCurrentIme() argument
30 if (currentIme.empty() || bundleName.empty()) { in IsCurrentIme()
34 if (bundleName != currentIme) { in IsCurrentIme()
36 …current ime, caller: %{public}s, current ime: %{public}s", bundleName.c_str(), currentIme.c_str()); in IsCurrentIme()
Dinput_method_system_ability.cpp129 auto &currentIme = cfg.currentIme; in GetInputMethodParam() local
140 std::string isCurrentIme = currentIme == imeId ? "true" : "false"; in GetInputMethodParam()
367 auto currentIme = GetCurrentInputMethod(); in SetCoreAndAgent() local
368 if (currentIme == nullptr) { in SetCoreAndAgent()
371 if (!BundleChecker::IsCurrentIme(IPCSkeleton::GetCallingTokenID(), currentIme->name)) { in SetCoreAndAgent()
602 auto &currentIme = cfg.currentIme; in OnSwitchInputMethod() local
603 if (currentIme.empty()) { in OnSwitchInputMethod()
607 …IMSA_HILOGI("CurrentIme : %{public}s, TargetIme : %{public}s", currentIme.c_str(), targetIme.c_str… in OnSwitchInputMethod()
608 if (currentIme == targetIme) { in OnSwitchInputMethod()
612 StopInputService(currentIme); in OnSwitchInputMethod()
[all …]
Dime_cfg_manager.cpp89 if (imeConfig.userId == cfg.userId && !cfg.currentIme.empty()) { in ModifyImeCfg()
90 imeConfig.currentIme = cfg.currentIme; in ModifyImeCfg()
Dperuser_session.cpp235 auto &currentIme = cfg.currentIme; in OnImsDied() local
236 if (currentIme.empty()) { in OnImsDied()
245 parcel->WriteString(currentIme); in OnImsDied()
444 int ret = core->InitInputControlChannel(inputControlChannel, cfg.currentIme); in InitInputControlChannel()
/base/inputmethod/imf/services/include/
Dime_cfg_manager.h29 std::string currentIme; member
51 jsonCfg.at("currentIme").get_to(cfg.currentIme); in FromJson()
55 jsonCfg = nlohmann::json{ { "userId", cfg.userId }, { "currentIme", cfg.currentIme } }; in ToJson()
Dbundle_checker.h25 static bool IsCurrentIme(uint32_t tokenID, const std::string &currentIme);