Home
last modified time | relevance | path

Searched refs:imsa_ (Results 1 - 6 of 6) sorted by relevance

/base/inputmethod/imf/test/unittest/cpp_test/src/
H A Dinput_method_dfx_test.cpp154 static sptr<InputMethodSystemAbility> imsa_; member in OHOS::MiscServices::InputMethodDfxTest
160 sptr<InputMethodSystemAbility> InputMethodDfxTest::imsa_; member in OHOS::MiscServices::InputMethodDfxTest
212 imsa_ = new (std::nothrow) InputMethodSystemAbility(); in SetUpTestCase()
213 if (imsa_ == nullptr) { in SetUpTestCase()
216 imsa_->OnStart(); in SetUpTestCase()
217 imsa_->userId_ = TddUtil::GetCurrentUserId(); in SetUpTestCase()
218 imsa_->identityChecker_ = std::make_shared<IdentityCheckerMock>(); in SetUpTestCase()
223 inputMethodAbility_->abilityManager_ = imsa_; in SetUpTestCase()
230 inputMethodController_->abilityManager_ = imsa_; in SetUpTestCase()
238 imsa_ in TearDownTestCase()
[all...]
H A Dinput_method_editor_test.cpp123 static sptr<InputMethodSystemAbility> imsa_; member in OHOS::MiscServices::InputMethodEditorTest
131 sptr<InputMethodSystemAbility> InputMethodEditorTest::imsa_; member in OHOS::MiscServices::InputMethodEditorTest
138 imsa_ = new (std::nothrow) InputMethodSystemAbility(); in SetUpTestCase()
139 if (imsa_ == nullptr) { in SetUpTestCase()
142 imsa_->OnStart(); in SetUpTestCase()
143 imsa_->userId_ = TddUtil::GetCurrentUserId(); in SetUpTestCase()
144 imsa_->identityChecker_ = std::make_shared<IdentityCheckerMock>(); in SetUpTestCase()
147 inputMethodAbility_->abilityManager_ = imsa_; in SetUpTestCase()
158 inputMethodController_->abilityManager_ = imsa_; in SetUpTestCase()
179 imsa_ in TearDownTestCase()
[all...]
H A Dinput_method_attach_test.cpp49 static sptr<InputMethodSystemAbility> imsa_; member in OHOS::MiscServices::InputMethodAttachTest
59 imsa_ = new (std::nothrow) InputMethodSystemAbility(); in SetUpTestCase()
60 if (imsa_ == nullptr) { in SetUpTestCase()
63 imsa_->OnStart(); in SetUpTestCase()
64 imsa_->userId_ = TddUtil::GetCurrentUserId(); in SetUpTestCase()
65 imsa_->identityChecker_ = std::make_shared<IdentityCheckerMock>(); in SetUpTestCase()
66 sptr<InputMethodSystemAbilityStub> serviceStub = imsa_; in SetUpTestCase()
89 imsa_->OnStop(); in TearDownTestCase()
124 sptr<InputMethodSystemAbility> InputMethodAttachTest::imsa_; member in OHOS::MiscServices::InputMethodAttachTest
H A Dinput_method_ability_test.cpp68 static sptr<InputMethodSystemAbility> imsa_; member in OHOS::MiscServices::InputMethodAbilityTest
122 imsa_ = new (std::nothrow) InputMethodSystemAbility(); in SetUpTestCase()
123 if (imsa_ == nullptr) { in SetUpTestCase()
126 imsa_->OnStart(); in SetUpTestCase()
127 imsa_->userId_ = TddUtil::GetCurrentUserId(); in SetUpTestCase()
128 imsa_->identityChecker_ = std::make_shared<IdentityCheckerMock>(); in SetUpTestCase()
129 sptr<InputMethodSystemAbilityStub> serviceStub = imsa_; in SetUpTestCase()
160 imsa_->OnStop(); in TearDownTestCase()
244 sptr<InputMethodSystemAbility> InputMethodAbilityTest::imsa_; member in OHOS::MiscServices::InputMethodAbilityTest
H A Dinput_method_panel_test.cpp116 static sptr<InputMethodSystemAbility> imsa_; member in OHOS::MiscServices::InputMethodPanelTest
189 sptr<InputMethodSystemAbility> InputMethodPanelTest::imsa_{ nullptr };
215 imsa_ = new (std::nothrow) InputMethodSystemAbility(); in SetUpTestCase()
216 if (imsa_ == nullptr) { in SetUpTestCase()
219 imsa_->OnStart(); in SetUpTestCase()
220 imsa_->userId_ = TddUtil::GetCurrentUserId(); in SetUpTestCase()
221 imsa_->identityChecker_ = std::make_shared<IdentityCheckerMock>(); in SetUpTestCase()
223 imc_->abilityManager_ = imsa_; in SetUpTestCase()
226 ima_->abilityManager_ = imsa_; in SetUpTestCase()
232 ImaUtils::abilityManager_ = imsa_; in SetUpTestCase()
[all...]
H A Dinput_method_controller_test.cpp129 static sptr<InputMethodSystemAbility> imsa_; member in OHOS::MiscServices::InputMethodControllerTest
237 sptr<InputMethodSystemAbility> InputMethodControllerTest::imsa_; member in OHOS::MiscServices::InputMethodControllerTest
272 imsa_ = new (std::nothrow) InputMethodSystemAbility(); in SetUpTestCase()
273 if (imsa_ == nullptr) { in SetUpTestCase()
276 imsa_->OnStart(); in SetUpTestCase()
277 imsa_->userId_ = TddUtil::GetCurrentUserId(); in SetUpTestCase()
278 imsa_->identityChecker_ = std::make_shared<IdentityCheckerMock>(); in SetUpTestCase()
279 sptr<InputMethodSystemAbilityStub> serviceStub = imsa_; in SetUpTestCase()
315 imsa_->OnStop(); in TearDownTestCase()

Completed in 11 milliseconds