Home
last modified time | relevance | path

Searched refs:screenId (Results 51 - 75 of 328) sorted by relevance

12345678910>>...14

/foundation/window/window_manager/window_scene/test/dms_unittest/
H A Dscreen_session_test.cpp27 void OnConnect(ScreenId screenId) override {}
28 void OnDisconnect(ScreenId screenId) override {}
30 ScreenId screenId) override {}
33 void OnSensorRotationChange(float sensorRotation, ScreenId screenId) override {}
34 void OnScreenOrientationChange(float screenOrientation, ScreenId screenId) override {}
35 void OnScreenRotationLockedChange(bool isLocked, ScreenId screenId) override {}
37 void OnHoverStatusChange(int32_t hoverStatus, ScreenId screenId) override {}
55 .screenId = 0, in HWTEST_F()
71 .screenId = 0, in HWTEST_F()
87 .screenId in HWTEST_F()
1033 ScreenId screenId = 0; HWTEST_F() local
1145 ScreenId screenId = 2024; HWTEST_F() local
1379 ScreenId screenId = 1; HWTEST_F() local
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager_client/src/zidl/
H A Dscreen_session_manager_client_proxy.cpp25 void ScreenSessionManagerClientProxy::OnScreenConnectionChanged(ScreenId screenId, ScreenEvent screenEvent, in OnScreenConnectionChanged() argument
41 if (!data.WriteUint64(screenId)) { in OnScreenConnectionChanged()
42 WLOGFE("Write screenId failed"); in OnScreenConnectionChanged()
115 WLOGFE("Write screenId failed"); in OnScreenExtendChanged()
130 void ScreenSessionManagerClientProxy::OnPropertyChanged(ScreenId screenId, in OnPropertyChanged() argument
146 if (!data.WriteUint64(screenId)) { in OnPropertyChanged()
147 WLOGFE("Write screenId failed"); in OnPropertyChanged()
201 void ScreenSessionManagerClientProxy::OnSensorRotationChanged(ScreenId screenId, float sensorRotation) in OnSensorRotationChanged() argument
216 if (!data.WriteUint64(screenId)) { in OnSensorRotationChanged()
217 WLOGFE("Write screenId faile in OnSensorRotationChanged()
232 OnHoverStatusChanged(ScreenId screenId, int32_t hoverStatus) OnHoverStatusChanged() argument
263 OnScreenOrientationChanged(ScreenId screenId, float screenOrientation) OnScreenOrientationChanged() argument
294 OnScreenRotationLockedChanged(ScreenId screenId, bool isLocked) OnScreenRotationLockedChanged() argument
466 OnImmersiveStateChanged(ScreenId screenId, bool& immersive) OnImmersiveStateChanged() argument
494 SetDisplayNodeScreenId(ScreenId screenId, ScreenId displayNodeScreenId) SetDisplayNodeScreenId() argument
525 SetVirtualPixelRatioSystem(ScreenId screenId, float virtualPixelRatio) SetVirtualPixelRatioSystem() argument
[all...]
/foundation/window/window_manager/dmserver/test/unittest/
H A Ddisplay_manager_proxy_test.cpp1019 ScreenId screenId = static_cast<ScreenId>(0); in HWTEST_F() local
1023 auto result1 = proxy1.GetScreenInfoById(screenId); in HWTEST_F()
1030 auto result2 = proxy2.GetScreenInfoById(screenId); in HWTEST_F()
1034 auto result3 = proxy2.GetScreenInfoById(screenId); in HWTEST_F()
1045 ScreenId screenId = static_cast<ScreenId>(0); in HWTEST_F() local
1049 auto result1 = proxy1.GetScreenGroupInfoById(screenId); in HWTEST_F()
1056 auto result2 = proxy2.GetScreenGroupInfoById(screenId); in HWTEST_F()
1060 auto result3 = proxy2.GetScreenGroupInfoById(screenId); in HWTEST_F()
1098 std::vector<ScreenId> screenId; in HWTEST_F() local
1099 screenId in HWTEST_F()
1130 std::vector<ScreenId> screenId; HWTEST_F() local
1158 std::vector<ScreenId> screenId; HWTEST_F() local
1185 ScreenId screenId = static_cast<ScreenId>(0); HWTEST_F() local
1211 ScreenId screenId = static_cast<ScreenId>(0); HWTEST_F() local
1241 ScreenId screenId = 0; HWTEST_F() local
1253 ScreenId screenId = static_cast<ScreenId>(0); HWTEST_F() local
1348 ScreenId screenId = 0; HWTEST_F() local
1376 std::vector<ScreenId> screenId; HWTEST_F() local
1403 ScreenId screenId = static_cast<ScreenId>(0); HWTEST_F() local
1429 ScreenId screenId = static_cast<ScreenId>(0); HWTEST_F() local
1459 ScreenId screenId = 0; HWTEST_F() local
1471 ScreenId screenId = static_cast<ScreenId>(0); HWTEST_F() local
1566 ScreenId screenId = 0; HWTEST_F() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/systemtest/
H A Drs_interfaces_virtual_screen_test.cpp109 for (ScreenId screenId : ids) { in HWTEST_F()
110 if (screenId == defaultScreenId) { in HWTEST_F()
113 int32_t ret = RSInterfaces::GetInstance().SetScreenSkipFrameInterval(screenId, virtualScreenSkipFrameInterval); in HWTEST_F()
115 std::cout << "Set Screen:" << screenId << ", SkipFrameInterval:" << virtualScreenSkipFrameInterval << std::endl; in HWTEST_F()
122 for (ScreenId screenId : ids) { in HWTEST_F()
123 int32_t ret = RSInterfaces::GetInstance().SetScreenSkipFrameInterval(screenId, 1); in HWTEST_F()
125 std::cout << "recover Screen:" << screenId << ", SkipFrameInterval:" << 1 << std::endl; in HWTEST_F()
/foundation/distributedhardware/distributed_screen/screenhandler/test/unittest/screenhandler/src/
H A Ddscreen_handler_test.cpp41 uint64_t screenId = SCREEN_ID_DEFAULT; in HWTEST_F() local
42 DScreenHandler::GetInstance().screenListener_->OnConnect(screenId); in HWTEST_F()
43 screenId = 9999999; in HWTEST_F()
44 DScreenHandler::GetInstance().screenListener_->OnConnect(screenId); in HWTEST_F()
45 DScreenHandler::GetInstance().screenListener_->OnDisconnect(screenId); in HWTEST_F()
46 screenId = 1; in HWTEST_F()
47 DScreenHandler::GetInstance().screenListener_->OnConnect(screenId); in HWTEST_F()
/foundation/window/window_manager/window_scene/interfaces/kits/napi/screen_session_manager/
H A Djs_screen_session.h49 void OnConnect(ScreenId screenId) override;
50 void OnDisconnect(ScreenId screenId) override;
52 ScreenId screenId) override;
55 void OnSensorRotationChange(float sensorRotation, ScreenId screenId) override;
56 void OnScreenOrientationChange(float screenOrientation, ScreenId screenId) override;
57 void OnScreenRotationLockedChange(bool isLocked, ScreenId screenId) override;
60 void OnHoverStatusChange(int32_t hoverStatus, ScreenId screenId) override;
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/1.0/src/
H A Ddscreen_manager.cpp89 for (uint64_t screenId : screenIds) { in OnChange()
90 std::shared_ptr<DScreen> changedScreen = DScreenManager::GetInstance().FindDScreenByScreenId(screenId); in OnChange()
92 DHLOGD("screen change not about remote screen, screenId: %{public}" PRIu64, screenId); in OnChange()
107 uint64_t screenId = changedScreen->GetScreenId(); in HandleScreenChange() local
108 DHLOGI("DScreenManager::HandleScreenChange, screenId: %{public}" PRIu64 ", changeEvent: %{public}" PRIu32, in HandleScreenChange()
109 screenId, event); in HandleScreenChange()
111 if (AddToGroup(changedScreen, screenId) != DH_SUCCESS) { in HandleScreenChange()
118 if (RemoveFromGroup(changedScreen, screenId) != DH_SUCCESS) { in HandleScreenChange()
129 int32_t DScreenManager::AddToGroup(const std::shared_ptr<DScreen> &changedScreen, uint64_t screenId) in AddToGroup() argument
164 RemoveFromGroup(const std::shared_ptr<DScreen> &changedScreen, uint64_t screenId) RemoveFromGroup() argument
333 FindDScreenByScreenId(uint64_t screenId) FindDScreenByScreenId() argument
369 uint64_t screenId = dScreen->GetScreenId(); GetScreenDumpInfo() local
[all...]
/foundation/window/window_manager/dmserver/src/
H A Ddisplay_manager_proxy.cpp90 sptr<DisplayInfo> DisplayManagerProxy::GetDisplayInfoByScreen(ScreenId screenId) in GetDisplayInfoByScreen() argument
94 WLOGFE("fail to get displayInfo by screenId: remote is null"); in GetDisplayInfoByScreen()
102 WLOGFE("fail to get displayInfo by screenId: WriteInterfaceToken failed"); in GetDisplayInfoByScreen()
105 if (!data.WriteUint64(screenId)) { in GetDisplayInfoByScreen()
106 WLOGFW("fail to get displayInfo by screenId: WriteUint64 displayId failed"); in GetDisplayInfoByScreen()
111 WLOGFW("fail to get displayInfo by screenId: SendRequest failed"); in GetDisplayInfoByScreen()
117 WLOGFW("fail to get displayInfo by screenId: SendRequest null"); in GetDisplayInfoByScreen()
165 ScreenId screenId = static_cast<ScreenId>(reply.ReadUint64()); in CreateVirtualScreen() local
166 WLOGFI("CreateVirtualScreen %" PRIu64"", screenId); in CreateVirtualScreen()
167 return screenId; in CreateVirtualScreen()
170 DestroyVirtualScreen(ScreenId screenId) DestroyVirtualScreen() argument
197 SetVirtualScreenSurface(ScreenId screenId, sptr<IBufferProducer> surface) SetVirtualScreenSurface() argument
233 SetOrientation(ScreenId screenId, Orientation orientation) SetOrientation() argument
303 GetScreenSupportedColorGamuts(ScreenId screenId, std::vector<ScreenColorGamut>& colorGamuts) GetScreenSupportedColorGamuts() argument
343 GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut) GetScreenColorGamut() argument
375 SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) SetScreenColorGamut() argument
402 GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) GetScreenGamutMap() argument
434 SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) SetScreenGamutMap() argument
461 SetScreenColorTransform(ScreenId screenId) SetScreenColorTransform() argument
488 GetPixelFormat(ScreenId screenId, GraphicPixelFormat& pixelFormat) GetPixelFormat() argument
520 SetPixelFormat(ScreenId screenId, GraphicPixelFormat pixelFormat) SetPixelFormat() argument
547 GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats) GetSupportedHDRFormats() argument
586 GetScreenHDRFormat(ScreenId screenId, ScreenHDRFormat& hdrFormat) GetScreenHDRFormat() argument
618 SetScreenHDRFormat(ScreenId screenId, int32_t modeIdx) SetScreenHDRFormat() argument
645 GetSupportedColorSpaces(ScreenId screenId, std::vector<GraphicCM_ColorSpaceType>& colorSpaces) GetSupportedColorSpaces() argument
685 GetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType& colorSpace) GetScreenColorSpace() argument
717 SetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType colorSpace) SetScreenColorSpace() argument
945 SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) SetSpecifiedScreenPower() argument
1348 GetScreenInfoById(ScreenId screenId) GetScreenInfoById() argument
1385 GetScreenGroupInfoById(ScreenId screenId) GetScreenGroupInfoById() argument
1443 MakeExpand(std::vector<ScreenId> screenId, std::vector<Point> startPoint, ScreenId& screenGroupId) MakeExpand() argument
1534 SetScreenActiveMode(ScreenId screenId, uint32_t modeId) SetScreenActiveMode() argument
1561 SetVirtualPixelRatio(ScreenId screenId, float virtualPixelRatio) SetVirtualPixelRatio() argument
1588 SetResolution(ScreenId screenId, uint32_t width, uint32_t height, float virtualPixelRatio) SetResolution() argument
1616 GetDensityInCurResolution(ScreenId screenId, float& virtualPixelRatio) GetDensityInCurResolution() argument
1722 ResizeVirtualScreen(ScreenId screenId, uint32_t width, uint32_t height) ResizeVirtualScreen() argument
[all...]
H A Dabstract_screen.cpp569 ScreenId screenId = dmsScreen->dmsId_; in AddChild() local
570 WLOGFD("AbstractScreenGroup AddChild dmsScreenId: %{public}" PRIu64"", screenId); in AddChild()
571 auto iter = screenMap_.find(screenId); in AddChild()
574 defaultScreenId_ == screenId) { in AddChild()
575 WLOGFD("Add default screen, id: %{public}" PRIu64"", screenId); in AddChild()
577 WLOGE("AddChild, screenMap_ has dmsScreen:%{public}" PRIu64"", screenId); in AddChild()
586 defaultScreenId_ == screenId) { in AddChild()
587 WLOGFD("Reconnect default screen, screenId: %{public}" PRIu64"", screenId); in AddChild()
593 screenMap_.insert(std::make_pair(screenId, dmsScree in AddChild()
618 ScreenId screenId = dmsScreen->dmsId_; RemoveChild() local
642 ScreenId screenId = dmsScreen->dmsId_; RemoveDefaultScreen() local
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/
H A Dscreen_session_manager_proxy.cpp53 DMError ScreenSessionManagerProxy::SetScreenActiveMode(ScreenId screenId, uint32_t modeId) in SetScreenActiveMode() argument
68 if (!data.WriteUint64(screenId) || !data.WriteUint32(modeId)) { in SetScreenActiveMode()
69 WLOGFE("SetScreenActiveMode: write screenId/modeId failed"); in SetScreenActiveMode()
80 DMError ScreenSessionManagerProxy::SetVirtualPixelRatio(ScreenId screenId, float virtualPixelRatio) in SetVirtualPixelRatio() argument
95 if (!data.WriteUint64(screenId) || !data.WriteFloat(virtualPixelRatio)) { in SetVirtualPixelRatio()
96 WLOGFE("write screenId/modeId failed"); in SetVirtualPixelRatio()
107 DMError ScreenSessionManagerProxy::SetVirtualPixelRatioSystem(ScreenId screenId, float virtualPixelRatio) in SetVirtualPixelRatioSystem() argument
122 if (!data.WriteUint64(screenId) || !data.WriteFloat(virtualPixelRatio)) { in SetVirtualPixelRatioSystem()
123 WLOGFE("write screenId/modeId failed"); in SetVirtualPixelRatioSystem()
134 DMError ScreenSessionManagerProxy::SetResolution(ScreenId screenId, uint32_ argument
163 GetDensityInCurResolution(ScreenId screenId, float& virtualPixelRatio) GetDensityInCurResolution() argument
191 GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut) GetScreenColorGamut() argument
223 SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) SetScreenColorGamut() argument
250 GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) GetScreenGamutMap() argument
282 SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) SetScreenGamutMap() argument
309 SetScreenColorTransform(ScreenId screenId) SetScreenColorTransform() argument
336 GetPixelFormat(ScreenId screenId, GraphicPixelFormat& pixelFormat) GetPixelFormat() argument
368 SetPixelFormat(ScreenId screenId, GraphicPixelFormat pixelFormat) SetPixelFormat() argument
395 GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats) GetSupportedHDRFormats() argument
434 GetScreenHDRFormat(ScreenId screenId, ScreenHDRFormat& hdrFormat) GetScreenHDRFormat() argument
466 SetScreenHDRFormat(ScreenId screenId, int32_t modeIdx) SetScreenHDRFormat() argument
493 GetSupportedColorSpaces(ScreenId screenId, std::vector<GraphicCM_ColorSpaceType>& colorSpaces) GetSupportedColorSpaces() argument
533 GetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType& colorSpace) GetScreenColorSpace() argument
565 SetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType colorSpace) SetScreenColorSpace() argument
799 SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) SetScreenPowerById() argument
862 SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) SetSpecifiedScreenPower() argument
1075 ScreenId screenId = static_cast<ScreenId>(reply.ReadUint64()); CreateVirtualScreen() local
1079 SetVirtualScreenSurface(ScreenId screenId, sptr<IBufferProducer> surface) SetVirtualScreenSurface() argument
1116 SetVirtualMirrorScreenCanvasRotation(ScreenId screenId, bool canvasRotation) SetVirtualMirrorScreenCanvasRotation() argument
1145 SetVirtualMirrorScreenScaleMode(ScreenId screenId, ScreenScaleMode scaleMode) SetVirtualMirrorScreenScaleMode() argument
1176 ResizeVirtualScreen(ScreenId screenId, uint32_t width, uint32_t height) ResizeVirtualScreen() argument
1213 DestroyVirtualScreen(ScreenId screenId) DestroyVirtualScreen() argument
1395 MakeExpand(std::vector<ScreenId> screenId, std::vector<Point> startPoint, ScreenId& screenGroupId) MakeExpand() argument
1460 GetScreenGroupInfoById(ScreenId screenId) GetScreenGroupInfoById() argument
1627 GetDisplayInfoByScreen(ScreenId screenId) GetDisplayInfoByScreen() argument
1685 GetScreenInfoById(ScreenId screenId) GetScreenInfoById() argument
1747 GetScreenSupportedColorGamuts(ScreenId screenId, std::vector<ScreenColorGamut>& colorGamuts) GetScreenSupportedColorGamuts() argument
1787 SetOrientation(ScreenId screenId, Orientation orientation) SetOrientation() argument
1924 HasImmersiveWindow(ScreenId screenId, bool& immersive) HasImmersiveWindow() argument
1953 ConvertScreenIdToRsScreenId(ScreenId screenId, ScreenId& rsScreenId) ConvertScreenIdToRsScreenId() argument
2115 SetDisplayScale(ScreenId screenId, float scaleX, float scaleY, float pivotX, float pivotY) SetDisplayScale() argument
2393 GetScreenProperty(ScreenId screenId) GetScreenProperty() argument
2425 GetDisplayNode(ScreenId screenId) GetDisplayNode() argument
2458 UpdateScreenRotationProperty(ScreenId screenId, const RRect& bounds, float rotation, ScreenPropertyChangeType screenPropertyChangeType) UpdateScreenRotationProperty() argument
2521 GetPhyScreenProperty(ScreenId screenId) GetPhyScreenProperty() argument
2665 UpdateAvailableArea(ScreenId screenId, DMRect area) UpdateAvailableArea() argument
2782 GetVirtualScreenFlag(ScreenId screenId) GetVirtualScreenFlag() argument
2812 SetVirtualScreenFlag(ScreenId screenId, VirtualScreenFlag screenFlag) SetVirtualScreenFlag() argument
2873 SetVirtualScreenRefreshRate(ScreenId screenId, uint32_t refreshInterval) SetVirtualScreenRefreshRate() argument
2901 SetVirtualScreenBlackList(ScreenId screenId, std::vector<uint64_t>& windowIdList) SetVirtualScreenBlackList() argument
2930 DisablePowerOffRenderControl(ScreenId screenId) DisablePowerOffRenderControl() argument
3053 SetVirtualScreenSecurityExemption(ScreenId screenId, uint32_t pid, std::vector<uint64_t>& windowIdList) SetVirtualScreenSecurityExemption() argument
3125 SetVirtualScreenStatus(ScreenId screenId, VirtualScreenStatus screenStatus) SetVirtualScreenStatus() argument
[all...]
/foundation/window/window_manager/test/fuzztest/window_scene/screensessionmanager_fuzzer/
H A Dscreensessionmanager_fuzzer.cpp298 ScreenId screenId = source.GetObject<ScreenId>(); in ProxyInterfaceFuzzTestPart3() local
300 proxy->SetVirtualScreenSurface(screenId, bufferProducer); in ProxyInterfaceFuzzTestPart3()
301 proxy->DestroyVirtualScreen(screenId); in ProxyInterfaceFuzzTestPart3()
316 screenId = source.GetObject<ScreenId>(); in ProxyInterfaceFuzzTestPart3()
317 proxy->GetScreenGroupInfoById(screenId); in ProxyInterfaceFuzzTestPart3()
322 screenId = source.GetObject<ScreenId>(); in ProxyInterfaceFuzzTestPart3()
324 proxy->SetScreenActiveMode(screenId, modeId); in ProxyInterfaceFuzzTestPart3()
336 ScreenId screenId = source.GetObject<ScreenId>(); in ProxyInterfaceFuzzTestPart4() local
338 proxy->SetVirtualPixelRatio(screenId, virtualPixelRatio); in ProxyInterfaceFuzzTestPart4()
340 screenId in ProxyInterfaceFuzzTestPart4()
377 ScreenId screenId = source.GetObject<ScreenId>(); ProxyInterfaceFuzzTestPart5() local
[all...]
/foundation/distributedhardware/distributed_screen/services/common/test/unittest/utils/
H A Ddscreen_maprelation_test.cpp57 uint64_t screenId = 0; in HWTEST_F() local
58 dscreenMapRelation->SetScreenId(screenId); in HWTEST_F()
60 EXPECT_EQ(screenId, actual); in HWTEST_F()
105 uint64_t screenId = 2; in HWTEST_F() local
110 dScreenMapRelation.SetScreenId(screenId); in HWTEST_F()
130 uint64_t screenId = 2; in HWTEST_F() local
135 dScreenMapRelation.SetScreenId(screenId); in HWTEST_F()
155 uint64_t screenId = 2; in HWTEST_F() local
160 j[KEY_SCREEN_ID] = screenId; in HWTEST_F()
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dsession_manager_lite.cpp52 int32_t screenId = DEFAULT_SCREEN_ID; variable
54 if (!data.ReadInt32(userId) || !data.ReadInt32(screenId) || !data.ReadBool(isConnected)) {
60 OnWMSConnectionChanged(userId, screenId, isConnected, data.ReadRemoteObject());
62 OnWMSConnectionChanged(userId, screenId, isConnected, nullptr);
83 int32_t userId, int32_t screenId, bool isConnected, const sptr<IRemoteObject>& sessionManagerService) override
86 SessionManagerLite::GetInstance().OnWMSConnectionChanged(userId, screenId, isConnected, sms);
243 int32_t userId, int32_t screenId, bool isConnected, const sptr<ISessionManagerService>& sessionManagerService) in OnWMSConnectionChanged()
256 currentScreenId_ = screenId; in OnWMSConnectionChanged()
264 "Lite: curUserId=%{public}d, oldUserId=%{public}d, screenId=%{public}d, isConnected=%{public}d", userId, in OnWMSConnectionChanged()
265 lastUserId, screenId, isConnecte in OnWMSConnectionChanged()
242 OnWMSConnectionChanged( int32_t userId, int32_t screenId, bool isConnected, const sptr<ISessionManagerService>& sessionManagerService) OnWMSConnectionChanged() argument
390 int32_t screenId = DEFAULT_SCREEN_ID; RegisterWMSConnectionChangedListener() local
464 OnWMSConnectionChangedCallback( int32_t userId, int32_t screenId, bool isConnected, bool isCallbackRegistered) OnWMSConnectionChangedCallback() argument
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/
H A Dscreen_info_demo.cpp26 auto screenId = rsInterfaces.GetDefaultScreenId(); in main() local
27 if (screenId == INVALID_SCREEN_ID) { in main()
30 std::cout << "ScreenID : " << screenId << endl; in main()
32 auto screenData = rsInterfaces.GetScreenData(screenId); in main()
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/core/ui/
H A Drs_display_node.cpp86 uint64_t screenId = UINT64_MAX; in Unmarshalling() local
88 if (!(parcel.ReadUint64(id) && parcel.ReadUint64(screenId) && parcel.ReadBool(isMirrored))) { in Unmarshalling()
98 RSDisplayNodeConfig config { .screenId = screenId, .isMirrored = isMirrored }; in Unmarshalling()
119 void RSDisplayNode::SetScreenId(uint64_t screenId) in SetScreenId() argument
121 std::unique_ptr<RSCommand> command = std::make_unique<RSDisplayNodeSetScreenId>(GetId(), screenId); in SetScreenId()
131 "CURRENT_SCREENID", screenId); in SetScreenId()
137 "RSDisplayNode::SetScreenId, DisplayNode: %{public}" PRIu64 ", ScreenId: %{public}" PRIu64, GetId(), screenId); in SetScreenId()
138 RS_TRACE_NAME_FMT("RSDisplayNode::SetScreenId, DisplayNode: %" PRIu64 ", ScreenId: %" PRIu64, GetId(), screenId); in SetScreenId()
227 : RSNode(true), screenId_(config.screenId), offsetX in RSDisplayNode()
[all...]
/foundation/multimedia/av_session/services/session/adapter/
H A Dhw_cast_display_listener.cpp21 void HwCastDisplayListener::OnConnect(Rosen::ScreenId screenId) in OnConnect() argument
24 auto displayInfo = Rosen::ScreenManager::GetInstance().GetScreenById(screenId); in OnConnect()
37 void HwCastDisplayListener::OnDisconnect(Rosen::ScreenId screenId) in OnDisconnect() argument
41 if (!curDisplayInfo || curDisplayInfo->GetId() != screenId) { in OnDisconnect()
51 void HwCastDisplayListener::OnChange(Rosen::ScreenId screenId) {} in OnChange() argument
/foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/window_scene/scene/
H A Dwindow_scene_layout_manager.cpp50 [this](uint64_t screenId, std::string& info) { in Init()
52 GetTotalUITreeInfo(screenId, info); in Init()
242 auto screenId = GetScreenId(screenNode); in FlushWindowPatternInfo() local
243 if (screenId == SCREEN_ID_INVALID) { in FlushWindowPatternInfo()
245 "tag:%{public}s screenId:%{public}" PRIu64, screenNode->GetTag().c_str(), screenId); in FlushWindowPatternInfo()
250 res.screenId_ = screenId; in FlushWindowPatternInfo()
254 DumpFlushInfo(screenId, res); in FlushWindowPatternInfo()
258 Rosen::SceneSessionManager::GetInstance().FlushUIParams(screenId, std::move(res.uiParams_)); in FlushWindowPatternInfo()
432 void WindowSceneLayoutManager::DumpFlushInfo(uint64_t screenId, TraverseResul argument
511 RegisterScreenNode(uint64_t screenId, const RefPtr<FrameNode>& node) RegisterScreenNode() argument
518 UnregisterScreenNode(uint64_t screenId) UnregisterScreenNode() argument
571 GetTotalUITreeInfo(uint64_t screenId, std::string& info) GetTotalUITreeInfo() argument
[all...]
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/common/include/
H A Dscreen_manager_adapter.h39 int32_t RemoveVirtualScreen(uint64_t screenId);
40 int32_t SetImageSurface(uint64_t screenId, sptr<OHOS::Surface> surface);
41 std::shared_ptr<DScreenMapRelation> GetMapRelation(uint64_t screenId);
42 void RemoveScreenFromGroup(uint64_t screenId);
/foundation/window/window_manager/dm_lite/src/
H A Ddisplay_manager_adapter_lite.cpp190 bool DisplayManagerAdapterLite::SetScreenPowerById(ScreenId screenId, ScreenPowerState state, in SetScreenPowerById() argument
195 return displayManagerServiceProxy_->SetScreenPowerById(screenId, state, reason); in SetScreenPowerById()
219 bool DisplayManagerAdapterLite::SetScreenBrightness(uint64_t screenId, uint32_t level) in SetScreenBrightness() argument
223 return displayManagerServiceProxy_->SetScreenBrightness(screenId, level); in SetScreenBrightness()
226 uint32_t DisplayManagerAdapterLite::GetScreenBrightness(uint64_t screenId) in GetScreenBrightness() argument
230 return displayManagerServiceProxy_->GetScreenBrightness(screenId); in GetScreenBrightness()
241 bool ScreenManagerAdapterLite::SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, in SetSpecifiedScreenPower() argument
246 return displayManagerServiceProxy_->SetSpecifiedScreenPower(screenId, state, reason); in SetSpecifiedScreenPower()
/foundation/distributedhardware/distributed_screen/screenhandler/src/
H A Ddscreen_handler.cpp73 void ScreenListener::OnConnect(uint64_t screenId) in OnConnect() argument
76 if (screenId != SCREEN_ID_DEFAULT) { in OnConnect()
77 DHLOGI("screenId is invalid, screenId is: %{public}" PRIu64, screenId); in OnConnect()
80 sptr<Rosen::Screen> screen = Rosen::ScreenManager::GetInstance().GetScreenById(screenId); in OnConnect()
82 DHLOGE("screen not found, screenId is: %{public}" PRIu64, screenId); in OnConnect()
89 std::string dhId = DSCREEN_PREFIX + SEPERATOR + std::to_string(screenId); in OnConnect()
104 void ScreenListener::OnDisconnect(uint64_t screenId) in OnDisconnect() argument
[all...]
/foundation/window/window_manager/interfaces/kits/napi/screen_runtime/napi/
H A Djs_screen.cpp62 ScreenId screenId = screen->GetId(); in Finalizer() local
63 WLOGI("JsScreen::Finalizer screenId : %{public}" PRIu64"", screenId); in Finalizer()
65 if (g_JsScreenMap.find(screenId) != g_JsScreenMap.end()) { in Finalizer()
66 WLOGI("JsScreen::Finalizer screen is destroyed: %{public}" PRIu64"", screenId); in Finalizer()
67 g_JsScreenMap.erase(screenId); in Finalizer()
272 std::shared_ptr<NativeReference> FindJsDisplayObject(ScreenId screenId) in FindJsDisplayObject() argument
274 WLOGD("[NAPI]Try to find screen %{public}" PRIu64" in g_JsScreenMap", screenId); in FindJsDisplayObject()
276 if (g_JsScreenMap.find(screenId) == g_JsScreenMap.end()) { in FindJsDisplayObject()
277 WLOGI("[NAPI]Can not find screen %{public}" PRIu64" in g_JsScreenMap", screenId); in FindJsDisplayObject()
306 ScreenId screenId = info->GetScreenId(); CreateJsScreenObject() local
[all...]
/foundation/window/window_manager/window_scene/screen_session_manager/src/
H A Dscreen_setting_helper.cpp214 void ScreenSettingHelper::SetSettingRotationScreenId(int32_t screenId) in SetSettingRotationScreenId() argument
217 ErrCode ret = settingProvider.PutIntValue(SETTING_ROTATION_SCREEN_ID_KEY, screenId, false); in SetSettingRotationScreenId()
225 bool ScreenSettingHelper::GetSettingRotationScreenID(int32_t& screenId, const std::string& key) in GetSettingRotationScreenID() argument
228 ErrCode ret = settingProvider.GetIntValue(key, screenId); in GetSettingRotationScreenID()
233 TLOGE(WmsLogTag::DMS, "current rotation screen id:%{public}d", screenId); in GetSettingRotationScreenID()
341 uint64_t screenId = resolutionData[RESOLVED_DATA_INDEX_ZERO]; in GetSettingRecoveryResolutionMap() local
344 TLOGI(WmsLogTag::DMS, "get data success, screenId: %{public}d, width: %{public}d, height: %{public}d", in GetSettingRecoveryResolutionMap()
345 static_cast<uint32_t>(screenId), width, height); in GetSettingRecoveryResolutionMap()
346 resolution[screenId] = std::make_pair(width, height); in GetSettingRecoveryResolutionMap()
388 uint64_t screenId in GetSettingScreenModeMap() local
435 uint64_t screenId = relativePositionData[RESOLVED_DATA_INDEX_ZERO]; GetSettingRelativePositionMap() local
[all...]
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/render/
H A Drs_colorspace_convert.cpp96 ScreenId screenId, uint32_t dynamicRangeMode) in ColorSpaceConvertor()
98 RS_LOGD("RSColorSpaceConvertor targetColorSpace:%{public}d. screenId:%{public}" PRIu64 ". \ in ColorSpaceConvertor()
99 dynamicRangeMode%{public}u", targetColorSpace, screenId, dynamicRangeMode); in ColorSpaceConvertor()
107 if (!SetColorSpaceConverterDisplayParameter(surfaceBuffer, parameter, targetColorSpace, screenId, in ColorSpaceConvertor()
135 VPEParameter& parameter, GraphicColorGamut targetColorSpace, ScreenId screenId, uint32_t dynamicRangeMode) in SetColorSpaceConverterDisplayParameter()
175 float sdrNits = rsLuminance.GetSdrDisplayNits(screenId); in SetColorSpaceConverterDisplayParameter()
176 float displayNits = rsLuminance.GetDisplayNits(screenId); in SetColorSpaceConverterDisplayParameter()
94 ColorSpaceConvertor(std::shared_ptr<Drawing::ShaderEffect> inputShader, const sptr<SurfaceBuffer>& surfaceBuffer, Drawing::Paint& paint, GraphicColorGamut targetColorSpace, ScreenId screenId, uint32_t dynamicRangeMode) ColorSpaceConvertor() argument
134 SetColorSpaceConverterDisplayParameter(const sptr<SurfaceBuffer>& surfaceBuffer, VPEParameter& parameter, GraphicColorGamut targetColorSpace, ScreenId screenId, uint32_t dynamicRangeMode) SetColorSpaceConverterDisplayParameter() argument
/foundation/window/window_manager/interfaces/innerkits/dm/
H A Ddisplay_manager.h194 * @brief Get the display object by corresponding screenId.
196 * @param screenId The id of the target screen.
199 sptr<Display> GetDisplayByScreen(ScreenId screenId);
289 * @param screenId Screen id.
294 bool SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason);
324 * @param screenId Target screen.
327 bool SetScreenBrightness(uint64_t screenId, uint32_t level);
332 * @param screenId Screen id.
335 uint32_t GetScreenBrightness(uint64_t screenId) const;
600 * @param screenId screenI
[all...]
/foundation/window/window_manager/test/fuzztest/dms/displaymanager_fuzzer/
H A Ddisplaymanager_fuzzer.cpp74 ScreenId screenId; in DisplayFuzzTest() local
75 if (data == nullptr || size < sizeof(displayId) + sizeof(screenId)) { in DisplayFuzzTest()
88 startPos += GetObject<ScreenId>(screenId, data + startPos, size - startPos); in DisplayFuzzTest()
89 displayManager.GetDisplayByScreen(screenId); in DisplayFuzzTest()
161 uint64_t screenId; in ScreenBrightnessFuzzTest() local
163 if (data == nullptr || size < sizeof(screenId) + sizeof(level)) { in ScreenBrightnessFuzzTest()
169 startPos += GetObject<uint64_t>(screenId, data + startPos, size - startPos); in ScreenBrightnessFuzzTest()
171 displayManager.SetScreenBrightness(screenId, level); in ScreenBrightnessFuzzTest()
172 displayManager.GetScreenBrightness(screenId); in ScreenBrightnessFuzzTest()

Completed in 21 milliseconds

12345678910>>...14