Home
last modified time | relevance | path

Searched refs:asyncCall (Results 1 – 14 of 14) sorted by relevance

/base/print/print_fwk/interfaces/kits/napi/src/
Dnapi_inner_print.cpp62 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in QueryExtensionInfo() local
63 return asyncCall.Call(env, exec); in QueryExtensionInfo()
104 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in StartDiscovery() local
105 return asyncCall.Call(env, exec); in StartDiscovery()
130 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in StopDiscovery() local
131 return asyncCall.Call(env, exec); in StopDiscovery()
162 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in ConnectPrinter() local
163 return asyncCall.Call(env, exec); in ConnectPrinter()
194 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in DisconnectPrinter() local
195 return asyncCall.Call(env, exec); in DisconnectPrinter()
[all …]
Dnapi_print_ext.cpp72 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in AddPrinters() local
73 return asyncCall.Call(env, exec); in AddPrinters()
119 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in RemovePrinters() local
120 return asyncCall.Call(env, exec); in RemovePrinters()
168 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in UpdatePrinters() local
169 return asyncCall.Call(env, exec); in UpdatePrinters()
216 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in UpdatePrinterState() local
217 return asyncCall.Call(env, exec); in UpdatePrinterState()
271 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in UpdatePrintJobState() local
272 return asyncCall.Call(env, exec); in UpdatePrintJobState()
[all …]
Dprint_task.cpp178 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in Off() local
179 return asyncCall.Call(env, exec); in Off()
Dnapi_print_task.cpp77 … PrintAsyncCall asyncCall(env, info, std::dynamic_pointer_cast<PrintAsyncCall::Context>(context)); in Print() local
78 return asyncCall.Call(env); in Print()
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
Djs_keyboard_controller_engine.cpp102 AsyncCall asyncCall(env, info, ctxt, 1); in Hide() local
103 return asyncCall.Call(env, exec, "keyboard.hide"); in Hide()
117 AsyncCall asyncCall(env, info, ctxt, 1); in HideKeyboard() local
118 return asyncCall.Call(env, exec, "hideKeyboard"); in HideKeyboard()
Djs_panel.cpp134 AsyncCall asyncCall(env, info, ctxt, 3); in SetUiContent() local
135 return asyncCall.Call(env, exec, "setUiContent"); in SetUiContent()
164 AsyncCall asyncCall(env, info, ctxt, 3); in Resize() local
165 return asyncCall.Call(env, exec, "resize"); in Resize()
194 AsyncCall asyncCall(env, info, ctxt, 3); in MoveTo() local
195 return asyncCall.Call(env, exec, "moveTo"); in MoveTo()
211 AsyncCall asyncCall(env, info, ctxt, 1); in Show() local
212 return asyncCall.Call(env, exec, "show"); in Show()
228 AsyncCall asyncCall(env, info, ctxt, 1); in Hide() local
229 return asyncCall.Call(env, exec, "panel.hide"); in Hide()
Djs_text_input_client_engine.cpp92 AsyncCall asyncCall(env, info, ctxt, 2); in MoveCursor() local
93 return asyncCall.Call(env, exec, "moveCursor"); in MoveCursor()
243 AsyncCall asyncCall(env, info, ctxt, 2); in SendKeyFunction() local
244 return asyncCall.Call(env, exec, "sendKeyFunction"); in SendKeyFunction()
302 AsyncCall asyncCall(env, info, ctxt, 2); in DeleteForward() local
303 return asyncCall.Call(env, exec, "deleteForward"); in DeleteForward()
361 AsyncCall asyncCall(env, info, ctxt, 2); in DeleteBackward() local
362 return asyncCall.Call(env, exec, "deleteBackward"); in DeleteBackward()
395 AsyncCall asyncCall(env, info, ctxt, 2); in InsertText() local
396 return asyncCall.Call(env, exec, "insertText"); in InsertText()
[all …]
Djs_input_method_engine_setting.cpp391 AsyncCall asyncCall(env, info, ctxt, 3); in CreatePanel() local
392 return asyncCall.Call(env, exec, "createPanel"); in CreatePanel()
433 AsyncCall asyncCall(env, info, ctxt, 2); in DestroyPanel() local
434 return asyncCall.Call(env, exec, "destroyPanel"); in DestroyPanel()
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
Djs_get_input_method_setting.cpp205 AsyncCall asyncCall(env, info, ctxt, 1); in ListInputMethod() local
206 return asyncCall.Call(env, exec, "listInputMethod"); in ListInputMethod()
238 AsyncCall asyncCall(env, info, ctxt, 2); in GetInputMethods() local
239 return asyncCall.Call(env, exec, "getInputMethods"); in GetInputMethods()
259 AsyncCall asyncCall(env, info, ctxt, 1); in DisplayOptionalInputMethod() local
260 return asyncCall.Call(env, exec, "displayOptionalInputMethod"); in DisplayOptionalInputMethod()
288 AsyncCall asyncCall(env, info, ctxt, 1); in ShowOptionalInputMethods() local
289 return asyncCall.Call(env, exec, "showOptionalInputMethods"); in ShowOptionalInputMethods()
321 AsyncCall asyncCall(env, info, ctxt, 2); in ListInputMethodSubtype() local
322 return asyncCall.Call(env, exec, "listInputMethodSubtype"); in ListInputMethodSubtype()
[all …]
Djs_input_method.cpp243 AsyncCall asyncCall(env, info, ctxt, 2); in SwitchInputMethod() local
244 return asyncCall.Call(env, exec, "switchInputMethod"); in SwitchInputMethod()
305 AsyncCall asyncCall(env, info, ctxt, 2); in SwitchCurrentInputMethodSubtype() local
306 return asyncCall.Call(env, exec, "switchCurrentInputMethodSubtype"); in SwitchCurrentInputMethodSubtype()
345 AsyncCall asyncCall(env, info, ctxt, 3); in SwitchCurrentInputMethodAndSubtype() local
346 return asyncCall.Call(env, exec, "switchCurrentInputMethodAndSubtype"); in SwitchCurrentInputMethodAndSubtype()
Djs_get_input_method_controller.cpp454 AsyncCall asyncCall(env, info, ctxt, 1); in HandleSoftKeyboard() local
455 return asyncCall.Call(env, exec, "handleSoftKeyboard"); in HandleSoftKeyboard()
541 AsyncCall asyncCall(env, info, ctxt, 3); in Attach() local
542 return asyncCall.Call(env, exec, "attach"); in Attach()
581 AsyncCall asyncCall(env, info, ctxt, 2); in SetCallingWindow() local
582 return asyncCall.Call(env, exec, "setCallingWindow"); in SetCallingWindow()
611 AsyncCall asyncCall(env, info, ctxt, 2); in UpdateCursor() local
612 return asyncCall.Call(env, exec, "updateCursor"); in UpdateCursor()
634 AsyncCall asyncCall(env, info, ctxt, 4); in ChangeSelection() local
635 return asyncCall.Call(env, exec, "changeSelection"); in ChangeSelection()
[all …]
/base/request/request/frameworks/js/napi/src/
Djs_task.cpp151 AsyncCall asyncCall(env, info, context); in JsMain() local
152 asyncCall.SetQosLevel(napi_qos_utility); in JsMain()
153 return asyncCall.Call(context, "create"); in JsMain()
285 AsyncCall asyncCall(env, info, context); in Remove() local
286 return asyncCall.Call(context, "remove"); in Remove()
351 AsyncCall asyncCall(env, info, context); in TouchInner() local
352 return asyncCall.Call(context, "touch"); in TouchInner()
534 AsyncCall asyncCall(env, info, context); in Search() local
535 return asyncCall.Call(context, "search"); in Search()
572 AsyncCall asyncCall(env, info, context); in Query() local
[all …]
Drequest_event.cpp299 AsyncCall asyncCall(env, info, context); in Exec() local
300 return asyncCall.Call(context, execType); in Exec()
/base/theme/screenlock_mgr/frameworks/js/napi/src/
Dnapi_screenlock_ability.cpp162 AsyncCall asyncCall(env, info, context, ARGS_SIZE_ZERO); in NAPI_IsScreenLocked() local
163 return asyncCall.Call(env, exec, "isScreenLocked"); in NAPI_IsScreenLocked()
384 AsyncCall asyncCall(env, info, context, ARGS_SIZE_ZERO); in NAPI_IsSecureMode() local
385 return asyncCall.Call(env, exec, "isSecureMode"); in NAPI_IsSecureMode()
476 AsyncCall asyncCall(env, info, context, ARGV_TWO); in NAPI_ScreenLockSendEvent() local
477 return asyncCall.Call(env, exec, "screenLockSendEvent"); in NAPI_ScreenLockSendEvent()