Home
last modified time | relevance | path

Searched refs:ScreenSession (Results 1 - 25 of 37) sorted by relevance

12

/foundation/window/window_manager/window_scene/screen_session_manager/include/
H A Dmulti_screen_manager.h31 DMError VirtualScreenUniqueSwitch(sptr<ScreenSession> screenSession, const std::vector<ScreenId>& screenIds);
38 void MultiScreenModeChange(sptr<ScreenSession> mainSession, sptr<ScreenSession> secondarySession,
45 void InternalScreenOnChange(sptr<ScreenSession> internalSession, sptr<ScreenSession> externalSession);
47 void InternalScreenOffChange(sptr<ScreenSession> internalSession, sptr<ScreenSession> externalSession);
49 void ExternalScreenDisconnectChange(sptr<ScreenSession> internalSession, sptr<ScreenSession> externalSession);
65 void DoFirstExtendChange(sptr<ScreenSession> firstSessio
[all...]
H A Dscreen_session_manager.h47 sptr<ScreenSession> GetScreenSession(ScreenId screenId) const;
48 sptr<ScreenSession> GetDefaultScreenSession();
143 void NotifyAndPublishEvent(sptr<DisplayInfo> displayInfo, ScreenId screenId, sptr<ScreenSession> screenSession);
150 sptr<ScreenSession> InitVirtualScreen(ScreenId smsScreenId, ScreenId rsId, VirtualScreenOption option);
151 sptr<ScreenSession> InitAndGetScreen(ScreenId rsScreenId);
152 bool InitAbstractScreenModesInfo(sptr<ScreenSession>& absScreen);
155 sptr<ScreenSessionGroup> AddToGroupLocked(sptr<ScreenSession> newScreen, bool isUnique = false);
156 sptr<ScreenSessionGroup> AddAsFirstScreenLocked(sptr<ScreenSession> newScreen, bool isUnique = false);
157 sptr<ScreenSessionGroup> AddAsSuccedentScreenLocked(sptr<ScreenSession> newScreen);
158 sptr<ScreenSessionGroup> RemoveFromGroupLocked(sptr<ScreenSession> scree
[all...]
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_test.cpp48 * @tc.name: create ScreenSession
52 HWTEST_F(ScreenSessionTest, ScreenSession, Function | SmallTest | Level2) in HWTEST_F()
59 sptr<ScreenSession> screenSession = new ScreenSession(config, ScreenSessionReason::CREATE_SESSION_FOR_CLIENT); in HWTEST_F()
75 sptr<ScreenSession> screenSession = new ScreenSession(config, ScreenSessionReason::CREATE_SESSION_FOR_VIRTUAL); in HWTEST_F()
91 sptr<ScreenSession> screenSession = new ScreenSession(config, ScreenSessionReason::CREATE_SESSION_FOR_MIRROR); in HWTEST_F()
107 sptr<ScreenSession> screenSession = new ScreenSession(confi in HWTEST_F()
[all...]
H A Dmulti_screen_manager_test.cpp94 sptr<ScreenSession> session = new ScreenSession(); in HWTEST_F()
110 sptr<ScreenSession> session = new ScreenSession(); in HWTEST_F()
183 sptr<ScreenSession> session = new ScreenSession(); in HWTEST_F()
198 sptr<ScreenSession> session = new ScreenSession(); in HWTEST_F()
201 sptr<ScreenSession> session1 = new ScreenSession(); in HWTEST_F()
[all...]
H A Ddual_display_fold_policy_test.cpp98 sptr<ScreenSession> session = new ScreenSession(); in HWTEST_F()
217 sptr<ScreenSession> screenSession = new ScreenSession(); in HWTEST_F()
321 sptr<ScreenSession> screenSession = new ScreenSession(); in HWTEST_F()
338 sptr<ScreenSession> screenSession = new ScreenSession(); in HWTEST_F()
355 sptr<ScreenSession> screenSession = new ScreenSession(); in HWTEST_F()
[all...]
H A Dscreen_session_manager_test.cpp444 sptr<ScreenSession> session = new ScreenSession(config, in HWTEST_F()
907 sptr<ScreenSession> screenSession = new (std::nothrow) ScreenSession(id, ScreenProperty(), 0); in HWTEST_F()
921 sptr<ScreenSession> screenSession = new (std::nothrow) ScreenSession(id, ScreenProperty(), 0); in HWTEST_F()
936 sptr<ScreenSession> screenSession = new (std::nothrow) ScreenSession(id, ScreenProperty(), 0); in HWTEST_F()
950 sptr<ScreenSession> screenSession = new (std::nothrow) ScreenSession(i in HWTEST_F()
[all...]
H A Dsingle_display_fold_policy_test.cpp291 sptr<ScreenSession> screenSession = new ScreenSession; in HWTEST_F()
311 sptr<ScreenSession> screenSession = new ScreenSession; in HWTEST_F()
344 sptr<ScreenSession> screenSession = new ScreenSession; in HWTEST_F()
362 sptr<ScreenSession> screenSession = new ScreenSession; in HWTEST_F()
378 sptr<ScreenSession> screenSession = new ScreenSession; in HWTEST_F()
[all...]
H A Dsingle_display_pocket_fold_policy_test.cpp296 sptr<ScreenSession> screenSession = new ScreenSession; in HWTEST_F()
316 sptr<ScreenSession> screenSession = new ScreenSession; in HWTEST_F()
349 sptr<ScreenSession> screenSession = new ScreenSession; in HWTEST_F()
367 sptr<ScreenSession> screenSession = new ScreenSession; in HWTEST_F()
383 sptr<ScreenSession> screenSession = new ScreenSession; in HWTEST_F()
[all...]
H A Dscreen_session_manager_client_test.cpp95 sptr<ScreenSession> screenSession = nullptr; in HWTEST_F()
99 screenSession = new ScreenSession(0, ScreenProperty(), 0); in HWTEST_F()
127 sptr<ScreenSession> screenSession = screenSessionManagerClient_->GetScreenSession(screenId); in HWTEST_F()
145 sptr<ScreenSession> screenSession = screenSessionManagerClient_->GetScreenSession(screenId); in HWTEST_F()
260 sptr<ScreenSession> screenSession = new ScreenSession(0, ScreenProperty(), 0); in HWTEST_F()
266 sptr<ScreenSession> screenSession1 = screenSessionManagerClient_->GetScreenSession(screenId); in HWTEST_F()
280 sptr<ScreenSession> screenSession = new ScreenSession(screenId, ScreenProperty(), 0); in HWTEST_F()
411 sptr<ScreenSession> screenSessio in HWTEST_F()
[all...]
/foundation/window/window_manager/window_scene/session/screen/src/
H A Dscreen_session.cpp31 constexpr HiviewDFX::HiLogLabel LABEL = { LOG_CORE, HILOG_DOMAIN_DISPLAY, "ScreenSession" };
38 ScreenSession::ScreenSession(const ScreenSessionConfig& config, ScreenSessionReason reason) in ScreenSession() function in OHOS::Rosen::ScreenSession
86 void ScreenSession::CreateDisplayNode(const Rosen::RSDisplayNodeConfig& config) in CreateDisplayNode()
106 ScreenSession::ScreenSession(ScreenId screenId, ScreenId rsId, const std::string& name, in ScreenSession() function in OHOS::Rosen::ScreenSession
113 ScreenSession::ScreenSession(ScreenId screenId, const ScreenProperty& property, ScreenId defaultScreenId) in ScreenSession() function in OHOS::Rosen::ScreenSession
130 ScreenSession::ScreenSession(ScreenI function in OHOS::Rosen::ScreenSession
150 ScreenSession::ScreenSession(const std::string& name, ScreenId smsId, ScreenId rsId, ScreenId defaultScreenId) ScreenSession() function in OHOS::Rosen::ScreenSession
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager/include/fold_screen_controller/
H A Dsingle_display_pocket_fold_policy.h41 void ChangeScreenDisplayModeToMain(sptr<ScreenSession> screenSession);
42 void ChangeScreenDisplayModeToFull(sptr<ScreenSession> screenSession);
44 void ChangeScreenDisplayModeProc(sptr<ScreenSession> screenSession, FoldDisplayMode displayMode);
45 void ChangeScreenDisplayModeToMainWhenFoldScreenOn(sptr<ScreenSession> screenSession);
46 void ChangeScreenDisplayModeToMainWhenFoldScreenOff(sptr<ScreenSession> screenSession);
47 void ChangeScreenDisplayModeToMainOnBootAnimation(sptr<ScreenSession> screenSession);
48 void ChangeScreenDisplayModeToFullOnBootAnimation(sptr<ScreenSession> screenSession);
54 void SendPropertyChangeResult(sptr<ScreenSession> screenSession, ScreenId screenId,
H A Dsingle_display_fold_policy.h40 void ChangeScreenDisplayModeToMain(sptr<ScreenSession> screenSession);
41 void ChangeScreenDisplayModeToFull(sptr<ScreenSession> screenSession);
42 void ChangeScreenDisplayModeToMainOnBootAnimation(sptr<ScreenSession> screenSession);
43 void ChangeScreenDisplayModeToFullOnBootAnimation(sptr<ScreenSession> screenSession);
49 void SendPropertyChangeResult(sptr<ScreenSession> screenSession, ScreenId screenId,
H A Ddual_display_fold_policy.h42 void ChangeScreenDisplayModeInner(sptr<ScreenSession> screenSession, ScreenId offScreenId, ScreenId onScreenId);
43 void ChangeScreenDisplayModeOnBootAnimation(sptr<ScreenSession> screenSession, ScreenId screenId);
45 void ChangeScreenDisplayModeProc(sptr<ScreenSession> screenSession, FoldDisplayMode displayMode);
/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_session.h86 class ScreenSession : public RefBase { class
88 ScreenSession() = default;
89 ScreenSession(const ScreenSessionConfig& config, ScreenSessionReason reason);
90 ScreenSession(ScreenId screenId, ScreenId rsId, const std::string& name,
92 ScreenSession(ScreenId screenId, const ScreenProperty& property, ScreenId defaultScreenId);
93 ScreenSession(ScreenId screenId, const ScreenProperty& property, NodeId nodeId, ScreenId defaultScreenId);
94 ScreenSession(const std::string& name, ScreenId smsId, ScreenId rsId, ScreenId defaultScreenId);
95 virtual ~ScreenSession() = default;
264 class ScreenSessionGroup : public ScreenSession {
271 bool AddChild(sptr<ScreenSession>
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dmulti_screen_manager.cpp41 sptr<ScreenSession> defaultSession = ScreenSessionManager::GetInstance().GetDefaultScreenSession(); in FilterPhysicalAndVirtualScreen()
94 sptr<ScreenSession> defaultSession = ScreenSessionManager::GetInstance().GetDefaultScreenSession(); in PhysicalScreenMirrorSwitch()
147 DMError MultiScreenManager::VirtualScreenUniqueSwitch(sptr<ScreenSession> screenSession, in VirtualScreenUniqueSwitch()
239 void MultiScreenManager::MultiScreenModeChange(sptr<ScreenSession> firstSession, sptr<ScreenSession> secondarySession, in MultiScreenModeChange()
266 sptr<ScreenSession> firstSession, sptr<ScreenSession> secondarySession) in DoFirstMainChangeExtend()
285 sptr<ScreenSession> firstSession, sptr<ScreenSession> secondarySession) in DoFirstMainChangeMirror()
306 void MultiScreenManager::DoFirstMainChange(sptr<ScreenSession> firstSessio
[all...]
H A Dscreen_session_manager.cpp568 void ScreenSessionManager::FreeDisplayMirrorNodeInner(const sptr<ScreenSession> mirrorSession) in FreeDisplayMirrorNodeInner()
669 bool ScreenSessionManager::IsScreenRestored(sptr<ScreenSession> screenSession) in IsScreenRestored()
754 void ScreenSessionManager::RecoverMultiScreenInfoFromData(sptr<ScreenSession> screenSession) in RecoverMultiScreenInfoFromData()
781 void ScreenSessionManager::HandleScreenConnectEvent(sptr<ScreenSession> screenSession, in HandleScreenConnectEvent()
813 void ScreenSessionManager::HandleScreenDisconnectEvent(sptr<ScreenSession> screenSession, in HandleScreenDisconnectEvent()
828 sptr<ScreenSession> internalSession = GetScreenSession(internalScreenId); in HandleScreenDisconnectEvent()
852 sptr<ScreenSession> screenSession = GetScreenSession(defaultScreenId_); in OnHgmRefreshRateChange()
863 sptr<ScreenSession> ScreenSessionManager::GetScreenSession(ScreenId screenId) const in GetScreenSession()
877 sptr<ScreenSession> ScreenSessionManager::GetDefaultScreenSession() in GetDefaultScreenSession()
884 const sptr<ScreenSession> in HookDisplayInfoByUid()
[all...]
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/screen/
H A Dscreen_pattern.h28 explicit ScreenPattern(const sptr<Rosen::ScreenSession>& screenSession);
36 sptr<Rosen::ScreenSession> GetScreenSession() in GetScreenSession()
58 sptr<Rosen::ScreenSession> screenSession_;
/foundation/window/window_manager/window_scene/screen_session_manager_client/include/
H A Dscreen_session_manager_client.h38 virtual void OnScreenConnected(const sptr<ScreenSession>& screenSession) = 0;
39 virtual void OnScreenDisconnected(const sptr<ScreenSession>& screenSession) = 0;
49 sptr<ScreenSession> GetScreenSession(ScreenId screenId) const;
74 sptr<ScreenSession> GetScreenSessionById(const ScreenId id);
110 std::map<ScreenId, sptr<ScreenSession>> screenSessionMap_;
/foundation/window/window_manager/window_scene/screen_session_manager/src/fold_screen_controller/
H A Dsingle_display_pocket_fold_policy.cpp96 sptr<ScreenSession> screenSession = ScreenSessionManager::GetInstance().GetScreenSession(SCREEN_ID_FULL); in ChangeScreenDisplayMode()
120 void SingleDisplayPocketFoldPolicy::ChangeScreenDisplayModeProc(sptr<ScreenSession> screenSession, in ChangeScreenDisplayModeProc()
259 void SingleDisplayPocketFoldPolicy::ChangeScreenDisplayModeToMainWhenFoldScreenOn(sptr<ScreenSession> screenSession) in ChangeScreenDisplayModeToMainWhenFoldScreenOn()
282 void SingleDisplayPocketFoldPolicy::ChangeScreenDisplayModeToMainWhenFoldScreenOff(sptr<ScreenSession> screenSession) in ChangeScreenDisplayModeToMainWhenFoldScreenOff()
310 void SingleDisplayPocketFoldPolicy::ChangeScreenDisplayModeToMain(sptr<ScreenSession> screenSession) in ChangeScreenDisplayModeToMain()
327 void SingleDisplayPocketFoldPolicy::ChangeScreenDisplayModeToFull(sptr<ScreenSession> screenSession) in ChangeScreenDisplayModeToFull()
384 void SingleDisplayPocketFoldPolicy::SendPropertyChangeResult(sptr<ScreenSession> screenSession, ScreenId screenId, in SendPropertyChangeResult()
399 void SingleDisplayPocketFoldPolicy::ChangeScreenDisplayModeToMainOnBootAnimation(sptr<ScreenSession> screenSession) in ChangeScreenDisplayModeToMainOnBootAnimation()
412 void SingleDisplayPocketFoldPolicy::ChangeScreenDisplayModeToFullOnBootAnimation(sptr<ScreenSession> screenSession) in ChangeScreenDisplayModeToFullOnBootAnimation()
469 sptr<ScreenSession> screenSessio in AddOrRemoveDisplayNodeToTree()
[all...]
H A Ddual_display_fold_policy.cpp119 sptr<ScreenSession> screenSession = ScreenSessionManager::GetInstance().GetScreenSession(screenId); in ChangeScreenDisplayMode()
146 void DualDisplayFoldPolicy::ChangeScreenDisplayModeProc(sptr<ScreenSession> screenSession, in ChangeScreenDisplayModeProc()
217 sptr<ScreenSession> screenSession = nullptr; in TriggerScreenDisplayModeUpdate()
308 void DualDisplayFoldPolicy::ChangeScreenDisplayModeInner(sptr<ScreenSession> screenSession, ScreenId offScreenId, in ChangeScreenDisplayModeInner()
395 void DualDisplayFoldPolicy::ChangeScreenDisplayModeOnBootAnimation(sptr<ScreenSession> screenSession, ScreenId screenId) in ChangeScreenDisplayModeOnBootAnimation()
399 TLOGE(WmsLogTag::DMS, "ChangeScreenDisplayModeOnBootAnimation, ScreenSession is nullpter"); in ChangeScreenDisplayModeOnBootAnimation()
419 sptr<ScreenSession> screenSession = ScreenSessionManager::GetInstance().GetScreenSession(screenId); in AddOrRemoveDisplayNodeToTree()
H A Dsingle_display_fold_policy.cpp93 sptr<ScreenSession> screenSession = ScreenSessionManager::GetInstance().GetScreenSession(SCREEN_ID_FULL); in ChangeScreenDisplayMode()
235 void SingleDisplayFoldPolicy::ChangeScreenDisplayModeToMain(sptr<ScreenSession> screenSession) in ChangeScreenDisplayModeToMain()
287 void SingleDisplayFoldPolicy::ChangeScreenDisplayModeToFull(sptr<ScreenSession> screenSession) in ChangeScreenDisplayModeToFull()
343 void SingleDisplayFoldPolicy::SendPropertyChangeResult(sptr<ScreenSession> screenSession, ScreenId screenId, in SendPropertyChangeResult()
358 void SingleDisplayFoldPolicy::ChangeScreenDisplayModeToMainOnBootAnimation(sptr<ScreenSession> screenSession) in ChangeScreenDisplayModeToMainOnBootAnimation()
371 void SingleDisplayFoldPolicy::ChangeScreenDisplayModeToFullOnBootAnimation(sptr<ScreenSession> screenSession) in ChangeScreenDisplayModeToFullOnBootAnimation()
/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/
H A Djs_screen_session.h29 JsScreenSession(napi_env env, const sptr<ScreenSession>& screenSession);
32 static napi_value Create(napi_env env, const sptr<ScreenSession>& screenSession);
63 sptr<ScreenSession> screenSession_;
H A Djs_screen_session.cpp44 napi_value JsScreenSession::Create(napi_env env, const sptr<ScreenSession>& screenSession) in Create()
78 JsScreenSession::JsScreenSession(napi_env env, const sptr<ScreenSession>& screenSession) in JsScreenSession()
331 wptr<ScreenSession> screenSessionWeak(screenSession_); in CallJsCallback()
387 wptr<ScreenSession> screenSessionWeak(screenSession_); in OnSensorRotationChange()
427 wptr<ScreenSession> screenSessionWeak(screenSession_); in OnScreenOrientationChange()
467 wptr<ScreenSession> screenSessionWeak(screenSession_); in OnPropertyChange()
508 wptr<ScreenSession> screenSessionWeak(screenSession_); in OnScreenDensityChange()
548 wptr<ScreenSession> screenSessionWeak(screenSession_); in OnPowerStatusChange()
625 wptr<ScreenSession> screenSessionWeak(screenSession_); in OnScreenExtendChange()
662 wptr<ScreenSession> screenSessionWea in OnHoverStatusChange()
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager_client/src/
H A Dscreen_session_manager_client.cpp120 sptr<ScreenSession> screenSession = new ScreenSession(config, ScreenSessionReason::CREATE_SESSION_FOR_CLIENT); in OnScreenConnectionChanged()
162 sptr<ScreenSession> ScreenSessionManagerClient::GetScreenSession(ScreenId screenId) const in GetScreenSession()
452 sptr<ScreenSession> screenSession = iter.second; in SwitchUserCallback()
505 sptr<ScreenSession> ScreenSessionManagerClient::GetScreenSessionById(const ScreenId id) in GetScreenSessionById()
536 sptr<ScreenSession> screenSession = GetScreenSession(screenId); in SetVirtualPixelRatioSystem()
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_dirty_manager_test2.cpp406 sptr<ScreenSession> screenSession = new ScreenSession(config, ScreenSessionReason::CREATE_SESSION_FOR_CLIENT); in HWTEST_F()
443 sptr<ScreenSession> screenSession = new ScreenSession(config, ScreenSessionReason::CREATE_SESSION_FOR_CLIENT); in HWTEST_F()
484 sptr<ScreenSession> screenSession = new ScreenSession(config, ScreenSessionReason::CREATE_SESSION_FOR_CLIENT); in HWTEST_F()
522 sptr<ScreenSession> screenSession = new ScreenSession(config, ScreenSessionReason::CREATE_SESSION_FOR_CLIENT); in HWTEST_F()
559 sptr<ScreenSession> screenSession = new ScreenSession(confi in HWTEST_F()
[all...]

Completed in 27 milliseconds

12