Home
last modified time | relevance | path

Searched refs:screenId (Results 76 - 100 of 328) sorted by relevance

12345678910>>...14

/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Drender_service_client_subSurface_demo.cpp90 uint64_t screenId = DisplayManager::GetInstance().GetDisplayById(displayId)->GetId(); in main() local
91 std::cout << "ScreenId: " << screenId << std::endl; in main()
92 parentSurfaceNode->AttachToDisplay(screenId); in main()
100 parentSurfaceNode->DetachToDisplay(screenId); in main()
104 parentSurfaceNode->AttachToDisplay(screenId); in main()
H A Drender_service_client_pointer_window_demo.cpp36 uint64_t screenId = 0; variable
144 screenId = DisplayManager::GetInstance().GetDisplayById(displayId)->GetId(); in InitSurface()
145 std::cout << "ScreenId: " << screenId << std::endl; in InitSurface()
146 surfaceNode->AttachToDisplay(screenId); in InitSurface()
174 surfaceNode->DetachToDisplay(screenId); in main()
178 surfaceNode->AttachToDisplay(screenId); in main()
/foundation/window/window_manager/test/systemtest/wms/
H A Dwindow_rotation_test.cpp80 void ScreenListener::OnConnect(ScreenId screenId) in OnConnect() argument
84 void ScreenListener::OnDisconnect(ScreenId screenId) in OnDisconnect() argument
88 void ScreenListener::OnChange(ScreenId screenId) in OnChange() argument
90 changeFuture_.SetValue(screenId); in OnChange()
156 ScreenId screenId = screenListener_->changeFuture_.GetResult(FUTURE_GET_RESULT_TIMEOUT); in HWTEST_F() local
158 auto screen = ScreenManager::GetInstance().GetScreenById(screenId); in HWTEST_F()
191 ScreenId screenId = screenListener_->changeFuture_.GetResult(FUTURE_GET_RESULT_TIMEOUT); in HWTEST_F() local
192 auto screen = ScreenManager::GetInstance().GetScreenById(screenId); in HWTEST_F()
270 ScreenId screenId = screenListener_->changeFuture_.GetResult(FUTURE_GET_RESULT_TIMEOUT); in HWTEST_F() local
272 auto screen = ScreenManager::GetInstance().GetScreenById(screenId); in HWTEST_F()
314 ScreenId screenId = screenListener_->changeFuture_.GetResult(FUTURE_GET_RESULT_TIMEOUT); HWTEST_F() local
[all...]
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/2.0/src/
H A Ddscreen_manager.cpp99 for (uint64_t screenId : screenIds) { in OnChange()
100 std::shared_ptr<DScreen> changedScreen = DScreenManager::GetInstance().FindDScreenById(screenId); in OnChange()
102 DHLOGD("screen change not about remote screen, screenId: %{public}" PRIu64, screenId); in OnChange()
116 DHLOGI("DScreenManager::HandleScreenChange, screenId: %{public}" PRIu64 " changeEvent: %{public}" PRIu32, in HandleScreenChange()
142 uint64_t screenId = dScreen->GetScreenId(); in StartDScreenMirror() local
143 DHLOGI("DScreenManager::StartDScreenMirror, screenId: %{public}" PRIu64, screenId); in StartDScreenMirror()
154 DHLOGI("StartDScreenMirror success, screenId:%{public}" PRIu64 ", peerDeviceId:%{public}s", screenId, in StartDScreenMirror()
313 FindDScreenById(uint64_t screenId) FindDScreenById() argument
347 uint64_t screenId = dScreen->GetScreenId(); GetScreenDumpInfo() local
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager/src/fold_screen_controller/
H A Ddual_display_fold_policy.cpp102 ScreenId screenId = SCREEN_ID_MAIN; in GetScreenIdByDisplayMode() local
104 screenId = SCREEN_ID_SUB; in GetScreenIdByDisplayMode()
106 return screenId; in GetScreenIdByDisplayMode()
118 ScreenId screenId = GetScreenIdByDisplayMode(displayMode); in ChangeScreenDisplayMode() local
119 sptr<ScreenSession> screenSession = ScreenSessionManager::GetInstance().GetScreenSession(screenId); in ChangeScreenDisplayMode()
326 TLOGI(WmsLogTag::DMS, "ChangeScreenDisplayMode: off screenId: %{public}" PRIu64 "", offScreenId); in ChangeScreenDisplayModeInner()
340 TLOGI(WmsLogTag::DMS, "ChangeScreenDisplayMode: on screenId: %{public}" PRIu64 "", onScreenId); in ChangeScreenDisplayModeInner()
364 TLOGI(WmsLogTag::DMS, "ChangeScreenDisplayMode: on main screenId"); in ChangeScreenDisplayModeToCoordination()
383 TLOGI(WmsLogTag::DMS, "ChangeScreenDisplayMode: on sub screenId"); in ChangeScreenDisplayModeToCoordination()
395 void DualDisplayFoldPolicy::ChangeScreenDisplayModeOnBootAnimation(sptr<ScreenSession> screenSession, ScreenId screenId) in ChangeScreenDisplayModeOnBootAnimation() argument
415 AddOrRemoveDisplayNodeToTree(ScreenId screenId, int32_t command) AddOrRemoveDisplayNodeToTree() argument
[all...]
/foundation/window/window_manager/window_scene/session/screen/include/
H A Dscreen_session.h43 virtual void OnConnect(ScreenId screenId) = 0;
44 virtual void OnDisconnect(ScreenId screenId) = 0;
46 ScreenId screenId) = 0;
49 virtual void OnSensorRotationChange(float sensorRotation, ScreenId screenId) = 0;
50 virtual void OnScreenOrientationChange(float screenOrientation, ScreenId screenId) = 0;
51 virtual void OnScreenRotationLockedChange(bool isLocked, ScreenId screenId) = 0;
68 ScreenId screenId {0};
90 ScreenSession(ScreenId screenId, ScreenId rsId, const std::string& name,
92 ScreenSession(ScreenId screenId, const ScreenProperty& property, ScreenId defaultScreenId);
93 ScreenSession(ScreenId screenId, cons
[all...]
/foundation/multimedia/av_session/services/session/adapter/
H A Dhw_cast_display_listener.h29 void OnConnect(Rosen::ScreenId screenId) override;
30 void OnDisconnect(Rosen::ScreenId screenId) override;
31 void OnChange(Rosen::ScreenId screenId) override;
/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_snapshot_picker_connection_test.cpp169 ScreenId screenId = SCREEN_ID_INVALID; in HWTEST_F() local
170 auto ret = ScreenSnapshotPickerConnection::GetInstance().GetScreenSnapshotInfo(rect, screenId); in HWTEST_F()
186 ScreenId screenId; in HWTEST_F() local
187 auto ret = ScreenSnapshotPickerConnection::GetInstance().GetScreenSnapshotInfo(rect, screenId); in HWTEST_F()
205 ScreenId screenId; in HWTEST_F() local
206 ret = ScreenSnapshotPickerConnection::GetInstance().GetScreenSnapshotInfo(rect, screenId); in HWTEST_F()
243 ScreenId screenId = SCREEN_ID_INVALID; in HWTEST_F() local
252 ScreenSnapshotPickerConnection::GetInstance().GetScreenSnapshotInfo(rect, screenId); in HWTEST_F()
H A Dscreen_setting_helper_test.cpp308 int32_t screenId = 0; in HWTEST_F() local
309 ScreenSettingHelper::SetSettingRotationScreenId(screenId); in HWTEST_F()
320 int32_t screenId = 0; in HWTEST_F() local
322 auto result = ScreenSettingHelper::GetSettingRotation(screenId, key); in HWTEST_F()
333 int32_t screenId = 0; in HWTEST_F() local
335 auto result = ScreenSettingHelper::GetSettingRotation(screenId, key); in HWTEST_F()
H A Ddual_display_fold_policy_test.cpp99 ScreenId screenId = 1001; in HWTEST_F() local
100 ssm_.screenSessionMap_[screenId] = session; in HWTEST_F()
322 ScreenId screenId = 0; in HWTEST_F() local
325 dualDisplayFoldPolicy.ChangeScreenDisplayModeOnBootAnimation(screenSession, screenId); in HWTEST_F()
326 ASSERT_EQ(screenId, dualDisplayFoldPolicy.screenId_); in HWTEST_F()
339 ScreenId screenId = 5; in HWTEST_F() local
342 dualDisplayFoldPolicy.ChangeScreenDisplayModeOnBootAnimation(screenSession, screenId); in HWTEST_F()
343 ASSERT_EQ(screenId, dualDisplayFoldPolicy.screenId_); in HWTEST_F()
356 ScreenId screenId = 0; in HWTEST_F() local
358 dualDisplayFoldPolicy.AddOrRemoveDisplayNodeToTree(screenId, comman in HWTEST_F()
[all...]
H A Dscreen_session_manager_proxy_test.cpp984 std::vector<ScreenId> screenId = {1003, 1004, 1005}; in HWTEST_F() local
989 screenSessionManagerProxy->MakeExpand(screenId, startPoint, screenGroupId)); in HWTEST_F()
992 screenSessionManagerProxy->MakeExpand(screenId, startPoint, screenGroupId)); in HWTEST_F()
1132 ScreenId screenId {0}; in HWTEST_F()
1135 res = screenSessionManagerProxy->GetDisplayInfoByScreen(screenId); in HWTEST_F()
1226 ScreenId screenId = 1001; in HWTEST_F() local
1230 screenSessionManagerProxy->GetScreenSupportedColorGamuts(screenId, colorGamuts)); in HWTEST_F()
1233 screenSessionManagerProxy->GetScreenSupportedColorGamuts(screenId, colorGamuts)); in HWTEST_F()
1248 ScreenId screenId = 1001; in HWTEST_F() local
1252 screenSessionManagerProxy->SetOrientation(screenId, orientatio in HWTEST_F()
1467 ScreenId screenId = 1001; HWTEST_F() local
1752 ScreenId screenId = 1001; HWTEST_F() local
1774 ScreenId screenId = 0; HWTEST_F() local
1839 ScreenId screenId = 0; HWTEST_F() local
1937 ScreenId screenId = 0; HWTEST_F() local
1959 ScreenId screenId = 0; HWTEST_F() local
2003 ScreenId screenId = 0; HWTEST_F() local
2074 ScreenId screenId = 0; HWTEST_F() local
2097 ScreenId screenId = 0; HWTEST_F() local
2120 ScreenId screenId = 0; HWTEST_F() local
[all...]
/foundation/window/window_manager/wmserver/include/
H A Dmock_session_manager_service.h45 void NotifyWMSConnected(int32_t userId, int32_t screenId, bool isColdStart);
68 void SetScreenId(int32_t screenId);
84 void NotifyWMSConnectionChanged(int32_t wmsUserId, int32_t screenId, bool isConnected);
85 void NotifyWMSConnectionChangedToClient(int32_t wmsUserId, int32_t screenId, bool isConnected);
86 void NotifyWMSConnectionChangedToLiteClient(int32_t wmsUserId, int32_t screenId, bool isConnected);
/foundation/window/window_manager/dm_lite/src/
H A Dscreen_manager_lite.cpp75 void OnScreenDisconnect(ScreenId screenId) in OnScreenDisconnect() argument
77 if (screenId == SCREEN_ID_INVALID) { in OnScreenDisconnect()
78 WLOGFE("OnScreenDisconnect, screenId is invalid."); in OnScreenDisconnect()
87 listener->OnDisconnect(screenId); in OnScreenDisconnect()
199 bool ScreenManagerLite::SetSpecifiedScreenPower(ScreenId screenId, in SetSpecifiedScreenPower() argument
202 WLOGFI("screenId:%{public}" PRIu64 ", state:%{public}u, reason:%{public}u", screenId, state, reason); in SetSpecifiedScreenPower()
203 return SingletonContainer::Get<ScreenManagerAdapterLite>().SetSpecifiedScreenPower(screenId, state, reason); in SetSpecifiedScreenPower()
/foundation/distributedhardware/distributed_screen/services/screenservice/test/fuzztest/sourceservice/dscreenmgr/dscreenmanager_fuzzer/
H A Ddscreenmanager_fuzzer.cpp66 uint64_t screenId = *(reinterpret_cast<const uint64_t*>(data)); in AddToGroupFuzzTest() local
71 dscreenManager->AddToGroup(dScreen, screenId); in AddToGroupFuzzTest()
72 dscreenManager->RemoveFromGroup(dScreen, screenId); in AddToGroupFuzzTest()
81 std::string screenId(reinterpret_cast<const char*>(data), size); in DScreenCallbackOnRegResultFuzzTest()
87 dScreenCallback->OnRegResult(dScreen, screenId, status, dataStr); in DScreenCallbackOnRegResultFuzzTest()
88 dScreenCallback->OnUnregResult(dScreen, screenId, status, dataStr); in DScreenCallbackOnRegResultFuzzTest()
/foundation/window/window_manager/dm/src/
H A Ddisplay_manager.cpp55 bool ConvertScreenIdToRsScreenId(ScreenId screenId, ScreenId& rsScreenId);
62 void SetDisplayScale(ScreenId screenId, float scaleX, float scaleY, float pivotX, float pivotY);
89 sptr<Display> GetDisplayByScreenId(ScreenId screenId);
92 DMError SetVirtualScreenSecurityExemption(ScreenId screenId, uint32_t pid, std::vector<uint64_t>& windowIdList);
635 sptr<Display> DisplayManager::GetDisplayByScreen(ScreenId screenId) in GetDisplayByScreen() argument
637 if (screenId == SCREEN_ID_INVALID) { in GetDisplayByScreen()
638 WLOGFE("screenId is invalid."); in GetDisplayByScreen()
641 sptr<Display> display = pImpl_->GetDisplayByScreenId(screenId); in GetDisplayByScreen()
643 WLOGFE("get display by screenId failed. screen %{public}" PRIu64"", screenId); in GetDisplayByScreen()
648 GetDisplayByScreenId(ScreenId screenId) GetDisplayByScreenId() argument
947 SetDisplayScale(ScreenId screenId, float scaleX, float scaleY, float pivotX, float pivotY) SetDisplayScale() argument
952 SetDisplayScale(ScreenId screenId, float scaleX, float scaleY, float pivotX, float pivotY) SetDisplayScale() argument
1861 SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) SetScreenPowerById() argument
1915 SetScreenBrightness(uint64_t screenId, uint32_t level) SetScreenBrightness() argument
2004 ConvertScreenIdToRsScreenId(ScreenId screenId, ScreenId& rsScreenId) ConvertScreenIdToRsScreenId() argument
2009 ConvertScreenIdToRsScreenId(ScreenId screenId, ScreenId& rsScreenId) ConvertScreenIdToRsScreenId() argument
2016 SetVirtualScreenBlackList(ScreenId screenId, std::vector<uint64_t>& windowIdList) SetVirtualScreenBlackList() argument
2021 DisablePowerOffRenderControl(ScreenId screenId) DisablePowerOffRenderControl() argument
2051 SetVirtualScreenSecurityExemption(ScreenId screenId, uint32_t pid, std::vector<uint64_t>& windowIdList) SetVirtualScreenSecurityExemption() argument
2057 SetVirtualScreenSecurityExemption(ScreenId screenId, uint32_t pid, std::vector<uint64_t>& windowIdList) SetVirtualScreenSecurityExemption() argument
[all...]
/foundation/distributedhardware/distributed_screen/screenhandler/include/
H A Ddscreen_handler.h28 void OnConnect(uint64_t screenId) override;
29 void OnDisconnect(uint64_t screenId) override;
30 void OnChange(uint64_t screenId) override {};
/foundation/graphic/graphic_2d/frameworks/bootanimation/src/
H A Dboot_independent_display_strategy.cpp28 interface.SetScreenPowerStatus(config.screenId, Rosen::ScreenPowerStatus::POWER_STATUS_ON); in Display()
29 Rosen::RSScreenModeInfo modeInfo = interface.GetScreenActiveMode(config.screenId); in Display()
34 if (config.screenId != defaultId) { in Display()
/foundation/window/window_manager/window_scene/screen_session_manager/include/fold_screen_controller/
H A Dsingle_display_fold_policy.h38 void AddOrRemoveDisplayNodeToTree(ScreenId screenId, int32_t command) override {};
44 void ChangeScreenDisplayModePower(ScreenId screenId, ScreenPowerStatus screenPowerStatus);
49 void SendPropertyChangeResult(sptr<ScreenSession> screenSession, ScreenId screenId,
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/
H A Dwindow_scene_layout_manager.h40 void RegisterScreenNode(uint64_t screenId, const RefPtr<FrameNode>& node);
41 void UnregisterScreenNode(uint64_t screenId);
69 void DumpFlushInfo(uint64_t screenId, TraverseResult& res);
73 void GetTotalUITreeInfo(uint64_t screenId, std::string& info);
/foundation/window/window_manager/dm_lite/include/
H A Ddisplay_manager_adapter_lite.h72 virtual bool SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason);
76 virtual bool SetScreenBrightness(uint64_t screenId, uint32_t level);
77 virtual uint32_t GetScreenBrightness(uint64_t screenId);
88 virtual bool SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason);
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_backend.h38 uint32_t screenId; member
88 void OnHdiBackendConnected(uint32_t screenId, bool connected);
89 void CreateHdiOutput(uint32_t screenId);
90 void OnScreenHotplug(uint32_t screenId, bool connected);
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/screen/
H A Dscreen_pattern.cpp140 auto screenId = screenSession_->GetScreenId(); in UpdateToInputManager() local
175 .id = screenId, in UpdateToInputManager()
181 .name = "display" + std::to_string(screenId), in UpdateToInputManager()
182 .uniq = "default" + std::to_string(screenId), in UpdateToInputManager()
206 auto screenId = screenSession_->GetScreenId(); in DeduplicateDisplayInfo() local
208 [screenId](MMI::DisplayInfo displayInfo) { in DeduplicateDisplayInfo()
209 return displayInfo.id == static_cast<int32_t>(screenId); in DeduplicateDisplayInfo()
/foundation/distributedhardware/distributed_screen/services/screenservice/sinkservice/screenregionmgr/1.0/src/
H A Dscreenregionmgr.cpp98 uint64_t screenId = screenRegion->GetScreenId(); in GetScreenDumpInfo() local
108 " \"remoteScreenId\" : \"" + std::to_string(screenId) + "\",\n" + in GetScreenDumpInfo()
145 uint64_t screenId = eventContentJson[KEY_SCREEN_ID].get<uint64_t>(); in HandleNotifySetUp() local
154 std::shared_ptr<ScreenRegion> screenRegion = std::make_shared<ScreenRegion>(remoteDevId, screenId, displayId); in HandleNotifySetUp()
185 PublishMessage(DHTopic::TOPIC_SINK_PROJECT_WINDOW_INFO, screenId, remoteDevId, screenRegion->GetWindowId(), in HandleNotifySetUp()
251 void ScreenRegionManager::PublishMessage(const DHTopic topic, const uint64_t &screenId, in PublishMessage() argument
262 messageJosn[SOURCE_WIN_ID] = screenId; in PublishMessage()
/foundation/window/window_manager/window_scene/test/unittest/
H A Dscene_session_dirty_manager_test2.cpp404 ScreenId screenId = 37; in HWTEST_F() local
407 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(screenId, screenSession)); in HWTEST_F()
408 manager_->UpdateWindowFlags(screenId, sceneSessionMainWindow, windowInfo); in HWTEST_F()
441 ScreenId screenId = 38; in HWTEST_F() local
447 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(screenId, screenSession)); in HWTEST_F()
448 manager_->UpdateWindowFlags(screenId, sceneSessionMainWindow, windowInfo); in HWTEST_F()
482 ScreenId screenId = 39; in HWTEST_F() local
486 ScreenSessionManagerClient::GetInstance().screenSessionMap_.insert(std::make_pair(screenId, screenSession)); in HWTEST_F()
487 manager_->UpdateWindowFlags(screenId, sceneSessionMainWindow, windowInfo); in HWTEST_F()
520 ScreenId screenId in HWTEST_F() local
557 ScreenId screenId = 41; HWTEST_F() local
[all...]
/foundation/window/window_manager/wmserver/src/
H A Dmock_session_manager_service.cpp122 void MockSessionManagerService::SMSDeathRecipient::SetScreenId(int32_t screenId) in SetScreenId() argument
124 TLOGI(WmsLogTag::WMS_MULTI_USER, "screenId=%{public}d", screenId); in SetScreenId()
125 screenId_ = screenId; in SetScreenId()
525 void MockSessionManagerService::NotifyWMSConnected(int32_t userId, int32_t screenId, bool isColdStart) in NotifyWMSConnected() argument
527 TLOGI(WmsLogTag::WMS_MULTI_USER, "userId = %{public}d, screenId = %{public}d, isColdStart = %{public}d", userId, in NotifyWMSConnected()
528 screenId, isColdStart); in NotifyWMSConnected()
529 currentScreenId_ = screenId; in NotifyWMSConnected()
533 smsDeathRecipient->SetScreenId(screenId); in NotifyWMSConnected()
539 NotifyWMSConnectionChanged(userId, screenId, tru in NotifyWMSConnected()
542 NotifyWMSConnectionChanged(int32_t wmsUserId, int32_t screenId, bool isConnected) NotifyWMSConnectionChanged() argument
553 NotifyWMSConnectionChangedToClient( int32_t wmsUserId, int32_t screenId, bool isConnected) NotifyWMSConnectionChangedToClient() argument
580 NotifyWMSConnectionChangedToLiteClient( int32_t wmsUserId, int32_t screenId, bool isConnected) NotifyWMSConnectionChangedToLiteClient() argument
[all...]

Completed in 25 milliseconds

12345678910>>...14