Home
last modified time | relevance | path

Searched refs:InputMethodEngineListenerImpl (Results 1 - 12 of 12) sorted by relevance

/base/inputmethod/imf/test/common/src/
H A Dinput_method_engine_listener_impl.cpp23 bool InputMethodEngineListenerImpl::keyboardState_ = false;
24 bool InputMethodEngineListenerImpl::isInputStart_ = false;
25 uint32_t InputMethodEngineListenerImpl::windowId_ = 0;
26 std::mutex InputMethodEngineListenerImpl::imeListenerMutex_;
27 std::condition_variable InputMethodEngineListenerImpl::imeListenerCv_;
28 bool InputMethodEngineListenerImpl::isEnable_{ false };
29 bool InputMethodEngineListenerImpl::isInputFinish_{ false };
30 std::unordered_map<std::string, PrivateDataValue> InputMethodEngineListenerImpl::privateCommand_{};
32 void InputMethodEngineListenerImpl::OnKeyboardStatus(bool isShow) in OnKeyboardStatus()
34 IMSA_HILOGI("InputMethodEngineListenerImpl in OnKeyboardStatus()
[all...]
/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dime_proxy_test.cpp65 InputMethodAbilityInterface::GetInstance().SetImeListener(std::make_shared<InputMethodEngineListenerImpl>()); in SetUp()
78 isPc ? InputMethodEngineListenerImpl::isEnable_ = true : InputMethodEngineListenerImpl::isEnable_ = false; in Attach()
87 isPc ? InputMethodEngineListenerImpl::isEnable_ = true : InputMethodEngineListenerImpl::isEnable_ = false; in Close()
105 isPc ? InputMethodEngineListenerImpl::isEnable_ = true : InputMethodEngineListenerImpl::isEnable_ = false; in ClickEditor()
171 InputMethodEngineListenerImpl::ResetParam(); in HWTEST_F()
172 InputMethodEngineListenerImpl::isEnable_ = true; in HWTEST_F()
175 EXPECT_FALSE(InputMethodEngineListenerImpl in HWTEST_F()
[all...]
H A Ditypes_util_test.cpp36 class InputMethodEngineListenerImpl : public InputMethodEngineListener { class in OHOS::MiscServices::ITypesUtilTest
38 InputMethodEngineListenerImpl() = default;
39 ~InputMethodEngineListenerImpl() = default;
43 IMSA_HILOGI("InputMethodEngineListenerImpl OnKeyboardStatus"); in OnKeyboardStatus()
48 IMSA_HILOGI("InputMethodEngineListenerImpl OnInputStart"); in OnInputStart()
53 IMSA_HILOGI("InputMethodEngineListenerImpl OnInputStop"); in OnInputStop()
59 IMSA_HILOGI("InputMethodEngineListenerImpl OnSetCallingWindow"); in OnSetCallingWindow()
64 IMSA_HILOGI("InputMethodEngineListenerImpl OnSetSubtype"); in OnSetSubtype()
69 IMSA_HILOGI("InputMethodEngineListenerImpl OnSecurityChange"); in OnSecurityChange()
74 IMSA_HILOGI("InputMethodEngineListenerImpl ReceivePrivateComman in ReceivePrivateCommand()
[all...]
H A Dinput_method_editor_test.cpp121 static std::shared_ptr<InputMethodEngineListenerImpl> imeListener_;
129 std::shared_ptr<InputMethodEngineListenerImpl> InputMethodEditorTest::imeListener_;
152 imeListener_ = std::make_shared<InputMethodEngineListenerImpl>(); in SetUpTestCase()
295 EXPECT_TRUE(InputMethodEngineListenerImpl::keyboardState_); in HWTEST_F()
303 EXPECT_TRUE(InputMethodEngineListenerImpl::keyboardState_); in HWTEST_F()
495 EXPECT_TRUE(InputMethodEngineListenerImpl::WaitKeyboardStatus(true)); in HWTEST_F()
H A Dinput_method_ability_test.cpp71 class InputMethodEngineListenerImpl : public InputMethodEngineListener { class in OHOS::MiscServices::InputMethodAbilityTest
73 InputMethodEngineListenerImpl() = default;
74 ~InputMethodEngineListenerImpl() = default;
80 IMSA_HILOGI("InputMethodEngineListenerImpl OnKeyboardStatus"); in OnKeyboardStatus()
85 IMSA_HILOGI("InputMethodEngineListenerImpl OnInputStart"); in OnInputStart()
90 IMSA_HILOGI("InputMethodEngineListenerImpl OnInputStop"); in OnInputStop()
97 IMSA_HILOGI("InputMethodEngineListenerImpl OnSetCallingWindow"); in OnSetCallingWindow()
102 IMSA_HILOGI("InputMethodEngineListenerImpl OnSetSubtype"); in OnSetSubtype()
108 IMSA_HILOGI("InputMethodEngineListenerImpl OnSecurityChange"); in OnSecurityChange()
113 IMSA_HILOGI("InputMethodEngineListenerImpl ReceivePrivateComman in ReceivePrivateCommand()
[all...]
H A Dinput_method_controller_test.cpp132 static std::shared_ptr<InputMethodEngineListenerImpl> imeListener_;
240 std::shared_ptr<InputMethodEngineListenerImpl> InputMethodControllerTest::imeListener_;
294 imeListener_ = std::make_shared<InputMethodEngineListenerImpl>(textConfigHandler_); in SetUpTestCase()
425 return InputMethodEngineListenerImpl::WaitKeyboardStatus(keyboardState); in WaitKeyboardStatus()
1339 InputMethodEngineListenerImpl::ResetParam(); in HWTEST_F()
1362 InputMethodEngineListenerImpl::ResetParam(); in HWTEST_F()
1388 InputMethodEngineListenerImpl::ResetParam(); in HWTEST_F()
1411 InputMethodEngineListenerImpl::ResetParam(); in HWTEST_F()
1423 EXPECT_TRUE(InputMethodEngineListenerImpl::WaitSendPrivateCommand(privateCommand)); in HWTEST_F()
1439 InputMethodEngineListenerImpl in HWTEST_F()
[all...]
H A Dinput_method_dfx_test.cpp153 static std::shared_ptr<InputMethodEngineListenerImpl> imeListener_;
159 std::shared_ptr<InputMethodEngineListenerImpl> InputMethodDfxTest::imeListener_;
222 imeListener_ = std::make_shared<InputMethodEngineListenerImpl>(); in SetUpTestCase()
H A Dinput_method_ability_exception_test.cpp272 auto imeListener = std::make_shared<InputMethodEngineListenerImpl>(); in HWTEST_F()
306 auto imeListener = std::make_shared<InputMethodEngineListenerImpl>(); in HWTEST_F()
H A Dinput_method_attach_test.cpp80 inputMethodAbility_->SetImeListener(std::make_shared<InputMethodEngineListenerImpl>(textConfigHandler_)); in SetUpTestCase()
687 inputMethodAbility_->SetImeListener(std::make_shared<InputMethodEngineListenerImpl>()); in HWTEST_F()
690 InputMethodEngineListenerImpl::ResetParam(); in HWTEST_F()
714 EXPECT_TRUE(InputMethodEngineListenerImpl::WaitSetCallingWindow(config.windowId)); in HWTEST_F()
H A Dinput_method_panel_test.cpp208 imeListener_ = std::make_shared<InputMethodEngineListenerImpl>(); in SetUpTestCase()
/base/inputmethod/imf/test/common/include/
H A Dinput_method_engine_listener_impl.h26 class InputMethodEngineListenerImpl : public InputMethodEngineListener { class
28 InputMethodEngineListenerImpl() {}; in InputMethodEngineListenerImpl() function in OHOS::MiscServices::InputMethodEngineListenerImpl
29 ~InputMethodEngineListenerImpl() {}; in ~InputMethodEngineListenerImpl()
30 explicit InputMethodEngineListenerImpl(std::shared_ptr<AppExecFwk::EventHandler> handler) : eventHandler_(handler) in InputMethodEngineListenerImpl() function in OHOS::MiscServices::InputMethodEngineListenerImpl
/base/inputmethod/imf/test/fuzztest/inputmethodability_fuzzer/
H A Dinputmethodability_fuzzer.cpp61 auto engineListener = std::make_shared<InputMethodEngineListenerImpl>(); in TestSetImeListener()

Completed in 13 milliseconds