Lines Matching refs:screenId

90 sptr<DisplayInfo> DisplayManagerProxy::GetDisplayInfoByScreen(ScreenId screenId)

94 WLOGFE("fail to get displayInfo by screenId: remote is null");
102 WLOGFE("fail to get displayInfo by screenId: WriteInterfaceToken failed");
105 if (!data.WriteUint64(screenId)) {
106 WLOGFW("fail to get displayInfo by screenId: WriteUint64 displayId failed");
111 WLOGFW("fail to get displayInfo by screenId: SendRequest failed");
117 WLOGFW("fail to get displayInfo by screenId: SendRequest null");
165 ScreenId screenId = static_cast<ScreenId>(reply.ReadUint64());
166 WLOGFI("CreateVirtualScreen %" PRIu64"", screenId);
167 return screenId;
170 DMError DisplayManagerProxy::DestroyVirtualScreen(ScreenId screenId)
185 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
186 WLOGFW("DestroyVirtualScreen: WriteUint64 screenId failed");
197 DMError DisplayManagerProxy::SetVirtualScreenSurface(ScreenId screenId, sptr<IBufferProducer> surface)
212 bool res = data.WriteUint64(static_cast<uint64_t>(screenId));
222 WLOGFW("SetVirtualScreenSurface: Write screenId/surface failed");
233 DMError DisplayManagerProxy::SetOrientation(ScreenId screenId, Orientation orientation)
248 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
249 WLOGFW("fail to set orientation: Write screenId failed");
303 DMError DisplayManagerProxy::GetScreenSupportedColorGamuts(ScreenId screenId,
319 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
320 WLOGFW("DisplayManagerProxy::GetScreenSupportedColorGamuts: WriteUint64 screenId failed");
343 DMError DisplayManagerProxy::GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut)
358 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
375 DMError DisplayManagerProxy::SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx)
390 if (!data.WriteUint64(static_cast<uint64_t>(screenId)) || !data.WriteInt32(colorGamutIdx)) {
402 DMError DisplayManagerProxy::GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap)
417 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
418 WLOGFW("DisplayManagerProxy::GetScreenGamutMap: WriteUint64 screenId failed");
434 DMError DisplayManagerProxy::SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap)
449 if (!data.WriteUint64(static_cast<uint64_t>(screenId)) || !data.WriteUint32(static_cast<uint32_t>(gamutMap))) {
461 DMError DisplayManagerProxy::SetScreenColorTransform(ScreenId screenId)
476 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
477 WLOGFW("DisplayManagerProxy::SetScreenColorTransform: WriteUint64 screenId failed");
488 DMError DisplayManagerProxy::GetPixelFormat(ScreenId screenId, GraphicPixelFormat& pixelFormat)
503 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
520 DMError DisplayManagerProxy::SetPixelFormat(ScreenId screenId, GraphicPixelFormat pixelFormat)
535 if (!data.WriteUint64(static_cast<uint64_t>(screenId)) || !data.WriteInt32(pixelFormat)) {
536 WLOGFW("SetPixelFormat: WriteUint64 screenId failed");
547 DMError DisplayManagerProxy::GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats)
562 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
563 WLOGFW("GetSupportedHDRFormats: WriteUint64 screenId failed");
586 DMError DisplayManagerProxy::GetScreenHDRFormat(ScreenId screenId, ScreenHDRFormat& hdrFormat)
601 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
618 DMError DisplayManagerProxy::SetScreenHDRFormat(ScreenId screenId, int32_t modeIdx)
633 if (!data.WriteUint64(static_cast<uint64_t>(screenId)) || !data.WriteInt32(modeIdx)) {
634 WLOGFW("SetScreenHDRFormat: WriteUint64 screenId failed");
645 DMError DisplayManagerProxy::GetSupportedColorSpaces(ScreenId screenId,
661 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
662 WLOGFW("GetSupportedColorSpaces: WriteUint64 screenId failed");
685 DMError DisplayManagerProxy::GetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType& colorSpace)
700 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
701 WLOGFW("GetScreenColorSpace: WriteUint64 screenId failed");
717 DMError DisplayManagerProxy::SetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType colorSpace)
732 if (!data.WriteUint64(static_cast<uint64_t>(screenId)) || !data.WriteInt32(colorSpace)) {
945 bool DisplayManagerProxy::SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason)
960 if (!data.WriteUint32(static_cast<uint32_t>(screenId))) {
1348 sptr<ScreenInfo> DisplayManagerProxy::GetScreenInfoById(ScreenId screenId)
1363 if (!data.WriteUint64(screenId)) {
1364 WLOGFE("GetScreenInfoById: Write screenId failed");
1385 sptr<ScreenGroupInfo> DisplayManagerProxy::GetScreenGroupInfoById(ScreenId screenId)
1400 if (!data.WriteUint64(screenId)) {
1401 WLOGFE("GetScreenGroupInfoById: Write screenId failed");
1443 DMError DisplayManagerProxy::MakeExpand(std::vector<ScreenId> screenId, std::vector<Point> startPoint,
1459 if (!data.WriteUInt64Vector(screenId)) {
1460 WLOGFE("MakeExpand: write screenId failed");
1534 DMError DisplayManagerProxy::SetScreenActiveMode(ScreenId screenId, uint32_t modeId)
1549 if (!data.WriteUint64(screenId) || !data.WriteUint32(modeId)) {
1550 WLOGFE("SetScreenActiveMode: write screenId/modeId failed");
1561 DMError DisplayManagerProxy::SetVirtualPixelRatio(ScreenId screenId, float virtualPixelRatio)
1576 if (!data.WriteUint64(screenId) || !data.WriteFloat(virtualPixelRatio)) {
1577 WLOGFE("write screenId/modeId failed");
1588 DMError DisplayManagerProxy::SetResolution(ScreenId screenId, uint32_t width, uint32_t height, float virtualPixelRatio)
1603 if (!data.WriteUint64(screenId) || !data.WriteUint32(width) ||
1605 WLOGFE("write screenId/width/height/virtualPixelRatio failed");
1616 DMError DisplayManagerProxy::GetDensityInCurResolution(ScreenId screenId, float& virtualPixelRatio)
1631 if (!data.WriteUint64(screenId)) {
1632 WLOGFE("write screenId failed");
1722 DMError DisplayManagerProxy::ResizeVirtualScreen(ScreenId screenId, uint32_t width, uint32_t height)
1739 if (!data.WriteUint64(static_cast<uint64_t>(screenId))) {
1740 WLOGFE("DisplayManagerProxy::ResizeVirtualScreen: WriteUnit64 screenId failed");