/foundation/multimedia/camera_framework/services/deferred_processing_service/src/session/ |
H A D | session_manager.cpp | 74 sptr<IDeferredPhotoProcessingSession> SessionManager::CreateDeferredPhotoProcessingSession(const int32_t userId, in CreateDeferredPhotoProcessingSession() 75 const sptr<IDeferredPhotoProcessingSessionCallback>& callback, std::shared_ptr<DeferredPhotoProcessor> processor, in CreateDeferredPhotoProcessingSession() 88 sptr<SessionInfo> sessionInfo = iter->second; in CreateDeferredPhotoProcessingSession() 93 sptr<SessionInfo> sessionInfo(new SessionInfo(userId, callback, this)); in CreateDeferredPhotoProcessingSession() 106 sptr<IDeferredPhotoProcessingSessionCallback> SessionManager::GetCallback(const int32_t userId) in GetCallback() 111 sptr<SessionInfo> sessionInfo = iter->second; in GetCallback() 117 sptr<IDeferredVideoProcessingSession> SessionManager::CreateDeferredVideoProcessingSession(const int32_t userId, in CreateDeferredVideoProcessingSession() 118 const sptr<IDeferredVideoProcessingSessionCallback>& callback) in CreateDeferredVideoProcessingSession() 126 sessionInfo = sptr<VideoSessionInfo>::MakeSptr(userId, callback); in CreateDeferredVideoProcessingSession() 138 sptr<VideoSessionInf [all...] |
H A D | session_info.cpp | 48 SessionInfo::SessionInfo(const int32_t userId, const sptr<IDeferredPhotoProcessingSessionCallback>& callback, in SessionInfo() 55 callbackDeathRecipient_ = sptr<CallbackDeathRecipient>::MakeSptr(this); in SessionInfo() 66 sptr<IDeferredPhotoProcessingSession> SessionInfo::CreateDeferredPhotoProcessingSession(const int32_t userId, in CreateDeferredPhotoProcessingSession() 68 sptr<IDeferredPhotoProcessingSessionCallback> callback) in CreateDeferredPhotoProcessingSession() 70 session_ = sptr<DeferredPhotoProcessingSession>::MakeSptr(userId, processor, taskManager, callback); in CreateDeferredPhotoProcessingSession() 75 sptr<IDeferredPhotoProcessingSession> SessionInfo::GetDeferredPhotoProcessingSession() in GetDeferredPhotoProcessingSession() 80 sptr<IDeferredPhotoProcessingSessionCallback> SessionInfo::GetRemoteCallback() in GetRemoteCallback() 94 void SessionInfo::SetCallback(const sptr<IDeferredPhotoProcessingSessionCallback>& callback) in SetCallback() 98 sptr<IRemoteObject> object = callback_->AsObject(); in SetCallback()
|
/foundation/window/window_manager/interfaces/kits/napi/picture_in_picture_napi/ |
H A D | js_pip_controller.h | 28 napi_value CreateJsPipControllerObject(napi_env env, sptr<PictureInPictureController>& pipController); 31 explicit JsPipController(const sptr<PictureInPictureController>& pipController); 61 WmErrorCode UnRegisterListener(const std::string& type, const sptr<JsPiPWindowListener>& pipWindowListener); 63 void ProcessStateChangeRegister(const sptr<JsPiPWindowListener>& listener); 64 void ProcessActionEventRegister(const sptr<JsPiPWindowListener>& listener); 65 void ProcessControlEventRegister(const sptr<JsPiPWindowListener>& listener); 66 void ProcessStateChangeUnRegister(const sptr<JsPiPWindowListener>& listener); 67 void ProcessActionEventUnRegister(const sptr<JsPiPWindowListener>& listener); 68 void ProcessControlEventUnRegister(const sptr<JsPiPWindowListener>& listener); 70 sptr<PictureInPictureControlle [all...] |
/foundation/communication/netmanager_ext/services/ethernetmanager/include/ |
H A D | dev_interface_state.h | 44 void SetlinkInfo(sptr<NetLinkInfo> &linkInfo); 45 void SetIfcfg(sptr<InterfaceConfiguration> &ifCfg); 46 void SetLancfg(sptr<InterfaceConfiguration> &ifCfg); 49 void UpdateLinkInfo(const sptr<StaticConfiguration> &config); 54 sptr<NetLinkInfo> GetLinkInfo() const; 55 sptr<InterfaceConfiguration> GetIfcfg() const; 60 void UpdateLanLinkInfo(const sptr<StaticConfiguration> &config); 87 sptr<NetLinkInfo> linkInfo_ = nullptr; 88 sptr<NetSupplierInfo> netSupplierInfo_ = nullptr; 89 sptr<InterfaceConfiguratio [all...] |
/foundation/filemanagement/file_api/interfaces/kits/cj/src/ |
H A D | file_fs_impl.h | 61 static std::tuple<int32_t, sptr<StatImpl>> Stat(int32_t file); 62 static std::tuple<int32_t, sptr<StatImpl>> Stat(std::string file); 63 static std::tuple<int32_t, sptr<StreamImpl>> CreateStream(std::string path, std::string mode); 64 static std::tuple<int32_t, sptr<StreamImpl>> FdopenStream(int32_t, std::string mode); 65 static std::tuple<int32_t, sptr<StatImpl>> Lstat(std::string path); 66 static std::tuple<int32_t, sptr<RandomAccessFileImpl>> CreateRandomAccessFileSync(std::string file, 68 static std::tuple<int32_t, sptr<RandomAccessFileImpl>> CreateRandomAccessFileSync(sptr<FileEntity> entity, 83 static int Close(sptr<OHOS::CJSystemapi::FileFs::FileEntity> file); 84 static std::tuple<int32_t, sptr<ReadIteratorImp [all...] |
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_layer.h | 46 void MergeWithFramebufferFence(const sptr<SyncFence> &fbAcquireFence); 47 void MergeWithLayerFence(const sptr<SyncFence> &layerReleaseFence); 62 void SetReleaseFence(const sptr<SyncFence> &layerReleaseFence); 63 sptr<SyncFence> GetReleaseFence() const; 77 sptr<SurfaceBuffer> sbuffer_ = nullptr; 78 sptr<SyncFence> releaseFence_ = SyncFence::InvalidFence(); 88 sptr<LayerBufferInfo> currBufferInfo_ = nullptr; 89 sptr<SurfaceBuffer> prevSbuffer_ = nullptr; 118 sptr<SyncFence> Merge(const sptr<SyncFenc [all...] |
/foundation/window/window_manager/window_scene/session/host/include/ |
H A D | keyboard_session.h | 25 using OnGetSceneSessionCallback = std::function<sptr<SceneSession>(uint32_t callingSessionId)>; 37 KeyboardSession(const SessionInfo& info, const sptr<SpecificSessionCallback>& specificCallback, 38 const sptr<KeyboardSessionCallback>& keyboardCallback); 41 WSError Show(sptr<WindowSessionProperty> property) override; 47 void BindKeyboardPanelSession(sptr<SceneSession> panelSession) override; 48 sptr<SceneSession> GetKeyboardPanelSession() const override; 58 sptr<SceneSession> GetSceneSession(uint32_t persistentId); 64 void NotifyOccupiedAreaChangeInfo(const sptr<SceneSession>& callingSession, const WSRect& rect, 74 bool CheckIfNeedRaiseCallingSession(sptr<SceneSession> callingSession, bool isCallingSessionFloating); 78 void MoveAndResizeKeyboard(const KeyboardLayoutParams& params, const sptr<WindowSessionPropert [all...] |
/foundation/window/window_manager/window_scene/test/mock/ |
H A D | mock_session.h | 27 MOCK_METHOD7(Connect, WSError(const sptr<ISessionStage>& sessionStage, 28 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, 29 SystemSessionConfig& systemConfig, sptr<WindowSessionProperty> property, sptr<IRemoteObject> token, 31 MOCK_METHOD7(CreateAndConnectSpecificSession, WSError(const sptr<ISessionStage>& sessionStage, 32 const sptr<IWindowEventChannel>& eventChannel, const std::shared_ptr<RSSurfaceNode>& surfaceNode, 33 sptr<WindowSessionProperty> property, int32_t& persistentId, sptr<ISession>& session, 34 sptr<IRemoteObject> token)); 37 Foreground, WSError(sptr<WindowSessionPropert [all...] |
/foundation/window/window_manager/wm/test/unittest/ |
H A D | window_impl_listener_test.cpp | 30 sptr<WindowImpl> window_; 43 sptr<WindowOption> option = new WindowOption(); in SetUp() 61 sptr<IWindowLifeCycle> windowLifeCycle = new IWindowLifeCycle(); in HWTEST_F() 67 sptr<IWindowChangeListener> windowChangeListener = new IWindowChangeListener(); in HWTEST_F() 73 sptr<IAvoidAreaChangedListener> avoidAreaChangedListener = new IAvoidAreaChangedListener(); in HWTEST_F() 79 sptr<IWindowDragListener> windowDragListener = new IWindowDragListener(); in HWTEST_F() 85 sptr<IDisplayMoveListener> displayMoveListener = new IDisplayMoveListener(); in HWTEST_F() 91 sptr<IOccupiedAreaChangeListener> occupiedAreaChangeListener = new IOccupiedAreaChangeListener(); in HWTEST_F() 97 sptr<ITouchOutsideListener> touchOutsideListener = new ITouchOutsideListener(); in HWTEST_F() 103 sptr<IScreenshotListene in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/interfaces/inner_api/wantagent/src/ |
H A D | pending_want.cpp | 32 PendingWant::PendingWant(const sptr<AAFwk::IWantSender> &target) in PendingWant() 36 PendingWant::PendingWant(const sptr<AAFwk::IWantSender> &target, const sptr<IRemoteObject> whitelistToken) in PendingWant() 40 WantAgentConstant::OperationType PendingWant::GetType(sptr<AAFwk::IWantSender> target) in GetType() 81 sptr<IWantSender> target = nullptr; in GetAbility() 126 sptr<IWantSender> target = nullptr; in GetAbilities() 166 sptr<IWantSender> target = nullptr; in GetCommonEventAsUser() 227 sptr<IWantSender> target = nullptr; in BuildServicePendingWant() 236 ErrCode PendingWant::Cancel(const sptr<AAFwk::IWantSender> &target) in Cancel() 241 void PendingWant::Send(const sptr<AAFw [all...] |
/foundation/resourceschedule/background_task_mgr/interfaces/test/unittest/bgtask_manager_client_test/ |
H A D | bgtask_client_unit_test.cpp | 441 sptr<ContinuousTaskCallbackInfo> info1 = sptr<ContinuousTaskCallbackInfo>(new ContinuousTaskCallbackInfo()); in HWTEST_F() 442 sptr<ContinuousTaskCallbackInfo> info2 = sptr<ContinuousTaskCallbackInfo>( in HWTEST_F() 447 sptr<ContinuousTaskCallbackInfo> info3 = sptr<ContinuousTaskCallbackInfo>( in HWTEST_F() 465 sptr<ContinuousTaskParam> info1 = sptr<ContinuousTaskParam>(new ContinuousTaskParam()); in HWTEST_F() 466 sptr<ContinuousTaskParam> info2 = sptr<ContinuousTaskPara in HWTEST_F() [all...] |
/foundation/distributedhardware/device_manager/test/unittest/ |
H A D | UTTest_ipc_client_manager.cpp | 94 sptr<IpcRemoteBroker> dmInterface = iface_cast<IpcRemoteBroker>(object); in HWTEST_F() 135 sptr<IpcClientStub> listener = sptr<IpcClientStub>(new IpcClientStub()); in HWTEST_F() 161 sptr<IRemoteObject> remoteObject = nullptr; in HWTEST_F() 187 sptr<IRemoteObject> remoteObject = nullptr; in HWTEST_F() 213 sptr<IRemoteObject> remoteObject = nullptr; in HWTEST_F() 239 sptr<IRemoteObject> remoteObject = nullptr; in HWTEST_F() 289 sptr<IRemoteObject> remoteObject = nullptr; in HWTEST_F() 297 sptr<IpcClientStub> listener = sptr<IpcClientStu in HWTEST_F() [all...] |
/foundation/ability/ability_runtime/test/mock/common/include/ |
H A D | mock_bundle_installer_service.h | 30 bool(const std::string &, const AppExecFwk::InstallParam &, const sptr<AppExecFwk::IStatusReceiver> &)); 33 bool(const std::string &, const AppExecFwk::InstallParam &, const sptr<AppExecFwk::IStatusReceiver> &)); 35 const sptr<AppExecFwk::IStatusReceiver> &)); 37 bool(const std::string &, const AppExecFwk::InstallParam &, const sptr<AppExecFwk::IStatusReceiver> &)); 39 const sptr<AppExecFwk::IStatusReceiver> &)); 40 MOCK_METHOD2(Uninstall, bool(const AppExecFwk::UninstallParam &, const sptr<AppExecFwk::IStatusReceiver> &)); 43 MOCK_METHOD2(CreateStreamInstaller, sptr<AppExecFwk::IBundleStreamInstaller>(const AppExecFwk::InstallParam &, 44 const sptr<AppExecFwk::IStatusReceiver> &)); 47 const sptr<AppExecFwk::IStatusReceiver> &));
|
/foundation/ability/dmsfwk/services/dtbabilitymgr/src/ |
H A D | distributed_ability_manager_client.cpp | 32 sptr<IDistributedAbilityManager> DistributedAbilityManagerClient::GetContinuationMgrService() in GetContinuationMgrService() 39 sptr<IRemoteObject> remoteObj = samgrProxy->GetSystemAbility(CONTINUATION_MANAGER_SA_ID); in GetContinuationMgrService() 51 sptr<IDistributedAbilityManager> continuationMgrProxy = GetContinuationMgrService(); in Register() 62 sptr<IDistributedAbilityManager> continuationMgrProxy = GetContinuationMgrService(); in Unregister() 71 const sptr<DeviceSelectionNotifierStub>& notifier) in RegisterDeviceSelectionCallback() 74 sptr<IDistributedAbilityManager> continuationMgrProxy = GetContinuationMgrService(); in RegisterDeviceSelectionCallback() 85 sptr<IDistributedAbilityManager> continuationMgrProxy = GetContinuationMgrService(); in UnregisterDeviceSelectionCallback() 97 sptr<IDistributedAbilityManager> continuationMgrProxy = GetContinuationMgrService(); in UpdateConnectStatus() 109 sptr<IDistributedAbilityManager> continuationMgrProxy = GetContinuationMgrService(); in StartDeviceManager()
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/native/continuation/distributed/ |
H A D | continuation_handler_stage.h | 56 bool HandleStartContinuation(const sptr<IRemoteObject> &token, const std::string &deviceId) override; 64 void HandleReceiveRemoteScheduler(const sptr<IRemoteObject> &remoteReplica) override; 76 void PassPrimary(const sptr<IRemoteObject> &Primary) override; 123 void SetPrimaryStub(const sptr<IRemoteObject> &Primary); 139 const sptr<IRemoteObject> &token, const std::string &deviceId, uint32_t versionCode); 153 sptr<IReverseContinuationSchedulerReplica> remoteReplicaProxy_ = nullptr; 154 sptr<IReverseContinuationSchedulerPrimary> remotePrimaryProxy_ = nullptr; 155 sptr<IRemoteObject> remotePrimaryStub_ = nullptr; 156 sptr<IRemoteObject::DeathRecipient> schedulerDeathRecipient_ = nullptr;
|
H A D | continuation_handler.h | 46 virtual bool HandleStartContinuation(const sptr<IRemoteObject> &token, const std::string &deviceId) override; 47 virtual void HandleReceiveRemoteScheduler(const sptr<IRemoteObject> &remoteReplica) override; 49 virtual void PassPrimary(const sptr<IRemoteObject> &Primary) override; 57 void SetPrimaryStub(const sptr<IRemoteObject> &Primary); 59 bool HandleStartContinuationWithStack(const sptr<IRemoteObject> &token, 74 sptr<IReverseContinuationSchedulerReplica> remoteReplicaProxy_ = nullptr; 75 sptr<IReverseContinuationSchedulerPrimary> remotePrimaryProxy_ = nullptr; 76 sptr<IRemoteObject> remotePrimaryStub_ = nullptr; 77 sptr<IRemoteObject::DeathRecipient> schedulerDeathRecipient_ = nullptr;
|
/foundation/ability/ability_runtime/interfaces/kits/native/ability/ability_runtime/ |
H A D | local_call_record.h | 35 void SetRemoteObject(const sptr<IRemoteObject> &call); 36 void SetRemoteObject(const sptr<IRemoteObject> &call, sptr<IRemoteObject::DeathRecipient> callRecipient); 41 sptr<IRemoteObject> GetRemoteObject() const; 47 bool IsSameObject(const sptr<IRemoteObject> &remote) const; 50 void SetConnection(const sptr<IRemoteObject> &connect); 51 sptr<IRemoteObject> GetConnection(); 58 sptr<IRemoteObject> remoteObject_ = nullptr; 60 sptr<IRemoteObject::DeathRecipient> callRecipient_ = nullptr;
|
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/ |
H A D | mock_ability_manager_client_for_data_ability_observer.h | 43 // return access proxy class sptr pointer 44 sptr<AAFwk::AbilitySchedulerProxy> GetAbilitySchedulerProxy() in GetAbilitySchedulerProxy() 51 abilitySchedulerProxyInstance1 = sptr<AAFwk::AbilitySchedulerProxy>( in GetAbilitySchedulerProxy() 60 abilitySchedulerProxyInstance2 = sptr<AAFwk::AbilitySchedulerProxy>( in GetAbilitySchedulerProxy() 87 sptr<AAFwk::AbilitySchedulerProxy> abilitySchedulerProxyInstance1; 89 sptr<AAFwk::AbilitySchedulerProxy> abilitySchedulerProxyInstance2; 100 sptr<AAFwk::IAbilityScheduler> AAFwk::AbilityManagerClient::AcquireDataAbility( in AcquireDataAbility() 101 const Uri& uri, bool tryBind, sptr<IRemoteObject> callerToken) in AcquireDataAbility() 107 sptr<IAbilityScheduler> dataAbilityScheduler, sptr<IRemoteObjec in ReleaseDataAbility() [all...] |
/foundation/ability/ability_runtime/test/mock/services_abilitymgr_test/libs/appexecfwk_core/src/appmgr/ |
H A D | app_mgr_client.cpp | 36 void AppMgrClient::GetRunningProcessInfoByToken(const sptr<IRemoteObject>& token, RunningProcessInfo& info) in GetRunningProcessInfoByToken() 41 AppMgrResultCode AppMgrClient::LoadAbility(sptr<IRemoteObject> token, sptr<IRemoteObject> preToken, in LoadAbility() 48 AppMgrResultCode AppMgrClient::TerminateAbility(const sptr<IRemoteObject>& token, bool clearMissionFlag) in TerminateAbility() 53 AppMgrResultCode AppMgrClient::UpdateAbilityState(const sptr<IRemoteObject>& token, const AbilityState state) in UpdateAbilityState() 58 AppMgrResultCode AppMgrClient::RegisterAppStateCallback(const sptr<IAppStateCallback>& callback) in RegisterAppStateCallback() 63 AppMgrResultCode AppMgrClient::KillProcessByAbilityToken(const sptr<IRemoteObject>& token) in KillProcessByAbilityToken() 102 void AppMgrClient::AbilityAttachTimeOut(const sptr<IRemoteObject>& token) in AbilityAttachTimeOut() 105 void AppMgrClient::PrepareTerminate(const sptr<IRemoteObject>& token, bool clearMissionFlag) in PrepareTerminate()
|
/foundation/ability/ability_runtime/services/abilitymgr/include/ |
H A D | lifecycle_deal.h | 42 void SetScheduler(const sptr<IAbilityScheduler> &scheduler); 49 void Inactivate(const Want &want, LifeCycleStateInfo &stateInfo, sptr<SessionInfo> sessionInfo = nullptr); 65 void Terminate(const Want &want, LifeCycleStateInfo &stateInfo, sptr<SessionInfo> sessionInfo = nullptr); 70 void CommandAbilityWindow(const Want &want, const sptr<SessionInfo> &sessionInfo, WindowCommand winCmd); 77 sptr<SessionInfo> sessionInfo = nullptr); 82 sptr<SessionInfo> sessionInfo = nullptr); 87 void UpdateSessionToken(sptr<IRemoteObject> sessionToken); 90 sptr<IAbilityScheduler> GetScheduler(); 91 sptr<IAbilityScheduler> abilityScheduler_; // kit interface used to schedule ability life
|
/foundation/bundlemanager/bundle_framework/services/bundlemgr/include/ |
H A D | bundle_installer_manager.h | 45 const sptr<IStatusReceiver> &statusReceiver); 54 const sptr<IStatusReceiver> &statusReceiver); 63 const sptr<IStatusReceiver> &statusReceiver); 72 const sptr<IStatusReceiver> &statusReceiver); 81 const std::string &bundleName, const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver); 91 const InstallParam &installParam, const sptr<IStatusReceiver> &statusReceiver); 98 void CreateUninstallTask(const UninstallParam &uninstallParam, const sptr<IStatusReceiver> &statusReceive); 101 const sptr<IStatusReceiver> &statusReceiver); 116 std::shared_ptr<BundleInstaller> CreateInstaller(const sptr<IStatusReceiver> &statusReceiver);
|
/foundation/filemanagement/user_file_service/services/native/file_access_service/include/ |
H A D | file_access_service_proxy.h | 27 explicit FileAccessServiceProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IFileAccessServiceBase>(impl) {} in FileAccessServiceProxy() 29 static sptr<FileAccessServiceProxy> GetInstance(); 32 int32_t RegisterNotify(Uri uri, bool notifyForDescendants, const sptr<IFileAccessObserver> &observer, 34 int32_t UnregisterNotify(Uri uri, const sptr<IFileAccessObserver> &observer, 37 sptr<IFileAccessExtBase> &extensionProxy) override; 39 const sptr<AAFwk::IAbilityConnection>& connection) override; 40 int32_t DisConnectFileExtAbility(const sptr<AAFwk::IAbilityConnection>& connection) override; 44 void OnLoadSystemAbilitySuccess(int32_t systemAbilityId, const sptr<IRemoteObject> &remoteObject) override; 71 static inline sptr<FileAccessServiceProxy> serviceProxy_;
|
/foundation/multimedia/image_framework/frameworks/innerkitsimpl/creator/include/ |
H A D | image_creator_context.h | 31 OHOS::sptr<OHOS::SurfaceBuffer> currentCreatorBuffer_; 33 void SetCreatorBufferConsumer(sptr<IConsumerSurface> &consumer) in SetCreatorBufferConsumer() 37 sptr<IConsumerSurface> GetCreatorBufferConsumer() in GetCreatorBufferConsumer() 41 void SetCreatorBufferProducer(sptr<Surface> &producer) in SetCreatorBufferProducer() 45 sptr<Surface> GetCreatorBufferProducer() in GetCreatorBufferProducer() 89 OHOS::sptr<OHOS::SurfaceBuffer> GetCurrentCreatorBuffer() const in GetCurrentCreatorBuffer() 93 void SetCurrentBuffer(OHOS::sptr<OHOS::SurfaceBuffer> currentCreatorBuffer) in SetCurrentBuffer() 98 OHOS::sptr<IConsumerSurface> creatorConsumerSurface_; 99 OHOS::sptr<Surface> creatorProducerSurface_;
|
/foundation/multimedia/camera_framework/services/camera_service/binder/client/include/ |
H A D | hcapture_session_proxy.h | 27 explicit HCaptureSessionProxy(const sptr<IRemoteObject> &impl); 33 int32_t CanAddInput(sptr<ICameraDeviceService> cameraDevice, bool& result) override; 35 int32_t AddInput(sptr<ICameraDeviceService> cameraDevice) override; 37 int32_t AddOutput(StreamType streamType, sptr<IStreamCommon> stream) override; 39 int32_t RemoveInput(sptr<ICameraDeviceService> cameraDevice) override; 41 int32_t RemoveOutput(StreamType streamType, sptr<IStreamCommon> stream) override; 51 int32_t SetCallback(sptr<ICaptureSessionCallback> &callback) override; 68 int32_t CreateMediaLibrary(sptr<CameraPhotoProxy> &photoProxy, 71 int32_t CreateMediaLibrary(std::unique_ptr<Media::Picture> picture, sptr<CameraPhotoProxy> &photoProxy,
|
/foundation/multimedia/camera_framework/services/camera_service/include/moving_photo/ |
H A D | moving_photo_surface_wrapper.h | 33 virtual void OnBufferArrival(sptr<SurfaceBuffer> buffer, int64_t timestamp, GraphicTransformType transform) = 0; 36 static sptr<MovingPhotoSurfaceWrapper> CreateMovingPhotoSurfaceWrapper(int32_t width, int32_t height); 37 sptr<OHOS::IBufferProducer> GetProducer() const; 39 void RecycleBuffer(sptr<SurfaceBuffer> buffer); 42 inline void SetSurfaceBufferListener(sptr<SurfaceBufferListener> listener) in SetSurfaceBufferListener() 48 inline sptr<SurfaceBufferListener> GetSurfaceBufferListener() in GetSurfaceBufferListener() 57 explicit BufferConsumerListener(sptr<MovingPhotoSurfaceWrapper> surfaceWrapper); 69 sptr<Surface> videoSurface_ = nullptr; 71 sptr<IBufferConsumerListener> bufferConsumerListener_ = nullptr;
|