| /foundation/CastEngine/castengine_cast_framework/interfaces/kits/js/src/ |
| D | napi_async_work.cpp | 85 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/ |
| D | js_screen_manager.cpp | 179 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 …]
|
| D | js_screen.cpp | 126 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/ |
| D | js_window.cpp | 1201 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 …]
|
| D | js_transition_controller.cpp | 156 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/ |
| D | js_app_manager.cpp | 557 … 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/ |
| D | js_extension_window.cpp | 346 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/ |
| D | js_window_stage.cpp | 232 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/ |
| D | js_work_scheduler_extension_context.cpp | 70 … 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/ |
| D | js_window_manager.cpp | 450 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/ |
| D | js_embeddable_window_stage.cpp | 109 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/ |
| D | js_display_manager.cpp | 215 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 …]
|
| D | js_display.cpp | 438 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/ |
| D | rs_window_animation_manager.cpp | 174 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/ |
| D | js_pip_controller.cpp | 104 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
|
| D | js_pip_window_manager.cpp | 244 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, &result); in NapiSendTask() local
|
| /foundation/window/window_manager/extension/window_extension/src/ |
| D | js_window_extension_context.cpp | 125 … std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnStartAbility() local
|
| /foundation/ability/dmsfwk/interfaces/kits/napi/continuation_manager/ |
| D | js_continuation_manager.cpp | 218 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/ |
| D | js_root_scene_session.cpp | 182 std::shared_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnLoadContent() local
|
| /foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_common/ |
| D | napi_common_data.h | 67 AbilityRuntime::NapiAsyncTask *napiAsyncTask = nullptr; member
|
| /foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
| D | napi_context.cpp | 60 NapiAsyncTask *napiAsyncTask = nullptr; member 1308 auto napiAsyncTask = in OnRequestPermissionsFromUser() local
|
| /foundation/barrierfree/accessibility/interfaces/kits/napi/accessibility_extension_module_loader/src/ |
| D | napi_accessibility_extension_context.cpp | 689 … std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnStartAbility() local
|
| /foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/ |
| D | js_screen_session.cpp | 230 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetScreenRotationLocked() local
|
| /foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_base/ |
| D | js_ui_extension_content_session.cpp | 871 std::unique_ptr<NapiAsyncTask> napiAsyncTask = CreateEmptyAsyncTask(env, lastParam, &result); in OnSetWindowPrivacyMode() local
|