Home
last modified time | relevance | path

Searched refs:imeId (Results 1 – 22 of 22) sorted by relevance

/base/inputmethod/imf/frameworks/native/inputmethod_ability/src/
Dinput_method_core_proxy.cpp35 sptr<IInputControlChannel> &inputControlChannel, const std::string &imeId) in InitInputControlChannel() argument
37 …return SendRequest(INIT_INPUT_CONTROL_CHANNEL, [&inputControlChannel, &imeId](MessageParcel &data)… in InitInputControlChannel()
38 return ITypesUtil::Marshal(data, inputControlChannel->AsObject(), imeId); in InitInputControlChannel()
51 void InputMethodCoreProxy::StopInputService(std::string imeId) in StopInputService() argument
53 SendRequest(STOP_INPUT_SERVICE, [&imeId](MessageParcel &data) { in StopInputService()
54 return ITypesUtil::Marshal(data, Str8ToStr16(imeId)); in StopInputService()
Dinput_method_core_stub.cpp85 sptr<IInputControlChannel> &inputControlChannel, const std::string &imeId) in InitInputControlChannel() argument
97 data->WriteString(imeId); in InitInputControlChannel()
109 void InputMethodCoreStub::StopInputService(std::string imeId) in StopInputService() argument
116 data->WriteString16(Str8ToStr16(imeId)); in StopInputService()
Dinput_method_ability.cpp194 std::string imeId = Str16ToStr8(data->ReadString16()); in WorkThread() local
196 imeListener_->OnInputStop(imeId); in WorkThread()
/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/newTestIme/entry/src/main/ets/InputMethodExtAbility/model/
DKeyboardController.ts43 globalThis.inputEngine.on('inputStop', (imeId) => {
44 this.addLog("[inputDemo] inputStop:" + imeId);
45 if (imeId == "com.example.kikainput/InputDemoService") {
/base/inputmethod/imf/test/unittest/resource/bundle_dependencies/extImfBundle/entry/src/main/ets/InputMethodExtAbility/model/
DKeyboardController.ts43 globalThis.inputEngine.on('inputStop', (imeId) => {
44 this.addLog("[inputDemo] inputStop:" + imeId);
45 if (imeId == "com.example.kikainput/InputDemoService") {
/base/inputmethod/imf/test/common/src/
Dinput_method_engine_listener_impl.cpp37 void InputMethodEngineListenerImpl::OnInputStop(const std::string &imeId) in OnInputStop() argument
39 IMSA_HILOGI("InputMethodEngineListenerImpl::OnInputStop %{public}s", imeId.c_str()); in OnInputStop()
/base/inputmethod/imf/frameworks/native/inputmethod_ability/include/
Di_input_method_core.h51 sptr<IInputControlChannel> &inputControlChannel, const std::string &imeId) = 0;
52 virtual void StopInputService(std::string imeId) = 0;
Dinput_method_core_proxy.h41 …ControlChannel(sptr<IInputControlChannel> &inputControlChannel, const std::string &imeId) override;
42 void StopInputService(std::string imeId) override;
Dinput_method_core_stub.h45 …ControlChannel(sptr<IInputControlChannel> &inputControlChannel, const std::string &imeId) override;
46 void StopInputService(std::string imeId) override;
Dinput_method_engine_listener.h28 virtual void OnInputStop(const std::string &imeId) = 0;
/base/inputmethod/imf/services/src/
Dime_cfg_manager.cpp124 info.imeId = cfg.currentIme; in GetCurrentImeCfg()
125 auto pos = info.imeId.find('/'); in GetCurrentImeCfg()
126 if (pos != std::string::npos && pos + 1 < info.imeId.size()) { in GetCurrentImeCfg()
127 info.bundleName = info.imeId.substr(0, pos); in GetCurrentImeCfg()
128 info.extName = info.imeId.substr(pos + 1); in GetCurrentImeCfg()
Dime_info_inquirer.cpp207 std::string imeId = property.mPackageName + "/" + property.mAbilityName; in GetInputMethodParam() local
208 params += "{\"ime\": \"" + imeId + "\","; in GetInputMethodParam()
211 std::string isCurrentIme = currentImeCfg->imeId == imeId ? "true" : "false"; in GetInputMethodParam()
347 IMSA_HILOGD("currentIme: %{public}s", currentImeCfg->imeId.c_str()); in ListCurrentInputMethodSubtype()
481 IMSA_HILOGD("currentIme: %{public}s", currentImeCfg->imeId.c_str()); in GetCurrentInputMethod()
508 IMSA_HILOGD("currentIme: %{public}s", currentImeCfg->imeId.c_str()); in GetCurrentInputMethodSubtype()
546 IMSA_HILOGD("userId: %{public}d, currentIme: %{public}s", userId, currentImeCfg->imeId.c_str()); in GetStartedIme()
547 …if (currentImeCfg->imeId.empty() || !IsImeInstalled(userId, currentImeCfg->bundleName, currentImeC… in GetStartedIme()
558 …currentImeCfg->imeId.empty() ? ImeCfgManager::GetInstance().AddImeCfg({ userId, newUserIme, subNam… in GetStartedIme()
564 return currentImeCfg->imeId; in GetStartedIme()
Dinput_method_system_ability.cpp202 bool InputMethodSystemAbility::StartInputService(const std::string &imeId) in StartInputService() argument
204 return userSession_->StartInputService(imeId, true); in StartInputService()
207 void InputMethodSystemAbility::StopInputService(const std::string &imeId) in StopInputService() argument
209 IMSA_HILOGE("InputMethodSystemAbility::StopInputService(%{public}s)", imeId.c_str()); in StopInputService()
210 userSession_->StopInputService(imeId); in StopInputService()
453 auto currentIme = ImeCfgManager::GetInstance().GetCurrentImeCfg(userId_)->imeId; in SwitchExtension()
473 auto currentIme = ImeCfgManager::GetInstance().GetCurrentImeCfg(userId_)->imeId; in SwitchSubType()
595 auto currentIme = ImeCfgManager::GetInstance().GetCurrentImeCfg(oldUserId)->imeId; in OnUserStarted()
Dperuser_session.cpp408 inputControlChannel, ImeCfgManager::GetInstance().GetCurrentImeCfg(userId_)->imeId); in InitInputControlChannel()
421 void PerUserSession::StopInputService(std::string imeId) in StopInputService() argument
431 core->StopInputService(imeId); in StopInputService()
/base/inputmethod/imf/test/common/include/
Dinput_method_engine_listener_impl.h34 void OnInputStop(const std::string &imeId) override;
/base/inputmethod/imf/services/include/
Dinput_method_system_ability.h98 bool StartInputService(const std::string &imeId);
99 void StopInputService(const std::string &imeId);
Dime_cfg_manager.h36 std::string imeId; member
Dperuser_session.h82 void StopInputService(std::string imeId);
/base/inputmethod/imf/test/unittest/cpp_test/src/
Dinput_method_ability_exception_test.cpp61 void OnInputStop(const std::string &imeId) override;
82 void InputMethodAbilityExceptionTest::ImeListenerImpl::OnInputStop(const std::string &imeId) in OnInputStop() argument
Dinput_method_ability_test.cpp76 void OnInputStop(const std::string &imeId) in OnInputStop() argument
78 imeIdStopped_ = imeId; in OnInputStop()
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_input_method_engine_setting.h50 void OnInputStop(const std::string &imeId) override;
Djs_input_method_engine_setting.cpp577 void JsInputMethodEngineSetting::OnInputStop(const std::string &imeId) in OnInputStop() argument
581 uv_work_t *work = GetUVwork(type, [&imeId](UvEntry &entry) { entry.imeid = imeId; }); in OnInputStop()