Home
last modified time | relevance | path

Searched defs:asyncCtx (Results 1 – 14 of 14) sorted by relevance

/ohos5.0/foundation/multimedia/player_framework/frameworks/js/recorder/
H A Drecorder_capability_napi.cpp31 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); in GetAudioRecorderCaps() local
51 auto asyncCtx = reinterpret_cast<RecorderCapabilityAsyncContext *>(data); in GetAudioRecorderCaps() local
75 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); in IsAudioRecorderConfigSupported() local
101 auto asyncCtx = reinterpret_cast<RecorderCapabilityAsyncContext *>(data); in IsAudioRecorderConfigSupported() local
126 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); in GetVideoRecorderCaps() local
145 auto asyncCtx = reinterpret_cast<RecorderCapabilityAsyncContext *>(data); in GetVideoRecorderCaps() local
169 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); in GetVideoRecorderProfile() local
198 auto asyncCtx = reinterpret_cast<RecorderCapabilityAsyncContext *>(data); in GetVideoRecorderProfile() local
223 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); in HasVideoRecorderProfile() local
252 auto asyncCtx = reinterpret_cast<RecorderCapabilityAsyncContext *>(data); in HasVideoRecorderProfile() local
H A Dvideo_recorder_napi.cpp51 static void SignError(VideoRecorderAsyncContext *asyncCtx, int32_t code, in SignError()
194 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Prepare() local
262 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in GetInputSurface() local
319 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Start() local
369 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Pause() local
417 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Resume() local
467 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Stop() local
515 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Reset() local
570 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in Release() local
624 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in On() local
[all …]
H A Daudio_recorder_napi.cpp188 auto asyncCtx = std::make_unique<MediaAsyncContext>(env); in CreateAudioRecorderAsync() local
227 auto asyncCtx = std::make_unique<MediaAsyncContext>(env); in Prepare() local
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/soundpool/src/
H A Dsoundpool_napi.cpp176 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsLoad() local
192 SoundPoolAsyncContext* asyncCtx = reinterpret_cast<SoundPoolAsyncContext *>(data); in JsLoad() local
228 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsPlay() local
244 SoundPoolAsyncContext* asyncCtx = reinterpret_cast<SoundPoolAsyncContext *>(data); in JsPlay() local
275 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsStop() local
322 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsSetLoop() local
371 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsSetPriority() local
422 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsSetRate() local
464 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsSetVolume() local
507 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsUnload() local
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avrecorder/
H A Davrecorder_napi.cpp244 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); in JsPrepare() local
413 const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) in GetSetOrientationHintTask()
590 const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) in GetAVRecorderProfileTask()
621 std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) in SetAVRecorderConfigTask()
1157 const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) in GetAVRecorderConfigTask()
1183 const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) in GetCurrentCapturerChangeInfoTask()
1208 const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) in GetMaxAmplitudeTask()
1233 const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) in GetEncoderInfoTask()
1258 const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) in IsWatermarkSupportedTask()
1284 const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) in SetWatermarkTask()
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/
H A Davscreen_capture_napi.cpp207 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); in JsReportAVScreenCaptureUserChoice() local
261 AVScreenCaptureAsyncContext* asyncCtx = reinterpret_cast<AVScreenCaptureAsyncContext *>(data); in AsyncJsReportAVScreenCaptureUserChoice() local
286 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); in JsInit() local
364 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); in JsSkipPrivacyMode() local
409 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); in JsSetMicrophoneEnabled() local
530 const std::unique_ptr<AVScreenCaptureAsyncContext> &asyncCtx) in GetInitTask()
563 const std::unique_ptr<AVScreenCaptureAsyncContext> &asyncCtx, const bool enable) in GetSetMicrophoneEnableTask()
619 int32_t AVScreenCaptureNapi::GetConfig(std::unique_ptr<AVScreenCaptureAsyncContext> &asyncCtx, in GetConfig()
641 int32_t AVScreenCaptureNapi::GetAudioInfo(std::unique_ptr<AVScreenCaptureAsyncContext> &asyncCtx, in GetAudioInfo()
683 int32_t AVScreenCaptureNapi::GetVideoInfo(std::unique_ptr<AVScreenCaptureAsyncContext> &asyncCtx, in GetVideoInfo()
[all …]
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/
H A Djs_drag_controller.cpp126 DragAction(DragControllerAsyncCtx* asyncCtx) : asyncCtx_(asyncCtx) {} in DragAction()
383 bool IsExecutingWithDragAction(DragControllerAsyncCtx* asyncCtx) in IsExecutingWithDragAction()
561 void HandleExecuteDrag(napi_env env, DragControllerAsyncCtx *asyncCtx) in HandleExecuteDrag()
652 void HandleOnDragStart(DragControllerAsyncCtx* asyncCtx) in HandleOnDragStart()
670 void GetShadowInfoArray(DragControllerAsyncCtx* asyncCtx, in GetShadowInfoArray()
770 void StartDragService(DragControllerAsyncCtx* asyncCtx) in StartDragService()
813 void OnMultipleComplete(DragControllerAsyncCtx* asyncCtx) in OnMultipleComplete()
846 void OnComplete(DragControllerAsyncCtx* asyncCtx) in OnComplete()
1027 bool GetPixelMapByCustom(DragControllerAsyncCtx* asyncCtx) in GetPixelMapByCustom()
1343 void GetCurrentDipScale(DragControllerAsyncCtx* asyncCtx) in GetCurrentDipScale()
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/avtranscoder/
H A Davtranscoder_napi.cpp240 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsPrepare() local
280 std::unique_ptr<AVTransCoderAsyncContext> &asyncCtx) in GetPrepareTask()
446 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in ExecuteByPromise() local
493 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsGetSrcUrl() local
515 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsSetSrcFd() local
562 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsGetSrcFd() local
584 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsSetDstFd() local
628 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsGetDstFd() local
820 int32_t AVTransCoderNapi::GetAudioConfig(std::unique_ptr<AVTransCoderAsyncContext> &asyncCtx, in GetAudioConfig()
847 int32_t AVTransCoderNapi::GetVideoConfig(std::unique_ptr<AVTransCoderAsyncContext> &asyncCtx, in GetVideoConfig()
[all …]
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/metadatahelper/
H A Davimagegenerator_napi.cpp164 int32_t AVImageGeneratorNapi::GetFetchFrameArgs(std::unique_ptr<AVImageGeneratorAsyncContext> &asyn… in GetFetchFrameArgs()
211 auto asyncCtx = std::make_unique<AVImageGeneratorAsyncContext>(env); in JsFetchFrameAtTime() local
230 auto asyncCtx = reinterpret_cast<AVImageGeneratorAsyncContext *>(data); in JsFetchFrameAtTime() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/
H A Djs_xcomponent_controller.cpp58 void HandleDeferred(const shared_ptr<XComponentAsyncCxt>& asyncCtx, ImageAnalyzerState state) in HandleDeferred()
252 auto asyncCtx = std::make_shared<XComponentAsyncCxt>(); in StartImageAnalyzer() local
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/component_snapshot/
H A Djs_component_snapshot.cpp48 void OnComplete(SnapshotAsyncCtx* asyncCtx, std::function<void()> finishCallback) in OnComplete()
145 auto* asyncCtx = new SnapshotAsyncCtx; in CreateCallback() local
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/
H A Djs_rendering_context.cpp344 void HandleDeferred(const shared_ptr<CanvasAsyncCxt>& asyncCtx, ImageAnalyzerState state) in HandleDeferred()
399 auto asyncCtx = std::make_shared<CanvasAsyncCxt>(); in JsStartImageAnalyzer() local
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/
H A Dnapi_cert_extension.cpp64 AsyncCtx asyncCtx = static_cast<AsyncCtx>(CfMalloc(sizeof(AsyncContext), 0)); in NewExtsAsyncContext() local
/ohos5.0/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/picker/
H A Dcamera_picker_napi.cpp336 … std::unique_ptr<CameraPickerAsyncContext> asyncCtx = std::make_unique<CameraPickerAsyncContext>(); in Pick() local