Searched refs:currentIme (Results 1 – 6 of 6) sorted by relevance
/base/inputmethod/imf/services/src/ |
D | bundle_checker.cpp | 24 bool BundleChecker::IsCurrentIme(uint32_t tokenID, const std::string ¤tIme) 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()
|
D | input_method_system_ability.cpp | 129 auto ¤tIme = 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 ¤tIme = 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 …]
|
D | ime_cfg_manager.cpp | 89 if (imeConfig.userId == cfg.userId && !cfg.currentIme.empty()) { in ModifyImeCfg() 90 imeConfig.currentIme = cfg.currentIme; in ModifyImeCfg()
|
D | peruser_session.cpp | 235 auto ¤tIme = 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/ |
D | ime_cfg_manager.h | 29 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()
|
D | bundle_checker.h | 25 static bool IsCurrentIme(uint32_t tokenID, const std::string ¤tIme);
|