Home
last modified time | relevance | path

Searched refs:exec (Results 1 - 25 of 47) sorted by relevance

12

/base/security/asset/services/db_operator/src/
H A Dtransaction.rs38 self.db.exec("begin transaction")
43 self.db.exec("rollback")
48 self.db.exec("commit")
/base/hiviewdfx/hiview/plugins/performance/monitor/
H A DAppLaunchMonitor.cpp28 AppLaunchMonitor::AppLaunchMonitor(IMonitorRegistry* registry, IAppThrExecutor* exec, IAppStartReporter* reporter, in AppLaunchMonitor() argument
32 this->exec = exec; in AppLaunchMonitor()
41 if (exec != nullptr) { in HandleEvt()
43 exec->ExecuteHandleEvtInMainThr(this, appEvtData); in HandleEvt()
45 HIVIEW_LOGE("[AppLaunchMonitor::HandleEvt] exec is null"); in HandleEvt()
H A DJankAnimatorMonitor.cpp37 this->exec = thr; in JankAnimatorMonitor()
46 if (exec != nullptr) { in HandleEvt()
47 exec->ExecuteMonitorInMainThr(this, evt); in HandleEvt()
49 HIVIEW_LOGE("[JankAnimatorMonitor::HandleEvt] exec is null"); in HandleEvt()
H A DAppLaunchMonitor.h34 AppLaunchMonitor(IMonitorRegistry* registry, IAppThrExecutor* exec, IAppStartReporter* reporter,
41 IAppThrExecutor* exec{nullptr};
/base/inputmethod/imf/frameworks/js/napi/inputmethodability/
H A Djs_keyboard_controller_engine.cpp93 auto exec = [ctxt](AsyncCall::Context *ctx) { in Hide() local
105 return asyncCall.Call(env, exec, "keyboard.hide"); in Hide()
114 auto exec = [ctxt](AsyncCall::Context *ctx) { in HideKeyboard() local
121 return asyncCall.Call(env, exec, "hideKeyboard"); in HideKeyboard()
131 auto exec = [ctxt](AsyncCall::Context *ctx) { in ExitCurrentInputType() local
142 return asyncCall.Call(env, exec, "exitCurrentInputType"); in ExitCurrentInputType()
H A Djs_text_input_client_engine.cpp88 auto exec = [ctxt](AsyncCall::Context *ctx) { in MoveCursor() local
100 return ASYNC_POST(env, exec); in MoveCursor()
221 auto exec = [ctxt](AsyncCall::Context *ctx) { in SendKeyFunction() local
234 return ASYNC_POST(env, exec); in SendKeyFunction()
252 auto exec = [ctxt](AsyncCall::Context *ctx) { in SendPrivateCommand() local
266 return ASYNC_POST(env, exec); in SendPrivateCommand()
309 auto exec = [ctxt, traceId](AsyncCall::Context *ctx) { in DeleteForward() local
323 return ASYNC_POST(env, exec); in DeleteForward()
361 auto exec = [ctxt](AsyncCall::Context *ctx) { in DeleteBackward() local
374 return ASYNC_POST(env, exec); in DeleteBackward()
394 auto exec = [ctxt, traceId](AsyncCall::Context *ctx) { InsertText() local
477 auto exec = [ctxt, traceId](AsyncCall::Context *ctx) { GetForward() local
536 auto exec = [ctxt](AsyncCall::Context *ctx) { GetBackward() local
574 auto exec = [ctxt](AsyncCall::Context *ctx) { GetEditorAttribute() local
609 auto exec = [ctxt](AsyncCall::Context *ctx) { SelectByRange() local
685 auto exec = [ctxt](AsyncCall::Context *ctx) { SelectByMovement() local
711 auto exec = [ctxt](AsyncCall::Context *ctx) { SendExtendAction() local
735 auto exec = [ctxt](AsyncCall::Context *ctx) { GetTextIndexAtCursor() local
766 auto exec = [ctxt, traceId](AsyncCall::Context *ctx) { SetPreviewText() local
823 auto exec = [ctxt, traceId](AsyncCall::Context *ctx) { FinishTextPreview() local
869 auto exec = [ctxt](AsyncCall::Context *ctx) { GetCallingWindowInfo() local
[all...]
H A Djs_panel.cpp141 auto exec = [ctxt](AsyncCall::Context *ctx) { ctxt->SetState(napi_ok); }; in SetUiContent() local
155 return asyncCall.Call(env, exec, "setUiContent"); in SetUiContent()
175 auto exec = [ctxt](AsyncCall::Context *ctx) { in Resize() local
200 return asyncCall.Call(env, exec, "resize"); in Resize()
220 auto exec = [ctxt](AsyncCall::Context *ctx) { in MoveTo() local
240 return asyncCall.Call(env, exec, "moveTo"); in MoveTo()
260 auto exec = [ctxt](AsyncCall::Context *ctx) { in Show() local
271 return asyncCall.Call(env, exec, "show"); in Show()
278 auto exec = [ctxt](AsyncCall::Context *ctx) { in Hide() local
289 return asyncCall.Call(env, exec, "pane in Hide()
453 auto exec = [ctxt](AsyncCall::Context *ctx) { AdjustPanelRect() local
[all...]
/base/print/print_fwk/test/unittest/fwk_inner_napi_test/
H A Dscan_async_call_test.cpp56 auto exec = [context](ScanAsyncCall::Context *ctx) { in HWTEST_F() local
59 asyncCall.Call(env, exec); in HWTEST_F()
/base/print/print_fwk/interfaces/kits/napi/scan_napi/src/
H A Dnapi_inner_scan.cpp46 auto exec = [context](ScanAsyncCall::Context *ctx) { in InitScan() local
56 return asyncCall.Call(env, exec); in InitScan()
72 auto exec = [context](ScanAsyncCall::Context *ctx) { in ExitScan() local
82 return asyncCall.Call(env, exec); in ExitScan()
98 auto exec = [context](ScanAsyncCall::Context *ctx) { in GetScannerList() local
115 return asyncCall.Call(env, exec); in GetScannerList()
131 auto exec = [context](ScanAsyncCall::Context *ctx) { in StopDiscover() local
141 return asyncCall.Call(env, exec); in StopDiscover()
163 auto exec = [context](ScanAsyncCall::Context *ctx) { in OpenScanner() local
173 return asyncCall.Call(env, exec); in OpenScanner()
195 auto exec = [context](ScanAsyncCall::Context *ctx) { CloseScanner() local
231 auto exec = [context](ScanAsyncCall::Context *ctx) { GetScanOptionDesc() local
278 auto exec = [context](ScanAsyncCall::Context *ctx) { SetScanOption() local
318 auto exec = [context](ScanAsyncCall::Context *ctx) { SetScanAutoOption() local
370 auto exec = [context](ScanAsyncCall::Context *ctx) { GetScanOption() local
401 auto exec = [context](ScanAsyncCall::Context *ctx) { GetScanParameters() local
438 auto exec = [context](ScanAsyncCall::Context *ctx) { StartScan() local
475 auto exec = [context](ScanAsyncCall::Context *ctx) { GetSingleFrameFD() local
508 auto exec = [context](ScanAsyncCall::Context *ctx) { CancelScan() local
546 auto exec = [context](ScanAsyncCall::Context *ctx) { SetScanIOMode() local
578 auto exec = [context](ScanAsyncCall::Context *ctx) { GetScanSelectFd() local
649 auto exec = [context](ScanAsyncCall::Context *ctx) { GetScannerState() local
679 auto exec = [context](ScanAsyncCall::Context *ctx) { GetScanProgress() local
718 auto exec = [context](ScanAsyncCall::Context *ctx) { AddScanner() local
757 auto exec = [context](ScanAsyncCall::Context *ctx) { DeleteScanner() local
786 auto exec = [context](ScanAsyncCall::Context *ctx) { GetAddedScanner() local
831 auto exec = [context](ScanAsyncCall::Context *ctx) { UpdateScannerName() local
[all...]
H A Dscan_async_call.cpp74 napi_value ScanAsyncCall::Call(napi_env env, Context::ExecAction exec) in Call() argument
76 SCAN_HILOGD("async call exec"); in Call()
78 context_->ctx->exec_ = std::move(exec); in Call()
97 SCAN_HILOGD("async call exec"); in Call()
101 napi_value ScanAsyncCall::SyncCall(napi_env env, ScanAsyncCall::Context::ExecAction exec) in SyncCall() argument
104 context_->ctx->exec_ = std::move(exec); in SyncCall()
/base/print/print_fwk/interfaces/kits/napi/print_napi/src/
H A Dnapi_print_ext.cpp65 auto exec = [context](PrintAsyncCall::Context *ctx) { in AddPrinters() local
75 return asyncCall.Call(env, exec); in AddPrinters()
114 auto exec = [context](PrintAsyncCall::Context *ctx) { in RemovePrinters() local
124 return asyncCall.Call(env, exec); in RemovePrinters()
165 auto exec = [context](PrintAsyncCall::Context *ctx) { in UpdatePrinters() local
175 return asyncCall.Call(env, exec); in UpdatePrinters()
215 auto exec = [context](PrintAsyncCall::Context *ctx) { in UpdatePrinterState() local
225 return asyncCall.Call(env, exec); in UpdatePrinterState()
271 auto exec = [context](PrintAsyncCall::Context *ctx) { in UpdatePrintJobStateOnlyForSystemApp() local
282 return asyncCall.Call(env, exec); in UpdatePrintJobStateOnlyForSystemApp()
313 auto exec = [context](PrintAsyncCall::Context *ctx) { UpdateExtensionInfo() local
361 auto exec = [context](PrintAsyncCall::Context *ctx) { AddPrinterToCups() local
413 auto exec = [context](PrintAsyncCall::Context *ctx) { QueryPrinterCapabilityByUri() local
464 auto exec = [context](PrintAsyncCall::Context *ctx) { DeletePrinterFromCups() local
501 auto exec = [context](PrintAsyncCall::Context *ctx) { DiscoverUsbPrinters() local
546 auto exec = [context](PrintAsyncCall::Context *ctx) { AddPrinterToDiscovery() local
597 auto exec = [context](PrintAsyncCall::Context *ctx) { UpdatePrinterInDiscovery() local
641 auto exec = [context](PrintAsyncCall::Context *ctx) { RemovePrinterFromDiscovery() local
[all...]
H A Dnapi_inner_print.cpp59 auto exec = [context](PrintAsyncCall::Context *ctx) { in QueryExtensionInfo() local
69 return asyncCall.Call(env, exec); in QueryExtensionInfo()
107 auto exec = [context](PrintAsyncCall::Context *ctx) { in StartDiscovery() local
117 return asyncCall.Call(env, exec); in StartDiscovery()
135 auto exec = [context](PrintAsyncCall::Context *ctx) { in StopDiscovery() local
145 return asyncCall.Call(env, exec); in StopDiscovery()
169 auto exec = [context](PrintAsyncCall::Context *ctx) { in ConnectPrinter() local
179 return asyncCall.Call(env, exec); in ConnectPrinter()
203 auto exec = [context](PrintAsyncCall::Context *ctx) { in DisconnectPrinter() local
213 return asyncCall.Call(env, exec); in DisconnectPrinter()
238 auto exec = [context](PrintAsyncCall::Context *ctx) { StartPrintJob() local
277 auto exec = [context](PrintAsyncCall::Context *ctx) { CancelPrintJob() local
313 auto exec = [context](PrintAsyncCall::Context *ctx) { RequestPreview() local
349 auto exec = [context](PrintAsyncCall::Context *ctx) { QueryCapability() local
383 auto exec = [context](PrintAsyncCall::Context *ctx) { QueryAllPrintJob() local
417 auto exec = [context](PrintAsyncCall::Context *ctx) { QueryPrintJobById() local
456 auto exec = [context](PrintAsyncCall::Context *ctx) { GetPrinterPreference() local
504 auto exec = [context](PrintAsyncCall::Context *ctx) { SetPrinterPreference() local
584 auto exec = [context](PrintAsyncCall::Context *ctx) { Off() local
669 auto exec = [context](PrintAsyncCall::Context *ctx) { NotifyPrintService() local
702 auto exec = [context](PrintAsyncCall::Context *ctx) { QueryAddedPrinter() local
736 auto exec = [context](PrintAsyncCall::Context *ctx) { QueryPrinterInfoByPrinterId() local
780 auto exec = [context](PrintAsyncCall::Context *ctx) { NotifyPrintServiceEvent() local
825 auto exec = [context](PrintAsyncCall::Context *ctx) { SetDefaultPrinter() local
860 auto exec = [context](PrintAsyncCall::Context *ctx) { GetAddedPrinterInfoById() local
[all...]
H A Dprint_async_call.cpp55 napi_value PrintAsyncCall::Call(napi_env env, Context::ExecAction exec) in Call() argument
57 PRINT_HILOGD("async call exec"); in Call()
59 context_->ctx->exec_ = std::move(exec); in Call()
75 PRINT_HILOGD("async call exec"); in Call()
79 napi_value PrintAsyncCall::SyncCall(napi_env env, PrintAsyncCall::Context::ExecAction exec) in SyncCall() argument
82 context_->ctx->exec_ = std::move(exec); in SyncCall()
/base/request/request/frameworks/js/napi/src/upload/
H A Dasync_call.cpp53 napi_value AsyncCall::Call(napi_env env, Context::ExecAction exec) in Call() argument
59 UPLOAD_HILOGD(UPLOAD_MODULE_JS_NAPI, "async call exec"); in Call()
60 context_->ctx->exec_ = std::move(exec); in Call()
74 UPLOAD_HILOGD(UPLOAD_MODULE_JS_NAPI, "async call exec"); in Call()
78 napi_value AsyncCall::SyncCall(napi_env env, AsyncCall::Context::ExecAction exec) in SyncCall() argument
84 context_->ctx->exec_ = std::move(exec); in SyncCall()
/base/hiviewdfx/hiview/plugins/performance/scene_data_processor/
H A DAppLaunchSceneDataProcessor.h46 AppLaunchSceneDataProcessor(IAppLaunchSceneDb* db, ITimeoutExecutor* exec,
49 AppLaunchSceneDataProcessor(IAppLaunchSceneDb* db, ITimeoutExecutor* exec, IAppTimer* timer);
57 ITimeoutExecutor* exec; member in OHOS::HiviewDFX::AppLaunchSceneDataProcessor
/base/inputmethod/imf/frameworks/js/napi/inputmethodclient/
H A Dasync_call.cpp64 napi_value AsyncCall::Call(napi_env env, Context::ExecAction exec, const std::string &resourceName) in Call() argument
74 context_->ctx->exec_ = std::move(exec); in Call()
92 napi_value AsyncCall::Post(napi_env env, Context::ExecAction exec, std::shared_ptr<TaskQueue> queue, const char *func) in Post() argument
98 context_->ctx->exec_ = std::move(exec); in Post()
124 napi_value AsyncCall::SyncCall(napi_env env, AsyncCall::Context::ExecAction exec) in SyncCall() argument
130 context_->ctx->exec_ = std::move(exec); in SyncCall()
H A Dasync_call.h120 napi_value Call(napi_env env, Context::ExecAction exec = nullptr, const std::string &resourceName = "AsyncCall");
121 napi_value Post(napi_env env, Context::ExecAction exec, std::shared_ptr<TaskQueue> queue, const char *func);
122 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr);
/base/theme/screenlock_mgr/frameworks/js/napi/src/
H A Dasync_call.cpp62 napi_value AsyncCall::Call(const napi_env env, Context::ExecAction exec, const std::string &resourceName) in Call() argument
72 SCLOCK_HILOGD("async call exec"); in Call()
73 context_->ctx->exec_ = std::move(exec); in Call()
88 SCLOCK_HILOGD("async call exec"); in Call()
92 napi_value AsyncCall::SyncCall(const napi_env env, AsyncCall::Context::ExecAction exec) in SyncCall() argument
98 context_->ctx->exec_ = std::move(exec); in SyncCall()
/base/theme/wallpaper_mgr/frameworks/js/napi/
H A Dnapi_wallpaper_ability.cpp80 auto exec = [context, apiInfo](Call::Context *ctx) { in GetColorsInner() local
81 HILOG_DEBUG("exec GetColors."); in GetColorsInner()
94 HILOG_DEBUG("exec GetColors colors size : %{public}zu", context->colors.size()); in GetColorsInner()
97 context->SetExecution(std::move(exec)); in GetColorsInner()
124 auto exec = [context](Call::Context *ctx) { in GetIdInner() local
125 HILOG_DEBUG("exec GetWallpaperId."); in GetIdInner()
128 HILOG_DEBUG("exec GetWallpaperId wallpaperId : %{public}d", context->wallpaperId); in GetIdInner()
132 context->SetExecution(std::move(exec)); in GetIdInner()
164 auto exec = [context, apiInfo](Call::Context *ctx) { in GetFileInner() local
165 HILOG_DEBUG("exec GetFil in GetFileInner()
215 auto exec = [context, apiInfo](Call::Context *ctx) { GetMinHeightInner() local
262 auto exec = [context, apiInfo](Call::Context *ctx) { GetMinWidthInner() local
297 auto exec = [context](Call::Context *ctx) { IsChangeAllowedInner() local
324 auto exec = [context](Call::Context *ctx) { IsUserChangeAllowedInner() local
374 auto exec = [context, apiInfo](Call::Context *ctx) { RestoreInner() local
455 auto exec = [context](Call::Context *ctx) { SendEventInner() local
511 auto exec = [context](Call::Context *ctx) { SetVideoInner() local
577 auto exec = [context, apiInfo](Call::Context *ctx) { SetImageExec() local
652 auto exec = [context, apiInfo](Call::Context *ctx) { GetImageInner() local
715 auto exec = [context, apiInfo](Call::Context *ctx) { GetCorrespondWallpaperInner() local
868 auto exec = [context](Call::Context *ctx) { SetCustomWallpaper() local
924 auto exec = [context](Call::Context *ctx) { SetAllWallpapers() local
[all...]
H A Dcall.h41 void SetExecution(ExecAction exec) in SetExecution() argument
43 exec_ = exec; in SetExecution()
/base/hiviewdfx/hiview/plugins/performance/context/
H A DNormalContext.cpp78 ITimeoutExecutor* exec = common.thr; in MakeAppStartMonitor() local
80 AppLaunchSceneDataProcessor* processor = new AppLaunchSceneDataProcessor(db, exec, nullptr, sceneTimer); in MakeAppStartMonitor()
/base/print/print_fwk/interfaces/kits/napi/print_napi/include/
H A Dprint_async_call.h97 napi_value Call(napi_env env, Context::ExecAction exec = nullptr);
98 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr);
/base/print/print_fwk/interfaces/kits/napi/scan_napi/include/
H A Dscan_async_call.h100 napi_value Call(napi_env env, Context::ExecAction exec = nullptr);
101 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr);
/base/request/request/frameworks/js/napi/include/upload/
H A Dasync_call.h86 napi_value Call(napi_env env, Context::ExecAction exec = nullptr);
87 napi_value SyncCall(napi_env env, Context::ExecAction exec = nullptr);
/base/theme/screenlock_mgr/frameworks/js/napi/include/
H A Dasync_call.h97 const napi_env env, Context::ExecAction exec = nullptr, const std::string &resourceName = "AsyncCall");
98 napi_value SyncCall(const napi_env env, Context::ExecAction exec = nullptr);

Completed in 12 milliseconds

12