Home
last modified time | relevance | path

Searched defs:asyncCallbackInfo (Results 1 – 23 of 23) sorted by relevance

/foundation/aafwk/standard/interfaces/kits/napi/aafwk/formHost/
Dnapi_form_host.cpp326 static void InnerDelForm(napi_env env, AsyncDelFormCallbackInfo* const asyncCallbackInfo) in InnerDelForm()
403 AsyncDelFormCallbackInfo *asyncCallbackInfo = new in NAPI_DeleteForm() local
434 AsyncDelFormCallbackInfo *asyncCallbackInfo = (AsyncDelFormCallbackInfo *)data; in NAPI_DeleteForm() local
438 AsyncDelFormCallbackInfo *asyncCallbackInfo = (AsyncDelFormCallbackInfo *)data; in NAPI_DeleteForm() local
474 AsyncDelFormCallbackInfo *asyncCallbackInfo = (AsyncDelFormCallbackInfo *)data; in NAPI_DeleteForm() local
479 AsyncDelFormCallbackInfo *asyncCallbackInfo = (AsyncDelFormCallbackInfo *)data; in NAPI_DeleteForm() local
506 static void InnerReleaseForm(napi_env env, AsyncReleaseFormCallbackInfo* const asyncCallbackInfo) in InnerReleaseForm()
518 AsyncReleaseFormCallbackInfo *asyncCallbackInfo = in __anon17f5ec840602() local
526 AsyncReleaseFormCallbackInfo *asyncCallbackInfo = in __anon17f5ec840702() local
547 AsyncReleaseFormCallbackInfo *asyncCallbackInfo = (AsyncReleaseFormCallbackInfo *)data; in __anon17f5ec840802() local
[all …]
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/formManager/
Dnapi_form_manager.cpp225 napi_value RetErrMsg(AsyncErrMsgCallbackInfo* asyncCallbackInfo) in RetErrMsg()
250 AsyncErrMsgCallbackInfo *asyncCallbackInfo = (AsyncErrMsgCallbackInfo *)data; in RetErrMsg() local
287 AsyncErrMsgCallbackInfo *asyncCallbackInfo = (AsyncErrMsgCallbackInfo *)data; in RetErrMsg() local
548 static void InnerDelForm(napi_env env, AsyncDelFormCallbackInfo* const asyncCallbackInfo) in InnerDelForm()
625 AsyncDelFormCallbackInfo *asyncCallbackInfo = new in NAPI_DeleteForm() local
656 AsyncDelFormCallbackInfo *asyncCallbackInfo = (AsyncDelFormCallbackInfo *)data; in NAPI_DeleteForm() local
660 AsyncDelFormCallbackInfo *asyncCallbackInfo = (AsyncDelFormCallbackInfo *)data; in NAPI_DeleteForm() local
696 AsyncDelFormCallbackInfo *asyncCallbackInfo = (AsyncDelFormCallbackInfo *)data; in NAPI_DeleteForm() local
701 AsyncDelFormCallbackInfo *asyncCallbackInfo = (AsyncDelFormCallbackInfo *)data; in NAPI_DeleteForm() local
724 static void InnerReleaseForm(napi_env env, AsyncReleaseFormCallbackInfo* const asyncCallbackInfo) in InnerReleaseForm()
[all …]
/foundation/ace/ace_engine/interfaces/napi/kits/plugincomponent/
Djs_plugin_component.cpp33 …ol UnwrapStageWantFromJS(napi_env env, napi_value param, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapStageWantFromJS()
42 …ol UnwrapOwnerWantFromJS(napi_env env, napi_value param, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapOwnerWantFromJS()
57 bool UnwrapWantFromJS(napi_env env, napi_value param, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapWantFromJS()
73 ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapNameFromJS()
87 ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapKVObjectFromJS()
103 bool UnwrapPushParameters(napi_env env, napi_value param, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapPushParameters()
140 ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapParamForPush()
169 ACEAsyncJSCallbackInfo* asyncCallbackInfo = (ACEAsyncJSCallbackInfo*)data; in JSPushCompleteAsyncCallbackWork() local
184 …e NAPI_JSPushWrap(napi_env env, napi_callback_info info, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in NAPI_JSPushWrap()
216 ACEAsyncJSCallbackInfo* asyncCallbackInfo = AceCreateAsyncJSCallbackInfo(env); in JSPush() local
[all …]
Djs_plugin_util.cpp928 void AceFreeAsyncJSCallbackInfo(ACEAsyncJSCallbackInfo** asyncCallbackInfo) in AceFreeAsyncJSCallbackInfo()
1038 napi_value AceExecuteAsyncCallbackWork(napi_env env, ACEAsyncJSCallbackInfo* asyncCallbackInfo, in AceExecuteAsyncCallbackWork()
1073 napi_value AceExecutePromiseCallbackWork(napi_env env, ACEAsyncJSCallbackInfo* asyncCallbackInfo, in AceExecutePromiseCallbackWork()
1113 ACEAsyncJSCallbackInfo* asyncCallbackInfo = (ACEAsyncJSCallbackInfo*)data; in AceCompleteAsyncCallbackWork() local
1149 ACEAsyncJSCallbackInfo* asyncCallbackInfo = (ACEAsyncJSCallbackInfo*)data; in AceCompletePromiseCallbackWork() local
/foundation/resourceschedule/device_usage_statistics/frameworks/src/
Dbundle_state_query.cpp81 AsyncCallbackInfoIsIdleState *asyncCallbackInfo = in IsIdleState() local
102 AsyncCallbackInfoIsIdleState *asyncCallbackInfo = (AsyncCallbackInfoIsIdleState *)data; in IsIdleState() local
111 AsyncCallbackInfoIsIdleState *asyncCallbackInfo = (AsyncCallbackInfoIsIdleState *)data; in IsIdleState() local
161 AsyncCallbackInfoPriorityGroup *asyncCallbackInfo = in QueryAppUsagePriorityGroup() local
181 … AsyncCallbackInfoPriorityGroup *asyncCallbackInfo = (AsyncCallbackInfoPriorityGroup *)data; in QueryAppUsagePriorityGroup() local
189 … AsyncCallbackInfoPriorityGroup *asyncCallbackInfo = (AsyncCallbackInfoPriorityGroup *)data; in QueryAppUsagePriorityGroup() local
267 AsyncCallbackInfoStates *asyncCallbackInfo = in QueryCurrentBundleActiveStates() local
295 AsyncCallbackInfoStates *asyncCallbackInfo = (AsyncCallbackInfoStates *)data; in QueryCurrentBundleActiveStates() local
305 AsyncCallbackInfoStates *asyncCallbackInfo = (AsyncCallbackInfoStates *)data; in QueryCurrentBundleActiveStates() local
340 AsyncCallbackInfoStates *asyncCallbackInfo = in QueryBundleActiveStates() local
[all …]
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/featureAbility/
Dfeature_ability.cpp102 AsyncCallbackInfo *asyncCallbackInfo = CreateAsyncCallbackInfo(env); in NAPI_StartAbilityForResult() local
127 …rtAbilityForResultWrap(napi_env env, napi_callback_info info, AsyncCallbackInfo *asyncCallbackInfo) in StartAbilityForResultWrap()
167 napi_value StartAbilityForResultAsync(napi_env env, AsyncCallbackInfo *asyncCallbackInfo) in StartAbilityForResultAsync()
183 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in StartAbilityForResultAsync() local
199 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in StartAbilityForResultAsync() local
223 napi_value StartAbilityForResultPromise(napi_env env, AsyncCallbackInfo *asyncCallbackInfo) in StartAbilityForResultPromise()
244 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in StartAbilityForResultPromise() local
260 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in StartAbilityForResultPromise() local
290 AsyncCallbackInfo *asyncCallbackInfo = CreateAsyncCallbackInfo(env); in NAPI_SetResult() local
317 …pi_value SetResultWrap(napi_env env, napi_callback_info info, AsyncCallbackInfo *asyncCallbackInfo) in SetResultWrap()
[all …]
Dnapi_context.cpp240 napi_env env, size_t argc, napi_value *argv, AsyncJSCallbackInfo *asyncCallbackInfo) in UnwrapParamVerifySelfPermission()
271 AsyncJSCallbackInfo *asyncCallbackInfo = static_cast<AsyncJSCallbackInfo *>(data); in VerifySelfPermissionExecuteCallbackWork() local
298 …fySelfPermissionWrap(napi_env env, napi_callback_info info, AsyncJSCallbackInfo *asyncCallbackInfo) in NAPI_VerifySelfPermissionWrap()
346 AsyncJSCallbackInfo *asyncCallbackInfo = CreateAsyncJSCallbackInfo(env); in NAPI_VerifySelfPermission() local
360 napi_env env, size_t argc, napi_value *argv, AsyncJSCallbackInfo *asyncCallbackInfo) in UnwrapRequestPermissionsFromUser()
401 AsyncJSCallbackInfo *asyncCallbackInfo = static_cast<AsyncJSCallbackInfo *>(data); in RequestPermissionsFromUserExecuteCallbackWork() local
431 AsyncJSCallbackInfo *asyncCallbackInfo = static_cast<AsyncJSCallbackInfo *>(data); in RequestPermissionsFromUserExecutePromiseWork() local
460 AsyncJSCallbackInfo *asyncCallbackInfo = static_cast<AsyncJSCallbackInfo *>(data); in RequestPermissionsFromUserCompleteAsyncCallbackWork() local
500 napi_env env, napi_callback_info info, AsyncJSCallbackInfo *asyncCallbackInfo) in NAPI_RequestPermissionsFromUserWrap()
535 AsyncJSCallbackInfo *asyncCallbackInfo = CreateAsyncJSCallbackInfo(env); in NAPI_RequestPermissionsFromUser() local
[all …]
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/formProvider/
Dnapi_form_provider.cpp143 …oid InnerSetFormNextRefreshTime(napi_env env, AsyncNextRefreshTimeFormCallbackInfo* const asyncCal… in InnerSetFormNextRefreshTime()
242 AsyncNextRefreshTimeFormCallbackInfo *asyncCallbackInfo = new in NAPI_SetFormNextRefreshTime() local
274 AsyncNextRefreshTimeFormCallbackInfo *asyncCallbackInfo = in NAPI_SetFormNextRefreshTime() local
280 AsyncNextRefreshTimeFormCallbackInfo *asyncCallbackInfo = in NAPI_SetFormNextRefreshTime() local
318 AsyncNextRefreshTimeFormCallbackInfo *asyncCallbackInfo = in NAPI_SetFormNextRefreshTime() local
325 AsyncNextRefreshTimeFormCallbackInfo *asyncCallbackInfo = in NAPI_SetFormNextRefreshTime() local
353 static void InnerUpdateForm(napi_env env, AsyncUpdateFormCallbackInfo* const asyncCallbackInfo) in InnerUpdateForm()
458 AsyncUpdateFormCallbackInfo *asyncCallbackInfo = new in NAPI_UpdateForm() local
489 … AsyncUpdateFormCallbackInfo *asyncCallbackInfo = (AsyncUpdateFormCallbackInfo *)data; in NAPI_UpdateForm() local
493 … AsyncUpdateFormCallbackInfo *asyncCallbackInfo = (AsyncUpdateFormCallbackInfo *)data; in NAPI_UpdateForm() local
[all …]
/foundation/distributeddatamgr/distributedfile/interfaces/kits/js/src/mod_file/class_file/
Dfile_n_exporter.cpp257 auto *asyncCallbackInfo = (AsyncMkdirCallbackInfo *)data; in MkdirExec() local
273 auto *asyncCallbackInfo = (AsyncMkdirCallbackInfo *)data; in MkdirComp() local
290 auto *asyncCallbackInfo = (AsyncRmdirCallbackInfo *)data; in RmdirExec() local
308 auto *asyncCallbackInfo = (AsyncRmdirCallbackInfo *)data; in RmdirComp() local
326 auto *asyncCallbackInfo = (AsyncGetCallbackInfo *)data; in GetExec() local
354 auto *asyncCallbackInfo = (AsyncGetCallbackInfo *)data; in GetComp() local
390 auto *asyncCallbackInfo = (AsyncListCallbackInfo *)data; in ListExec() local
432 auto *asyncCallbackInfo = (AsyncListCallbackInfo *)data; in ListComp() local
520 auto *asyncCallbackInfo = (AsyncCopyCallbackInfo *)data; in CopyExec() local
556 auto *asyncCallbackInfo = (AsyncCopyCallbackInfo *)data; in CopyComp() local
[all …]
/foundation/distributeddatamgr/distributedfile/interfaces/kits/js/src/mod_document/
Ddocument_n_exporter.cpp47 static napi_value DoChoosePromise(AsyncCallbackInfo* asyncCallbackInfo) in DoChoosePromise()
60 AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data; in DoChoosePromise() local
80 static napi_value DoChooseCallback(AsyncCallbackInfo* asyncCallbackInfo) in DoChooseCallback()
91 AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data; in DoChooseCallback() local
151 AsyncCallbackInfo* asyncCallbackInfo = new AsyncCallbackInfo { in Choose() local
168 static napi_value DoShowPromise(AsyncCallbackInfo* asyncCallbackInfo) in DoShowPromise()
181 AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data; in DoShowPromise() local
201 static napi_value DoShowCallback(AsyncCallbackInfo* asyncCallbackInfo) in DoShowCallback()
212 AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data; in DoShowCallback() local
265 AsyncCallbackInfo* asyncCallbackInfo = new AsyncCallbackInfo { in Show() local
/foundation/appexecfwk/standard/kits/appkit/napi/launchermgr/
Dbundle_status_callback.cpp74 AsyncCallbackInfo* asyncCallbackInfo = new AsyncCallbackInfo { in OnBundleAdded() local
88 … AsyncCallbackInfo* asyncCallbackInfo = reinterpret_cast<AsyncCallbackInfo*>(work->data); in OnBundleAdded() local
122 AsyncCallbackInfo* asyncCallbackInfo = new AsyncCallbackInfo { in OnBundleUpdated() local
136 AsyncCallbackInfo* asyncCallbackInfo = reinterpret_cast<AsyncCallbackInfo*>(work->data); in OnBundleUpdated() local
170 AsyncCallbackInfo* asyncCallbackInfo = new AsyncCallbackInfo { in OnBundleRemoved() local
184 … AsyncCallbackInfo* asyncCallbackInfo = reinterpret_cast<AsyncCallbackInfo*>(work->data); in OnBundleRemoved() local
Djs_launcher.cpp456 AsyncHandleBundleContext *asyncCallbackInfo = new AsyncHandleBundleContext(); in JSLauncherServiceOn() local
505 AsyncHandleBundleContext* asyncCallbackInfo = (AsyncHandleBundleContext*)data; in JSLauncherServiceOn() local
574 AsyncHandleBundleContext *asyncCallbackInfo = new AsyncHandleBundleContext(); in JSLauncherServiceOff() local
615 AsyncHandleBundleContext* asyncCallbackInfo = (AsyncHandleBundleContext*)data; in JSLauncherServiceOff() local
677 AsyncHandleBundleContext *asyncCallbackInfo = new AsyncHandleBundleContext(); in JSGetAllLauncherAbilityInfos() local
704 AsyncHandleBundleContext* asyncCallbackInfo = (AsyncHandleBundleContext*)data; in JSGetAllLauncherAbilityInfos() local
712 AsyncHandleBundleContext* asyncCallbackInfo = (AsyncHandleBundleContext*)data; in JSGetAllLauncherAbilityInfos() local
781 AsyncHandleBundleContext *asyncCallbackInfo = new AsyncHandleBundleContext(); in JSGetLauncherAbilityInfos() local
812 AsyncHandleBundleContext* asyncCallbackInfo = (AsyncHandleBundleContext*)data; in JSGetLauncherAbilityInfos() local
821 AsyncHandleBundleContext* asyncCallbackInfo = (AsyncHandleBundleContext*)data; in JSGetLauncherAbilityInfos() local
[all …]
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/wantagent/
Dnapi_want_agent.cpp232 …AsyncGetBundleNameCallbackInfo *asyncCallbackInfo = static_cast<AsyncGetBundleNameCallbackInfo *>(… in __anon8e0841b20502() local
238 …AsyncGetBundleNameCallbackInfo *asyncCallbackInfo = static_cast<AsyncGetBundleNameCallbackInfo *>(… in __anon8e0841b20602() local
264 …AsyncGetBundleNameCallbackInfo *asyncCallbackInfo = static_cast<AsyncGetBundleNameCallbackInfo *>(… in __anon8e0841b20702() local
278 …nv env, napi_callback_info info, bool callBackMode, AsyncGetBundleNameCallbackInfo &asyncCallbackI… in NAPI_GetBundleNameWrap()
367 AsyncGetUidCallbackInfo *asyncCallbackInfo = static_cast<AsyncGetUidCallbackInfo *>(data); in __anon8e0841b20802() local
377 AsyncGetUidCallbackInfo *asyncCallbackInfo = static_cast<AsyncGetUidCallbackInfo *>(data); in __anon8e0841b20902() local
403 AsyncGetUidCallbackInfo *asyncCallbackInfo = static_cast<AsyncGetUidCallbackInfo *>(data); in __anon8e0841b20a02() local
417 …pi_env env, napi_callback_info info, bool callBackMode, AsyncGetUidCallbackInfo &asyncCallbackInfo) in NAPI_GetUidWrap()
505 AsyncGetWantCallbackInfo *asyncCallbackInfo = static_cast<AsyncGetWantCallbackInfo *>(data); in __anon8e0841b20b02() local
515 AsyncGetWantCallbackInfo *asyncCallbackInfo = static_cast<AsyncGetWantCallbackInfo *>(data); in __anon8e0841b20c02() local
[all …]
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/inner/napi_common/
Dnapi_common_ability.cpp111 bool CheckAbilityType(const AsyncJSCallbackInfo *asyncCallbackInfo) in CheckAbilityType()
133 bool CheckAbilityType(const AsyncCallbackInfo *asyncCallbackInfo) in CheckAbilityType()
315 AsyncJSCallbackInfo *asyncCallbackInfo = static_cast<AsyncJSCallbackInfo *>(data); in GetFilesDirExecuteCallback() local
350 AsyncJSCallbackInfo *asyncCallbackInfo = static_cast<AsyncJSCallbackInfo *>(data); in IsUpdatingConfigurationsExecuteCallback() local
385 AsyncJSCallbackInfo *asyncCallbackInfo = static_cast<AsyncJSCallbackInfo *>(data); in PrintDrawnCompletedExecuteCallback() local
411 …NAPI_GetFilesDirWrap(napi_env env, napi_callback_info info, AsyncJSCallbackInfo *asyncCallbackInfo) in NAPI_GetFilesDirWrap()
453 AsyncJSCallbackInfo *asyncCallbackInfo = CreateAsyncJSCallbackInfo(env); in NAPI_GetFilesDirCommon() local
473 AsyncJSCallbackInfo *asyncCallbackInfo = static_cast<AsyncJSCallbackInfo *>(data); in GetOrCreateDistributedDirExecuteCallback() local
514 napi_env env, napi_callback_info info, AsyncJSCallbackInfo *asyncCallbackInfo) in NAPI_GetOrCreateDistributedDirWrap()
557 AsyncJSCallbackInfo *asyncCallbackInfo = CreateAsyncJSCallbackInfo(env); in NAPI_GetOrCreateDistributedDirCommon() local
[all …]
Dnapi_common_util.cpp845 AsyncJSCallbackInfo *asyncCallbackInfo = new (std::nothrow) AsyncJSCallbackInfo; in CreateAsyncJSCallbackInfo() local
864 void FreeAsyncJSCallbackInfo(AsyncJSCallbackInfo **asyncCallbackInfo) in FreeAsyncJSCallbackInfo()
974 napi_value ExecuteAsyncCallbackWork(napi_env env, AsyncJSCallbackInfo *asyncCallbackInfo, const Asy… in ExecuteAsyncCallbackWork()
1008 napi_value ExecutePromiseCallbackWork(napi_env env, AsyncJSCallbackInfo *asyncCallbackInfo, const A… in ExecutePromiseCallbackWork()
1047 AsyncJSCallbackInfo *asyncCallbackInfo = (AsyncJSCallbackInfo *)data; in CompleteAsyncCallbackWork() local
1076 AsyncJSCallbackInfo *asyncCallbackInfo = (AsyncJSCallbackInfo *)data; in CompleteAsyncVoidCallbackWork() local
1117 AsyncJSCallbackInfo *asyncCallbackInfo = (AsyncJSCallbackInfo *)data; in CompletePromiseCallbackWork() local
1140 AsyncJSCallbackInfo *asyncCallbackInfo = (AsyncJSCallbackInfo *)data; in CompletePromiseVoidCallbackWork() local
/foundation/appexecfwk/standard/kits/appkit/napi/bundlemgr/
Dbundle_mgr.cpp1224 AsyncApplicationInfosCallbackInfo *asyncCallbackInfo = new AsyncApplicationInfosCallbackInfo(); in GetApplicationInfos() local
1270 … AsyncApplicationInfosCallbackInfo* asyncCallbackInfo = (AsyncApplicationInfosCallbackInfo*)data; in GetApplicationInfos() local
1279 … AsyncApplicationInfosCallbackInfo* asyncCallbackInfo = (AsyncApplicationInfosCallbackInfo*)data; in GetApplicationInfos() local
1521 AsyncAbilityInfoCallbackInfo *asyncCallbackInfo = new AsyncAbilityInfoCallbackInfo { in QueryAbilityInfos() local
1569 AsyncAbilityInfoCallbackInfo *asyncCallbackInfo = (AsyncAbilityInfoCallbackInfo *)data; in QueryAbilityInfos() local
1576 AsyncAbilityInfoCallbackInfo *asyncCallbackInfo = (AsyncAbilityInfoCallbackInfo *)data; in QueryAbilityInfos() local
1652 AsyncAbilityInfosCallbackInfo *asyncCallbackInfo = (AsyncAbilityInfosCallbackInfo *)data; in StartGetAbilityInfoExecuteCB() local
1667 AsyncAbilityInfosCallbackInfo *asyncCallbackInfo = (AsyncAbilityInfosCallbackInfo *)data; in StartGetAbilityInfoCompletedCB() local
1711 AsyncAbilityInfosCallbackInfo *asyncCallbackInfo = new AsyncAbilityInfosCallbackInfo(); in GetAbilityInfo() local
1756 AsyncApplicationInfoCallbackInfo *asyncCallbackInfo = new AsyncApplicationInfoCallbackInfo(); in GetApplicationInfo() local
[all …]
/foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/
Dbg_continuous_task_napi_module.cpp112 AsyncCallbackInfo *asyncCallbackInfo = (AsyncCallbackInfo *)data; in StartBackgroundRunningExecuteCB() local
162 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in CallbackCompletedCB() local
191 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in PromiseCompletedCB() local
208 napi_env env, napi_value *argv, const size_t argCallback, AsyncCallbackInfo *asyncCallbackInfo) in StartBackgroundRunningAsync()
236 napi_value StartBackgroundRunningPromise(napi_env env, AsyncCallbackInfo *asyncCallbackInfo) in StartBackgroundRunningPromise()
347 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in StopBackgroundRunningExecuteCB() local
374 const size_t argCallback, AsyncCallbackInfo *asyncCallbackInfo) in StopBackgroundRunningAsync()
402 napi_value StopBackgroundRunningPromise(napi_env env, AsyncCallbackInfo *asyncCallbackInfo) in StopBackgroundRunningPromise()
/foundation/ace/napi/sample/native_module_demo/
Dnative_module_demo.cpp68 auto asyncCallbackInfo = new AsyncCallbackInfo { in TestPromise() local
78 AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data; in TestPromise() local
101 auto asyncCallbackInfo = new AsyncCallbackInfo { in TestPromiseOrAsyncCallback() local
120 AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data; in TestPromiseOrAsyncCallback() local
168 AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data; in TestPromiseOrAsyncCallback() local
/foundation/appexecfwk/standard/kits/appkit/napi/distributebundlemgr/
Ddistributed_bundle_mgr.cpp271 ElementNameInfo *asyncCallbackInfo = new ElementNameInfo(); in GetRemoteAbilityInfo() local
303 ElementNameInfo* asyncCallbackInfo = (ElementNameInfo*)data; in GetRemoteAbilityInfo() local
310 ElementNameInfo* asyncCallbackInfo = (ElementNameInfo*)data; in GetRemoteAbilityInfo() local
352 ElementNameInfos *asyncCallbackInfo = new ElementNameInfos(); in GetRemoteAbilityInfos() local
385 ElementNameInfos* asyncCallbackInfo = (ElementNameInfos*)data; in GetRemoteAbilityInfos() local
392 ElementNameInfos* asyncCallbackInfo = (ElementNameInfos*)data; in GetRemoteAbilityInfos() local
/foundation/appexecfwk/standard/tools/zip/kits/napi/
Dnapi_zlib.cpp395 AsyncZipCallbackInfo *asyncCallbackInfo = static_cast<AsyncZipCallbackInfo *>(data); in ZipFilePromise() local
407 AsyncZipCallbackInfo *asyncCallbackInfo = static_cast<AsyncZipCallbackInfo *>(data); in ZipFilePromise() local
600 AsyncZipCallbackInfo *asyncCallbackInfo = (AsyncZipCallbackInfo *)data; in ZipFileAsync() local
611 AsyncZipCallbackInfo *asyncCallbackInfo = (AsyncZipCallbackInfo *)data; in ZipFileAsync() local
700 AsyncZipCallbackInfo *asyncCallbackInfo = static_cast<AsyncZipCallbackInfo *>(data); in UnzipFilePromise() local
711 AsyncZipCallbackInfo *asyncCallbackInfo = static_cast<AsyncZipCallbackInfo *>(data); in UnzipFilePromise() local
749 AsyncZipCallbackInfo *asyncCallbackInfo = (AsyncZipCallbackInfo *)data; in UnzipFileAsync() local
760 AsyncZipCallbackInfo *asyncCallbackInfo = (AsyncZipCallbackInfo *)data; in UnzipFileAsync() local
810 ZlibCallbackInfo *asyncCallbackInfo = (ZlibCallbackInfo *)work->data; in ZipAndUnzipFileAsyncCallBackInnerJsThread() local
864 ZlibCallbackInfo *asyncCallbackInfo = new (std::nothrow) ZlibCallbackInfo(); in ZipAndUnzipFileAsyncCallBack() local
/foundation/appexecfwk/standard/kits/appkit/napi/package/
Dpackage.cpp182 …CheckPackageHasInstalledOptions *asyncCallbackInfo = static_cast<CheckPackageHasInstalledOptions *… in HasInstalledExecute() local
196 …CheckPackageHasInstalledOptions *asyncCallbackInfo = static_cast<CheckPackageHasInstalledOptions *… in HasInstalledAsyncComplete() local
244 …CheckPackageHasInstalledOptions *asyncCallbackInfo = new (std::nothrow) CheckPackageHasInstalledOp… in HasInstalled() local
/foundation/aafwk/standard/interfaces/kits/napi/aafwk/formUtil/
Dnapi_form_util.cpp297 napi_value RetErrMsg(AsyncErrMsgCallbackInfo* asyncCallbackInfo) in RetErrMsg()
322 AsyncErrMsgCallbackInfo *asyncCallbackInfo = (AsyncErrMsgCallbackInfo *)data; in RetErrMsg() local
358 AsyncErrMsgCallbackInfo *asyncCallbackInfo = (AsyncErrMsgCallbackInfo *)data; in RetErrMsg() local
/foundation/appexecfwk/standard/interfaces/innerkits/napi/eventhandler/include/
Devents_emitter.h73 std::vector<AsyncCallbackInfo *> asyncCallbackInfo; member