| /foundation/arkui/ace_engine/interfaces/napi/kits/plugincomponent/ |
| D | js_plugin_component.cpp | 33 …ol UnwrapStageWantFromJS(napi_env env, napi_value param, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapStageWantFromJS() 41 …ol UnwrapOwnerWantFromJS(napi_env env, napi_value param, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapOwnerWantFromJS() 61 bool UnwrapWantFromJS(napi_env env, napi_value param, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapWantFromJS() 74 bool UnwrapTargetFromJS(napi_env env, napi_value param, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapTargetFromJS() 87 …(napi_env env, napi_value param, const std::string& key, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapNameFromJS() 100 … napi_env env, napi_value param, const std::string& key, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapKVObjectFromJS() 115 bool UnwrapPushParameters(napi_env env, napi_value param, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapPushParameters() 145 …aramForPush(napi_env env, size_t argc, napi_value* argv, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in UnwrapParamForPush() 164 void JSPushCompleteAsyncCallbackWork(napi_env env, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in JSPushCompleteAsyncCallbackWork() 179 void JSPushCompletePromiseCallbackWork(napi_env env, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in JSPushCompletePromiseCallbackWork() [all …]
|
| /foundation/resourceschedule/device_usage_statistics/frameworks/src/ |
| D | bundle_state_query_napi.cpp | 61 ModuleRecordParamsInfo ¶ms, AsyncCallbackInfoModuleRecord*& asyncCallbackInfo) in ParseQueryModuleUsageRecords() 110 AsyncCallbackInfoModuleRecord *asyncCallbackInfo = (AsyncCallbackInfoModuleRecord *)data; in QueryModuleUsageRecordsAsync() local 122 AsyncCallbackInfoModuleRecord *asyncCallbackInfo = (AsyncCallbackInfoModuleRecord *)data; in QueryModuleUsageRecordsAsyncCB() local 134 AsyncCallbackInfoModuleRecord *asyncCallbackInfo = nullptr; in QueryModuleUsageRecords() local 159 IsIdleStateParamsInfo ¶ms, AsyncCallbackInfoIsIdleState*& asyncCallbackInfo) in ParseIsIdleStateParameters() 204 AsyncCallbackInfoIsIdleState *asyncCallbackInfo = (AsyncCallbackInfoIsIdleState *)data; in IsBundleIdleAsync() local 215 AsyncCallbackInfoIsIdleState *asyncCallbackInfo = (AsyncCallbackInfoIsIdleState *)data; in IsBundleIdleAsyncCB() local 226 AsyncCallbackInfoIsIdleState *asyncCallbackInfo = nullptr; in IsIdleState() local 297 StatesParamsInfo ¶ms, AsyncCallbackInfoStates*& asyncCallbackInfo) in ParseQueryCurrentBundleEventsParameters() 345 AsyncCallbackInfoStates *asyncCallbackInfo = (AsyncCallbackInfoStates *)data; in QueryCurrentBundleEventsAsync() local [all …]
|
| D | bundle_state_query.cpp | 77 AsyncCallbackInfoIsIdleState *asyncCallbackInfo = (AsyncCallbackInfoIsIdleState *)data; in IsBundleIdleAsync() local 88 AsyncCallbackInfoIsIdleState *asyncCallbackInfo = (AsyncCallbackInfoIsIdleState *)data; in IsBundleIdleAsyncCB() local 104 AsyncCallbackInfoIsIdleState *asyncCallbackInfo = in IsIdleState() local 134 QueryAppGroupParamsInfo ¶ms, AsyncQueryAppGroupCallbackInfo* &asyncCallbackInfo) in ParsePriorityGroupParameters() 176 AsyncQueryAppGroupCallbackInfo *asyncCallbackInfo = (AsyncQueryAppGroupCallbackInfo *)data; in QueryAppGroupAsync() local 187 AsyncQueryAppGroupCallbackInfo *asyncCallbackInfo = (AsyncQueryAppGroupCallbackInfo *)data; in QueryAppGroupAsyncCB() local 201 AsyncQueryAppGroupCallbackInfo *asyncCallbackInfo = nullptr; in QueryAppUsagePriorityGroup() local 275 AsyncCallbackInfoStates *asyncCallbackInfo = (AsyncCallbackInfoStates *)data; in QueryCurrentBundleEventsAsync() local 287 AsyncCallbackInfoStates *asyncCallbackInfo = (AsyncCallbackInfoStates *)data; in QueryCurrentBundleEventsAsyncCB() local 305 AsyncCallbackInfoStates *asyncCallbackInfo = new (std::nothrow) AsyncCallbackInfoStates(env); in QueryCurrentBundleActiveStates() local [all …]
|
| D | bundle_active_app_group_napi.cpp | 75 QueryAppGroupParamsInfo ¶ms, AsyncQueryAppGroupCallbackInfo* &asyncCallbackInfo) in ParseQueryAppGroupParameters() 118 AsyncQueryAppGroupCallbackInfo *asyncCallbackInfo = (AsyncQueryAppGroupCallbackInfo *)data; in QueryAppGroupAsync() local 129 AsyncQueryAppGroupCallbackInfo *asyncCallbackInfo = (AsyncQueryAppGroupCallbackInfo *)data; in QueryAppGroupAsyncCB() local 140 AsyncQueryAppGroupCallbackInfo *asyncCallbackInfo = nullptr; in QueryAppGroup() local 258 ParamsBundleGroupInfo ¶ms, AsyncCallbackInfoSetAppGroup* &asyncCallbackInfo) in ParseSetAppGroupParameters() 293 AsyncCallbackInfoSetAppGroup *asyncCallbackInfo = (AsyncCallbackInfoSetAppGroup *)data; in SetAppGroupAsync() local 304 AsyncCallbackInfoSetAppGroup *asyncCallbackInfo = (AsyncCallbackInfoSetAppGroup *)data; in SetAppGroupAsyncCB() local 315 AsyncCallbackInfoSetAppGroup *asyncCallbackInfo = nullptr; in SetAppGroup() local 358 RegisterCallbackInfo ¶ms, AsyncRegisterCallbackInfo* &asyncCallbackInfo) in ParseRegisterAppGroupCallBackParameters() 398 AsyncRegisterCallbackInfo *asyncCallbackInfo = (AsyncRegisterCallbackInfo *)data; in RegisterAppGroupCallBackAsync() local [all …]
|
| /foundation/bundlemanager/bundle_framework/interfaces/kits/js/shortcut_manager/ |
| D | shortcut_manager.cpp | 44 AddDesktopShortcutInfoCallbackInfo *asyncCallbackInfo = in AddDesktopShortcutInfoExec() local 56 AddDesktopShortcutInfoCallbackInfo *asyncCallbackInfo = in AddDesktopShortcutInfoComplete() local 82 …AddDesktopShortcutInfoCallbackInfo *asyncCallbackInfo = new (std::nothrow) AddDesktopShortcutInfoC… in AddDesktopShortcutInfo() local 124 DeleteDesktopShortcutInfoCallbackInfo *asyncCallbackInfo = in DeleteDesktopShortcutInfoExec() local 136 DeleteDesktopShortcutInfoCallbackInfo *asyncCallbackInfo = in DeleteDesktopShortcutInfoComplete() local 163 DeleteDesktopShortcutInfoCallbackInfo* asyncCallbackInfo = in DeleteDesktopShortcutInfo() local 207 GetAllDesktopShortcutInfoCallbackInfo *asyncCallbackInfo = in GetAllDesktopShortcutInfoExec() local 220 GetAllDesktopShortcutInfoCallbackInfo *asyncCallbackInfo = in GetAllDesktopShortcutInfoComplete() local 250 GetAllDesktopShortcutInfoCallbackInfo *asyncCallbackInfo = in GetAllDesktopShortcutInfo() local 287 SetShortcutVisibleForSelfCallbackInfo *asyncCallbackInfo = in SetShortcutVisibleForSelfExec() local [all …]
|
| /foundation/ability/ability_runtime/frameworks/js/napi/inner/napi_ability_common/ |
| D | napi_common_ability.cpp | 74 …NAPI_GetFilesDirWrap(napi_env env, napi_callback_info info, AsyncJSCallbackInfo *asyncCallbackInfo) in NAPI_GetFilesDirWrap() 117 AsyncJSCallbackInfo *asyncCallbackInfo = CreateAsyncJSCallbackInfo(env); in NAPI_GetFilesDirCommon() local 143 napi_env env, napi_callback_info info, AsyncJSCallbackInfo *asyncCallbackInfo) in NAPI_GetOrCreateDistributedDirWrap() 186 AsyncJSCallbackInfo *asyncCallbackInfo = CreateAsyncJSCallbackInfo(env); in NAPI_GetOrCreateDistributedDirCommon() local 211 …NAPI_GetCacheDirWrap(napi_env env, napi_callback_info info, AsyncJSCallbackInfo *asyncCallbackInfo) in NAPI_GetCacheDirWrap() 254 AsyncJSCallbackInfo *asyncCallbackInfo = CreateAsyncJSCallbackInfo(env); in NAPI_GetCacheDirCommon() local 279 …ExternalCacheDirWrap(napi_env env, napi_callback_info info, AsyncJSCallbackInfo *asyncCallbackInfo) in NAPI_GetExternalCacheDirWrap() 322 AsyncJSCallbackInfo *asyncCallbackInfo = CreateAsyncJSCallbackInfo(env); in NAPI_GetExternalCacheDirCommon() local 340 napi_env env, napi_callback_info info, AsyncJSCallbackInfo *asyncCallbackInfo) in NAPI_IsUpdatingConfigurationsWrap() 380 …ntDrawnCompletedWrap(napi_env env, napi_callback_info info, AsyncJSCallbackInfo *asyncCallbackInfo) in NAPI_PrintDrawnCompletedWrap() [all …]
|
| D | napi_common_ability_execute_utils.cpp | 794 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in GetWantExecuteCB() local 821 …ync(napi_env env, napi_value *args, const size_t argCallback, AsyncCallbackInfo *asyncCallbackInfo) in GetWantAsync() 840 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in GetWantAsync() local 873 napi_value GetWantPromise(napi_env env, AsyncCallbackInfo *asyncCallbackInfo) in GetWantPromise() 894 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in GetWantPromise() local 924 napi_value GetWantWrap(napi_env env, napi_callback_info info, AsyncCallbackInfo *asyncCallbackInfo) in GetWantWrap() 1155 AsyncJSCallbackInfo *asyncCallbackInfo = static_cast<AsyncJSCallbackInfo *>(data); in StopAbilityExecuteCallback() local 1182 …alue StopAbilityWrap(napi_env env, napi_callback_info info, AsyncJSCallbackInfo *asyncCallbackInfo) in StopAbilityWrap() 1218 AsyncCallbackInfo *asyncCallbackInfo = (AsyncCallbackInfo *)data; in StartBackgroundRunningExecuteCB() local 1254 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in BackgroundRunningCallbackCompletedCB() local [all …]
|
| /foundation/filemanagement/file_api/interfaces/kits/js/src/mod_file/class_file/ |
| D | file_n_exporter.cpp | 260 auto *asyncCallbackInfo = (AsyncMkdirCallbackInfo *)data; in MkdirExec() local 276 auto *asyncCallbackInfo = (AsyncMkdirCallbackInfo *)data; in MkdirComp() local 293 auto *asyncCallbackInfo = (AsyncRmdirCallbackInfo *)data; in RmdirExec() local 311 auto *asyncCallbackInfo = (AsyncRmdirCallbackInfo *)data; in RmdirComp() local 329 auto *asyncCallbackInfo = (AsyncGetCallbackInfo *)data; in GetExec() local 357 auto *asyncCallbackInfo = (AsyncGetCallbackInfo *)data; in GetComp() local 393 auto *asyncCallbackInfo = (AsyncListCallbackInfo *)data; in ListExec() local 435 auto *asyncCallbackInfo = (AsyncListCallbackInfo *)data; in ListComp() local 523 auto *asyncCallbackInfo = (AsyncCopyCallbackInfo *)data; in CopyExec() local 559 auto *asyncCallbackInfo = (AsyncCopyCallbackInfo *)data; in CopyComp() local [all …]
|
| /foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundle_manager/ |
| D | bundle_manager.cpp | 138 …GetBundleArchiveInfoCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetBundleArchiveInfoCallbac… in GetBundleArchiveInfoExec() local 149 …GetBundleArchiveInfoCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetBundleArchiveInfoCallbac… in GetBundleArchiveInfoComplete() local 172 …GetBundleArchiveInfoCallbackInfo *asyncCallbackInfo = new (std::nothrow) GetBundleArchiveInfoCallb… in GetBundleArchiveInfo() local 257 …GetBundleNameByUidCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetBundleNameByUidCallbackInf… in GetBundleNameByUidExec() local 288 …GetBundleNameByUidCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetBundleNameByUidCallbackInf… in GetBundleNameByUidComplete() local 308 …GetAppCloneIdentityCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetAppCloneIdentityCallbackI… in GetAppCloneIdentityExec() local 339 …GetAppCloneIdentityCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetAppCloneIdentityCallbackI… in GetAppCloneIdentityComplete() local 368 ApplicationInfoCallbackInfo *asyncCallbackInfo = in GetApplicationInfoComplete() local 389 ApplicationInfosCallbackInfo *asyncCallbackInfo = in GetApplicationInfosComplete() local 410 …ApplicationInfoCallbackInfo *asyncCallbackInfo = reinterpret_cast<ApplicationInfoCallbackInfo *>(d… in GetApplicationInfoExec() local [all …]
|
| /foundation/bundlemanager/bundle_framework/interfaces/kits/js/launcher_bundle_manager/ |
| D | launcher_bundle_manager.cpp | 59 …GetLauncherAbilityCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetLauncherAbilityCallbackInf… in GetLauncherAbilityInfoExec() local 71 …GetLauncherAbilityCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetLauncherAbilityCallbackInf… in GetLauncherAbilityInfoComplete() local 98 …GetLauncherAbilityCallbackInfo *asyncCallbackInfo = new (std::nothrow) GetLauncherAbilityCallbackI… in GetLauncherAbilityInfo() local 190 …GetAllLauncherAbilityCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetAllLauncherAbilityCallb… in GetAllLauncherAbilityInfoExec() local 202 …GetAllLauncherAbilityCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetAllLauncherAbilityCallb… in GetAllLauncherAbilityInfoComplete() local 229 …GetAllLauncherAbilityCallbackInfo *asyncCallbackInfo = new (std::nothrow) GetAllLauncherAbilityCal… in GetAllLauncherAbilityInfo() local 273 …GetShortcutInfoCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetShortcutInfoCallbackInfo *>(d… in GetShortcutInfoExec() local 285 …GetShortcutInfoCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetShortcutInfoCallbackInfo *>(d… in GetShortcutInfoComplete() local 312 …GetShortcutInfoCallbackInfo *asyncCallbackInfo = new (std::nothrow) GetShortcutInfoCallbackInfo(en… in GetShortcutInfo() local 476 …StartShortcutCallbackInfo *asyncCallbackInfo = reinterpret_cast<StartShortcutCallbackInfo *>(data); in StartShortcutExec() local [all …]
|
| /foundation/resourceschedule/device_usage_statistics/interfaces/kits/bundlestats/napi/include/ |
| D | bundle_state_common.h | 117 void BundleStateCommon::AsyncInit(napi_env env, PARAMT ¶ms, ASYNCT* &asyncCallbackInfo) in AsyncInit() 132 delete asyncCallbackInfo; in AsyncInit() local
|
| /foundation/resourceschedule/background_task_mgr/interfaces/kits/napi/src/ |
| D | bg_continuous_task_napi_module.cpp | 151 bool CheckBackgroundMode(napi_env env, AsyncCallbackInfo *asyncCallbackInfo, bool isThrow) in CheckBackgroundMode() 173 bool StartBackgroundRunningCheckParam(napi_env env, AsyncCallbackInfo *asyncCallbackInfo, bool isTh… in StartBackgroundRunningCheckParam() 220 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in UpdateBackgroundRunningExecuteCB() local 242 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in StartBackgroundRunningExecuteCB() local 265 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in CallbackCompletedCB() local 291 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in PromiseCompletedCB() local 329 const uint32_t argCallback, AsyncCallbackInfo *asyncCallbackInfo, bool isThrow) in StartBackgroundRunningAsync() 366 napi_value UpdateBackgroundRunningPromise(napi_env env, AsyncCallbackInfo *asyncCallbackInfo, bool … in UpdateBackgroundRunningPromise() 392 napi_value StartBackgroundRunningPromise(napi_env env, AsyncCallbackInfo *asyncCallbackInfo, bool i… in StartBackgroundRunningPromise() 428 …i_value GetMode(const napi_env &env, const napi_value &value, AsyncCallbackInfo *asyncCallbackInfo) in GetMode() [all …]
|
| D | get_all_transient_tasks.cpp | 36 AsyncCallbackInfoGetAllTransientTasks *asyncCallbackInfo = in GetAllTransientTasksExecuteCB() local 50 AsyncCallbackInfoGetAllTransientTasks *asyncCallbackInfo = in GetAllTransientTasksPromiseCompletedCB() local 81 …value GetAllTransientTasksPromise(napi_env env, AsyncCallbackInfoGetAllTransientTasks *asyncCallba… in GetAllTransientTasksPromise() 113 AsyncCallbackInfoGetAllTransientTasks *asyncCallbackInfo = in GetAllTransientTasks() local
|
| /foundation/arkui/ace_engine/interfaces/ets/ani/pluginComponent/src/ |
| D | ani_plugin_component.cpp | 51 static bool ParsePushAndRequestParameters(ani_env* env, ACEAsyncJSCallbackInfo* asyncCallbackInfo, in ParsePushAndRequestParameters() 94 static void ParsePushParameters(ani_env* env, ACEAsyncJSCallbackInfo* asyncCallbackInfo, in ParsePushParameters() 126 ACEAsyncJSCallbackInfo* asyncCallbackInfo = AceCreateAsyncJSCallbackInfo(env); in Push() local 131 void AceRequestCompleteAsyncCallbackWork(ani_env* env, ACEAsyncJSCallbackInfo* asyncCallbackInfo) in AceRequestCompleteAsyncCallbackWork() 151 ACEAsyncJSCallbackInfo* asyncCallbackInfo = AceCreateAsyncJSCallbackInfo(env); in Request() local 176 ACEAsyncJSCallbackInfo* asyncCallbackInfo = AceCreateAsyncJSCallbackInfo(env); in On() local
|
| /foundation/bundlemanager/bundle_framework/interfaces/kits/js/bundlemgr/ |
| D | bundle_mgr.cpp | 1157 …AsyncApplicationInfosCallbackInfo *asyncCallbackInfo = new (std::nothrow) AsyncApplicationInfosCal… in GetApplicationInfos() local 1202 AsyncApplicationInfosCallbackInfo* asyncCallbackInfo = in GetApplicationInfos() local 1212 AsyncApplicationInfosCallbackInfo* asyncCallbackInfo = in GetApplicationInfos() local 1457 …AsyncAbilityInfoCallbackInfo *asyncCallbackInfo = new (std::nothrow) AsyncAbilityInfoCallbackInfo(… in QueryAbilityInfos() local 1501 AsyncAbilityInfoCallbackInfo *asyncCallbackInfo = in QueryAbilityInfos() local 1519 AsyncAbilityInfoCallbackInfo *asyncCallbackInfo = in QueryAbilityInfos() local 1624 …AsyncBundleInfosCallbackInfo* asyncCallbackInfo = reinterpret_cast<AsyncBundleInfosCallbackInfo*>(… in GetBundleInfosExec() local 1639 …AsyncBundleInfosCallbackInfo* asyncCallbackInfo = reinterpret_cast<AsyncBundleInfosCallbackInfo*>(… in GetBundleInfosComplete() local 1686 …AsyncBundleInfosCallbackInfo *asyncCallbackInfo = new (std::nothrow) AsyncBundleInfosCallbackInfo(… in GetBundleInfos() local 1735 …AsyncPermissionDefCallbackInfo *asyncCallbackInfo = reinterpret_cast<AsyncPermissionDefCallbackInf… in GetPermissionDefExec() local [all …]
|
| /foundation/arkui/napi/sample/native_module_demo/ |
| D | native_module_demo.cpp | 68 auto asyncCallbackInfo = new AsyncCallbackInfo { in TestPromise() local 78 AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data; in TestPromise() local 93 …id NapiCreateAsyncWork(napi_env env, napi_value resourceName, AsyncCallbackInfo* asyncCallbackInfo) in NapiCreateAsyncWork() 98 AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data; in NapiCreateAsyncWork() local 139 auto asyncCallbackInfo = new AsyncCallbackInfo { in TestPromiseOrAsyncCallback() local 169 AsyncCallbackInfo* asyncCallbackInfo = (AsyncCallbackInfo*)data; in TestPromiseOrAsyncCallback() local
|
| /foundation/resourceschedule/work_scheduler/interfaces/kits/js/napi/src/ |
| D | is_last_work_time_out.cpp | 72 napi_value CreatAndQueueAsyncWork(napi_env env, AsyncCallbackIsLastWorkTimeOut* asyncCallbackInfo) in CreatAndQueueAsyncWork() 79 …AsyncCallbackIsLastWorkTimeOut *asyncCallbackInfo = static_cast<AsyncCallbackIsLastWorkTimeOut *>(… in CreatAndQueueAsyncWork() local 86 …AsyncCallbackIsLastWorkTimeOut *asyncCallbackInfo = static_cast<AsyncCallbackIsLastWorkTimeOut *>(… in CreatAndQueueAsyncWork() local 118 …AsyncCallbackIsLastWorkTimeOut *asyncCallbackInfo = new (std::nothrow) AsyncCallbackIsLastWorkTime… in IsLastWorkTimeOut() local
|
| D | obtain_all_works.cpp | 72 …AsyncCallbackInfoObtainAllWorks *asyncCallbackInfo = new (std::nothrow) AsyncCallbackInfoObtainAll… in ObtainAllWorks() local 86 …AsyncCallbackInfoObtainAllWorks *asyncCallbackInfo = static_cast<AsyncCallbackInfoObtainAllWorks *… in ObtainAllWorks() local 92 …AsyncCallbackInfoObtainAllWorks *asyncCallbackInfo = static_cast<AsyncCallbackInfoObtainAllWorks *… in ObtainAllWorks() local
|
| D | get_work_status.cpp | 85 AsyncCallbackInfoGetWorkStatus *asyncCallbackInfo = in GetWorkStatus() local 102 …AsyncCallbackInfoGetWorkStatus *asyncCallbackInfo = static_cast<AsyncCallbackInfoGetWorkStatus *>(… in GetWorkStatus() local 109 …AsyncCallbackInfoGetWorkStatus *asyncCallbackInfo = static_cast<AsyncCallbackInfoGetWorkStatus *>(… in GetWorkStatus() local
|
| /foundation/ability/ability_runtime/frameworks/js/napi/featureAbility/ |
| D | feature_ability.cpp | 437 AsyncCallbackInfo *asyncCallbackInfo = CreateAsyncCallbackInfo(env); in NAPI_SetResult() local 456 …pi_value SetResultWrap(napi_env env, napi_callback_info info, AsyncCallbackInfo *asyncCallbackInfo) in SetResultWrap() 487 …value CreateAsyncWork(napi_env env, napi_value &resourceName, AsyncCallbackInfo *asyncCallbackInfo) in CreateAsyncWork() 492 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in CreateAsyncWork() local 509 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in CreateAsyncWork() local 542 napi_env env, napi_value *args, const size_t argCallback, AsyncCallbackInfo *asyncCallbackInfo) in SetResultAsync() 561 napi_value SetResultPromise(napi_env env, AsyncCallbackInfo *asyncCallbackInfo) in SetResultPromise() 578 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in SetResultPromise() local 595 AsyncCallbackInfo *asyncCallbackInfo = static_cast<AsyncCallbackInfo *>(data); in SetResultPromise() local 809 …_value GetWantSyncWrap(napi_env env, napi_callback_info info, AsyncCallbackInfo *asyncCallbackInfo) in GetWantSyncWrap() [all …]
|
| /foundation/bundlemanager/bundle_framework/interfaces/kits/js/installer/ |
| D | installer.cpp | 93 AsyncGetBundleInstallerCallbackInfo *asyncCallbackInfo = in GetBundleInstallerCompleted() local 724 … AsyncInstallCallbackInfo *asyncCallbackInfo = reinterpret_cast<AsyncInstallCallbackInfo *>(data); in InstallExecuter() local 792 … AsyncInstallCallbackInfo *asyncCallbackInfo = reinterpret_cast<AsyncInstallCallbackInfo *>(data); in OperationCompleted() local 897 … AsyncInstallCallbackInfo *asyncCallbackInfo = reinterpret_cast<AsyncInstallCallbackInfo *>(data); in UninstallOrRecoverExecuter() local 940 … AsyncInstallCallbackInfo *asyncCallbackInfo = reinterpret_cast<AsyncInstallCallbackInfo *>(data); in UninstallByUninstallParamExecuter() local 1157 … AsyncInstallCallbackInfo *asyncCallbackInfo = reinterpret_cast<AsyncInstallCallbackInfo *>(data); in UninstallAndRecoverExecuter() local 1226 ExtResourceCallbackInfo *asyncCallbackInfo = reinterpret_cast<ExtResourceCallbackInfo *>(data); in AddExtResourceExec() local 1237 ExtResourceCallbackInfo *asyncCallbackInfo = reinterpret_cast<ExtResourceCallbackInfo *>(data); in AddExtResourceComplete() local 1260 ExtResourceCallbackInfo *asyncCallbackInfo = new (std::nothrow) ExtResourceCallbackInfo(env); in AddExtResource() local 1299 ExtResourceCallbackInfo *asyncCallbackInfo = reinterpret_cast<ExtResourceCallbackInfo *>(data); in RemoveExtResourceExec() local [all …]
|
| /foundation/bundlemanager/bundle_framework/interfaces/kits/js/default_app/ |
| D | js_default_app.cpp | 201 DefaultAppCallbackInfo *asyncCallbackInfo = reinterpret_cast<DefaultAppCallbackInfo *>(data); in IsDefaultApplicationExec() local 211 DefaultAppCallbackInfo *asyncCallbackInfo = reinterpret_cast<DefaultAppCallbackInfo *>(data); in IsDefaultApplicationComplete() local 232 DefaultAppCallbackInfo *asyncCallbackInfo = new (std::nothrow) DefaultAppCallbackInfo(env); in IsDefaultApplication() local 348 DefaultAppCallbackInfo *asyncCallbackInfo = reinterpret_cast<DefaultAppCallbackInfo *>(data); in GetDefaultApplicationExec() local 358 DefaultAppCallbackInfo *asyncCallbackInfo = reinterpret_cast<DefaultAppCallbackInfo *>(data); in GetDefaultApplicationComplete() local 380 DefaultAppCallbackInfo *asyncCallbackInfo = new (std::nothrow) DefaultAppCallbackInfo(env); in GetDefaultApplication() local 511 DefaultAppCallbackInfo *asyncCallbackInfo = reinterpret_cast<DefaultAppCallbackInfo *>(data); in SetDefaultApplicationExec() local 521 DefaultAppCallbackInfo *asyncCallbackInfo = reinterpret_cast<DefaultAppCallbackInfo *>(data); in SetDefaultApplicationComplete() local 541 DefaultAppCallbackInfo *asyncCallbackInfo = new (std::nothrow) DefaultAppCallbackInfo(env); in SetDefaultApplication() local 684 DefaultAppCallbackInfo *asyncCallbackInfo = reinterpret_cast<DefaultAppCallbackInfo *>(data); in ResetDefaultApplicationExec() local [all …]
|
| /foundation/ability/form_fwk/frameworks/js/napi/formProvider/ |
| D | napi_form_provider.cpp | 50 napi_value ExecuteAsyncCallbackWork(napi_env env, AsyncCallbackInfoBase* asyncCallbackInfo) in ExecuteAsyncCallbackWork() 71 void ExecuteAsyncPromiseWork(napi_env env, AsyncCallbackInfoBase* asyncCallbackInfo) in ExecuteAsyncPromiseWork() 118 …ic void InnerRequestPublishForm(napi_env env, AsyncRequestPublishFormCallbackInfo *const asyncCall… in InnerRequestPublishForm() 138 AsyncRequestPublishFormCallbackInfo *asyncCallbackInfo) in RequestPublishFormParse() 163 …c void FormCallbackCreateAsyncWork(napi_env env, AsyncRequestPublishFormCallbackInfo *asyncCallbac… in FormCallbackCreateAsyncWork() 173 auto *asyncCallbackInfo = (AsyncRequestPublishFormCallbackInfo *) data; in FormCallbackCreateAsyncWork() local 178 auto *asyncCallbackInfo = (AsyncRequestPublishFormCallbackInfo *) data; in FormCallbackCreateAsyncWork() local 240 …ic void FormPromiseCreateAsyncWork(napi_env env, AsyncRequestPublishFormCallbackInfo *asyncCallbac… in FormPromiseCreateAsyncWork() 250 auto *asyncCallbackInfo = (AsyncRequestPublishFormCallbackInfo *) data; in FormPromiseCreateAsyncWork() local 257 auto *asyncCallbackInfo = (AsyncRequestPublishFormCallbackInfo *) data; in FormPromiseCreateAsyncWork() local
|
| /foundation/resourceschedule/device_standby/interfaces/kits/napi/src/ |
| D | standby_napi_module.cpp | 77 AsyncCallbackInfoIsDeviceInStandby *asyncCallbackInfo = in AddInStandbyExecuteCB() local 88 AsyncCallbackInfoIsDeviceInStandby *asyncCallbackInfo = in AddInStandbyCallbackCompleteCB() local 106 AsyncCallbackInfoIsDeviceInStandby *asyncCallbackInfo = in IsDeviceInStandby() local 141 AsyncCallbackInfoGetAllowList *asyncCallbackInfo = in AddGetAllowListExecuteCB() local 151 AsyncCallbackInfoGetAllowList *asyncCallbackInfo = in AddGetAllowListCallbackCompleteCB() local 217 AsyncCallbackInfoGetAllowList *asyncCallbackInfo = in GetExemptionListApps() local
|
| /foundation/bundlemanager/bundle_framework/interfaces/kits/js/free_install/ |
| D | free_install.cpp | 61 …HapModuleRemovableCallbackInfo *asyncCallbackInfo = reinterpret_cast<HapModuleRemovableCallbackInf… in IsHapModuleRemovableExec() local 72 …HapModuleRemovableCallbackInfo *asyncCallbackInfo = reinterpret_cast<HapModuleRemovableCallbackInf… in IsHapModuleRemovableComplete() local 99 …HapModuleRemovableCallbackInfo *asyncCallbackInfo = new (std::nothrow) HapModuleRemovableCallbackI… in IsHapModuleRemovable() local 152 SetHapModuleUpgradeFlagCallbackInfo *asyncCallbackInfo = in SetHapModuleUpgradeFlagExec() local 164 SetHapModuleUpgradeFlagCallbackInfo *asyncCallbackInfo = in SetHapModuleUpgradeFlagComplete() local 190 SetHapModuleUpgradeFlagCallbackInfo *asyncCallbackInfo = in SetHapModuleUpgradeFlag() local 555 GetBundlePackInfoCallbackInfo *asyncCallbackInfo = in GetBundlePackInfoExec() local 567 …GetBundlePackInfoCallbackInfo *asyncCallbackInfo = reinterpret_cast<GetBundlePackInfoCallbackInfo*… in GetBundlePackInfoComplete() local 594 …GetBundlePackInfoCallbackInfo *asyncCallbackInfo = new (std::nothrow) GetBundlePackInfoCallbackInf… in GetBundlePackInfo() local 669 GetDispatchInfoCallbackInfo *asyncCallbackInfo = in GetDispatchInfoExec() local [all …]
|