Home
last modified time | relevance | path

Searched defs:asyncTask (Results 1 – 25 of 42) sorted by relevance

12

/foundation/ability/ability_runtime/frameworks/js/napi/app/js_app_manager/
Djs_app_state_observer.cpp57 auto asyncTask = [jsObserver, appStateData, env = env_]() { in OnForegroundApplicationChanged() local
96 auto asyncTask = [jsObserver, abilityStateData, env = env_]() { in OnAbilityStateChanged() local
134 auto asyncTask = [jsObserver, newAbilityStateData, env = env_]() { in OnExtensionStateChanged() local
168 auto asyncTask = [jsObserver, processData, env = env_]() { in OnProcessCreated() local
202 auto asyncTask = [jsObserver, processData, env = env_]() { in OnProcessStateChanged() local
236 auto asyncTask = [jsObserver, processData, env = env_]() { in OnProcessDied() local
271 auto asyncTask = [jsObserver, appStateData, env = env_]() { in OnAppStarted() local
311 auto asyncTask = [jsObserver, appStateData, env = env_]() { in OnAppStopped() local
Djs_app_manager.cpp558 auto asyncTask = [appManager = appManager_, observer = observer_, observerId, in OnOffOld() local
649 auto asyncTask = [appManager = appManager_, env, task = napiAsyncTask.get()]() { in OnGetForegroundApplications() local
683 auto asyncTask = [appManager = appManager_, env, task = napiAsyncTask.get()]() { in OnGetRunningProcessInformation() local
779 auto asyncTask = [appManager = appManager_, bundleType, env, task = napiAsyncTask.get()]() { in OnGetRunningProcessInformationByBundleType() local
811 auto asyncTask = [abilityManager = abilityManager_, env, task = napiAsyncTask.get()]() { in OnIsRunningInStabilityTest() local
879 auto asyncTask = [bundleName, clearPageStack, appIndex, abilityManager = abilityManager_, in OnKillProcessesByBundleName() local
912 auto asyncTask = [bundleName, appManager = appManager_, env, task = napiAsyncTask.get()]() { in OnClearUpApplicationData() local
963 …auto asyncTask = [bundleName, appCloneIndex, appManager = appManager_, env, task = napiAsyncTask.g… in OnClearUpAppData() local
1005 auto asyncTask = [missionId, env, task = napiAsyncTask.get()]() { in OnTerminateMission() local
1053 …auto asyncTask = [bundleName, versionCode, appManager = appManager_, env, task = napiAsyncTask.get… in OnIsSharedBundleRunning() local
[all …]
/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/
Djs_screen_session.cpp231 auto asyncTask = [isLocked, env, task = napiAsyncTask.get()]() { in OnSetScreenRotationLocked() local
410 auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, env = env_]() { in CallJsCallback() local
467 … auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, sensorRotation, env = env_]() { in OnSensorRotationChange() local
507 …auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, screenOrientation, env = env_]()… in OnScreenOrientationChange() local
547 …auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, newProperty, reason, env = env_]… in OnPropertyChange() local
588 auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, env = env_]() { in OnScreenDensityChange() local
628 …auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, event, eventStatus, reason, env … in OnPowerStatusChange() local
672 auto asyncTask = [jsCallbackRef, callbackType, isLocked, env = env_]() { in OnScreenRotationLockedChange() local
705 auto asyncTask = [jsCallbackRef, callbackType, mainScreenId, extendScreenId, env = env_]() { in OnScreenExtendChange() local
779 auto asyncTask = [jsCallbackRef, callbackType, mainScreenId, uid, clientName, env = env_]() { in OnScreenCaptureNotify() local
[all …]
Djs_screen_session_manager.cpp295 auto asyncTask = [callback_, screenSession, env = env_]() { in OnScreenConnected() local
339 auto asyncTask = [callback_, screenSession, env = env_]() { in OnScreenDisconnected() local
377 auto asyncTask = [callback_, info, env = env_]() { in OnTakeOverShutdown() local
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/
Djs_screen_manager.cpp180 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnGetAllScreens() local
469 auto asyncTask = [mainScreenId, screenIds, env, task = napiAsyncTask.get()]() { in OnMakeMirror() local
521 …auto asyncTask = [mainScreenId, mirrorScreenIds, mainScreenRegion, env, task = napiAsyncTask.get()… in OnMakeMirrorWithRegion() local
560 auto asyncTask = [mainScreenId, secondaryScreenId, env, screenMode, in OnSetMultiScreenMode() local
597 auto asyncTask = [mainScreenOptions, secondScreenOption, env, in OnSetMultiScreenRelativePosition() local
651 auto asyncTask = [options, env, task = napiAsyncTask.get()]() { in OnMakeExpand() local
707 auto asyncTask = [screenIds, env, task = napiAsyncTask.get()]() { in OnStopMirror() local
759 auto asyncTask = [screenIds, env, task = napiAsyncTask.get()]() { in OnStopExpand() local
809 auto asyncTask = [this, screenIds, env, task = napiAsyncTask.get()]() { in OnMakeUnique() local
947 auto asyncTask = [option, env, task = napiAsyncTask.get()]() { in OnCreateVirtualScreen() local
[all …]
Djs_screen.cpp127 auto asyncTask = [this, orientation, env, task = napiAsyncTask.get()]() { in OnSetOrientation() local
187 auto asyncTask = [this, modeId, env, task = napiAsyncTask.get()]() { in OnSetScreenActiveMode() local
243 auto asyncTask = [this, densityDpi, env, task = napiAsyncTask.get()]() { in OnSetDensityDpi() local
260 void JsScreen::NapiSendDmsEvent(napi_env env, std::function<void()> asyncTask, in NapiSendDmsEvent()
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window.cpp1202 auto asyncTask = [weakToken, errCode, env, task = napiAsyncTask] { in OnShow() local
1246 auto asyncTask = [weakToken, env, task = napiAsyncTask] { in OnShowWindow() local
1304 auto asyncTask = [weakToken, errCode, where, env, task = napiAsyncTask] { in OnShowWithAnimation() local
1345 auto asyncTask = [this, weakToken, errCode, where, env, task = napiAsyncTask] { in OnDestroy() local
1391 auto asyncTask = [this, weakToken, where, env, task = napiAsyncTask] { in OnDestroyWindow() local
1439 auto asyncTask = [weakToken, errCode, where, env, task = napiAsyncTask] { in HideWindowFunction() local
1497 auto asyncTask = [weakToken, errCode, where, env, task = napiAsyncTask] { in OnHideWithAnimation() local
1533 auto asyncTask = [windowToken = wptr<Window>(windowToken_), env, task = napiAsyncTask, where] { in OnRecover() local
1566 auto asyncTask = [windowToken = wptr<Window>(windowToken_), env, task = napiAsyncTask, where] { in OnRestore() local
1619 auto asyncTask = [windowToken = wptr<Window>(windowToken_), errCode, x, y, in OnMoveTo() local
[all …]
Djs_transition_controller.cpp157 auto asyncTask = [self = weakRef_, task = napiAsyncTask]() { in AnimationForShown() local
198 auto asyncTask = [self = weakRef_, task = napiAsyncTask]() { in AnimationForHidden() local
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_manager_napi/
Djs_window_manager.cpp451 … auto asyncTask = [errCode, parentId, contextPtr, windowName, winType, env, task = napiAsyncTask] { in OnCreate() local
573 auto asyncTask = [option, contextPtr, env, task = napiAsyncTask] { in OnCreateWindow() local
661 auto asyncTask = [errCode, windowName, env, task = napiAsyncTask] { in OnFindWindow() local
761 auto asyncTask = [displayId, env, task = napiAsyncTask] { in OnMinimizeAll() local
789 auto asyncTask = [env, task = napiAsyncTask, where = __func__] { in OnToggleShownStateForAllAppWindows() local
945 auto asyncTask = CreateAsyncTask(env, callback, in GetTopWindowTask() local
1037 auto asyncTask = [env, task = napiAsyncTask, winLayoutMode, where = __func__] { in OnSetWindowLayoutMode() local
1081 auto asyncTask = [gestureNavigationEnable, env, task = napiAsyncTask] { in OnSetGestureNavigationEnabled() local
1144 auto asyncTask = [env, pixelMap, isShow, task = napiAsyncTask] { in OnSetWaterMarkImage() local
1186 auto asyncTask = [env, task = napiAsyncTask, sourcePersistentId, targetPersistentId] { in OnShiftAppWindowFocus() local
[all …]
/foundation/window/window_manager/interfaces/kits/napi/extension_window/
Djs_extension_window.cpp347 auto asyncTask = [env, task = napiAsyncTask]() { in OnSetWindowKeepScreenOn() local
367 auto asyncTask = [env, task = napiAsyncTask]() { in OnSetWindowBrightness() local
392 auto asyncTask = [env, task = napiAsyncTask]() { in OnSetPreferredOrientation() local
412 auto asyncTask = [env, task = napiAsyncTask]() { in OnSetSpecificSystemBarEnabled() local
432 auto asyncTask = [env, task = napiAsyncTask]() { in OnResizeWindow() local
452 auto asyncTask = [env, task = napiAsyncTask]() { in OnMoveWindowTo() local
494 auto asyncTask = [extWindow = extensionWindow_, env, task = napiAsyncTask]() { in OnDestroyWindow() local
548 auto asyncTask = [extWindow = extensionWindow_, env, task = napiAsyncTask]() { in OnShowWindow() local
606 auto asyncTask = [extWindow = extensionWindow_, contentStorage, contextUrl, parentToken, in OnSetUIContent() local
663 …auto asyncTask = [extWindow = extensionWindow_, contentStorage, contextUrl, parentToken, isLoadedB… in OnLoadContent() local
[all …]
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_stage_napi/
Djs_window_stage.cpp233 auto asyncTask = [weak = windowScene_, env, task = napiAsyncTask] { in OnGetMainWindow() local
430 …auto asyncTask = [weak = windowScene_, contentStorage, contextUrl, isLoadedByName, env, task = nap… in OnLoadContent() local
454 auto asyncTask = [weak = windowScene_, env, task = napiAsyncTask] { in OnGetWindowMode() local
503 auto asyncTask = [weak = windowScene_, windowName, env, task = napiAsyncTask] { in OnCreateSubWindow() local
553 auto asyncTask = [weak = windowScene_, env, task = napiAsyncTask] { in OnGetSubWindow() local
606 auto asyncTask = [where, weakWindow = wptr(window), isModal, env, task = napiAsyncTask] { in OnSetWindowModal() local
815 auto asyncTask = [where, windowScene, windowName = std::move(windowName), option, env, in OnCreateSubWindowWithOptions() local
855 auto asyncTask = [weakWindow = wptr(window), where, env, task = napiAsyncTask] { in OnRemoveStartingWindow() local
902 …auto asyncTask = [weakWindow = wptr(window), where, env, task = napiAsyncTask, enabled, isSaveBySp… in OnSetWindowRectAutoSave() local
962 …auto asyncTask = [weakWindow = wptr(window), supportedWindowModes = std::move(supportedWindowModes… in OnSetSupportedWindowModes() local
[all …]
/foundation/resourceschedule/work_scheduler/frameworks/extension/src/
Djs_work_scheduler_extension_context.cpp71 auto asyncTask = [weak = context_, want, env, task = napiAsyncTask.get()]() { in OnStartExtensionAbility() local
113 auto asyncTask = [weak = context_, want, env, task = napiAsyncTask.get()]() { in OnStopExtensionAbility() local
/foundation/ability/ability_runtime/frameworks/js/napi/insight_intent/insight_intent_driver/
Djs_insight_intent_driver.cpp62 std::unique_ptr<NapiAsyncTask> asyncTask = nullptr; in ProcessInsightIntentExecute() local
118 std::unique_ptr<NapiAsyncTask> asyncTask = nullptr; in OnExecute() local
/foundation/window/window_manager/interfaces/kits/napi/embeddable_window_stage/
Djs_embeddable_window_stage.cpp110 auto asyncTask = [env, task = napiAsyncTask] { in OnGetSubWindow() local
129 auto asyncTask = [env, task = napiAsyncTask] { in OnCreateSubWindow() local
149 auto asyncTask = [windowImpl = windowExtensionSessionImpl_, sessionInfo = sessionInfo_, in OnGetMainWindow() local
328 …auto asyncTask = [window = windowExtensionSessionImpl_, contentStorage, contextUrl, parentToken, i… in OnLoadContent() local
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/dfx/
Dmultistages_capture_dfx_first_visit.cpp103 …shared_ptr<MediaLibraryAsyncTask> asyncTask = make_shared<MediaLibraryAsyncTask>(ReportInternal, t… in Report() local
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
Djs_display_manager.cpp216 auto asyncTask = [this, env, errCode, task = napiAsyncTask.get()] { in OnGetDefaultDisplay() local
320 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnGetAllDisplay() local
335 void NapiSendDmsEvent(napi_env env, std::function<void()> asyncTask, in NapiSendDmsEvent()
404 auto asyncTask = [this, env, errCode, task = napiAsyncTask.get()] { in OnGetAllDisplayPhysicalResolution() local
439 auto asyncTask = [this, env, task = napiAsyncTask.get()] { in OnGetAllDisplays() local
973 auto asyncTask = [option, env, task = napiAsyncTask.get()]() { in OnCreateVirtualScreen() local
1023 auto asyncTask = [this, screenIds, env, task = napiAsyncTask.get()]() { in OnMakeUnique() local
1073 auto asyncTask = [screenId, env, task = napiAsyncTask.get()]() { in OnDestroyVirtualScreen() local
1127 auto asyncTask = [screenId, surface, env, task = napiAsyncTask.get()]() { in OnSetVirtualScreenSurface() local
1176 auto asyncTask = [persistentIds, env, task = napiAsyncTask.get()] { in OnAddVirtualScreenBlockList() local
[all …]
Djs_display.cpp439 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnGetCutoutInfo() local
491 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnGetAvailableArea() local
543 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnHasImmersiveWindow() local
611 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnGetSupportedColorSpaces() local
680 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnGetSupportedHDRFormats() local
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/animation/window_animation_manager/
Drs_window_animation_manager.cpp175 auto asyncTask = [windowId, errCode, env, task = napiAsyncTask.get()]() { in OnMinimizeWindowWithAnimation() local
263 auto asyncTask = [missionIds, errCode, env, task = napiAsyncTask.get()]() { in OnGetWindowAnimationTargets() local
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/
Djs_pip_controller.cpp105 auto asyncTask = [this, env, task = napiAsyncTask, in OnStartPictureInPicture() local
139 auto asyncTask = [this, env, task = napiAsyncTask, in OnStopPictureInPicture() local
216 auto asyncTask = [env, task = napiAsyncTask, typeNodeRef, in OnUpdateContentNode() local
373 auto asyncTask = [this, env, task = napiAsyncTask, in OnGetPiPWindowInfo() local
/foundation/multimedia/media_library/frameworks/services/media_multistages_capture/src/
Dmultistages_video_capture_manager.cpp191 shared_ptr<MediaLibraryAsyncTask> asyncTask = in SyncWithDeferredVideoProcSession() local
/foundation/window/window_manager/extension/window_extension/src/
Djs_window_extension_context.cpp126 auto asyncTask = [weak = context_, want, startOptions, env, task = napiAsyncTask] { in OnStartAbility() local
/foundation/multimedia/media_library/frameworks/innerkitsimpl/medialibrary_data_extension/src/
Dbackground_cloud_file_processor.cpp250 …auto asyncTask = std::make_shared<MediaLibraryAsyncTask>(UpdateAbnormalDayMonthYearExecutor, taskD… in UpdateAbnormalDayMonthYear() local
440 auto asyncTask = std::make_shared<MediaLibraryAsyncTask>(DownloadCloudFilesExecutor, taskData); in AddDownloadTask() local
688 auto asyncTask = std::make_shared<MediaLibraryAsyncTask>(UpdateCloudDataExecutor, taskData); in AddUpdateDataTask() local
/foundation/ability/dmsfwk/interfaces/kits/napi/continuation_manager/
Djs_continuation_manager.cpp219 … auto asyncTask = [this, continuationExtraParams, unwrapArgc, env, task = napiAsyncTask.get()]() { in OnRegisterContinuation() local
322 auto asyncTask = [this, token, env, task = napiAsyncTask.get()]() { in OnUnregisterContinuation() local
588 … auto asyncTask = [this, token, deviceId, deviceConnectStatus, env, task = napiAsyncTask.get()]() { in OnUpdateContinuationState() local
733 …auto asyncTask = [this, token, continuationExtraParams, unwrapArgc, env, task = napiAsyncTask.get(… in OnStartContinuationDeviceManager() local
/foundation/multimedia/player_framework/frameworks/js/avplayer/
Davplayer_napi.h389 std::shared_ptr<TaskHandler<TaskRet>> asyncTask = nullptr; member
/foundation/ability/form_fwk/frameworks/js/napi/form_host/
Djs_form_host.cpp997 const std::shared_ptr<NapiAsyncTask> &asyncTask, in InnerAcquireFormState()
1034 std::shared_ptr<AbilityRuntime::NapiAsyncTask> asyncTask = std::move(uasyncTask); in OnAcquireFormState() local
1476 … void InnerShareForm(napi_env env, const std::shared_ptr<AbilityRuntime::NapiAsyncTask> &asyncTask, in InnerShareForm()
1492 …void InnerAcquireFormData(napi_env env, const std::shared_ptr<AbilityRuntime::NapiAsyncTask> &asyn… in InnerAcquireFormData()
1539 std::shared_ptr<AbilityRuntime::NapiAsyncTask> asyncTask = std::move(uasyncTask); in OnShareForm() local
1579 std::shared_ptr<AbilityRuntime::NapiAsyncTask> asyncTask = std::move(uasyncTask); in OnAcquireFormData() local

12