Home
last modified time | relevance | path

Searched refs:sptr (Results 1 - 25 of 8057) sorted by relevance

12345678910>>...323

/foundation/window/window_manager/wmserver/include/
H A Dremote_animation.h48 static bool CheckTransition(sptr<WindowTransitionInfo> srcInfo, const sptr<WindowNode>& srcNode,
49 sptr<WindowTransitionInfo> dstInfo, const sptr<WindowNode>& dstNode);
50 static TransitionEvent GetTransitionEvent(sptr<WindowTransitionInfo> srcInfo,
51 sptr<WindowTransitionInfo> dstInfo, const sptr<WindowNode>& srcNode, const sptr<WindowNode>& dstNode);
52 static WMError SetWindowAnimationController(const sptr<RSIWindowAnimationController>& controller);
53 static WMError NotifyAnimationTransition(sptr<WindowTransitionInf
[all...]
H A Dwindow_root.h35 using Callback = std::function<void (Event event, const sptr<IRemoteObject>& remoteObject)>;
41 sptr<WindowNodeContainer> GetOrCreateWindowNodeContainer(DisplayId displayId);
42 sptr<WindowNodeContainer> GetWindowNodeContainer(DisplayId displayId);
43 sptr<WindowNodeContainer> CreateWindowNodeContainer(DisplayId defaultDisplayId, sptr<DisplayInfo> displayInfo);
44 sptr<WindowNode> GetWindowNode(uint32_t windowId) const;
45 sptr<WindowNode> GetWindowNodeByMissionId(uint32_t missionId) const;
46 void GetBackgroundNodesByScreenId(ScreenId screenGroupId, std::vector<sptr<WindowNode>>& windowNodes);
47 void GetForegroundNodes(std::vector<sptr<WindowNode>>& windowNodes);
49 sptr<WindowNod
[all...]
H A Dwindow_node_container.h36 using WindowNodeOperationFunc = std::function<bool(sptr<WindowNode>)>; // return true indicates to stop traverse
39 WindowNodeContainer(const sptr<DisplayInfo>& displayInfo, ScreenId displayGroupId);
41 WMError ShowStartingWindow(sptr<WindowNode>& node);
42 WMError AddWindowNode(sptr<WindowNode>& node, sptr<WindowNode>& parentNode, bool afterAnimation = false);
43 WMError RemoveWindowNode(sptr<WindowNode>& node, bool fromAnimation = false);
44 WMError HandleRemoveWindow(sptr<WindowNode>& node);
45 WMError UpdateWindowNode(sptr<WindowNode>& node, WindowUpdateReason reason);
46 WMError DestroyWindowNode(sptr<WindowNode>& node, std::vector<uint32_t>& windowIds);
59 void HandleKeepScreenOn(const sptr<WindowNod
[all...]
/foundation/ability/ability_runtime/test/mock/frameworks_kits_appkit_native_test/ability_delegator/
H A Dmock_ability_delegator_stub.h32 MOCK_METHOD4(StartAbility, int(const Want& want, const sptr<IRemoteObject>& callerToken,
34 MOCK_METHOD5(StartAbilityAsCaller, int(const Want& want, const sptr<IRemoteObject>& callerToken,
35 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
37 const sptr<IRemoteObject>& callerToken, int32_t userId, int requestCode));
38 MOCK_METHOD4(StartAbilityByInsightIntent, int32_t(const Want& want, const sptr<IRemoteObject>& callerToken,
41 const sptr<IRemoteObject>& callerToken, int requestCode = DEFAULT_INVAL_VALUE,
44 const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken,
46 MOCK_METHOD3(TerminateAbility, int(const sptr<IRemoteObject>& token, int resultCode, const Want* resultWant));
47 int CloseAbility(const sptr<IRemoteObjec
[all...]
H A Dmock_ability_delegator_stub.cpp35 int MockAbilityDelegatorStub::CloseAbility(const sptr<IRemoteObject>& token, int resultCode, const Want* resultWant) in CloseAbility()
41 const sptr<IRemoteObject>& callerToken, int requestCode, int32_t userId) in StartAbility()
47 const sptr<IRemoteObject>& callerToken, sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
53 int MockAbilityDelegatorStub::MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) in MinimizeAbility()
63 int MockAbilityDelegatorStub::StartUser(int userId, sptr<IUserCallback> callback, bool isAppRecovery) in StartUser()
68 int MockAbilityDelegatorStub::StopUser(int userId, const sptr<IUserCallback>& callback) in StopUser()
89 const sptr<IRemoteMissionListener>& listener) in RegisterMissionListener()
95 const sptr<IRemoteMissionListener>& listener) in UnRegisterMissionListener()
100 int MockAbilityDelegatorStub::StartAbilityByCall(const Want& want, const sptr<IAbilityConnectio
[all...]
/foundation/ability/form_fwk/test/mock/include/
H A Dmock_ability_manager.h31 explicit MockAbilityMgrProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<AAFwk::IAbilityManager>(impl) in MockAbilityMgrProxy()
40 int StartAbility(const AAFwk::Want &want, const sptr<IRemoteObject> &callerToken,
48 const sptr<IRemoteObject> &callerToken,
55 const sptr<IRemoteObject> &token, int resultCode, const AAFwk::Want *resultWant = nullptr) override
59 int ConnectAbility(const AAFwk::Want &want, const sptr<AAFwk::IAbilityConnection> &connect,
60 const sptr<IRemoteObject> &callerToken, int32_t userId = DEFAULT_INVAL_VALUE) override
64 int DisconnectAbility(sptr<AAFwk::IAbilityConnection> connect) override
68 sptr<AAFwk::IAbilityScheduler> AcquireDataAbility(
69 const Uri &uri, bool tryBind, const sptr<IRemoteObject> &callerToken) override
74 sptr<AAFw
[all...]
/foundation/ability/ability_runtime/test/moduletest/mock/include/
H A Dmock_ability_manager_proxy.h27 explicit MockAbilityManagerProxy(const sptr<IRemoteObject>& impl) : IRemoteProxy<IAbilityManager>(impl) in MockAbilityManagerProxy()
33 MOCK_METHOD3(StartAbility, int(const Want& want, const sptr<IRemoteObject>& callerToken, int requestCode));
34 MOCK_METHOD5(StartAbilityAsCaller, int(const Want& want, const sptr<IRemoteObject>& callerToken,
35 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
37 const sptr<IRemoteObject> &callerToken, sptr<IRemoteObject> asCallerSourceToken,
40 MOCK_METHOD3(TerminateAbility, int(const sptr<IRemoteObject>& token, int resultCode, const Want* resultWant));
42 int(const Want& want, const sptr<IAbilityConnection>& connect, const sptr<IRemoteObject>& callerToken));
43 MOCK_METHOD1(DisconnectAbility, int(sptr<IAbilityConnectio
[all...]
/foundation/ability/ability_runtime/services/abilitymgr/include/
H A Dability_manager_proxy.h33 explicit AbilityManagerProxy(const sptr<IRemoteObject> &impl) : IRemoteProxy<IAbilityManager>(impl) in AbilityManagerProxy()
63 const sptr<IRemoteObject> &callerToken,
79 const sptr<IRemoteObject> &callerToken,
95 const sptr<IRemoteObject> &callerToken,
111 const sptr<IRemoteObject> &callerToken,
128 const sptr<IRemoteObject> &callerToken,
144 const sptr<IRemoteObject> &callerToken,
145 sptr<IRemoteObject> asCallerSourceToken,
163 const sptr<IRemoteObject> &callerToken,
164 sptr<IRemoteObjec
[all...]
/foundation/ability/ability_runtime/interfaces/inner_api/ability_manager/include/
H A Dability_manager_interface.h123 const sptr<IRemoteObject> &callerToken,
139 const sptr<IRemoteObject> &callerToken,
155 const sptr<IRemoteObject> &callerToken,
171 const sptr<IRemoteObject> &callerToken,
188 const sptr<IRemoteObject> &callerToken,
204 const sptr<IRemoteObject> &callerToken, in StartAbilityAsCaller()
205 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
226 const sptr<IRemoteObject> &callerToken, in StartAbilityAsCaller()
227 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
245 const sptr<IRemoteObjec in StartAbilityForResultAsCaller()
[all...]
H A Dability_manager_client.h53 ErrCode AttachAbilityThread(sptr<IAbilityScheduler> scheduler, sptr<IRemoteObject> token);
62 ErrCode AbilityTransitionDone(sptr<IRemoteObject> token, int state, const PacMap &saveData);
70 ErrCode AbilityWindowConfigTransitionDone(sptr<IRemoteObject> token, const WindowConfig &windowConfig);
79 ErrCode ScheduleConnectAbilityDone(sptr<IRemoteObject> token, sptr<IRemoteObject> remoteObject);
87 ErrCode ScheduleDisconnectAbilityDone(sptr<IRemoteObject> token);
95 ErrCode ScheduleCommandAbilityDone(sptr<IRemoteObject> token);
98 sptr<IRemoteObject> token,
99 sptr<SessionInf
[all...]
/foundation/window/window_manager/interfaces/kits/cj/window_runtime/
H A Dwindow_register_manager.h30 WmErrorCode RegisterListener(sptr<Window>, std::string type,
32 WmErrorCode UnregisterListener(sptr<Window>, std::string type,
36 WmErrorCode ProcessWindowChangeRegister(sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister);
37 WmErrorCode ProcessSystemAvoidAreaChangeRegister(sptr<CjWindowListener> listener, sptr<Window> window,
39 WmErrorCode ProcessAvoidAreaChangeRegister(sptr<CjWindowListener> listener, sptr<Window> window, bool isRegister);
40 WmErrorCode ProcessLifeCycleEventRegister(sptr<CjWindowListener> listener, sptr<Windo
[all...]
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_manager_proxy_test.cpp37 sptr<IRemoteObject> iRemoteObjectMocker;
38 sptr<SceneSessionManagerProxy> sceneSessionManagerProxy_;
65 sptr<IRemoteObject> iRemoteObjectMocker = new (std::nothrow) IRemoteObjectMocker(); in HWTEST_F()
66 sptr<SceneSessionManagerProxy> sceneSessionManagerProxy_ = in HWTEST_F()
70 sptr<ISessionStage> sessionStage = new (std::nothrow) SessionStageMocker(); in HWTEST_F()
71 sptr<IWindowEventChannel> eventChannel = new (std::nothrow) WindowEventChannelMocker(sessionStage); in HWTEST_F()
74 sptr<WindowSessionProperty> property = new (std::nothrow) WindowSessionProperty(); in HWTEST_F()
77 sptr<ISession> session = new (std::nothrow) SessionMocker(info); in HWTEST_F()
79 sptr<IRemoteObject> token = new (std::nothrow) IRemoteObjectMocker(); in HWTEST_F()
93 sptr<IRemoteObjec in HWTEST_F()
[all...]
/foundation/multimedia/camera_framework/interfaces/inner_api/native/camera/include/input/
H A Dcamera_manager.h69 sptr<CameraInfo> cameraInfo;
70 sptr<CameraDevice> cameraDevice;
88 std::vector<sptr<CameraDevice>> supportedCameras;
143 static sptr<CameraManager>& GetInstance();
150 std::vector<sptr<CameraDevice>> GetSupportedCameras();
157 std::vector<SceneMode> GetSupportedModes(sptr<CameraDevice>& camera);
165 sptr<CameraOutputCapability> GetSupportedOutputCapability(sptr<CameraDevice>& camera, int32_t modeName = 0);
174 sptr<CameraInput> CreateCameraInput(CameraPosition position, CameraType cameraType);
183 int CreateCameraInput(CameraPosition position, CameraType cameraType, sptr<CameraInpu
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_manager_proxy_test/
H A Dability_manager_stub_mock.h58 const sptr<IRemoteObject>& callerToken, in StartAbility()
66 const sptr<IRemoteObject>& callerToken, in StartAbilityWithSpecifyTokenId()
77 const sptr<IRemoteObject>& callerToken, in StartAbility()
87 const sptr<IRemoteObject>& callerToken, in StartAbilityAsCaller()
88 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
97 const sptr<IRemoteObject> &callerToken, in StartAbilityByUIContentSession()
98 const sptr<SessionInfo> &sessionInfo, in StartAbilityByUIContentSession()
113 const sptr<IRemoteObject> &callerToken, in StartAbilityByUIContentSession()
114 const sptr<SessionInfo> &sessionInfo, in StartAbilityByUIContentSession()
121 virtual int TerminateAbility(const sptr<IRemoteObjec
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_manager_client_branch_second_test/
H A Dability_manager_stub_mock_second_test.h63 const sptr<IRemoteObject>& callerToken, in StartAbility()
73 const sptr<IRemoteObject>& callerToken, in StartAbility()
83 const sptr<IRemoteObject>& callerToken, in StartAbilityAsCaller()
84 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
93 const sptr<IRemoteObject> &callerToken, in StartAbilityByUIContentSession()
94 const sptr<SessionInfo> &sessionInfo, in StartAbilityByUIContentSession()
104 const sptr<IRemoteObject> &callerToken, in StartAbilityByUIContentSession()
105 const sptr<SessionInfo> &sessionInfo, in StartAbilityByUIContentSession()
112 virtual int RegisterSessionHandler(const sptr<IRemoteObject> &callerToken) in RegisterSessionHandler()
117 virtual int TerminateAbility(const sptr<IRemoteObjec
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_manager_client_branch_test/
H A Dability_manager_stub_mock_test.h63 const sptr<IRemoteObject>& callerToken, in StartAbility()
73 const sptr<IRemoteObject>& callerToken, in StartAbility()
83 const sptr<IRemoteObject>& callerToken, in StartAbilityAsCaller()
84 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
93 const sptr<IRemoteObject> &callerToken, in StartAbilityByUIContentSession()
94 const sptr<SessionInfo> &sessionInfo, in StartAbilityByUIContentSession()
104 const sptr<IRemoteObject> &callerToken, in StartAbilityByUIContentSession()
105 const sptr<SessionInfo> &sessionInfo, in StartAbilityByUIContentSession()
112 virtual int RegisterSessionHandler(const sptr<IRemoteObject> &callerToken) in RegisterSessionHandler()
117 virtual int TerminateAbility(const sptr<IRemoteObjec
[all...]
/foundation/graphic/graphic_2d/interfaces/kits/napi/graphic/animation/window_animation_manager/
H A Drs_window_animation_controller.h39 void OnStartApp(StartingAppType type, const sptr<RSWindowAnimationTarget>& startingWindowTarget,
40 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) override;
42 void OnAppTransition(const sptr<RSWindowAnimationTarget>& fromWindowTarget,
43 const sptr<RSWindowAnimationTarget>& toWindowTarget,
44 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) override;
46 void OnAppBackTransition(const sptr<RSWindowAnimationTarget>& fromWindowTarget,
47 const sptr<RSWindowAnimationTarget>& toWindowTarget,
48 const sptr<RSIWindowAnimationFinishedCallback>& finishedCallback) override;
50 void OnMinimizeWindow(const sptr<RSWindowAnimationTarget>& minimizingWindowTarget,
51 const sptr<RSIWindowAnimationFinishedCallbac
[all...]
/foundation/multimedia/camera_framework/frameworks/native/camera/test/moduletest/include/
H A Dcamera_framework_moduletest.h57 sptr<CameraManager> manager_;
58 sptr<PortraitSession> portraitSession_;
59 sptr<CaptureSession> session_;
60 sptr<CaptureSession> scanSession_;
61 sptr<SlowMotionSession> slowMotionSession_;
62 sptr<CaptureSession> highResSession_;
63 sptr<CaptureSession> videoSession_;
64 sptr<CaptureInput> input_;
65 std::vector<sptr<CameraDevice>> cameras_;
90 sptr<CaptureOutpu
[all...]
/foundation/ability/form_fwk/services/include/
H A Dform_task_mgr.h67 void PostAcquireTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject);
77 const sptr<IRemoteObject> &remoteObject);
85 void PostDeleteTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject);
93 const sptr<IRemoteObject> &remoteObject);
102 void PostRefreshTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject);
112 void PostCastTempTask(const int64_t formId, const Want &want, const sptr<IRemoteObject> &remoteObject);
120 void PostAcquireTaskToHost(const int64_t formId, const FormRecord &record, const sptr<IRemoteObject> &remoteObject);
128 void PostUpdateTaskToHost(const int64_t formId, const FormRecord &record, const sptr<IRemoteObject> &remoteObject);
134 void PostHostDiedTask(const sptr<IRemoteObject> &remoteHost);
145 const sptr<IRemoteObjec
[all...]
/foundation/window/window_manager/dmserver/include/
H A Dabstract_display_controller.h33 using DisplayStateChangeListener = std::function<void(DisplayId, sptr<DisplayInfo>,
34 const std::map<DisplayId, sptr<DisplayInfo>>&, DisplayStateChangeType)>;
40 void Init(sptr<AbstractScreenController> abstractScreenController);
45 sptr<AbstractDisplay> GetAbstractDisplay(DisplayId displayId) const;
46 sptr<AbstractDisplay> GetAbstractDisplayByScreen(ScreenId screenId) const;
51 void OnAbstractScreenConnect(sptr<AbstractScreen> absScreen);
52 void OnAbstractScreenDisconnect(sptr<AbstractScreen> absScreen);
53 void OnAbstractScreenChange(sptr<AbstractScreen> absScreen, DisplayChangeEvent event);
54 void ProcessDisplayUpdateOrientation(sptr<AbstractScreen> absScreen, DisplayStateChangeType type);
55 void ProcessDisplaySizeChange(sptr<AbstractScree
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_manager_test/
H A Dability_manager_stub_mock.h63 const sptr<IRemoteObject>& callerToken, in StartAbility()
71 const sptr<IRemoteObject>& callerToken, in StartAbilityWithSpecifyTokenId()
82 const sptr<IRemoteObject>& callerToken, in StartAbility()
92 const sptr<IRemoteObject>& callerToken, in StartAbilityAsCaller()
93 sptr<IRemoteObject> asCallerSourceToken, in StartAbilityAsCaller()
100 virtual int TerminateAbility(const sptr<IRemoteObject>& token, int resultCode, const Want* resultWant = nullptr) in TerminateAbility()
104 virtual int TerminateUIExtensionAbility(const sptr<SessionInfo> &extensionSessionInfo, int resultCode, in TerminateUIExtensionAbility()
110 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE,
115 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) override
119 int MinimizeUIExtensionAbility(const sptr<SessionInf
[all...]
/foundation/ability/ability_runtime/test/mock/frameworks_kits_test/AMS/
H A Dmock_serviceability_manager_service.h43 const sptr<IRemoteObject>& callerToken,
49 const sptr<IRemoteObject>& callerToken,
57 const sptr<IRemoteObject>& callerToken,
58 const sptr<IRemoteObject> asCallerSourceToken,
64 const sptr<IRemoteObject>& callerToken,
65 const sptr<IRemoteObject> asCallerSourceToken,
72 const sptr<IRemoteObject>& token, int resultCode = -1, const Want* resultWant = nullptr) override;
73 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE,
78 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) override
82 int32_t ReportDrawnCompleted(const sptr<IRemoteObjec
[all...]
/foundation/ability/ability_runtime/test/unittest/ability_manager_stub_test/
H A Dability_manager_stub_impl_mock.h39 MOCK_METHOD4(StartAbility, int(const Want& want, const sptr<IRemoteObject>& callerToken,
41 MOCK_METHOD4(StartAbilityByInsightIntent, int32_t(const Want& want, const sptr<IRemoteObject>& callerToken,
43 MOCK_METHOD5(StartAbilityAsCaller, int(const Want &want, const sptr<IRemoteObject> &callerToken,
44 sptr<IRemoteObject> asCallerSourceToken, int32_t userId, int requestCode));
46 GetWantSender, sptr<IWantSender>(const WantSenderInfo& wantSenderInfo, const sptr<IRemoteObject>& callerToken,
48 MOCK_METHOD2(SendWantSender, int(sptr<IWantSender> target, const SenderInfo& senderInfo));
49 MOCK_METHOD1(CancelWantSender, void(const sptr<IWantSender>& sender));
50 MOCK_METHOD1(GetPendingWantUid, int(const sptr<IWantSender>& target));
51 MOCK_METHOD1(GetPendingWantUserId, int(const sptr<IWantSende
[all...]
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_ability_runtime_test/AMS/
H A Dmock_serviceability_manager_service.h44 const sptr<IRemoteObject>& callerToken,
50 const sptr<IRemoteObject>& callerToken,
55 const sptr<IRemoteObject>& callerToken,
56 sptr<IRemoteObject> asCallerSourceToken,
62 const sptr<IRemoteObject>& callerToken,
63 sptr<IRemoteObject> asCallerSourceToken,
67 int StartAbilityByCall(const Want& want, const sptr<IAbilityConnection>& connect,
68 const sptr<IRemoteObject>& callerToken, int32_t accountId = DEFAULT_INVAL_VALUE);
71 const sptr<IRemoteObject>& token, int resultCode = -1, const Want* resultWant = nullptr) override;
72 int CloseAbility(const sptr<IRemoteObjec
[all...]
/foundation/ability/ability_runtime/test/mock/frameworks_kits_ability_native_test/include/
H A Dmock_ability_manager_service.h38 int StartAbility(const Want& want, const sptr<IRemoteObject>& callerToken,
47 const sptr<IRemoteObject>& callerToken,
55 const sptr<IRemoteObject>& token, int resultCode = -1, const Want* resultWant = nullptr) override;
56 int CloseAbility(const sptr<IRemoteObject>& token, int resultCode = DEFAULT_INVAL_VALUE,
61 int MinimizeAbility(const sptr<IRemoteObject>& token, bool fromUser) override
71 const sptr<IAbilityConnection>& connect,
72 const sptr<IRemoteObject>& callerToken,
75 int DisconnectAbility(sptr<IAbilityConnection> connect) override;
77 int AttachAbilityThread(const sptr<IAbilityScheduler>& scheduler, const sptr<IRemoteObjec
[all...]

Completed in 13 milliseconds

12345678910>>...323