/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webview/ |
H A D | ark_imf_adapter_impl.cpp | 28 bool ArkIMFAdapterImpl::Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard) in Attach() function in OHOS::ArkWeb::ArkIMFAdapterImpl 31 return real_->Attach(nullptr, isShowKeyboard); in Attach() 34 return real_->Attach(std::make_shared<ArkIMFTextListenerAdapterWrapper>(listener), isShowKeyboard); in Attach() 37 bool ArkIMFAdapterImpl::Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard, in Attach() function in OHOS::ArkWeb::ArkIMFAdapterImpl 41 return real_->Attach(nullptr, isShowKeyboard, nullptr, isResetListener); in Attach() 43 return real_->Attach(std::make_shared<ArkIMFTextListenerAdapterWrapper>(listener), isShowKeyboard, in Attach() 46 return real_->Attach( in Attach() 49 return real_->Attach( in Attach()
|
H A D | ark_imf_adapter_impl.h | 29 bool Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard) override; 31 bool Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/bridge/webcore/ |
H A D | ark_imfadapter_wrapper.cpp | 28 bool ArkIMFAdapterWrapper::Attach(std::shared_ptr<OHOS::NWeb::IMFTextListenerAdapter> listener, bool isShowKeyboard) in Attach() function in OHOS::ArkWeb::ArkIMFAdapterWrapper 31 return ctocpp_->Attach(nullptr, isShowKeyboard); in Attach() 34 return ctocpp_->Attach(new ArkIMFTextListenerAdapterImpl(listener), isShowKeyboard); in Attach() 37 bool ArkIMFAdapterWrapper::Attach(std::shared_ptr<OHOS::NWeb::IMFTextListenerAdapter> listener, bool isShowKeyboard, in Attach() function in OHOS::ArkWeb::ArkIMFAdapterWrapper 41 return ctocpp_->Attach(new ArkIMFTextListenerAdapterImpl(listener), isShowKeyboard, in Attach() 44 return ctocpp_->Attach(nullptr, isShowKeyboard, nullptr, isResetListener); in Attach() 46 return ctocpp_->Attach(nullptr, isShowKeyboard, new ArkIMFTextConfigAdapterImpl(config), isResetListener); in Attach() 48 return ctocpp_->Attach(new ArkIMFTextListenerAdapterImpl(listener), isShowKeyboard, nullptr, isResetListener); in Attach()
|
H A D | ark_imfadapter_wrapper.h | 29 bool Attach(std::shared_ptr<OHOS::NWeb::IMFTextListenerAdapter> listener, bool isShowKeyboard) override; 31 bool Attach(std::shared_ptr<OHOS::NWeb::IMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/base/inputmethod/imf/test/unittest/cpp_test/src/ |
H A D | input_method_attach_test.cpp | 112 inputMethodController_->Attach(textListener, true); in TestImfMultiThreadAttach() 130 * @tc.desc: test Attach 137 auto ret = inputMethodController_->Attach(textListener); in HWTEST_F() 154 * @tc.desc: test Attach 161 auto ret = inputMethodController_->Attach(textListener, false); in HWTEST_F() 177 * @tc.desc: test Attach 187 auto ret = inputMethodController_->Attach(textListener, true, attribute); in HWTEST_F() 202 * @tc.desc: test Attach 214 auto ret = inputMethodController_->Attach(textListener, false, config); in HWTEST_F() 229 * @tc.desc: test Attach, tes [all...] |
H A D | ime_proxy_test.cpp | 76 static int32_t Attach(bool isPc) in Attach() function in OHOS::MiscServices::ImeProxyTest 82 auto ret = imc_->Attach(testListener, true, config); in Attach() 197 ret = Attach(true); in HWTEST_F() 223 ret = Attach(false); in HWTEST_F() 243 auto ret = Attach(false); in HWTEST_F() 276 ret = Attach(true); in HWTEST_F() 332 ret = Attach(true); in HWTEST_F() 361 ret = Attach(false); in HWTEST_F() 405 ret = Attach(true); in HWTEST_F() 448 ret = Attach(tru in HWTEST_F() [all...] |
H A D | input_method_controller_test.cpp | 514 * @tc.desc: IMC Attach. 523 inputMethodController_->Attach(textListener_, false); in HWTEST_F() 524 inputMethodController_->Attach(textListener_); in HWTEST_F() 525 inputMethodController_->Attach(textListener_, true); in HWTEST_F() 533 * @tc.desc: IMC Attach. 549 inputMethodController_->Attach(textListener_, true, textConfig); in HWTEST_F() 560 inputMethodController_->Attach(textListener_, true, textConfig); in HWTEST_F() 573 auto ret = inputMethodController_->Attach(textListener_); in HWTEST_F() 638 auto res = inputMethodController_->Attach(textListener_); in HWTEST_F() 714 auto ret = inputMethodController_->Attach(textListener in HWTEST_F() [all...] |
H A D | input_method_editor_test.cpp | 166 int32_t ret = InputMethodEditorTest::inputMethodController_->Attach(InputMethodEditorTest::textListener_, false); in SetUpTestCase() 197 * @tc.desc: InputMethodEditorTest Attach. 202 IMSA_HILOGI("InputMethodEditorTest Attach Unfocused Test START"); in HWTEST_F() 203 int32_t ret = InputMethodEditorTest::inputMethodController_->Attach(InputMethodEditorTest::textListener_, false); in HWTEST_F() 205 ret = InputMethodEditorTest::inputMethodController_->Attach(InputMethodEditorTest::textListener_); in HWTEST_F() 207 ret = InputMethodEditorTest::inputMethodController_->Attach(InputMethodEditorTest::textListener_, true); in HWTEST_F() 276 * @tc.desc: InputMethodEditorTest Attach Focused 281 IMSA_HILOGI("InputMethodEditorTest Attach Focused Test START"); in HWTEST_F() 285 int32_t ret = InputMethodEditorTest::inputMethodController_->Attach(InputMethodEditorTest::textListener_, false); in HWTEST_F() 291 ret = InputMethodEditorTest::inputMethodController_->Attach(InputMethodEditorTes in HWTEST_F() [all...] |
H A D | input_method_panel_test.cpp | 70 static void Attach(); 290 void InputMethodPanelTest::Attach() in Attach() function in OHOS::MiscServices::InputMethodPanelTest 293 auto ret = imc_->Attach(textListener_, false); in Attach() 629 InputMethodPanelTest::Attach(); in HWTEST_F() 654 InputMethodPanelTest::Attach(); in HWTEST_F() 681 InputMethodPanelTest::Attach(); in HWTEST_F() 1151 InputMethodPanelTest::Attach(); in HWTEST_F() 1173 InputMethodPanelTest::Attach(); in HWTEST_F() 1195 InputMethodPanelTest::Attach(); in HWTEST_F() 1217 InputMethodPanelTest::Attach(); in HWTEST_F() [all...] |
/base/hiviewdfx/faultloggerd/tools/process_dump/ |
H A D | dfx_process.cpp | 79 thread->Attach(PTRACE_ATTATCH_OTHER_THREAD_TIMEOUT); in InitOtherThreads() 124 void DfxProcess::Attach(bool hasKey) in Attach() function in OHOS::HiviewDFX::DfxProcess 127 keyThread_->Attach(PTRACE_ATTATCH_KEY_THREAD_TIMEOUT); in Attach() 135 thread->Attach(PTRACE_ATTATCH_KEY_THREAD_TIMEOUT); in Attach() 138 thread->Attach(PTRACE_ATTATCH_OTHER_THREAD_TIMEOUT); in Attach()
|
H A D | dfx_thread.cpp | 121 bool DfxThread::Attach(int timeout) in Attach() function in OHOS::HiviewDFX::DfxThread 127 if (!DfxPtrace::Attach(threadInfo_.nsTid, timeout)) { in Attach()
|
H A D | dfx_process.h | 41 void Attach(bool hasKey = false);
|
H A D | dfx_thread.h | 56 bool Attach(int timeout = PTRACE_ATTATCH_KEY_THREAD_TIMEOUT);
|
/base/inputmethod/imf/test/fuzztest/inputmethodcontroller_fuzzer/ |
H A D | inputmethodcontroller_fuzzer.cpp | 58 imc->Attach(textListener); in TestDispatchKeyEvent() 70 imc->Attach(textListener); in TestOnSelectionChange() 85 imc->Attach(textListener); in TestOnConfigurationChange() 109 imc->Attach(textListener); in TestSetCallingWindow() 119 imc->Attach(textListener); in TestShowSomething() 146 imc->Attach(textListener, true, inputAttribute); in TestAttach() 147 imc->Attach(textListener, false, inputAttribute); in TestAttach()
|
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwindstack/ |
H A D | pid_utils.cpp | 82 bool PidUtils::Attach(pid_t pid) in Attach() function in OHOS::HiviewDFX::PidUtils 120 if (Attach(pid)) { in WaitForPidState() 153 } while (time(nullptr) - startTime < MAX_WAIT_TIME_SECONDS && status == PID_RUN_KEEP_GOING && Attach(pid)); in WaitForPidStateAfterAttach()
|
H A D | pid_utils.h | 37 static bool Attach(pid_t pid);
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/include/ |
H A D | dfx_ptrace.h | 27 static bool Attach(pid_t tid, int timeout = PTRACE_ATTATCH_KEY_THREAD_TIMEOUT);
|
/base/web/webview/test/unittest/ohos_adapter/imf_adapter_test/ |
H A D | imf_adapter_impl_test.cpp | 289 bool res = g_imf->Attach(nullptr, false); in HWTEST_F() 303 bool res = g_imf->Attach(listener, true); in HWTEST_F() 318 bool res = g_imf->Attach(listener, false); in HWTEST_F() 461 bool result = g_imf->Attach(nullptr, true, nullptr, false); in HWTEST_F() 465 result = g_imf->Attach(nullptr, true, nullptr, false); in HWTEST_F() 467 result = g_imf->Attach(nullptr, true, nullptr, false); in HWTEST_F() 504 bool result = g_imf->Attach(listener, true, nullptr, false); in HWTEST_F() 507 result = g_imf->Attach(listener, true, config, false); in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/test/unittest/unwind/ |
H A D | unwinder_pac_test.cpp | 58 bool unwRet = DfxPtrace::Attach(pid); in HWTEST_F() 59 EXPECT_EQ(true, unwRet) << "UnwinderPacTest001: Attach:" << unwRet; in HWTEST_F() 97 bool unwRet = DfxPtrace::Attach(pid); in HWTEST_F() 98 EXPECT_EQ(true, unwRet) << "UnwinderPacTest002: Attach:" << unwRet; in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/test/benchmarktest/unwind/ |
H A D | unwind_remote_benchmark.cpp | 111 if (!DfxPtrace::Attach(pid)) {
in Run() 154 if (!DfxPtrace::Attach(pid)) {
in RunCache()
|
/base/security/security_guard/test/unittest/mock/rdb/ |
H A D | rdb_store.h | 52 virtual int Attach(const std::string &alias, const std::string &pathName, 68 MOCK_METHOD3(Attach, int(
|
/base/web/webview/ohos_interface/ohos_glue/ohos_adapter/include/ |
H A D | ark_imf_adapter.h | 153 virtual bool Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard) = 0; 156 virtual bool Attach(ArkWebRefPtr<ArkIMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/base/web/webview/ohos_adapter/inputmethodframework_adapter/include/ |
H A D | imf_adapter_impl.h | 99 bool Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard) override; 101 bool Attach(std::shared_ptr<IMFTextListenerAdapter> listener, bool isShowKeyboard,
|
/base/hiviewdfx/faultloggerd/test/unittest/process_dump/ |
H A D | process_dump_test.cpp | 118 * @tc.desc: test Attach Detach 127 process->Attach(); in HWTEST_F() 143 process1->Attach(); in HWTEST_F() 152 process2->Attach(); in HWTEST_F() 203 thread->Attach(); in HWTEST_F()
|
/base/hiviewdfx/faultloggerd/interfaces/innerkits/unwinder/ |
H A D | dfx_ptrace.cpp | 41 bool DfxPtrace::Attach(pid_t tid, int timeout) in Attach() function in OHOS::HiviewDFX::DfxPtrace
|