/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 75 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); IsAudioRecorderConfigSupported() local 126 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); GetVideoRecorderCaps() local 169 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); GetVideoRecorderProfile() local 223 auto asyncCtx = std::make_unique<RecorderCapabilityAsyncContext>(env); HasVideoRecorderProfile() local [all...] |
H A D | video_recorder_napi.cpp | 51 static void SignError(VideoRecorderAsyncContext *asyncCtx, int32_t code, in SignError() argument 165 std::unique_ptr<VideoRecorderAsyncContext> asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); in CreateVideoRecorder() local 194 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); Prepare() local 262 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); GetInputSurface() local 319 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); Start() local 369 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); Pause() local 417 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); Resume() local 467 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); Stop() local 515 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); Reset() local 570 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); Release() local 624 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); On() local 808 auto asyncCtx = std::make_unique<VideoRecorderAsyncContext>(env); GetState() 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); Prepare() local [all...] |
/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() argument 251 auto asyncCtx = std::make_shared<XComponentAsyncCxt>(); in StartImageAnalyzer() local [all...] |
/foundation/arkui/ace_engine/interfaces/napi/kits/component_snapshot/ |
H A D | js_component_snapshot.cpp | 41 void OnComplete(SnapshotAsyncCtx* asyncCtx, std::function<void()> finishCallback) in OnComplete() argument 138 auto* asyncCtx = new SnapshotAsyncCtx; in CreateCallback() local [all...] |
/foundation/multimedia/player_framework/frameworks/js/avrecorder/ |
H A 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); JsPrepare() local 296 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); JsSetOrientationHint() local 348 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); JsSetWatermark() local 386 GetPrepareTask(std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) GetPrepareTask() argument 412 GetSetOrientationHintTask( const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) GetSetOrientationHintTask() argument 450 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); JsGetInputMetaSurface() local 553 auto asyncCtx = std::make_unique<AVRecorderAsyncContext>(env); JsGetAVRecorderProfile() local 589 GetAVRecorderProfileTask( const std::unique_ptr<AVRecorderAsyncContext> &asyncCtx) GetAVRecorderProfileTask() argument [all...] |
/foundation/multimedia/player_framework/frameworks/js/metadatahelper/ |
H A D | avimagegenerator_napi.cpp | 162 int32_t AVImageGeneratorNapi::GetFetchFrameArgs(std::unique_ptr<AVImageGeneratorAsyncContext> &asyncCtx, napi_env env, in GetFetchFrameArgs() argument 217 auto asyncCtx in JsFetchFrameAtTime() local [all...] |
/foundation/multimedia/player_framework/frameworks/js/soundpool/src/ |
H A 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); JsLoad() local 228 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); JsPlay() local 275 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); JsStop() local 322 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); JsSetLoop() local 371 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); JsSetPriority() local 422 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); JsSetRate() local 464 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); JsSetVolume() local 507 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); JsUnload() local 556 auto asyncCtx = std::make_unique<SoundPoolAsyncContext>(env); JsRelease() local 695 ParserLoadOptionFromJs(std::unique_ptr<SoundPoolAsyncContext> &asyncCtx, napi_env env, napi_value *argv, size_t argCount) ParserLoadOptionFromJs() argument 738 ParserPlayOptionFromJs(std::unique_ptr<SoundPoolAsyncContext> &asyncCtx, napi_env env, napi_value *argv, size_t argCount) ParserPlayOptionFromJs() argument 775 ParserRateOptionFromJs(std::unique_ptr<SoundPoolAsyncContext> &asyncCtx, napi_env env, napi_value *argv) ParserRateOptionFromJs() argument 792 ParserVolumeOptionFromJs(std::unique_ptr<SoundPoolAsyncContext> &asyncCtx, napi_env env, napi_value *argv) ParserVolumeOptionFromJs() argument [all...] |
/foundation/multimedia/player_framework/frameworks/js/avscreen_capture/ |
H A D | avscreen_capture_napi.cpp | 156 std::unique_ptr<AVScreenCaptureAsyncContext> asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); in JsCreateAVScreenRecorder() local 207 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); JsReportAVScreenCaptureUserChoice() local 261 AVScreenCaptureAsyncContext* asyncCtx = reinterpret_cast<AVScreenCaptureAsyncContext *>(data); AsyncJsReportAVScreenCaptureUserChoice() local 286 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); JsInit() local 364 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); JsSkipPrivacyMode() local 409 auto asyncCtx = std::make_unique<AVScreenCaptureAsyncContext>(env); JsSetMicrophoneEnabled() local 529 GetInitTask( const std::unique_ptr<AVScreenCaptureAsyncContext> &asyncCtx) GetInitTask() argument 547 GetSkipPrivacyModeTask( const std::unique_ptr<AVScreenCaptureAsyncContext> &asyncCtx, const std::vector<uint64_t> windowIDsVec) GetSkipPrivacyModeTask() argument 562 GetSetMicrophoneEnableTask( const std::unique_ptr<AVScreenCaptureAsyncContext> &asyncCtx, const bool enable) GetSetMicrophoneEnableTask() argument [all...] |
/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() argument 399 auto asyncCtx = std::make_shared<CanvasAsyncCxt>(); in JsStartImageAnalyzer() local [all...] |
/foundation/multimedia/camera_framework/frameworks/js/camera_napi/src/picker/ |
H A D | camera_picker_napi.cpp | 330 std::unique_ptr<CameraPickerAsyncContext> asyncCtx = std::make_unique<CameraPickerAsyncContext>(); in Pick() local [all...] |
/foundation/multimedia/player_framework/frameworks/js/avtranscoder/ |
H A D | avtranscoder_napi.cpp | 192 std::unique_ptr<AVTransCoderAsyncContext> asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env);
in JsCreateAVTransCoder() local 240 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); JsPrepare() local 279 GetPrepareTask( std::unique_ptr<AVTransCoderAsyncContext> &asyncCtx) GetPrepareTask() argument 446 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); ExecuteByPromise() local 493 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); JsGetSrcUrl() local 515 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); JsSetSrcFd() local 562 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); JsGetSrcFd() local 584 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); JsSetDstFd() local 628 auto asyncCtx = std::make_unique<AVTransCoderAsyncContext>(env); JsGetDstFd() local 819 GetAudioConfig(std::unique_ptr<AVTransCoderAsyncContext> &asyncCtx, napi_env env, napi_value args) GetAudioConfig() argument 846 GetVideoConfig(std::unique_ptr<AVTransCoderAsyncContext> &asyncCtx, napi_env env, napi_value args) GetVideoConfig() argument 875 GetConfig(std::unique_ptr<AVTransCoderAsyncContext> &asyncCtx, napi_env env, napi_value args) GetConfig() argument [all...] |
/foundation/arkui/ace_engine/interfaces/napi/kits/drag_controller/ |
H A D | js_drag_controller.cpp | 128 DragAction(std::shared_ptr<DragControllerAsyncCtx> asyncCtx) argument 387 IsExecutingWithDragAction(std::shared_ptr<DragControllerAsyncCtx> asyncCtx) IsExecutingWithDragAction() argument 405 ConvertToPx(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, const Dimension& dimension, double size) ConvertToPx() argument 466 CallBackForJs(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, napi_value result) CallBackForJs() argument 497 GetCallBackDataForJs(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, const DragNotifyMsg& dragNotifyMsg, const DragStatus dragStatus) GetCallBackDataForJs() argument 552 SetMouseDragMonitorState(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, bool state) SetMouseDragMonitorState() argument 566 HandleExecuteDrag(napi_env env, std::shared_ptr<DragControllerAsyncCtx> asyncCtx) HandleExecuteDrag() argument 578 HandleSuccess(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, const DragNotifyMsg& dragNotifyMsg, const DragStatus dragStatus) HandleSuccess() argument 609 HandleFail(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, int32_t errorCode, const std::string& errMsg = �) HandleFail() argument 635 HandleDragEnd(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, const DragNotifyMsg& dragNotifyMsg) HandleDragEnd() argument 654 HandleOnDragStart(std::shared_ptr<DragControllerAsyncCtx> asyncCtx) HandleOnDragStart() argument 672 GetShadowInfoArray(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, std::vector<Msdp::DeviceStatus::ShadowInfo>& shadowInfos) GetShadowInfoArray() argument 721 EnvelopedDragData(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, std::optional<Msdp::DeviceStatus::DragData>& dragData) EnvelopedDragData() argument 772 StartDragService(std::shared_ptr<DragControllerAsyncCtx> asyncCtx) StartDragService() argument 820 OnMultipleComplete(std::shared_ptr<DragControllerAsyncCtx> asyncCtx) OnMultipleComplete() argument 853 OnComplete(std::shared_ptr<DragControllerAsyncCtx> asyncCtx) OnComplete() argument 903 ExecuteHandleOnDragStart(std::shared_ptr<DragControllerAsyncCtx> asyncCtx) ExecuteHandleOnDragStart() argument 919 GetParams(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, int32_t& dataSize, std::string& udKey, std::map<std::string, int64_t>& summary) GetParams() argument 948 TryToStartDrag(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, int32_t& result) TryToStartDrag() argument 990 ParseTouchPoint(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, napi_valuetype& valueType) ParseTouchPoint() argument 1015 ParseDragItemInfoParam(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, std::string& errMsg) ParseDragItemInfoParam() argument 1061 GetPixelMapByCustom(std::shared_ptr<DragControllerAsyncCtx> asyncCtx) GetPixelMapByCustom() argument 1099 GetPixelMapArrayByCustom(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, napi_value customBuilder, int arrayLength) GetPixelMapArrayByCustom() argument 1142 ParseExtraInfo(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, std::string& errMsg, napi_value element) ParseExtraInfo() argument 1157 ParsePixelMapAndBuilder(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, std::string& errMsg, napi_value element) ParsePixelMapAndBuilder() argument 1187 ParseDragItemListInfoParam(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, std::string& errMsg) ParseDragItemListInfoParam() argument 1228 ParseDragParam(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, std::string& errMsg) ParseDragParam() argument 1253 ApplyPreviewOptionsFromModifier( std::shared_ptr<DragControllerAsyncCtx> asyncCtx, napi_value modifierObj, NG::DragPreviewOption& option) ApplyPreviewOptionsFromModifier() argument 1300 GetNamedPropertyModifier( std::shared_ptr<DragControllerAsyncCtx> asyncCtx, napi_value previewOptionsNApi, std::string& errMsg) GetNamedPropertyModifier() argument 1312 SetDragPreviewOptionMode(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, napi_value& modeNApi, std::string& errMsg, bool& isAuto) SetDragPreviewOptionMode() argument 1349 ParseDragPreviewMode(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, napi_value& previewOptionsNApi, std::string& errMsg) ParseDragPreviewMode() argument 1379 GetCurrentDipScale(std::shared_ptr<DragControllerAsyncCtx> asyncCtx) GetCurrentDipScale() argument 1388 ParsePreviewOptions( std::shared_ptr<DragControllerAsyncCtx> asyncCtx, napi_valuetype& valueType, std::string& errMsg) ParsePreviewOptions() argument 1440 ParseDragInfoParam(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, std::string& errMsg) ParseDragInfoParam() argument 1492 CheckAndParseParams(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, std::string& errMsg) CheckAndParseParams() argument 1510 CreateCallback(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, napi_value* result) CreateCallback() argument 1525 InitializeDragControllerCtx(napi_env env, napi_callback_info info, std::shared_ptr<DragControllerAsyncCtx> asyncCtx) InitializeDragControllerCtx() argument 1537 getParameterType(std::shared_ptr<DragControllerAsyncCtx> asyncCtx) getParameterType() argument 1556 HandleStopDragCallback(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, const RefPtr<Container>& container) HandleStopDragCallback() argument 1588 ConfirmCurPointerEventInfo(std::shared_ptr<DragControllerAsyncCtx> asyncCtx, const RefPtr<Container>& container) ConfirmCurPointerEventInfo() argument [all...] |