Home
last modified time | relevance | path

Searched refs:delegate (Results 1 – 3 of 3) sorted by relevance

/base/hiviewdfx/hisysevent/test/moduletest/common/
Dhisysevent_adapter_native_test.cpp196 std::shared_ptr<OHOS::HiviewDFX::HiSysEventDelegate> delegate = variable
198 std::thread t([delegate] () { in __anon236c18170202()
199 delegate->BinderFunc(); in __anon236c18170202()
202 auto ret = delegate->RemoveListener(nullptr);
204 ret = delegate->SetDebugMode(nullptr, true);
210 ret = delegate->AddListener(listener, rules);
212 ret = delegate->SetDebugMode(listener, true);
214 ret = delegate->SetDebugMode(listener, false);
217 ret = delegate->RemoveListener(listener);
227 ret = delegate->Query(args, queryRules, baseQuerier);
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodability/
Djs_keyboard_delegate_setting.cpp90 auto delegate = std::make_shared<JsKeyboardDelegateSetting>(); in GetKeyboardDelegateSetting() local
91 if (delegate == nullptr) { in GetKeyboardDelegateSetting()
95 keyboardDelegate_ = delegate; in GetKeyboardDelegateSetting()
106 auto delegate = GetKeyboardDelegateSetting(); in InitKeyboardDelegate() local
107 if (delegate == nullptr) { in InitKeyboardDelegate()
110 InputMethodAbility::GetInstance()->setKdListener(delegate); in InitKeyboardDelegate()
119 auto delegate = GetKeyboardDelegateSetting(); in JsConstructor() local
120 if (delegate == nullptr || !InitKeyboardDelegate()) { in JsConstructor()
127 …env, thisVar, delegate.get(), [](napi_env env, void *nativeObject, void *hint) {}, nullptr, nullpt… in JsConstructor()
132 if (delegate->loop_ == nullptr) { in JsConstructor()
[all …]
/base/inputmethod/imf/interfaces/kits/js/napi/inputmethodclient/
Djs_get_input_method_setting.cpp100 auto delegate = GetInputMethodSettingInstance(); in JsConstructor() local
101 if (delegate == nullptr) { in JsConstructor()
108 … env, thisVar, delegate.get(), [](napi_env env, void *data, void *hint) {}, nullptr, nullptr); in JsConstructor()
113 if (delegate->loop_ == nullptr) { in JsConstructor()
114 napi_get_uv_event_loop(env, &delegate->loop_); in JsConstructor()