Home
last modified time | relevance | path

Searched refs:DispatchAsyncWork (Results 1 – 17 of 17) sorted by relevance

/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/native_engine/async/test/unittest/common/
H A Djs_async_work_tdd_test.cpp45 bool res = JsAsyncWork::DispatchAsyncWork(Execute, nullptr); in JsAsyncWorkTest001()
53 res = JsAsyncWork::DispatchAsyncWork(ExecuteWithCode, nullptr); in JsAsyncWorkTest001()
68 bool res = JsAsyncWork::DispatchAsyncWork(handler1, nullptr); in JsAsyncWorkTest002()
77 res = JsAsyncWork::DispatchAsyncWork(handler2, nullptr); in JsAsyncWorkTest002()
/ohos5.0/foundation/arkui/ace_engine_lite/interfaces/inner_api/builtin/async/
H A Djs_async_work.h86 static bool DispatchAsyncWork(AsyncWorkHandler workHandler, void *data);
96 static bool DispatchAsyncWork(AsyncHandler handler, void *data);
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/native_engine/async/
H A Djs_async_work.cpp68 bool JsAsyncWork::DispatchAsyncWork(AsyncWorkHandler workHandler, void *data) in DispatchAsyncWork() function in OHOS::ACELite::JsAsyncWork
73 bool JsAsyncWork::DispatchAsyncWork(AsyncHandler handler, void *data) in DispatchAsyncWork() function in OHOS::ACELite::JsAsyncWork
/ohos5.0/commonlibrary/utils_lite/js/builtin/kvstorekit/src/
H A Dnativeapi_kv.cpp114 JsAsyncWork::DispatchAsyncWork(ExecuteFunc, reinterpret_cast<void *>(params)); in ExecuteAsyncWork()
289 …JsAsyncWork::DispatchAsyncWork(reinterpret_cast<AsyncWorkHandler>(ExecuteClear), reinterpret_cast<… in Clear()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/router/
H A Djs_page_state_machine.cpp365 JsAsyncWork::DispatchAsyncWork(ForceGC, nullptr); in RenderPage()
394 JsAsyncWork::DispatchAsyncWork(ForceGC, nullptr); in HidePage()
/ohos5.0/commonlibrary/utils_lite/js/builtin/deviceinfokit/src/
H A Dnativeapi_deviceinfo.cpp43 JsAsyncWork::DispatchAsyncWork(ExecuteFunc, reinterpret_cast<void *>(params)); in ExecuteAsyncWork()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/components/
H A Dcamera_component.cpp91 if (!JsAsyncWork::DispatchAsyncWork(ExecuteJsCallback, callbackData)) { in OnFrameFinished()
112 if (!JsAsyncWork::DispatchAsyncWork(ExecuteJsCallback, callbackData)) { in OnFrameError()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/context/
H A Djs_ability.cpp289 JsAsyncWork::DispatchAsyncWork(LazyLoadHandleRenderTick, nullptr); in HandleRenderTick()
H A Djs_profiler.cpp384 JsAsyncWork::DispatchAsyncWork(FlushProfilerMsg, this); in Output()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/presets/
H A Dfeature_ability_module.cpp307 if (!JsAsyncWork::DispatchAsyncWork(AsyncSuccessCallback, target)) { in MessageSuccessCallback()
396 if (!JsAsyncWork::DispatchAsyncWork(AsyncFailCallback, static_cast<void *>(params))) { in MessageFailCallback()
H A Dtimer_module.cpp186 if (!JsAsyncWork::DispatchAsyncWork(TimerModule::Execute, index)) { in Task()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/dialog/
H A Djs_dialog.cpp172 if (!JsAsyncWork::DispatchAsyncWork(DialogRecycleExecutor, const_cast<JSDialog *>(jsDialog))) { in DispatchReleaseRequest()
/ohos5.0/foundation/arkui/ace_engine_lite/frameworks/src/core/modules/
H A Dapp_module.cpp202 if (!JsAsyncWork::DispatchAsyncWork(Execute, static_cast<void *>(params))) { in AsyncCallFunction()
H A Dsample_module.cpp114 if (!(JsAsyncWork::DispatchAsyncWork(Execute, static_cast<void *>(params)))) { in TestCallbackWithArgs()
/ohos5.0/foundation/communication/netstack/frameworks/js/builtin/fetch/src/
H A Dfetch_module.cpp53 if (!JsAsyncWork::DispatchAsyncWork(HttpAsyncCallback::AsyncExecHttpRequest, in Fetch()
/ohos5.0/foundation/multimedia/media_lite/interfaces/kits/player_lite/js/builtin/src/
H A Daudio_player.cpp41 …if (!JsAsyncWork::DispatchAsyncWork(AsyncExecuteCallback, const_cast<AudioEventListener *>(listene… in TriggerEventListener()
/ohos5.0/commonlibrary/utils_lite/js/builtin/filekit/src/
H A Dnativeapi_fs.cpp84 JsAsyncWork::DispatchAsyncWork(ExecuteFunc, reinterpret_cast<void *>(params)); in ExecuteAsyncWork()