Searched refs:imc_ (Results 1 - 6 of 6) sorted by relevance
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | text_listener_inner_api_test.cpp | 36 static sptr<InputMethodController> imc_; member in OHOS::MiscServices::TextListenerInnerApiTest 44 imc_ = InputMethodController::GetInstance(); in SetUpTestCase() 49 imc_->Close(); in TearDownTestCase() 64 imc_->SetTextListener(textListener_); in GetIMCAttached() 65 imc_->clientInfo_.state = ClientState::ACTIVE; in GetIMCAttached() 66 imc_->isBound_.store(true); in GetIMCAttached() 67 imc_->isEditable_.store(true); in GetIMCAttached() 71 imc_->SetTextListener(nullptr); in GetIMCDetached() 72 imc_->isBound_.store(false); in GetIMCDetached() 73 imc_ in GetIMCDetached() 76 sptr<InputMethodController> TextListenerInnerApiTest::imc_; global() member in OHOS::MiscServices::TextListenerInnerApiTest [all...] |
H A D | input_method_switch_test.cpp | 42 static sptr<InputMethodController> imc_; member in OHOS::MiscServices::InputMethodSwitchTest 52 sptr<InputMethodController> InputMethodSwitchTest::imc_; member in OHOS::MiscServices::InputMethodSwitchTest 77 imc_ = InputMethodController::GetInstance(); in SetUpTestCase() 103 std::shared_ptr<Property> property = imc_->GetCurrentInputMethod(); in CheckCurrentProp() 111 auto subProperty = imc_->GetCurrentInputMethodSubtype(); in CheckCurrentSubProp() 120 auto ret = imc_->ListCurrentInputMethodSubtype(subProps); in CheckCurrentSubProps() 143 auto ret = imc_->SwitchInputMethod(SwitchTrigger::CURRENT_IME, bundleName); in HWTEST_F() 163 int32_t ret = imc_->SwitchInputMethod(SwitchTrigger::CURRENT_IME, bundleName, extName[0]); in HWTEST_F() 182 int32_t ret = imc_->SwitchInputMethod(SwitchTrigger::CURRENT_IME, bundleName, extName[1]); in HWTEST_F() 201 int32_t ret = imc_ in HWTEST_F() [all...] |
H A D | newIme_switch_test.cpp | 41 static sptr<InputMethodController> imc_; member in OHOS::MiscServices::NewImeSwitchTest 50 sptr<InputMethodController> NewImeSwitchTest::imc_; member in OHOS::MiscServices::NewImeSwitchTest 70 imc_ = InputMethodController::GetInstance(); in SetUpTestCase() 96 std::shared_ptr<Property> property = imc_->GetCurrentInputMethod(); in CheckCurrentProp() 104 auto subProperty = imc_->GetCurrentInputMethodSubtype(); in CheckCurrentSubProp() 113 auto ret = imc_->ListCurrentInputMethodSubtype(subProps); in CheckCurrentSubProps() 136 auto ret = imc_->SwitchInputMethod(SwitchTrigger::CURRENT_IME, bundleName); in HWTEST_F() 156 int32_t ret = imc_->SwitchInputMethod(SwitchTrigger::CURRENT_IME, bundleName, subName[0]); in HWTEST_F() 175 int32_t ret = imc_->SwitchInputMethod(SwitchTrigger::CURRENT_IME, bundleName, subName[1]); in HWTEST_F() 194 int32_t ret = imc_ in HWTEST_F() [all...] |
H A D | input_method_ability_test.cpp | 61 static sptr<InputMethodController> imc_; member in OHOS::MiscServices::InputMethodAbilityTest 149 imc_ = InputMethodController::GetInstance(); in SetUpTestCase() 150 imc_->abilityManager_ = imsaProxy_; in SetUpTestCase() 156 imc_->Close(); in TearDownTestCase() 164 imc_->SetTextListener(textListener_); in GetIMCAttachIMA() 165 imc_->clientInfo_.state = ClientState::ACTIVE; in GetIMCAttachIMA() 166 imc_->isBound_.store(true); in GetIMCAttachIMA() 167 imc_->isEditable_.store(true); in GetIMCAttachIMA() 169 imc_->SetAgent(agent); in GetIMCAttachIMA() 171 sptr<IInputDataChannel> channel = iface_cast<IInputDataChannel>(imc_ in GetIMCAttachIMA() 237 sptr<InputMethodController> InputMethodAbilityTest::imc_; global() member in OHOS::MiscServices::InputMethodAbilityTest [all...] |
H A D | input_method_panel_test.cpp | 114 static sptr<InputMethodController> imc_; member in OHOS::MiscServices::InputMethodPanelTest 187 sptr<InputMethodController> InputMethodPanelTest::imc_{ nullptr }; 206 imc_ = InputMethodController::GetInstance(); in SetUpTestCase() 223 imc_->abilityManager_ = imsa_; in SetUpTestCase() 293 auto ret = imc_->Attach(textListener_, false); in Attach() 403 auto ret = imc_->IsPanelShown(info, result); in TestIsPanelShown() 643 InputMethodPanelTest::imc_->Close(); in HWTEST_F() 670 InputMethodPanelTest::imc_->Close(); in HWTEST_F() 695 InputMethodPanelTest::imc_->Close(); in HWTEST_F() 1162 InputMethodPanelTest::imc_ in HWTEST_F() [all...] |
H A D | ime_proxy_test.cpp | 45 static sptr<InputMethodController> imc_; member in OHOS::MiscServices::ImeProxyTest 50 imc_ = InputMethodController::GetInstance(); in SetUpTestCase() 82 auto ret = imc_->Attach(testListener, true, config); in Attach() 88 imc_->Close(); in Close() 142 auto ret = imc_->SwitchInputMethod(SwitchTrigger::CURRENT_IME, subProp.name, subProp.id); in SwitchToTestIme() 160 sptr<InputMethodController> ImeProxyTest::imc_; member in OHOS::MiscServices::ImeProxyTest
|
Completed in 7 milliseconds