Home
last modified time | relevance | path

Searched defs:asyncTask (Results 1 – 25 of 44) 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.cpp568 auto asyncTask = [appManager = appManager_, observer = observer_, observerId, in OnOffOld() local
659 auto asyncTask = [appManager = appManager_, env, task = napiAsyncTask.get()]() { in OnGetForegroundApplications() local
693 auto asyncTask = [appManager = appManager_, env, task = napiAsyncTask.get()]() { in OnGetRunningProcessInformation() local
789 auto asyncTask = [appManager = appManager_, bundleType, env, task = napiAsyncTask.get()]() { in OnGetRunningProcessInformationByBundleType() local
821 auto asyncTask = [abilityManager = abilityManager_, env, task = napiAsyncTask.get()]() { in OnIsRunningInStabilityTest() local
889 auto asyncTask = [bundleName, clearPageStack, appIndex, abilityManager = abilityManager_, in OnKillProcessesByBundleName() local
922 auto asyncTask = [bundleName, appManager = appManager_, env, task = napiAsyncTask.get()]() { in OnClearUpApplicationData() local
973 …auto asyncTask = [bundleName, appCloneIndex, appManager = appManager_, env, task = napiAsyncTask.g… in OnClearUpAppData() local
1015 auto asyncTask = [missionId, env, task = napiAsyncTask.get()]() { in OnTerminateMission() local
1063 …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.cpp263 auto asyncTask = [isLocked, env, task = napiAsyncTask.get()]() { in OnSetScreenRotationLocked() local
494 auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, env = env_]() { in CallJsCallback() local
551 … auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, sensorRotation, env = env_]() { in OnSensorRotationChange() local
591 …auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, screenOrientation, env = env_]()… in OnScreenOrientationChange() local
635 …auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, newProperty, reason, env = env_]… in OnPropertyChange() local
676 auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, env = env_]() { in OnScreenDensityChange() local
716 …auto asyncTask = [jsCallbackRef, callbackType, screenSessionWeak, event, eventStatus, reason, env … in OnPowerStatusChange() local
760 auto asyncTask = [jsCallbackRef, callbackType, isLocked, env = env_]() { in OnScreenRotationLockedChange() local
793 auto asyncTask = [jsCallbackRef, callbackType, mainScreenId, extendScreenId, env = env_]() { in OnScreenExtendChange() local
867 auto asyncTask = [jsCallbackRef, callbackType, mainScreenId, uid, clientName, env = env_]() { in OnScreenCaptureNotify() local
[all …]
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/
Djs_screen_manager.cpp177 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnGetAllScreens() local
466 auto asyncTask = [mainScreenId, screenIds, env, task = napiAsyncTask.get()]() { in OnMakeMirror() local
518 …auto asyncTask = [mainScreenId, mirrorScreenIds, mainScreenRegion, env, task = napiAsyncTask.get()… in OnMakeMirrorWithRegion() local
557 auto asyncTask = [mainScreenId, secondaryScreenId, env, screenMode, in OnSetMultiScreenMode() local
594 auto asyncTask = [mainScreenOptions, secondScreenOption, env, in OnSetMultiScreenRelativePosition() local
648 auto asyncTask = [options, env, task = napiAsyncTask.get()]() { in OnMakeExpand() local
704 auto asyncTask = [screenIds, env, task = napiAsyncTask.get()]() { in OnStopMirror() local
756 auto asyncTask = [screenIds, env, task = napiAsyncTask.get()]() { in OnStopExpand() local
806 auto asyncTask = [this, screenIds, env, task = napiAsyncTask.get()]() { in OnMakeUnique() local
944 auto asyncTask = [option, env, task = napiAsyncTask.get()]() { in OnCreateVirtualScreen() local
[all …]
Djs_screen.cpp124 auto asyncTask = [this, orientation, env, task = napiAsyncTask.get()]() { in OnSetOrientation() local
184 auto asyncTask = [this, modeId, env, task = napiAsyncTask.get()]() { in OnSetScreenActiveMode() local
240 auto asyncTask = [this, densityDpi, env, task = napiAsyncTask.get()]() { in OnSetDensityDpi() local
257 void JsScreen::NapiSendDmsEvent(napi_env env, std::function<void()> asyncTask, in NapiSendDmsEvent()
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_manager_napi/
Djs_window_manager.cpp504 … auto asyncTask = [errCode, parentId, contextPtr, windowName, winType, env, task = napiAsyncTask] { in OnCreate() local
634 auto asyncTask = [option, contextPtr, env, task = napiAsyncTask, where = __func__] { in OnCreateWindow() local
725 auto asyncTask = [errCode, windowName, env, task = napiAsyncTask] { in OnFindWindow() local
825 auto asyncTask = [displayId, env, task = napiAsyncTask] { in OnMinimizeAll() local
853 auto asyncTask = [env, task = napiAsyncTask, where = __func__] { in OnToggleShownStateForAllAppWindows() local
1011 auto asyncTask = CreateAsyncTask(env, callback, in GetTopWindowTask() local
1103 auto asyncTask = [env, task = napiAsyncTask, winLayoutMode, where = __func__] { in OnSetWindowLayoutMode() local
1147 auto asyncTask = [gestureNavigationEnable, env, task = napiAsyncTask] { in OnSetGestureNavigationEnabled() local
1210 auto asyncTask = [env, pixelMap, isShow, task = napiAsyncTask] { in OnSetWaterMarkImage() local
1252 auto asyncTask = [env, task = napiAsyncTask, sourcePersistentId, targetPersistentId] { in OnShiftAppWindowFocus() local
[all …]
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_stage_napi/
Djs_window_stage.cpp263 auto asyncTask = [weak = windowScene_, env, task = napiAsyncTask] { in OnGetMainWindow() local
461 …auto asyncTask = [weak = windowScene_, contentStorage, contextUrl, isLoadedByName, env, task = nap… in OnLoadContent() local
485 auto asyncTask = [weak = windowScene_, env, task = napiAsyncTask] { in OnGetWindowMode() local
534 auto asyncTask = [weak = windowScene_, windowName, env, task = napiAsyncTask] { in OnCreateSubWindow() local
584 auto asyncTask = [weak = windowScene_, env, task = napiAsyncTask] { in OnGetSubWindow() local
641 auto asyncTask = [where, weakWindow = wptr(window), isModal, env, task = napiAsyncTask] { in OnSetWindowModal() local
859 auto asyncTask = [where, windowScene, windowName = std::move(windowName), option, env, in OnCreateSubWindowWithOptions() local
899 auto asyncTask = [weakWindow = wptr(window), where, env, task = napiAsyncTask] { in OnRemoveStartingWindow() local
947 …auto asyncTask = [weakWindow = wptr(window), where, env, task = napiAsyncTask, enabled, isSaveBySp… in OnSetWindowRectAutoSave() local
1015 …auto asyncTask = [weakWindow = wptr(window), supportedWindowModes = std::move(supportedWindowModes… in OnSetSupportedWindowModes() local
[all …]
/foundation/window/window_manager/interfaces/kits/napi/window_runtime/window_napi/
Djs_window.cpp1304 auto asyncTask = [weakToken, errCode, env, task = napiAsyncTask] { in OnShow() local
1359 auto asyncTask = [weakToken, env, task = napiAsyncTask, focusOnShow, isShowWithOptions] { in OnShowWindow() local
1425 auto asyncTask = [weakToken, errCode, where, env, task = napiAsyncTask] { in OnShowWithAnimation() local
1466 auto asyncTask = [this, weakToken, errCode, where, env, task = napiAsyncTask] { in OnDestroy() local
1512 auto asyncTask = [this, weakToken, where, env, task = napiAsyncTask] { in OnDestroyWindow() local
1560 auto asyncTask = [weakToken, errCode, where, env, task = napiAsyncTask] { in HideWindowFunction() local
1618 auto asyncTask = [weakToken, errCode, where, env, task = napiAsyncTask] { in OnHideWithAnimation() local
1654 auto asyncTask = [windowToken = wptr<Window>(windowToken_), env, task = napiAsyncTask, where] { in OnRecover() local
1687 auto asyncTask = [windowToken = wptr<Window>(windowToken_), env, task = napiAsyncTask, where] { in OnRestore() local
1740 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/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/window/window_manager/interfaces/kits/napi/embeddable_window_stage/
Djs_embeddable_window_stage.cpp145 auto asyncTask = [windowImpl = windowExtensionSessionImpl_, sessionInfo = sessionInfo_, in OnGetMainWindow() local
333 …auto asyncTask = [window = windowExtensionSessionImpl_, contentStorage, contextUrl, parentToken, i… in OnLoadContent() local
388 …auto asyncTask = [where, extensionWindow = windowExtensionSessionImpl_, windowName = std::move(win… in OnCreateSubWindowWithOptions() local
461 auto asyncTask = [env, task = napiAsyncTask] { in OnEmptyAsyncCall() local
480 auto asyncTask = [env, task = napiAsyncTask] { in OnUnsupportAsyncCall() local
/foundation/window/window_manager/interfaces/kits/napi/extension_window/
Djs_extension_window.cpp686 …auto asyncTask = [weakToken = wptr<Window>(extensionWindow_->GetWindow()), brightness, env, task =… in OnSetWindowBrightness() local
761 …auto asyncTask = [weakToken = wptr<Window>(extensionWindow_->GetWindow()), env, task = napiAsyncTa… in OnSetSpecificSystemBarEnabled() local
844 auto asyncTask = [extWindow = extensionWindow_, contentStorage, contextUrl, parentToken, in OnSetUIContent() local
901 …auto asyncTask = [extWindow = extensionWindow_, contentStorage, contextUrl, parentToken, isLoadedB… in OnLoadContent() local
1279 auto asyncTask = [where, extensionWindow = extensionWindow_, windowName = std::move(windowName), in OnCreateSubWindowWithOptions() local
1327 auto asyncTask = [weakToken = std::weak_ptr<ExtensionWindow>(extensionWindow_), eventFlags, env, in OnOccupyEvents() local
1405 auto asyncTask = CreateAsyncTask(env, lastParam, nullptr, in OnSetWindowLayoutFullScreen() local
1460 … auto asyncTask = [weakToken = wptr<Window>(extensionWindow_->GetWindow()), colorSpace, where, env, in OnSetWindowColorSpace() local
1512 …auto asyncTask = [weakToken = wptr<Window>(extensionWindow_->GetWindow()), isPrivacyMode, where, e… in OnSetWindowPrivacyMode() local
1558 …auto asyncTask = [weakToken = wptr<Window>(extensionWindow_->GetWindow()), env, task = napiAsyncTa… in OnSetWindowSystemBarEnable() local
[all …]
/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/picture_in_picture_napi/
Djs_pip_controller.cpp106 auto asyncTask = [this, env, task = napiAsyncTask, in OnStartPictureInPicture() local
140 auto asyncTask = [this, env, task = napiAsyncTask, in OnStopPictureInPicture() local
217 auto asyncTask = [env, task = napiAsyncTask, typeNodeRef, in OnUpdateContentNode() local
374 auto asyncTask = [this, env, task = napiAsyncTask, in OnGetPiPWindowInfo() local
414 auto asyncTask = [this, env, task = napiAsyncTask, in OnGetPiPSettingSwitch() local
/foundation/window/window_manager/interfaces/kits/napi/display_runtime/
Djs_display_manager.cpp226 auto asyncTask = [this, env, errCode, task = napiAsyncTask.get()] { in OnGetDefaultDisplay() local
333 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnGetAllDisplay() local
348 void NapiSendDmsEvent(napi_env env, std::function<void()> asyncTask, in NapiSendDmsEvent()
417 auto asyncTask = [this, env, errCode, task = napiAsyncTask.get()] { in OnGetAllDisplayPhysicalResolution() local
452 auto asyncTask = [this, env, task = napiAsyncTask.get()] { in OnGetAllDisplays() local
984 auto asyncTask = [option, env, task = napiAsyncTask.get()]() { in OnCreateVirtualScreen() local
1034 auto asyncTask = [this, screenIds, env, task = napiAsyncTask.get()]() { in OnMakeUnique() local
1084 auto asyncTask = [screenId, env, task = napiAsyncTask.get()]() { in OnDestroyVirtualScreen() local
1138 auto asyncTask = [screenId, surface, env, task = napiAsyncTask.get()]() { in OnSetVirtualScreenSurface() local
1187 auto asyncTask = [persistentIds, env, task = napiAsyncTask.get()] { in OnAddVirtualScreenBlockList() local
[all …]
Djs_display.cpp443 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnGetCutoutInfo() local
495 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnGetAvailableArea() local
547 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnHasImmersiveWindow() local
635 auto asyncTask = [this, env, task = napiAsyncTask.get()]() { in OnGetSupportedColorSpaces() local
704 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/multimedia/media_library/frameworks/services/media_multistages_capture/src/deferred_processing/
Dmultistages_capture_deferred_video_proc_session_callback.cpp156 shared_ptr<MediaLibraryAsyncTask> asyncTask = in AsyncOnErrorProc() local
/foundation/ability/ability_runtime/frameworks/js/napi/insight_intent/insight_intent_driver/
Djs_insight_intent_driver.cpp67 std::unique_ptr<NapiAsyncTask> asyncTask = nullptr; in ProcessInsightIntentExecute() local
138 std::unique_ptr<NapiAsyncTask> asyncTask = nullptr; in OnExecute() 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/services/media_multistages_capture/src/
Dmultistages_video_capture_manager.cpp202 shared_ptr<MediaLibraryAsyncTask> asyncTask = in SyncWithDeferredVideoProcSession() local
/foundation/ability/dmsfwk/frameworks/native/distributed_extension/src/
Ddistributed_extension_context_js.cpp108 …auto asyncTask = [weak = context, want, connection, connectId, env, task = napiAsyncTask.get()]() { in StartConnectAsyncTask() local
166 auto asyncTask = [weak = context, want, connection, env, task = napiAsyncTask.get()]() { in StartDisconnectAsyncTask() 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
321 auto asyncTask = [this, token, env, task = napiAsyncTask.get()]() { in OnUnregisterContinuation() local
586 … auto asyncTask = [this, token, deviceId, deviceConnectStatus, env, task = napiAsyncTask.get()]() { in OnUpdateContinuationState() local
731 …auto asyncTask = [this, token, continuationExtraParams, unwrapArgc, env, task = napiAsyncTask.get(… in OnStartContinuationDeviceManager() local
/foundation/multimedia/player_framework/frameworks/js/avplayer/
Davplayer_napi.h406 std::shared_ptr<TaskHandler<TaskRet>> asyncTask = nullptr; member
/foundation/ability/ability_runtime/frameworks/native/ability/native/ui_extension_base/
Djs_ui_extension_content_session.cpp467 std::shared_ptr<NapiAsyncTask> asyncTask = std::move(uasyncTask); in OnStartAbilityForResult() local
481 AAFwk::Want &want, std::shared_ptr<NapiAsyncTask> asyncTask, size_t& unwrapArgc, in StartAbilityForResultRuntimeTask()
872 auto asyncTask = [uiWindow = uiWindow_, isPrivacyMode, env, task = napiAsyncTask.get()]() { in OnSetWindowPrivacyMode() local

12