/ohos5.0/foundation/multimedia/player_framework/frameworks/js/recorder/ |
H A 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
|
H A D | video_recorder_napi.cpp | 51 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 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
|
/ohos5.0/foundation/multimedia/player_framework/frameworks/js/soundpool/src/ |
H A D | soundpool_napi.cpp | 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 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 D | avrecorder_napi.cpp | 244 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 D | avscreen_capture_napi.cpp | 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 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 D | js_drag_controller.cpp | 126 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 D | avtranscoder_napi.cpp | 240 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 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
|
/ohos5.0/foundation/arkui/ace_engine/frameworks/bridge/declarative_frontend/jsview/ |
H A 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
|
/ohos5.0/foundation/arkui/ace_engine/interfaces/napi/kits/component_snapshot/ |
H A D | js_component_snapshot.cpp | 48 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 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
|
/ohos5.0/base/security/certificate_framework/frameworks/js/napi/certificate/src/ |
H A D | napi_cert_extension.cpp | 64 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 D | camera_picker_napi.cpp | 336 … std::unique_ptr<CameraPickerAsyncContext> asyncCtx = std::make_unique<CameraPickerAsyncContext>(); in Pick() local
|