/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/ |
D | async_call.cpp | 26 AsyncCall::AsyncCall(napi_env env, napi_callback_info info, std::shared_ptr<Context> context, size_… in AsyncCall() function in OHOS::MiscServices::AsyncCall 48 AsyncCall::~AsyncCall() in ~AsyncCall() 57 napi_value AsyncCall::Call(napi_env env, Context::ExecAction exec, const std::string &resourceName) in Call() 78 …napi_create_async_work(env, nullptr, resource, AsyncCall::OnExecute, AsyncCall::OnComplete, contex… in Call() 85 napi_value AsyncCall::SyncCall(napi_env env, AsyncCall::Context::ExecAction exec) in SyncCall() 98 AsyncCall::OnExecute(env, context_); in SyncCall() 99 AsyncCall::OnComplete(env, context_->ctx->status_, context_); in SyncCall() 103 void AsyncCall::OnExecute(napi_env env, void *data) in OnExecute() 109 void AsyncCall::OnComplete(napi_env env, napi_status status, void *data) in OnComplete() 144 void AsyncCall::DeleteContext(napi_env env, AsyncContext *context) in DeleteContext()
|
D | async_call.h | 27 class AsyncCall final { 88 friend class AsyncCall; 95 …AsyncCall(napi_env env, napi_callback_info info, std::shared_ptr<Context> context, size_t maxParam… 96 ~AsyncCall();
|
D | js_get_input_method_setting.cpp | 193 auto exec = [ctxt](AsyncCall::Context *ctx) { in ListInputMethod() 205 AsyncCall asyncCall(env, info, ctxt, 1); in ListInputMethod() 225 auto exec = [ctxt](AsyncCall::Context *ctx) { in GetInputMethods() 238 AsyncCall asyncCall(env, info, ctxt, 2); in GetInputMethods() 249 auto exec = [ctxt](AsyncCall::Context *ctx) { in DisplayOptionalInputMethod() 259 AsyncCall asyncCall(env, info, ctxt, 1); in DisplayOptionalInputMethod() 274 auto exec = [ctxt](AsyncCall::Context *ctx) { in ShowOptionalInputMethods() 288 AsyncCall asyncCall(env, info, ctxt, 1); in ShowOptionalInputMethods() 308 auto exec = [ctxt](AsyncCall::Context *ctx) { in ListInputMethodSubtype() 321 AsyncCall asyncCall(env, info, ctxt, 2); in ListInputMethodSubtype() [all …]
|
D | js_get_input_method_controller.h | 26 struct HandleContext : public AsyncCall::Context { 47 struct AttachContext : public AsyncCall::Context { 70 struct SetCallingWindowContext : public AsyncCall::Context { 90 struct UpdateCursorContext : public AsyncCall::Context { 110 struct ChangeSelectionContext : public AsyncCall::Context { 132 struct UpdateAttributeContext : public AsyncCall::Context {
|
D | js_get_input_method_setting.h | 28 struct ListInputContext : public AsyncCall::Context { 52 struct DisplayOptionalInputMethodContext : public AsyncCall::Context { 74 struct GetInputMethodControllerContext : public AsyncCall::Context {
|
D | js_input_method.cpp | 225 auto exec = [ctxt](AsyncCall::Context *ctx) { in SwitchInputMethod() 243 AsyncCall asyncCall(env, info, ctxt, 2); in SwitchInputMethod() 287 auto exec = [ctxt](AsyncCall::Context *ctx) { in SwitchCurrentInputMethodSubtype() 305 AsyncCall asyncCall(env, info, ctxt, 2); in SwitchCurrentInputMethodSubtype() 327 auto exec = [ctxt](AsyncCall::Context *ctx) { in SwitchCurrentInputMethodAndSubtype() 345 AsyncCall asyncCall(env, info, ctxt, 3); in SwitchCurrentInputMethodAndSubtype()
|
D | js_get_input_method_controller.cpp | 438 auto exec = [ctxt, callback, needThrowException](AsyncCall::Context *ctx) { in HandleSoftKeyboard() 454 AsyncCall asyncCall(env, info, ctxt, 1); in HandleSoftKeyboard() 531 auto exec = [ctxt, env](AsyncCall::Context *ctx) { in Attach() 541 AsyncCall asyncCall(env, info, ctxt, 3); in Attach() 573 auto exec = [ctxt](AsyncCall::Context *ctx) { in SetCallingWindow() 581 AsyncCall asyncCall(env, info, ctxt, 2); in SetCallingWindow() 603 auto exec = [ctxt](AsyncCall::Context *ctx) { in UpdateCursor() 611 AsyncCall asyncCall(env, info, ctxt, 2); in UpdateCursor() 626 auto exec = [ctxt](AsyncCall::Context *ctx) { in ChangeSelection() 634 AsyncCall asyncCall(env, info, ctxt, 4); in ChangeSelection() [all …]
|
D | js_input_method.h | 26 struct SwitchInputMethodContext : public AsyncCall::Context {
|
/base/request/request/frameworks/js/napi/src/upload/ |
D | async_call.cpp | 21 AsyncCall::AsyncCall(napi_env env, napi_callback_info info, std::shared_ptr<Context> context) in AsyncCall() function in OHOS::Request::UploadNapi::AsyncCall 44 AsyncCall::~AsyncCall() in ~AsyncCall() 53 napi_value AsyncCall::Call(napi_env env, Context::ExecAction exec) in Call() 70 …napi_create_async_work(env, nullptr, resource, AsyncCall::OnExecute, AsyncCall::OnComplete, contex… in Call() 78 napi_value AsyncCall::SyncCall(napi_env env, AsyncCall::Context::ExecAction exec) in SyncCall() 91 AsyncCall::OnExecute(env, context_); in SyncCall() 92 AsyncCall::OnComplete(env, napi_ok, context_); in SyncCall() 97 void AsyncCall::OnExecute(napi_env env, void *data) in OnExecute() 104 void AsyncCall::OnComplete(napi_env env, napi_status status, void *data) in OnComplete() 138 void AsyncCall::DeleteContext(napi_env env, AsyncContext *context) in DeleteContext()
|
/base/theme/screenlock_mgr/frameworks/js/napi/src/ |
D | async_call.cpp | 22 AsyncCall::AsyncCall(napi_env env, napi_callback_info info, Context *context, size_t pos) in AsyncCall() function in OHOS::ScreenLock::AsyncCall 54 AsyncCall::~AsyncCall() in ~AsyncCall() 62 napi_value AsyncCall::Call(const napi_env env, Context::ExecAction exec, const std::string &resourc… in Call() 84 …napi_create_async_work(env, nullptr, resource, AsyncCall::OnExecute, AsyncCall::OnComplete, contex… in Call() 92 napi_value AsyncCall::SyncCall(const napi_env env, AsyncCall::Context::ExecAction exec) in SyncCall() 105 AsyncCall::OnExecute(env, context_); in SyncCall() 106 AsyncCall::OnComplete(env, napi_ok, context_); in SyncCall() 111 void AsyncCall::OnExecute(const napi_env env, void *data) in OnExecute() 118 void AsyncCall::OnComplete(const napi_env env, napi_status status, void *data) in OnComplete() 159 AsyncCall::AsyncContext::~AsyncContext() in ~AsyncContext() [all …]
|
D | napi_screenlock_ability.cpp | 156 auto exec = [context](AsyncCall::Context *ctx) { in NAPI_IsScreenLocked() 162 AsyncCall asyncCall(env, info, context, ARGS_SIZE_ZERO); in NAPI_IsScreenLocked() 377 auto exec = [context](AsyncCall::Context *ctx) { in NAPI_IsSecureMode() 384 AsyncCall asyncCall(env, info, context, ARGS_SIZE_ZERO); in NAPI_IsSecureMode() 462 auto exec = [context](AsyncCall::Context *ctx) { in NAPI_ScreenLockSendEvent() 476 AsyncCall asyncCall(env, info, context, ARGV_TWO); in NAPI_ScreenLockSendEvent()
|
D | screenlock_callback.cpp | 73 AsyncCall::GenerateBusinessError(callBackPtr->env, callBackPtr->errorInfo, in UvWorkOnCallBack()
|
/base/request/request/frameworks/js/napi/src/ |
D | async_call.cpp | 22 AsyncCall::AsyncCall(napi_env env, napi_callback_info info, const std::shared_ptr<Context> &context) in AsyncCall() function in OHOS::Request::AsyncCall 57 AsyncCall::~AsyncCall() in ~AsyncCall() 61 napi_value AsyncCall::Call(const std::shared_ptr<Context>& context, const std::string &resourceName) in Call() 83 AsyncCall::OnExecute, AsyncCall::OnComplete, workData, &context->work_); in Call() 89 void AsyncCall::OnExecute(napi_env env, void *data) in OnExecute() 98 void AsyncCall::OnComplete(napi_env env, napi_status status, void *data) in OnComplete()
|
D | js_task.cpp | 151 AsyncCall asyncCall(env, info, context); in JsMain() 258 struct RemoveContext : public AsyncCall::Context { in Remove() 285 AsyncCall asyncCall(env, info, context); in Remove() 330 napi_value JsTask::TouchInner(napi_env env, napi_callback_info info, AsyncCall::Context::InputActio… in TouchInner() 351 AsyncCall asyncCall(env, info, context); in TouchInner() 503 struct SearchContext : public AsyncCall::Context { in Search() 534 AsyncCall asyncCall(env, info, context); in Search() 540 struct QueryContext : public AsyncCall::Context { in Query() 572 AsyncCall asyncCall(env, info, context); in Query()
|
/base/request/request/frameworks/js/napi/include/upload/ |
D | async_call.h | 26 class AsyncCall final { 76 friend class AsyncCall; 82 AsyncCall(napi_env env, napi_callback_info info, std::shared_ptr<Context> context); 83 ~AsyncCall();
|
/base/theme/screenlock_mgr/frameworks/js/napi/include/ |
D | async_call.h | 28 class AsyncCall final { 84 friend class AsyncCall; 94 …AsyncCall(napi_env env, napi_callback_info info, Context *context, size_t pos = ASYNC_DEFAULT_POS); 95 ~AsyncCall();
|
D | napi_screenlock_ability.h | 24 struct AsyncScreenLockInfo : public AsyncCall::Context { 33 struct SendEventInfo : public AsyncCall::Context {
|
/base/request/request/frameworks/js/napi/include/ |
D | async_call.h | 27 class AsyncCall final { 80 AsyncCall(napi_env env, napi_callback_info info, const std::shared_ptr<Context> &context); 81 ~AsyncCall();
|
D | js_task.h | 56 struct ContextInfo : public AsyncCall::Context { 64 struct TouchContext : public AsyncCall::Context { 82 …static napi_value TouchInner(napi_env env, napi_callback_info info, AsyncCall::Context::InputActio…
|
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/ |
D | js_keyboard_controller_engine.cpp | 91 auto exec = [ctxt](AsyncCall::Context *ctx) { in Hide() 102 AsyncCall asyncCall(env, info, ctxt, 1); in Hide() 111 auto exec = [ctxt](AsyncCall::Context *ctx) { in HideKeyboard() 117 AsyncCall asyncCall(env, info, ctxt, 1); in HideKeyboard()
|
D | js_panel.cpp | 124 auto exec = [ctxt](AsyncCall::Context *ctx) { ctxt->SetState(napi_ok); }; in SetUiContent() 134 AsyncCall asyncCall(env, info, ctxt, 3); in SetUiContent() 153 auto exec = [ctxt](AsyncCall::Context *ctx) { in Resize() 164 AsyncCall asyncCall(env, info, ctxt, 3); in Resize() 183 auto exec = [ctxt](AsyncCall::Context *ctx) { in MoveTo() 194 AsyncCall asyncCall(env, info, ctxt, 3); in MoveTo() 201 auto exec = [ctxt](AsyncCall::Context *ctx) { in Show() 211 AsyncCall asyncCall(env, info, ctxt, 1); in Show() 218 auto exec = [ctxt](AsyncCall::Context *ctx) { in Hide() 228 AsyncCall asyncCall(env, info, ctxt, 1); in Hide()
|
D | js_text_input_client_engine.h | 47 struct SendKeyFunctionContext : public AsyncCall::Context { 70 struct MoveCursorContext : public AsyncCall::Context { 92 struct DeleteForwardContext : public AsyncCall::Context { 115 struct DeleteBackwardContext : public AsyncCall::Context { 138 struct InsertTextContext : public AsyncCall::Context { 161 struct GetForwardContext : public AsyncCall::Context { 184 struct GetBackwardContext : public AsyncCall::Context { 207 struct GetEditorAttributeContext : public AsyncCall::Context { 229 struct SelectContext : public AsyncCall::Context { 244 struct GetTextIndexAtCursorContext : public AsyncCall::Context { [all …]
|
D | js_text_input_client_engine.cpp | 79 auto exec = [ctxt](AsyncCall::Context *ctx) { in MoveCursor() 92 AsyncCall asyncCall(env, info, ctxt, 2); in MoveCursor() 231 auto exec = [ctxt](AsyncCall::Context *ctx) { in SendKeyFunction() 243 AsyncCall asyncCall(env, info, ctxt, 2); in SendKeyFunction() 288 auto exec = [ctxt](AsyncCall::Context *ctx) { in DeleteForward() 302 AsyncCall asyncCall(env, info, ctxt, 2); in DeleteForward() 347 auto exec = [ctxt](AsyncCall::Context *ctx) { in DeleteBackward() 361 AsyncCall asyncCall(env, info, ctxt, 2); in DeleteBackward() 381 auto exec = [ctxt](AsyncCall::Context *ctx) { in InsertText() 395 AsyncCall asyncCall(env, info, ctxt, 2); in InsertText() [all …]
|
D | js_keyboard_controller_engine.h | 23 struct HideKeyboardContext : public AsyncCall::Context { 43 struct HideContext : public AsyncCall::Context {
|
/base/theme/wallpaper_mgr/frameworks/js/napi/ |
D | napi_wallpaper_ability.cpp | 56 return call.AsyncCall(env, "getColors"); in NAPI_GetColors() 112 return call.AsyncCall(env, "getId"); in NAPI_GetId() 149 return call.AsyncCall(env, "getFile"); in NAPI_GetFile() 200 return call.AsyncCall(env, "getMinHeight"); in NAPI_GetMinHeight() 247 return call.AsyncCall(env, "getMinWidth"); in NAPI_GetMinWidth() 292 return call.AsyncCall(env, "isChangePermitted"); in NAPI_IsChangePermitted() 319 return call.AsyncCall(env, "isOperationAllowed"); in NAPI_IsOperationAllowed() 347 return call.AsyncCall(env, "reset"); in NAPI_Reset() 357 return call.AsyncCall(env, "restore"); in NAPI_Restore() 401 return call.AsyncCall(env, "setWallpaper"); in NAPI_SetWallpaper() [all …]
|