Home
last modified time | relevance | path

Searched defs:napiAsyncTask (Results 1 – 24 of 24) sorted by relevance

/foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/
Dnapi_async_work.cpp85 napi_value NapiAsyncWork::Enqueue(napi_env env, std::shared_ptr<NapiAsyncTask> napiAsyncTask, const… in Enqueue()
139 void NapiAsyncWork::GenerateOutput(NapiAsyncTask *napiAsyncTask) in GenerateOutput()
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/
Djs_screen_manager.cpp179 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnGetAllScreens() local
468 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnMakeMirror() local
520 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnMakeMirrorWithRegion() local
559 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetMultiScreenMode() local
596 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetMultiScreenRelativePosition() local
650 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnMakeExpand() local
706 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnStopMirror() local
758 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnStopExpand() local
808 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnMakeUnique() local
946 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnCreateVirtualScreen() local
[all …]
Djs_screen.cpp126 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetOrientation() local
186 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetScreenActiveMode() local
242 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetDensityDpi() local
261 std::unique_ptr<AbilityRuntime::NapiAsyncTask>& napiAsyncTask) in NapiSendDmsEvent()
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window.cpp1201 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnShow() local
1245 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnShowWindow() local
1303 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnShowWithAnimation() local
1344 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnDestroy() local
1390 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnDestroyWindow() local
1438 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in HideWindowFunction() local
1496 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnHideWithAnimation() local
1531 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnRecover() local
1564 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnRestore() local
1618 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnMoveTo() local
[all …]
Djs_transition_controller.cpp156 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env_, lastParam, &result); in AnimationForShown() local
197 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env_, lastParam, &result); in AnimationForHidden() local
/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/
Djs_app_manager.cpp557 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnOffOld() local
648 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnGetForegroundApplications() local
682 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnGetRunningProcessInformation() local
778 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnGetRunningProcessInformationByBundleType() local
810 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnIsRunningInStabilityTest() local
878 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnKillProcessesByBundleName() local
911 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnClearUpApplicationData() local
962 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnClearUpAppData() local
1004 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnTerminateMission() local
1052 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnIsSharedBundleRunning() local
[all …]
/foundation/window/window_manager/interfaces/kits/napi/extension_window/
Djs_extension_window.cpp346 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetWindowKeepScreenOn() local
366 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetWindowBrightness() local
391 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetPreferredOrientation() local
411 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnSetSpecificSystemBarEnabled() local
431 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnResizeWindow() local
451 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnMoveWindowTo() local
493 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnDestroyWindow() local
547 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnShowWindow() local
605 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetUIContent() local
662 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnLoadContent() local
[all …]
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_stage_napi/
Djs_window_stage.cpp232 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callback, &result); in OnGetMainWindow() local
429 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callBack, &result); in OnLoadContent() local
453 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callback, &result); in OnGetWindowMode() local
502 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callback, &result); in OnCreateSubWindow() local
552 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callback, &result); in OnGetSubWindow() local
604 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnSetWindowModal() local
814 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callback, &result); in OnCreateSubWindowWithOptions() local
852 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnRemoveStartingWindow() local
901 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnSetWindowRectAutoSave() local
961 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnSetSupportedWindowModes() local
[all …]
/foundation/resourceschedule/work_scheduler/frameworks/extension/src/
Djs_work_scheduler_extension_context.cpp70 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnStartExtensionAbility() local
112 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnStopExtensionAbility() local
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_manager_napi/
Djs_window_manager.cpp450 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callback, &result); in OnCreate() local
572 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callback, &result); in OnCreateWindow() local
660 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnFindWindow() local
760 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnMinimizeAll() local
788 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnToggleShownStateForAllAppWindows() local
1036 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetWindowLayoutMode() local
1080 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetGestureNavigationEnabled() local
1143 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetWaterMarkImage() local
1185 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnShiftAppWindowFocus() local
1222 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnGetAllWindowLayoutInfo() local
[all …]
/foundation/window/window_manager/interfaces/kits/napi/embeddable_window_stage/
Djs_embeddable_window_stage.cpp109 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callback, &result); in OnGetSubWindow() local
128 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callback, &result); in OnCreateSubWindow() local
148 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callback, &result); in OnGetMainWindow() local
327 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, callBack, &result); in OnLoadContent() local
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
Djs_display_manager.cpp215 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnGetDefaultDisplay() local
319 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnGetAllDisplay() local
336 std::unique_ptr<AbilityRuntime::NapiAsyncTask>& napiAsyncTask, std::string taskName) in NapiSendDmsEvent()
403 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnGetAllDisplayPhysicalResolution() local
438 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnGetAllDisplays() local
972 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnCreateVirtualScreen() local
1022 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnMakeUnique() local
1072 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnDestroyVirtualScreen() local
1126 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetVirtualScreenSurface() local
1175 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnAddVirtualScreenBlockList() local
[all …]
Djs_display.cpp438 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnGetCutoutInfo() local
490 …std::unique_ptr<NapiAsyncTask> napiAsyncTask = JsDisplay::CreateEmptyAsyncTask(env, lastParam, &re… in OnGetAvailableArea() local
542 …std::unique_ptr<NapiAsyncTask> napiAsyncTask = JsDisplay::CreateEmptyAsyncTask(env, lastParam, &re… in OnHasImmersiveWindow() local
610 …std::unique_ptr<NapiAsyncTask> napiAsyncTask = JsDisplay::CreateEmptyAsyncTask(env, lastParam, &re… in OnGetSupportedColorSpaces() local
679 …std::unique_ptr<NapiAsyncTask> napiAsyncTask = JsDisplay::CreateEmptyAsyncTask(env, lastParam, &re… in OnGetSupportedHDRFormats() local
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/animation/window_animation_manager/
Drs_window_animation_manager.cpp174 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnMinimizeWindowWithAnimation() local
262 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnGetWindowAnimationTargets() local
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/
Djs_pip_controller.cpp104 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnStartPictureInPicture() local
138 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnStopPictureInPicture() local
215 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnUpdateContentNode() local
372 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, nullptr, &result); in OnGetPiPWindowInfo() local
Djs_pip_window_manager.cpp244 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, &result); in NapiSendTask() local
/foundation/window/window_manager/extension/window_extension/src/
Djs_window_extension_context.cpp125 … std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnStartAbility() local
/foundation/ability/dmsfwk/interfaces/kits/napi/continuation_manager/
Djs_continuation_manager.cpp218 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnRegisterContinuation() local
321 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnUnregisterContinuation() local
587 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnUpdateContinuationState() local
732 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnStartContinuationDeviceManager() local
/foundation/window/window_manager/window_scene/interfaces/kits/napi/scene_session_manager/
Djs_root_scene_session.cpp182 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnLoadContent() local
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/
Dnapi_common_data.h67 AbilityRuntime::NapiAsyncTask *napiAsyncTask = nullptr; member
/foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/
Dnapi_context.cpp60 NapiAsyncTask *napiAsyncTask = nullptr; member
1308 auto napiAsyncTask = in OnRequestPermissionsFromUser() local
/foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/
Dnapi_accessibility_extension_context.cpp689 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnStartAbility() local
/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/
Djs_screen_session.cpp230 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetScreenRotationLocked() local
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_base/
Djs_ui_extension_content_session.cpp871 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetWindowPrivacyMode() local