Home
last modified time | relevance | path

Searched defs:asyncContext (Results 1 – 25 of 95) sorted by relevance

1234

/foundation/arkui/ace_engine/interfaces/napi/kits/component_test/
Djs_component_test_component.cpp121 ComponentTestAsyncCtx* asyncContext = CreateComponentAsyncContext(env, thisVar); in JSTap() local
127 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSTap() local
144 ComponentTestAsyncCtx* asyncContext = CreateComponentAsyncContext(env, thisVar); in JSDoubleTap() local
150 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSDoubleTap() local
176 ComponentTestAsyncCtx* asyncContext = CreateComponentAsyncContext(env, thisVar); in JSPress() local
184 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSPress() local
208 ComponentTestAsyncCtx* asyncContext = CreateComponentAsyncContext(env, thisVar); in JSPinchOut() local
216 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSPinchOut() local
240 ComponentTestAsyncCtx* asyncContext = CreateComponentAsyncContext(env, thisVar); in JSPinchIn() local
248 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSPinchIn() local
[all …]
Djs_component_test_tester.cpp157 ComponentTestAsyncCtx* asyncContext = CreateTesterAsyncContext(env, thisVar); in JSPump() local
186 ComponentTestAsyncCtx* asyncContext = CreateTesterAsyncContext(env, thisVar); in JSFindComponent() local
195 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSFindComponent() local
223 ComponentTestAsyncCtx* asyncContext = CreateTesterAsyncContext(env, thisVar); in JSFindComponents() local
232 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSFindComponents() local
272 ComponentTestAsyncCtx* asyncContext = CreateTesterAsyncContext(env, thisVar); in JSAssertComponentExist() local
281 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSAssertComponentExist() local
291 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSAssertComponentExist() local
312 void PostScrollUntilExist(ComponentTestAsyncCtx* asyncContext) in PostScrollUntilExist()
316 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in PostScrollUntilExist() local
[all …]
Djs_component_test.cpp46 ComponentTestAsyncCtx* asyncContext = new (std::nothrow) ComponentTestAsyncCtx(); in JSLoadComponentTestEntry() local
56 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSLoadComponentTestEntry() local
170 ComponentTestAsyncCtx* asyncContext = new (std::nothrow) ComponentTestAsyncCtx(); in JSDefineTest() local
185 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSDefineTest() local
191 ComponentTestAsyncCtx* asyncContext = reinterpret_cast<ComponentTestAsyncCtx*>(data); in JSDefineTest() local
/foundation/multimodalinput/input/frameworks/napi/pointer/src/
Djs_pointer_manager.cpp56 static bool GetResult(sptr<AsyncContext> asyncContext, napi_value *results, int32_t size) in GetResult()
104 void AsyncCallbackWork(sptr<AsyncContext> asyncContext) in AsyncCallbackWork()
119 sptr<AsyncContext> asyncContext(static_cast<AsyncContext *>(data)); in AsyncCallbackWork() local
158 sptr<AsyncContext> asyncContext = new (std::nothrow) AsyncContext(env); in SetPointerVisible() local
190 sptr<AsyncContext> asyncContext = new (std::nothrow) AsyncContext(env); in IsPointerVisible() local
220 sptr<AsyncContext> asyncContext = new (std::nothrow) AsyncContext(env); in SetPointerColor() local
246 sptr<AsyncContext> asyncContext = new (std::nothrow) AsyncContext(env); in GetPointerColor() local
307 sptr<AsyncContext> asyncContext = new (std::nothrow) AsyncContext(env); in SetPointerSpeed() local
337 sptr<AsyncContext> asyncContext = new (std::nothrow) AsyncContext(env); in GetPointerSpeed() local
367 sptr<AsyncContext> asyncContext = new (std::nothrow) AsyncContext(env); in SetMouseScrollRows() local
[all …]
/foundation/arkui/napi/sample/native_module_storage/
Djs_storage.cpp150 bool GetParameOfGet(napi_env env, size_t argc, napi_value* argv, StorageAsyncContext* asyncContext) in GetParameOfGet()
172 StorageAsyncContext* asyncContext, in JSStorageGetParameterFromArg()
210 void CreateAsyncWorkOfGet(napi_env env, StorageAsyncContext* asyncContext, napi_value resource, nap… in CreateAsyncWorkOfGet()
215 StorageAsyncContext* asyncContext = (StorageAsyncContext*)data; in CreateAsyncWorkOfGet() local
229 StorageAsyncContext* asyncContext = (StorageAsyncContext*)data; in CreateAsyncWorkOfGet() local
260 void CreateAsyncWorkOfSet(napi_env env, StorageAsyncContext* asyncContext, napi_value resource, nap… in CreateAsyncWorkOfSet()
265 StorageAsyncContext* asyncContext = (StorageAsyncContext*)data; in CreateAsyncWorkOfSet() local
275 StorageAsyncContext* asyncContext = (StorageAsyncContext*)data; in CreateAsyncWorkOfSet() local
308 void CreateAsyncWorkOfDelete(napi_env env, StorageAsyncContext* asyncContext, napi_value resource, … in CreateAsyncWorkOfDelete()
313 StorageAsyncContext* asyncContext = (StorageAsyncContext*)data; in CreateAsyncWorkOfDelete() local
[all …]
/foundation/multimodalinput/input/frameworks/napi/short_key/src/
Djs_short_key_manager.cpp50 static bool GetResult(sptr<AsyncContext> asyncContext, napi_value * results, int32_t size) in GetResult()
98 void AsyncCallbackWork(sptr<AsyncContext> asyncContext) in AsyncCallbackWork()
113 sptr<AsyncContext> asyncContext(static_cast<AsyncContext *>(data)); in AsyncCallbackWork() local
163 sptr<AsyncContext> asyncContext = new (std::nothrow) AsyncContext(env); in SetKeyDownDuration() local
/foundation/CastEngine/castengine_wifi_display/frameworks/kitsimpl/js/wfd/
Dwfd_napi_sink.cpp206 auto asyncContext = std::make_unique<WfdSinkAsyncContext>(env); in SetDiscoverable() local
255 auto asyncContext = std::make_unique<WfdSinkAsyncContext>(env); in Start() local
300 auto asyncContext = std::make_unique<WfdSinkAsyncContext>(env); in Stop() local
339 auto asyncContext = reinterpret_cast<WfdSinkAsyncContext *>(data); in AsyncWork() local
375 void HandleSetDiscoverable(WfdSinkAsyncContext *asyncContext) in HandleSetDiscoverable()
399 void HandleStart(WfdSinkAsyncContext *asyncContext) in HandleStart()
418 void HandleStop(WfdSinkAsyncContext *asyncContext) in HandleStop()
440 auto asyncContext = reinterpret_cast<WfdSinkAsyncContext *>(data); in CompleteCallback() local
/foundation/arkui/ui_appearance/interfaces/kits/napi/src/
Djs_ui_appearance.cpp67 AsyncContext* asyncContext = static_cast<AsyncContext*>(data); in OnExecute() local
86 AsyncContext* asyncContext = static_cast<AsyncContext*>(data); in OnSetFontScale() local
111 AsyncContext* asyncContext = static_cast<AsyncContext*>(data); in OnSetFontWeightScale() local
144 AsyncContext* asyncContext = static_cast<AsyncContext*>(data); in OnComplete() local
284 auto asyncContext = new (std::nothrow) AsyncContext(); in JSSetDarkMode() local
385 auto asyncContext = new (std::nothrow) AsyncContext(); in JSSetFontScale() local
458 auto asyncContext = new (std::nothrow) AsyncContext(); in JSSetFontWeightScale() local
/foundation/ai/intelligent_voice_framework/frameworks/js/napi/
Denroll_intell_voice_engine_napi.cpp209 context->complete_ = [](napi_env env, AsyncContext *asyncContext, napi_value &result) { in CreateEnrollIntelligentVoiceEngine()
243 context->complete_ = [](napi_env env, AsyncContext *asyncContext, napi_value &result) { in GetSupportedRegions()
285 context->processWork = [&](AsyncContext *asyncContext) -> int32_t { in Init()
329 context->processWork = [&](AsyncContext *asyncContext) { in EnrollForResult()
371 auto asyncContext = static_cast<AsyncContext *>(data); in Stop() local
415 auto asyncContext = static_cast<SetParameterContext *>(data); in SetParameter() local
458 auto asyncContext = reinterpret_cast<GetParamContext *>(data); in GetParameter() local
463 context->complete_ = [](napi_env env, AsyncContext *asyncContext, napi_value &result) { in GetParameter()
503 auto asyncContext = static_cast<SetSensibilityContext *>(data); in SetSensibility() local
547 auto asyncContext = static_cast<SetWakeupHapContext *>(data); in SetWakeupHapInfo() local
[all …]
Dwakeup_intell_voice_engine_napi.cpp199 context->complete_ = [](napi_env env, AsyncContext *asyncContext, napi_value &result) { in CreateWakeupIntelligentVoiceEngine()
233 context->complete_ = [](napi_env env, AsyncContext *asyncContext, napi_value &result) { in GetSupportedRegions()
272 auto asyncContext = static_cast<SetParameterContext *>(data); in SetParameter() local
314 auto asyncContext = reinterpret_cast<GetParamContext *>(data); in GetParameter() local
319 context->complete_ = [](napi_env env, AsyncContext *asyncContext, napi_value &result) { in GetParameter()
359 auto asyncContext = static_cast<SetSensibilityContext *>(data); in SetSensibility() local
403 auto asyncContext = static_cast<SetWakeupHapContext *>(data); in SetWakeupHapInfo() local
428 auto asyncContext = static_cast<AsyncContext *>(data); in Release() local
635 auto asyncContext = static_cast<StartCapturerContext *>(data); in StartCapturer() local
673 auto asyncContext = static_cast<GetAudioContext *>(data); in Read() local
[all …]
Dwakeup_manager_napi.cpp282 auto asyncContext = reinterpret_cast<GetParamContext *>(data); in GetParameter() local
292 context->complete_ = [](napi_env env, AsyncContext *asyncContext, napi_value &result) { in GetParameter()
341 context->complete_ = [](napi_env env, AsyncContext *asyncContext, napi_value &result) { in GetUploadFiles()
425 context->complete_ = [](napi_env env, AsyncContext *asyncContext, napi_value &result) { in GetWakeupSourceFiles()
470 auto asyncContext = static_cast<UpdateAsyncContext *>(data); in CloneForResultCompleteCallback() local
564 context->processWork = [&](AsyncContext *asyncContext) -> int32_t { in EnrollWithWakeupFilesForResult()
618 auto asyncContext = static_cast<AsyncContext *>(data); in ClearUserData() local
/foundation/arkui/ace_engine/interfaces/napi/kits/promptaction/
Dprompt_action.cpp820 void GetNapiDialogProps(napi_env env, const std::shared_ptr<PromptAsyncContext>& asyncContext, in GetNapiDialogProps()
878 … GetNapiBlurStyleAndHoverModeProps(napi_env env, const std::shared_ptr<PromptAsyncContext>& asyncC… in GetNapiBlurStyleAndHoverModeProps()
904 void GetBackgroundBlurStyleOption(napi_env env, const std::shared_ptr<PromptAsyncContext>& asyncCon… in GetBackgroundBlurStyleOption()
923 …napi_env env, const std::shared_ptr<PromptAsyncContext>& asyncContext, std::optional<EffectOption>… in GetBackgroundEffect()
948 napi_env env, const std::shared_ptr<PromptAsyncContext>& asyncContext) in GetBorderColorProps()
992 napi_env env, const std::shared_ptr<PromptAsyncContext>& asyncContext) in GetBorderWidthProps()
1041 napi_env env, const std::shared_ptr<PromptAsyncContext>& asyncContext) in GetBorderRadiusProps()
1098 napi_env env, const std::shared_ptr<PromptAsyncContext>& asyncContext) in GetBorderStyleProps()
1141 void GetNapiObjectShadow(napi_env env, const std::shared_ptr<PromptAsyncContext>& asyncContext, Sha… in GetNapiObjectShadow()
1183 …d::optional<Shadow> GetShadowProps(napi_env env, const std::shared_ptr<PromptAsyncContext>& asyncC… in GetShadowProps()
[all …]
/foundation/multimedia/player_framework/frameworks/js/player/
Dvideo_player_napi.cpp198 …std::unique_ptr<VideoPlayerAsyncContext> asyncContext = std::make_unique<VideoPlayerAsyncContext>(… in CreateVideoPlayer() local
391 auto asyncContext = reinterpret_cast<VideoPlayerAsyncContext *>(data); in AsyncSetDisplaySurface() local
434 …std::unique_ptr<VideoPlayerAsyncContext> asyncContext = std::make_unique<VideoPlayerAsyncContext>(… in SetDisplaySurface() local
467 auto asyncContext = reinterpret_cast<VideoPlayerAsyncContext *>(data); in ProcessWork() local
507 auto asyncContext = reinterpret_cast<VideoPlayerAsyncContext *>(data); in CompleteAsyncWork() local
550 …std::unique_ptr<VideoPlayerAsyncContext> asyncContext = std::make_unique<VideoPlayerAsyncContext>(… in Prepare() local
583 …std::unique_ptr<VideoPlayerAsyncContext> asyncContext = std::make_unique<VideoPlayerAsyncContext>(… in Play() local
617 …std::unique_ptr<VideoPlayerAsyncContext> asyncContext = std::make_unique<VideoPlayerAsyncContext>(… in Pause() local
650 …std::unique_ptr<VideoPlayerAsyncContext> asyncContext = std::make_unique<VideoPlayerAsyncContext>(… in Stop() local
682 …std::unique_ptr<VideoPlayerAsyncContext> asyncContext = std::make_unique<VideoPlayerAsyncContext>(… in Reset() local
[all …]
/foundation/filemanagement/user_file_service/interfaces/kits/picker/src/
Dpicker_napi_utils.cpp46 napi_async_work work, const JSAsyncContextOutput &asyncContext) in InvokeJSAsyncMethod()
58 …pi_value PickerNapiUtils::NapiCreateAsyncWork(napi_env env, unique_ptr<AsyncContext> &asyncContext, in NapiCreateAsyncWork()
/foundation/multimedia/media_library/frameworks/js/src/
Dmedia_album_change_request_napi.cpp302 auto asyncContext = make_unique<MediaAlbumChangeRequestAsyncContext>(); in JSGetAlbum() local
343 auto asyncContext = make_unique<MediaAlbumChangeRequestAsyncContext>(); in JSCreateAlbumRequest() local
445 auto asyncContext = make_unique<MediaAlbumChangeRequestAsyncContext>(); in JSDeleteAlbums() local
453 auto asyncContext = make_unique<MediaAlbumChangeRequestAsyncContext>(); in JSAddAssets() local
481 auto asyncContext = make_unique<MediaAlbumChangeRequestAsyncContext>(); in JSRemoveAssets() local
514 auto asyncContext = make_unique<MediaAlbumChangeRequestAsyncContext>(); in JSMoveAssets() local
551 auto asyncContext = make_unique<MediaAlbumChangeRequestAsyncContext>(); in JSRecoverAssets() local
585 auto asyncContext = make_unique<MediaAlbumChangeRequestAsyncContext>(); in JSDeleteAssets() local
661 auto asyncContext = make_unique<MediaAlbumChangeRequestAsyncContext>(); in JSSetIsMe() local
701 auto asyncContext = make_unique<MediaAlbumChangeRequestAsyncContext>(); in JSDismissAssets() local
[all …]
Dmedia_assets_change_request_napi.cpp182 auto asyncContext = make_unique<MediaAssetsChangeRequestAsyncContext>(); in JSSetFavorite() local
205 auto asyncContext = make_unique<MediaAssetsChangeRequestAsyncContext>(); in JSSetHidden() local
228 auto asyncContext = make_unique<MediaAssetsChangeRequestAsyncContext>(); in JSSetUserComment() local
252 auto asyncContext = make_unique<MediaAssetsChangeRequestAsyncContext>(); in JSSetIsRecentShow() local
366 auto asyncContext = make_unique<MediaAssetsChangeRequestAsyncContext>(); in ApplyChanges() local
Dfile_asset_napi.cpp1390 FileAssetAsyncContext &asyncContext) in GetJSArgsForCommitModify()
1425 unique_ptr<FileAssetAsyncContext> asyncContext = make_unique<FileAssetAsyncContext>(); in JSCommitModify() local
1505 FileAssetAsyncContext &asyncContext) in GetJSArgsForOpen()
1550 unique_ptr<FileAssetAsyncContext> asyncContext = make_unique<FileAssetAsyncContext>(); in JSOpen() local
1662 FileAssetAsyncContext &asyncContext) in GetJSArgsForClose()
1710 unique_ptr<FileAssetAsyncContext> asyncContext = make_unique<FileAssetAsyncContext>(); in JSClose() local
1923 unique_ptr<FileAssetAsyncContext> &asyncContext) in GetJSArgsForGetThumbnailData()
1944 unique_ptr<FileAssetAsyncContext> &asyncContext) in GetJSArgsForGetThumbnail()
1986 unique_ptr<FileAssetAsyncContext> &asyncContext) in GetJSArgsForGetKeyFrameThumbnail()
2007 unique_ptr<FileAssetAsyncContext> &asyncContext, RequestPhotoType &type) in GetPhotoRequestOption()
[all …]
Dphoto_album_napi.cpp653 auto asyncContext = make_unique<PhotoAlbumNapiAsyncContext>(); in JSCommitModify() local
663 auto asyncContext = make_unique<PhotoAlbumNapiAsyncContext>(); in PhotoAccessHelperCommitModify() local
846 unique_ptr<PhotoAlbumNapiAsyncContext> asyncContext = make_unique<PhotoAlbumNapiAsyncContext>(); in JSPhotoAlbumAddAssets() local
856 unique_ptr<PhotoAlbumNapiAsyncContext> asyncContext = make_unique<PhotoAlbumNapiAsyncContext>(); in PhotoAccessHelperAddAssets() local
951 auto asyncContext = make_unique<PhotoAlbumNapiAsyncContext>(); in JSPhotoAlbumRemoveAssets() local
961 auto asyncContext = make_unique<PhotoAlbumNapiAsyncContext>(); in PhotoAccessHelperRemoveAssets() local
1125 …alue JSPhotoAccessGetPhotoAssetsExecuteSync(napi_env env, PhotoAlbumNapiAsyncContext& asyncContext) in JSPhotoAccessGetPhotoAssetsExecuteSync()
1206 unique_ptr<PhotoAlbumNapiAsyncContext> asyncContext = make_unique<PhotoAlbumNapiAsyncContext>(); in JSGetPhotoAssets() local
1215 unique_ptr<PhotoAlbumNapiAsyncContext> asyncContext = make_unique<PhotoAlbumNapiAsyncContext>(); in JSPhotoAccessGetPhotoAssets() local
1227 unique_ptr<PhotoAlbumNapiAsyncContext> asyncContext = make_unique<PhotoAlbumNapiAsyncContext>(); in JSPhotoAccessGetPhotoAssetsSync() local
[all …]
Dmedia_asset_manager_napi.cpp241 MediaAssetManagerAsyncContext *asyncContext) in InsertDataHandler()
284 …c ProgressHandler* InsertProgressHandler(napi_env env, MediaAssetManagerAsyncContext *asyncContext) in InsertProgressHandler()
542 …seArgGetPhotoAsset(napi_env env, napi_value arg, unique_ptr<MediaAssetManagerAsyncContext> &asyncC… in ParseArgGetPhotoAsset()
676 …iaAssetManagerNapi::RegisterTaskObserver(napi_env env, MediaAssetManagerAsyncContext *asyncContext) in RegisterTaskObserver()
703 unique_ptr<MediaAssetManagerAsyncContext> &asyncContext) in ParseRequestMediaArgs()
753 unique_ptr<MediaAssetManagerAsyncContext> &asyncContext) in ParseEfficentRequestMediaArgs()
840 …unique_ptr<MediaAssetManagerAsyncContext> asyncContext = make_unique<MediaAssetManagerAsyncContext… in JSRequestImageData() local
882 …unique_ptr<MediaAssetManagerAsyncContext> asyncContext = make_unique<MediaAssetManagerAsyncContext… in JSRequestImage() local
924 …unique_ptr<MediaAssetManagerAsyncContext> asyncContext = make_unique<MediaAssetManagerAsyncContext… in JSRequestEfficientIImage() local
964 unique_ptr<MediaAssetManagerAsyncContext> &asyncContext) in CreateOnProgressHandlerInfo()
[all …]
/foundation/multimedia/media_library/frameworks/native/media_library_asset_manager/src/
Dmedia_asset_manager_impl.cpp222 const unique_ptr<RequestSourceAsyncContext> &asyncContext) in InsertDataHandler()
401 …std::unique_ptr<RequestSourceAsyncContext> asyncContext = std::make_unique<RequestSourceAsyncConte… in NativeRequestImage() local
443 …std::unique_ptr<RequestSourceAsyncContext> asyncContext = std::make_unique<RequestSourceAsyncConte… in NativeRequestVideo() local
503 …std::unique_ptr<RequestSourceAsyncContext> asyncContext = std::make_unique<RequestSourceAsyncConte… in NativeRequestImageSource() local
553 …std::unique_ptr<RequestSourceAsyncContext> asyncContext = std::make_unique<RequestSourceAsyncConte… in NativeRequestMovingPhoto() local
622 const std::unique_ptr<RequestSourceAsyncContext> &asyncContext) in OnHandleRequestImage()
663 const std::unique_ptr<RequestSourceAsyncContext> &asyncContext) in OnHandleRequestVideo()
685 const std::unique_ptr<RequestSourceAsyncContext> &asyncContext) in NotifyDataPreparedWithoutRegister()
696 …oid MediaAssetManagerImpl::RegisterTaskObserver(const unique_ptr<RequestSourceAsyncContext> &async… in RegisterTaskObserver()
/foundation/multimedia/media_library/interfaces/kits/cj/src/
Dmedia_asset_manager_ffi.cpp109 RequestOptions &requestOptions, unique_ptr<MediaAssetManagerContext> &asyncContext) in ParseRequestMediaArgs()
188 unique_ptr<MediaAssetManagerContext> &asyncContext) in InsertDataHandler()
219 …ssetManagerImpl::NotifyDataPreparedWithoutRegister(unique_ptr<MediaAssetManagerContext> &asyncCont… in NotifyDataPreparedWithoutRegister()
240 void MediaAssetManagerImpl::RegisterTaskObserver(unique_ptr<MediaAssetManagerContext> &asyncContext) in RegisterTaskObserver()
256 void MediaAssetManagerImpl::OnHandleRequestImage(unique_ptr<MediaAssetManagerContext> &asyncContext) in OnHandleRequestImage()
730 unique_ptr<MediaAssetManagerContext> asyncContext = make_unique<MediaAssetManagerContext>(); in RequestImage() local
780 unique_ptr<MediaAssetManagerContext> asyncContext = make_unique<MediaAssetManagerContext>(); in RequestImageData() local
830 unique_ptr<MediaAssetManagerContext> asyncContext = make_unique<MediaAssetManagerContext>(); in RequestMovingPhoto() local
863 static bool ParseArgGetDestPath(char* fileUri, unique_ptr<MediaAssetManagerContext> &asyncContext) in ParseArgGetDestPath()
884 void MediaAssetManagerImpl::OnHandleRequestVideo(unique_ptr<MediaAssetManagerContext> &asyncContext) in OnHandleRequestVideo()
[all …]
/foundation/communication/connected_nfc_tag/frameworks/js/napi/
Dnfc_napi_utils.cpp158 static napi_value InitAsyncCallBackEnv(const napi_env& env, AsyncContext *asyncContext, in InitAsyncCallBackEnv()
170 static napi_value InitAsyncPromiseEnv(const napi_env& env, AsyncContext *asyncContext, napi_value& … in InitAsyncPromiseEnv()
178 static napi_value DoCallBackAsyncWork(const napi_env& env, AsyncContext *asyncContext) in DoCallBackAsyncWork()
232 static napi_value DoPromiseAsyncWork(const napi_env& env, AsyncContext *asyncContext) in DoPromiseAsyncWork()
267 napi_value DoAsyncWork(const napi_env& env, AsyncContext *asyncContext, in DoAsyncWork()
Dnfc_napi_adapter.cpp55 ReadAsyncContext *asyncContext = new ReadAsyncContext(env); in ReadNdefTag() local
86 WriteAsyncContext *asyncContext = new WriteAsyncContext(env); in WriteNdefTag() local
/foundation/multimedia/player_framework/frameworks/js/system_sound_manager/src/
Dsystem_sound_manager_napi.cpp534 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in SetRingtoneUri() local
606 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in GetRingtoneUri() local
713 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in GetRingtonePlayer() local
777 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in SetSystemToneUri() local
849 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in GetSystemToneUri() local
910 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in GetSystemTonePlayer() local
1041 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in GetDefaultRingtoneAttrs() local
1127 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in GetRingtoneAttrList() local
1218 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in GetDefaultSystemToneAttrs() local
1278 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in GetSystemToneAttrList() local
[all …]
Dsystem_sound_manager_napi_ext.cpp64 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in GetToneHapticsSettings() local
182 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in SetToneHapticsSettings() local
279 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in GetToneHapticsList() local
375 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in GetHapticsAttrsSyncedWithTone() local
474 …std::unique_ptr<SystemSoundManagerAsyncContext> asyncContext = std::make_unique<SystemSoundManager… in OpenToneHaptics() local

1234