| /foundation/multimedia/player_framework/frameworks/js/soundpool/src/ |
| D | soundpool_napi.cpp | 149 std::unique_ptr<SoundPoolAsyncContext> asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsCreateSoundPool() local 176 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 291 SoundPoolAsyncContext* asyncCtx = reinterpret_cast<SoundPoolAsyncContext *>(data); in JsStop() local 322 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsSetLoop() local 341 SoundPoolAsyncContext* asyncCtx = reinterpret_cast<SoundPoolAsyncContext *>(data); in JsSetLoop() local 371 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); in JsSetPriority() local [all …]
|
| /foundation/multimedia/player_framework/frameworks/js/recorder/ |
| D | recorder_capability_napi.cpp | 31 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
|
| D | video_recorder_napi.cpp | 51 static void SignError(VideoRecorderAsyncContext *asyncCtx, int32_t code, in SignError() 165 …std::unique_ptr<VideoRecorderAsyncContext> asyncCtx = std::make_unique<VideoRecorderAsyncContext>(… in CreateVideoRecorder() local 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 [all …]
|
| D | audio_recorder_napi.cpp | 188 auto asyncCtx = std::make_unique<MediaAsyncContext>(env); in CreateAudioRecorderAsync() local 227 auto asyncCtx = std::make_unique<MediaAsyncContext>(env); in Prepare() local
|
| /foundation/multimedia/player_framework/frameworks/js/avrecorder/ |
| D | avrecorder_napi.cpp | 189 … std::unique_ptr<AVRecorderAsyncContext> asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); in JsCreateAVRecorder() local 244 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); in JsPrepare() local 265 AVRecorderAsyncContext* asyncCtx = reinterpret_cast<AVRecorderAsyncContext *>(data); in JsPrepare() local 296 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); in JsSetOrientationHint() local 317 AVRecorderAsyncContext* asyncCtx = reinterpret_cast<AVRecorderAsyncContext *>(data); in JsSetOrientationHint() local 348 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); in JsSetWatermark() local 368 AVRecorderAsyncContext* asyncCtx = reinterpret_cast<AVRecorderAsyncContext *>(data); in JsSetWatermark() local 386 …askHandler<RetInfo>> AVRecorderNapi::GetPrepareTask(std::unique_ptr<AVRecorderAsyncContext> &async… in GetPrepareTask() 413 const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) in GetSetOrientationHintTask() 450 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); in JsGetInputMetaSurface() local [all …]
|
| /foundation/multimedia/player_framework/frameworks/js/avscreen_capture/ |
| D | avscreen_capture_napi.cpp | 156 …std::unique_ptr<AVScreenCaptureAsyncContext> asyncCtx = std::make_unique<AVScreenCaptureAsyncConte… in JsCreateAVScreenRecorder() local 207 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 303 … AVScreenCaptureAsyncContext* asyncCtx = reinterpret_cast<AVScreenCaptureAsyncContext *>(data); in JsInit() local 364 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); in JsSkipPrivacyMode() local 380 … AVScreenCaptureAsyncContext* asyncCtx = reinterpret_cast<AVScreenCaptureAsyncContext *>(data); in JsSkipPrivacyMode() local 409 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); in JsSetMicrophoneEnabled() local 436 … AVScreenCaptureAsyncContext* asyncCtx = reinterpret_cast<AVScreenCaptureAsyncContext *>(data); in JsSetMicrophoneEnabled() local 530 const std::unique_ptr<AVScreenCaptureAsyncContext> &asyncCtx) in GetInitTask() [all …]
|
| /foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/ |
| D | js_drag_controller.cpp | 123 DragAction(DragControllerAsyncCtx* asyncCtx) : asyncCtx_(asyncCtx) {} in DragAction() 380 bool IsExecutingWithDragAction(DragControllerAsyncCtx* asyncCtx) in IsExecutingWithDragAction() 398 double ConvertToPx(DragControllerAsyncCtx* asyncCtx, const Dimension& dimension, double size) in ConvertToPx() 459 void CallBackForJs(DragControllerAsyncCtx* asyncCtx, napi_value result) in CallBackForJs() 490 void GetCallBackDataForJs(DragControllerAsyncCtx* asyncCtx, const DragNotifyMsg& dragNotifyMsg, in GetCallBackDataForJs() 544 void SetMouseDragMonitorState(DragControllerAsyncCtx *asyncCtx, bool state) in SetMouseDragMonitorState() 558 void HandleExecuteDrag(napi_env env, DragControllerAsyncCtx *asyncCtx) in HandleExecuteDrag() 570 void HandleSuccess(DragControllerAsyncCtx* asyncCtx, const DragNotifyMsg& dragNotifyMsg, in HandleSuccess() 602 void HandleFail(DragControllerAsyncCtx* asyncCtx, int32_t errorCode, const std::string& errMsg = "") in HandleFail() 629 void HandleDragEnd(DragControllerAsyncCtx* asyncCtx, const DragNotifyMsg& dragNotifyMsg) in HandleDragEnd() [all …]
|
| /foundation/multimedia/player_framework/frameworks/js/avtranscoder/ |
| D | avtranscoder_napi.cpp | 192 …std::unique_ptr<AVTransCoderAsyncContext> asyncCtx = std::make_unique<AVTransCoderAsyncContext>(en… in JsCreateAVTransCoder() local 240 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsPrepare() local 261 AVTransCoderAsyncContext* asyncCtx = reinterpret_cast<AVTransCoderAsyncContext *>(data); in JsPrepare() local 280 std::unique_ptr<AVTransCoderAsyncContext> &asyncCtx) in GetPrepareTask() 446 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in ExecuteByPromise() local 466 AVTransCoderAsyncContext* asyncCtx = reinterpret_cast<AVTransCoderAsyncContext *>(data); 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 535 AVTransCoderAsyncContext* asyncCtx = reinterpret_cast<AVTransCoderAsyncContext *>(data); in JsSetSrcFd() local 562 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); in JsGetSrcFd() local [all …]
|
| /foundation/multimedia/player_framework/frameworks/js/metadatahelper/ |
| D | avimagegenerator_napi.cpp | 164 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
|
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
| D | js_xcomponent_controller.cpp | 58 void HandleDeferred(const shared_ptr<XComponentAsyncCxt>& asyncCtx, ImageAnalyzerState state) in HandleDeferred() 252 auto asyncCtx = std::make_shared<XComponentAsyncCxt>(); in StartImageAnalyzer() local
|
| /foundation/arkui/ace_engine/interfaces/napi/kits/component_snapshot/ |
| D | js_component_snapshot.cpp | 48 void OnComplete(SnapshotAsyncCtx* asyncCtx, std::function<void()> finishCallback) in OnComplete() 145 auto* asyncCtx = new SnapshotAsyncCtx; in CreateCallback() local
|
| /foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/canvas/ |
| D | js_rendering_context.cpp | 344 void HandleDeferred(const shared_ptr<CanvasAsyncCxt>& asyncCtx, ImageAnalyzerState state) in HandleDeferred() 399 auto asyncCtx = std::make_shared<CanvasAsyncCxt>(); in JsStartImageAnalyzer() local
|
| /foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/picker/ |
| D | camera_picker_napi.cpp | 336 … std::unique_ptr<CameraPickerAsyncContext> asyncCtx = std::make_unique<CameraPickerAsyncContext>(); in Pick() local
|