/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/ |
H A D | hdi_device_impl.h | 32 int32_t RegScreenVBlankCallback(uint32_t screenId, VBlankCallback callback, void *data) override; 35 int32_t SetScreenConstraint(uint32_t screenId, uint64_t frameId, uint64_t timestamp, uint32_t type) override; 36 int32_t GetDisplayProperty(uint32_t screenId, uint32_t propertyId, uint64_t& propertyValue) override; 37 int32_t GetScreenCapability(uint32_t screenId, GraphicDisplayCapability &info) override; 38 int32_t GetScreenSupportedModes(uint32_t screenId, std::vector<GraphicDisplayModeInfo> &modes) override; 39 int32_t GetScreenMode(uint32_t screenId, uint32_t &modeId) override; 40 int32_t SetScreenMode(uint32_t screenId, uint32_t modeId) override; 41 int32_t SetScreenOverlayResolution(uint32_t screenId, uint32_t width, uint32_t height) override; 42 int32_t GetScreenPowerStatus(uint32_t screenId, GraphicDispPowerStatus &status) override; 43 int32_t SetScreenPowerStatus(uint32_t screenId, GraphicDispPowerStatu [all...] |
H A D | hdi_device.h | 35 virtual int32_t RegScreenVBlankCallback(uint32_t screenId, VBlankCallback callback, void *data) = 0; 38 virtual int32_t SetScreenConstraint(uint32_t screenId, uint64_t frameId, uint64_t timestamp, uint32_t type) = 0; 39 virtual int32_t GetDisplayProperty(uint32_t screenId, uint32_t propertyId, uint64_t& propertyValue) = 0; 40 virtual int32_t GetScreenCapability(uint32_t screenId, GraphicDisplayCapability &info) = 0; 41 virtual int32_t GetScreenSupportedModes(uint32_t screenId, std::vector<GraphicDisplayModeInfo> &modes) = 0; 42 virtual int32_t GetScreenMode(uint32_t screenId, uint32_t &modeId) = 0; 43 virtual int32_t SetScreenMode(uint32_t screenId, uint32_t modeId) = 0; 44 virtual int32_t SetScreenOverlayResolution(uint32_t screenId, uint32_t width, uint32_t height) = 0; 45 virtual int32_t GetScreenPowerStatus(uint32_t screenId, GraphicDispPowerStatus &status) = 0; 46 virtual int32_t SetScreenPowerStatus(uint32_t screenId, GraphicDispPowerStatu [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/luminance/mingw/ |
H A D | rs_luminance_control.cpp | 30 bool RSLuminanceControl::SetHdrStatus(ScreenId screenId, bool isHdrOn, int32_t type) in SetHdrStatus() argument 36 bool RSLuminanceControl::IsHdrOn(ScreenId screenId) in IsHdrOn() argument 41 bool RSLuminanceControl::IsDimmingOn(ScreenId screenId) in IsDimmingOn() argument 46 void RSLuminanceControl::DimmingIncrease(ScreenId screenId) in DimmingIncrease() argument 51 void RSLuminanceControl::SetSdrLuminance(ScreenId screenId, uint32_t level) in SetSdrLuminance() argument 56 uint32_t RSLuminanceControl::GetNewHdrLuminance(ScreenId screenId) in GetNewHdrLuminance() argument 61 void RSLuminanceControl::SetNowHdrLuminance(ScreenId screenId, uint32_t level) in SetNowHdrLuminance() argument 66 bool RSLuminanceControl::IsNeedUpdateLuminance(ScreenId screenId) in IsNeedUpdateLuminance() argument 71 float RSLuminanceControl::GetHdrTmoNits(ScreenId screenId, int mode) in GetHdrTmoNits() argument 76 float RSLuminanceControl::GetSdrDisplayNits(ScreenId screenId) in GetSdrDisplayNits() argument 81 GetHdrDisplayNits(ScreenId screenId) GetHdrDisplayNits() argument 86 GetDisplayNits(ScreenId screenId) GetDisplayNits() argument 91 GetHdrBrightnessRatio(ScreenId screenId, int mode) GetHdrBrightnessRatio() argument [all...] |
/foundation/graphic/graphic_2d/rosen/test/render_service/render_service_base/unittest/luminance/ |
H A D | rs_luminance_control_test.cpp | 45 ScreenId screenId{}; in HWTEST_F() 50 luminCtrl.DimmingIncrease(screenId); in HWTEST_F() 51 std::ignore = luminCtrl.IsDimmingOn(screenId); in HWTEST_F() 52 std::ignore = luminCtrl.IsHdrOn(screenId); in HWTEST_F() 53 std::ignore = luminCtrl.IsNeedUpdateLuminance(screenId); in HWTEST_F() 54 std::ignore = luminCtrl.GetHdrTmoNits(screenId, mode); in HWTEST_F() 55 std::ignore = luminCtrl.GetHdrDisplayNits(screenId); in HWTEST_F() 56 std::ignore = luminCtrl.GetHdrBrightnessRatio(screenId, mode); in HWTEST_F() 57 std::ignore = luminCtrl.GetNewHdrLuminance(screenId); in HWTEST_F() 58 luminCtrl.SetNowHdrLuminance(screenId, leve in HWTEST_F() [all...] |
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/fuzztest/hdidevice_fuzzer/ |
H A D | hdidevice_fuzzer.cpp | 56 uint32_t screenId = GetData<uint32_t>(); in HdiDeviceFuzzTest3() local 67 device->SetLayerMetaData(screenId, layerId, metaDatas); in HdiDeviceFuzzTest3() 69 device->SetLayerMetaDataSet(screenId, layerId, key, metaDatas2); in HdiDeviceFuzzTest3() 70 device->SetLayerTunnelHandle(screenId, layerId, nullptr); in HdiDeviceFuzzTest3() 71 device->GetPresentTimestamp(screenId, layerId, timestamp); in HdiDeviceFuzzTest3() 72 device->SetLayerMaskInfo(screenId, layerId, maskInfo); in HdiDeviceFuzzTest3() 78 device->SetLayerPerFrameParameter(screenId, layerId, validKey, valueBlob); in HdiDeviceFuzzTest3() 85 uint32_t screenId = GetData<uint32_t>(); in HdiDeviceFuzzTest2() local 112 device->GetScreenColorGamut(screenId, gamut); in HdiDeviceFuzzTest2() 113 device->SetLayerAlpha(screenId, layerI in HdiDeviceFuzzTest2() 144 uint32_t screenId = GetData<uint32_t>(); DoSomethingInterestingWithMyAPI() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/ |
H A D | hdi_device_impl.cpp | 104 int32_t HdiDeviceImpl::RegScreenVBlankCallback(uint32_t screenId, VBlankCallback callback, void *data) in RegScreenVBlankCallback() argument 107 return g_composer->RegDisplayVBlankCallback(screenId, callback, data); in RegScreenVBlankCallback() 116 int32_t HdiDeviceImpl::SetScreenConstraint(uint32_t screenId, uint64_t frameId, uint64_t timestamp, uint32_t type) in SetScreenConstraint() argument 119 return g_composer->SetDisplayConstraint(screenId, frameId, timestamp, type); in SetScreenConstraint() 122 int32_t HdiDeviceImpl::GetDisplayProperty(uint32_t screenId, uint32_t propertyId, uint64_t& propertyValue) in GetDisplayProperty() argument 125 return g_composer->GetDisplayProperty(screenId, propertyId, propertyValue); in GetDisplayProperty() 128 int32_t HdiDeviceImpl::SetScreenVsyncEnabled(uint32_t screenId, bool enabled) in SetScreenVsyncEnabled() argument 130 HLOGD("SetScreenVsyncEnabled, screenId:%{public}u, enabled:%{public}d", screenId, enabled); in SetScreenVsyncEnabled() 131 ScopedBytrace trace("SetScreenVsyncEnabled, screenId in SetScreenVsyncEnabled() 137 GetScreenCapability(uint32_t screenId, GraphicDisplayCapability &info) GetScreenCapability() argument 169 GetScreenSupportedModes(uint32_t screenId, std::vector<GraphicDisplayModeInfo> &modes) GetScreenSupportedModes() argument 193 GetScreenMode(uint32_t screenId, uint32_t &modeId) GetScreenMode() argument 199 SetScreenMode(uint32_t screenId, uint32_t modeId) SetScreenMode() argument 205 SetScreenOverlayResolution(uint32_t screenId, uint32_t width, uint32_t height) SetScreenOverlayResolution() argument 211 GetScreenPowerStatus(uint32_t screenId, GraphicDispPowerStatus &status) GetScreenPowerStatus() argument 222 SetScreenPowerStatus(uint32_t screenId, GraphicDispPowerStatus status) SetScreenPowerStatus() argument 229 GetScreenBacklight(uint32_t screenId, uint32_t &level) GetScreenBacklight() argument 235 SetScreenBacklight(uint32_t screenId, uint32_t level) SetScreenBacklight() argument 241 PrepareScreenLayers(uint32_t screenId, bool &needFlush) PrepareScreenLayers() argument 247 GetScreenCompChange(uint32_t screenId, std::vector<uint32_t> &layersId, std::vector<int32_t> &types) GetScreenCompChange() argument 254 SetScreenClientBuffer(uint32_t screenId, const BufferHandle *buffer, uint32_t cacheIndex, const sptr<SyncFence> &fence) SetScreenClientBuffer() argument 274 SetScreenClientDamage(uint32_t screenId, const std::vector<GraphicIRect> &damageRect) SetScreenClientDamage() argument 290 GetScreenSupportedColorGamuts(uint32_t screenId, std::vector<GraphicColorGamut> &gamuts) GetScreenSupportedColorGamuts() argument 308 SetScreenColorGamut(uint32_t screenId, GraphicColorGamut gamut) SetScreenColorGamut() argument 314 GetScreenColorGamut(uint32_t screenId, GraphicColorGamut &gamut) GetScreenColorGamut() argument 325 SetScreenGamutMap(uint32_t screenId, GraphicGamutMap gamutMap) SetScreenGamutMap() argument 331 GetScreenGamutMap(uint32_t screenId, GraphicGamutMap &gamutMap) GetScreenGamutMap() argument 342 SetScreenColorTransform(uint32_t screenId, const std::vector<float> &matrix) SetScreenColorTransform() argument 348 GetHDRCapabilityInfos(uint32_t screenId, GraphicHDRCapability &info) GetHDRCapabilityInfos() argument 368 GetSupportedMetaDataKey(uint32_t screenId, std::vector<GraphicHDRMetadataKey> &keys) GetSupportedMetaDataKey() argument 384 Commit(uint32_t screenId, sptr<SyncFence> &fence) Commit() argument 400 CommitAndGetReleaseFence(uint32_t screenId, sptr<SyncFence> &fence, int32_t &skipState, bool &needFlush, std::vector<uint32_t> &layers, std::vector<sptr<SyncFence>> &fences, bool isValidated) CommitAndGetReleaseFence() argument 431 SetLayerAlpha(uint32_t screenId, uint32_t layerId, const GraphicLayerAlpha &alpha) SetLayerAlpha() argument 444 SetLayerSize(uint32_t screenId, uint32_t layerId, const GraphicIRect &layerRect) SetLayerSize() argument 456 SetTransformMode(uint32_t screenId, uint32_t layerId, GraphicTransformType type) SetTransformMode() argument 463 SetLayerVisibleRegion(uint32_t screenId, uint32_t layerId, const std::vector<GraphicIRect> &visible) SetLayerVisibleRegion() argument 480 SetLayerDirtyRegion(uint32_t screenId, uint32_t layerId, const std::vector<GraphicIRect> &dirtyRegions) SetLayerDirtyRegion() argument 497 SetLayerBuffer(uint32_t screenId, uint32_t layerId, const GraphicLayerBuffer &layerBuffer) SetLayerBuffer() argument 509 SetLayerCompositionType(uint32_t screenId, uint32_t layerId, GraphicCompositionType type) SetLayerCompositionType() argument 517 SetLayerBlendType(uint32_t screenId, uint32_t layerId, GraphicBlendType type) SetLayerBlendType() argument 524 SetLayerCrop(uint32_t screenId, uint32_t layerId, const GraphicIRect &crop) SetLayerCrop() argument 536 SetLayerZorder(uint32_t screenId, uint32_t layerId, uint32_t zorder) SetLayerZorder() argument 542 SetLayerPreMulti(uint32_t screenId, uint32_t layerId, bool isPreMulti) SetLayerPreMulti() argument 548 SetLayerColor(uint32_t screenId, uint32_t layerId, GraphicLayerColor layerColor) SetLayerColor() argument 563 SetLayerColorTransform(uint32_t screenId, uint32_t layerId, const std::vector<float> &matrix) SetLayerColorTransform() argument 569 SetLayerColorDataSpace(uint32_t screenId, uint32_t layerId, GraphicColorDataSpace colorSpace) SetLayerColorDataSpace() argument 576 GetLayerColorDataSpace(uint32_t screenId, uint32_t layerId, GraphicColorDataSpace &colorSpace) GetLayerColorDataSpace() argument 587 SetLayerMetaData(uint32_t screenId, uint32_t layerId, const std::vector<GraphicHDRMetaData> &metaData) SetLayerMetaData() argument 603 SetLayerMetaDataSet(uint32_t screenId, uint32_t layerId, GraphicHDRMetadataKey key, const std::vector<uint8_t> &metaData) SetLayerMetaDataSet() argument 632 SetLayerTunnelHandle(uint32_t screenId, uint32_t layerId, GraphicExtDataHandle *handle) SetLayerTunnelHandle() argument 638 GetSupportedPresentTimestampType(uint32_t screenId, uint32_t layerId, GraphicPresentTimestampType &type) GetSupportedPresentTimestampType() argument 650 GetPresentTimestamp(uint32_t screenId, uint32_t layerId, GraphicPresentTimestamp ×tamp) GetPresentTimestamp() argument 662 SetLayerMaskInfo(uint32_t screenId, uint32_t layerId, uint32_t maskInfo) SetLayerMaskInfo() argument 670 CreateLayer(uint32_t screenId, const GraphicLayerInfo &layerInfo, uint32_t cacheCount, uint32_t &layerId) CreateLayer() argument 683 CloseLayer(uint32_t screenId, uint32_t layerId) CloseLayer() argument 689 ClearLayerBuffer(uint32_t screenId, uint32_t layerId) ClearLayerBuffer() argument 695 ClearClientBuffer(uint32_t screenId) ClearClientBuffer() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/test/unittest/ |
H A D | hdidevice_test.cpp | 58 uint32_t screenId = 1, screenModeId = 0, screenLightLevel = 0; in HWTEST_F() local 59 EXPECT_EQ(HdiDeviceTest::hdiDevice_->RegScreenVBlankCallback(screenId, nullptr, nullptr), in HWTEST_F() 62 EXPECT_EQ(HdiDeviceTest::hdiDevice_->SetScreenVsyncEnabled(screenId, enabled), GRAPHIC_DISPLAY_SUCCESS); in HWTEST_F() 67 EXPECT_EQ(hdiDeviceMock_->GetDisplayProperty(screenId, pid, pvalue), GRAPHIC_DISPLAY_SUCCESS); in HWTEST_F() 71 EXPECT_EQ(hdiDeviceMock_->GetScreenCapability(screenId, dcpInfo), GRAPHIC_DISPLAY_SUCCESS); in HWTEST_F() 73 EXPECT_EQ(HdiDeviceTest::hdiDevice_->GetScreenSupportedModes(screenId, dmodes), GRAPHIC_DISPLAY_SUCCESS); in HWTEST_F() 74 EXPECT_EQ(HdiDeviceTest::hdiDevice_->GetScreenMode(screenId, screenModeId), GRAPHIC_DISPLAY_SUCCESS); in HWTEST_F() 75 EXPECT_EQ(HdiDeviceTest::hdiDevice_->SetScreenMode(screenId, screenModeId), GRAPHIC_DISPLAY_SUCCESS); in HWTEST_F() 80 EXPECT_EQ(hdiDeviceMock_->SetScreenOverlayResolution(screenId, width, height), in HWTEST_F() 83 EXPECT_EQ(HdiDeviceTest::hdiDevice_->GetScreenPowerStatus(screenId, dstatu in HWTEST_F() 133 uint32_t screenId = 1; HWTEST_F() local 154 uint32_t screenId = 1, layerId = 0, zorder = 0; HWTEST_F() local 221 uint32_t screenId = 1, layerId = 0; HWTEST_F() local [all...] |
/foundation/window/window_manager/test/common/mock/ |
H A D | mock_display_manager_adapter.h | 32 MOCK_METHOD1(GetDisplayInfoByScreenId, sptr<DisplayInfo>(ScreenId screenId));
44 MOCK_METHOD2(GetAvailableArea, DMError(ScreenId screenId, DMRect& area));
45 MOCK_METHOD2(GetSupportedHDRFormats, DMError(ScreenId screenId, std::vector<uint32_t>& hdrFormats));
46 MOCK_METHOD2(GetSupportedColorSpaces, DMError(ScreenId screenId, std::vector<uint32_t>& colorSpaces));
47 MOCK_METHOD2(HasImmersiveWindow, DMError(ScreenId screenId, bool& immersive));
57 MOCK_METHOD2(RequestRotation, bool(ScreenId screenId, Rotation rotation));
60 MOCK_METHOD1(DestroyVirtualScreen, DMError(ScreenId screenId));
61 MOCK_METHOD2(SetVirtualScreenSurface, DMError(ScreenId screenId, sptr<Surface> surface));
62 MOCK_METHOD1(GetScreenGroupInfoById, sptr<ScreenGroupInfo>(ScreenId screenId));
66 MOCK_METHOD3(MakeExpand, DMError(std::vector<ScreenId> screenId, st [all...] |
/foundation/window/window_manager/window_scene/test/dms_unittest/ |
H A D | screen_session_manager_test.cpp | 109 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); in HWTEST_F() local 110 if (screenId != VIRTUAL_SCREEN_ID) { in HWTEST_F() 111 ASSERT_TRUE(screenId != VIRTUAL_SCREEN_ID); in HWTEST_F() 129 EXPECT_EQ(DMError::DM_OK, ssm_->DestroyVirtualScreen(screenId)); in HWTEST_F() 148 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); in HWTEST_F() local 149 if (screenId != VIRTUAL_SCREEN_ID) { in HWTEST_F() 150 ASSERT_TRUE(screenId != VIRTUAL_SCREEN_ID); in HWTEST_F() 156 EXPECT_EQ(DMError::DM_OK, ssm_->DestroyVirtualScreen(screenId)); in HWTEST_F() 175 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); in HWTEST_F() local 176 if (screenId ! in HWTEST_F() 202 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 229 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 256 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 283 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 310 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 337 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 364 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 391 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 419 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 469 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 497 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 525 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 553 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 600 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 628 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 656 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 684 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 712 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 740 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 768 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 796 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 824 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 852 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 995 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1029 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1051 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1073 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1094 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1120 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1193 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1208 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1252 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1269 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1325 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1340 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1355 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1395 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1411 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1430 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1451 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1471 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1491 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1512 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1532 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1559 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1579 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1599 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1622 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1642 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1662 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1682 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1698 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1722 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1742 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1762 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1782 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1801 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1821 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1840 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 1883 auto screenId = ScreenSessionManager::GetInstance().CreateVirtualScreen(virtualOption, HWTEST_F() local 1916 ScreenId screenId = ssm_->screenIdManager_.CreateAndGetNewScreenId(rsScreenId); HWTEST_F() local 2279 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 2301 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 2320 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 2338 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 2357 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 2387 ScreenId screenId = 100; HWTEST_F() local 2446 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 2462 ScreenId screenId = 1010; HWTEST_F() local 2557 ScreenId screenId = 1050; HWTEST_F() local 2572 ScreenId screenId = 1010; HWTEST_F() local 2613 ScreenId screenId = 1050; HWTEST_F() local 2626 ScreenId screenId = 1050; HWTEST_F() local 2644 ScreenId screenId = 1050; HWTEST_F() local 2718 ScreenId screenId = 1051; HWTEST_F() local 2730 ScreenId screenId = 1050; HWTEST_F() local 2745 ScreenId screenId = 2000; HWTEST_F() local 2758 ScreenId screenId = 1050; HWTEST_F() local 2776 ScreenId screenId = 1050; HWTEST_F() local 2815 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 2900 ScreenId screenId = 1050; HWTEST_F() local 2915 ScreenId screenId = 1050; HWTEST_F() local 2944 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 2964 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 2984 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 3020 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local 3049 auto screenId = ssm_->CreateVirtualScreen(virtualOption, displayManagerAgent->AsObject()); HWTEST_F() local [all...] |
H A D | screen_session_manager_client_test.cpp | 94 ScreenId screenId = 0; in HWTEST_F() local 96 screenSession = screenSessionManagerClient_->GetScreenSession(screenId); in HWTEST_F() 100 screenSessionManagerClient_->screenSessionMap_.emplace(screenId, screenSession); in HWTEST_F() 102 auto screenSession2 = screenSessionManagerClient_->GetScreenSession(screenId); in HWTEST_F() 106 screenSession = screenSessionManagerClient_->GetScreenSession(screenId); in HWTEST_F() 122 ScreenId screenId = 0; in HWTEST_F() local 126 screenSessionManagerClient_->OnScreenConnectionChanged(screenId, screenEvent, rsId, name, false); in HWTEST_F() 127 sptr<ScreenSession> screenSession = screenSessionManagerClient_->GetScreenSession(screenId); in HWTEST_F() 140 ScreenId screenId = 0; in HWTEST_F() local 144 screenSessionManagerClient_->OnScreenConnectionChanged(screenId, screenEven in HWTEST_F() 158 ScreenId screenId = 0; HWTEST_F() local 175 ScreenId screenId = 0; HWTEST_F() local 192 ScreenId screenId = 0; HWTEST_F() local 209 ScreenId screenId = 0; HWTEST_F() local 226 ScreenId screenId = 0; HWTEST_F() local 243 ScreenId screenId = 0; HWTEST_F() local 259 ScreenId screenId = 0; HWTEST_F() local 279 ScreenId screenId = 0; HWTEST_F() local 387 ScreenId screenId = 0; HWTEST_F() local 409 ScreenId screenId = 0; HWTEST_F() local 441 ScreenId screenId = 0; HWTEST_F() local 505 ScreenId screenId = 0; HWTEST_F() local 530 ScreenId screenId = 0; HWTEST_F() local 545 ScreenId screenId = 0; HWTEST_F() local 559 ScreenId screenId = 1; HWTEST_F() local 573 ScreenId screenId = 0; HWTEST_F() local 587 ScreenId screenId = 0; HWTEST_F() local 601 ScreenId screenId = 1; HWTEST_F() local 615 ScreenId screenId = 0; HWTEST_F() local 629 ScreenId screenId = 1; HWTEST_F() local 776 ScreenId screenId = 0; HWTEST_F() local 801 ScreenId screenId = 0; HWTEST_F() local 865 ScreenId screenId = 0; HWTEST_F() local 964 ScreenId screenId = 0; HWTEST_F() local 1055 ScreenId screenId = 0; HWTEST_F() local 1122 ScreenId screenId = 0; HWTEST_F() local 1176 ScreenId screenId = 0; HWTEST_F() local 1204 ScreenId screenId = 0; HWTEST_F() local 1224 ScreenId screenId = 0; HWTEST_F() local 1264 ScreenId screenId = 0; HWTEST_F() local [all...] |
H A D | screen_session_manager_client_proxy_test.cpp | 66 ScreenId screenId = 0; in HWTEST_F() local 72 screenSessionManagerClientProxy_->OnScreenConnectionChanged(screenId, screenEvent, rsId, name, false); in HWTEST_F() 110 ScreenId screenId = 0; in HWTEST_F() local 115 screenSessionManagerClientProxy_->OnPropertyChanged(screenId, property, reason); in HWTEST_F() 140 ScreenId screenId = 0; in HWTEST_F() local 144 screenSessionManagerClientProxy_->OnSensorRotationChanged(screenId, sensorRotation); in HWTEST_F() 154 ScreenId screenId = 0; in HWTEST_F() local 158 screenSessionManagerClientProxy_->OnHoverStatusChanged(screenId, hoverStatus); in HWTEST_F() 168 ScreenId screenId = 0; in HWTEST_F() local 172 screenSessionManagerClientProxy_->OnScreenOrientationChanged(screenId, screenOrientatio in HWTEST_F() 182 ScreenId screenId = 0; HWTEST_F() local 196 ScreenId screenId = 0; HWTEST_F() local 241 ScreenId screenId = 0; HWTEST_F() local 267 ScreenId screenId = 0; HWTEST_F() local 281 ScreenId screenId = 0; HWTEST_F() local [all...] |
/foundation/window/window_manager/dm/src/ |
H A D | display_manager_adapter.cpp | 51 sptr<DisplayInfo> DisplayManagerAdapter::GetDisplayInfoByScreenId(ScreenId screenId)
in GetDisplayInfoByScreenId() argument 55 return displayManagerServiceProxy_->GetDisplayInfoByScreen(screenId);
in GetDisplayInfoByScreenId() 72 DMError ScreenManagerAdapter::GetScreenSupportedColorGamuts(ScreenId screenId,
in GetScreenSupportedColorGamuts() argument 77 return displayManagerServiceProxy_->GetScreenSupportedColorGamuts(screenId, colorGamuts);
in GetScreenSupportedColorGamuts() 80 DMError ScreenManagerAdapter::GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut)
in GetScreenColorGamut() argument 84 return displayManagerServiceProxy_->GetScreenColorGamut(screenId, colorGamut);
in GetScreenColorGamut() 87 DMError ScreenManagerAdapter::SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx)
in SetScreenColorGamut() argument 91 return displayManagerServiceProxy_->SetScreenColorGamut(screenId, colorGamutIdx);
in SetScreenColorGamut() 94 DMError ScreenManagerAdapter::GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap)
in GetScreenGamutMap() argument 98 return displayManagerServiceProxy_->GetScreenGamutMap(screenId, gamutMa in GetScreenGamutMap() 101 SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) SetScreenGamutMap() argument 108 SetScreenColorTransform(ScreenId screenId) SetScreenColorTransform() argument 115 GetPixelFormat(ScreenId screenId, GraphicPixelFormat& pixelFormat) GetPixelFormat() argument 123 SetPixelFormat(ScreenId screenId, GraphicPixelFormat pixelFormat) SetPixelFormat() argument 131 GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats) GetSupportedHDRFormats() argument 140 GetScreenHDRFormat(ScreenId screenId, ScreenHDRFormat& hdrFormat) GetScreenHDRFormat() argument 148 SetScreenHDRFormat(ScreenId screenId, int32_t modeIdx) SetScreenHDRFormat() argument 156 GetSupportedColorSpaces(ScreenId screenId, std::vector<GraphicCM_ColorSpaceType>& colorSpaces) GetSupportedColorSpaces() argument 165 GetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType& colorSpace) GetScreenColorSpace() argument 174 SetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType colorSpace) SetScreenColorSpace() argument 183 GetSupportedHDRFormats(ScreenId screenId, std::vector<uint32_t>& hdrFormats) GetSupportedHDRFormats() argument 196 GetSupportedColorSpaces(ScreenId screenId, std::vector<uint32_t>& colorSpaces) GetSupportedColorSpaces() argument 218 DestroyVirtualScreen(ScreenId screenId) DestroyVirtualScreen() argument 226 SetVirtualScreenSurface(ScreenId screenId, sptr<Surface> surface) SetVirtualScreenSurface() argument 238 SetVirtualMirrorScreenCanvasRotation(ScreenId screenId, bool canvasRotation) SetVirtualMirrorScreenCanvasRotation() argument 245 SetVirtualMirrorScreenScaleMode(ScreenId screenId, ScreenScaleMode scaleMode) SetVirtualMirrorScreenScaleMode() argument 273 SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) SetSpecifiedScreenPower() argument 291 SetOrientation(ScreenId screenId, Orientation orientation) SetOrientation() argument 349 SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) SetScreenPowerById() argument 514 GetScreenInfo(ScreenId screenId) GetScreenInfo() argument 541 ConvertScreenIdToRsScreenId(ScreenId screenId, ScreenId& rsScreenId) ConvertScreenIdToRsScreenId() argument 548 HasImmersiveWindow(ScreenId screenId, bool& immersive) HasImmersiveWindow() argument 642 SetDisplayScale(ScreenId screenId, float scaleX, float scaleY, float pivotX, float pivotY) SetDisplayScale() argument 671 GetScreenGroupInfoById(ScreenId screenId) GetScreenGroupInfoById() argument 689 MakeExpand(std::vector<ScreenId> screenId, std::vector<Point> startPoint, ScreenId& screenGroupId) MakeExpand() argument 712 SetScreenActiveMode(ScreenId screenId, uint32_t modeId) SetScreenActiveMode() argument 719 SetVirtualPixelRatio(ScreenId screenId, float virtualPixelRatio) SetVirtualPixelRatio() argument 726 SetVirtualPixelRatioSystem(ScreenId screenId, float virtualPixelRatio) SetVirtualPixelRatioSystem() argument 733 SetResolution(ScreenId screenId, uint32_t width, uint32_t height, float virtualPixelRatio) SetResolution() argument 740 GetDensityInCurResolution(ScreenId screenId, float& virtualPixelRatio) GetDensityInCurResolution() argument 747 ResizeVirtualScreen(ScreenId screenId, uint32_t width, uint32_t height) ResizeVirtualScreen() argument 772 GetVirtualScreenFlag(ScreenId screenId) GetVirtualScreenFlag() argument 783 SetVirtualScreenFlag(ScreenId screenId, VirtualScreenFlag screenFlag) SetVirtualScreenFlag() argument 796 SetVirtualScreenRefreshRate(ScreenId screenId, uint32_t refreshInterval) SetVirtualScreenRefreshRate() argument 803 SetVirtualScreenBlackList(ScreenId screenId, std::vector<uint64_t>& windowIdList) SetVirtualScreenBlackList() argument 809 DisablePowerOffRenderControl(ScreenId screenId) DisablePowerOffRenderControl() argument 833 SetVirtualScreenSecurityExemption(ScreenId screenId, uint32_t pid, std::vector<uint64_t>& windowIdList) SetVirtualScreenSecurityExemption() argument 840 SetVirtualScreenStatus(ScreenId screenId, VirtualScreenStatus screenStatus) SetVirtualScreenStatus() argument [all...] |
/foundation/window/window_manager/dmserver/include/ |
H A D | display_manager_proxy.h | 36 sptr<DisplayInfo> GetDisplayInfoByScreen(ScreenId screenId) override;
41 DMError DestroyVirtualScreen(ScreenId screenId) override;
42 DMError SetVirtualScreenSurface(ScreenId screenId, sptr<IBufferProducer> surface) override;
43 DMError SetOrientation(ScreenId screenId, Orientation orientation) override;
51 DMError GetScreenSupportedColorGamuts(ScreenId screenId, std::vector<ScreenColorGamut>& colorGamuts) override;
52 DMError GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut) override;
53 DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) override;
54 DMError GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) override;
55 DMError SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) override;
56 DMError SetScreenColorTransform(ScreenId screenId) overrid [all...] |
H A D | display_manager_interface.h | 41 virtual sptr<DisplayInfo> GetDisplayInfoByScreen(ScreenId screenId) = 0;
43 virtual bool ConvertScreenIdToRsScreenId(ScreenId screenId, ScreenId& rsScreenId) { return false; };
in ConvertScreenIdToRsScreenId() argument 48 virtual DMError DestroyVirtualScreen(ScreenId screenId) = 0;
49 virtual DMError SetVirtualScreenSurface(ScreenId screenId, sptr<IBufferProducer> surface) = 0;
50 virtual DMError SetVirtualMirrorScreenCanvasRotation(ScreenId screenId, bool rotate) { return DMError::DM_OK; }
in SetVirtualMirrorScreenCanvasRotation() argument 51 virtual DMError SetVirtualMirrorScreenScaleMode(ScreenId screenId, ScreenScaleMode scaleMode)
in SetVirtualMirrorScreenScaleMode() argument 55 virtual DMError SetOrientation(ScreenId screenId, Orientation orientation) = 0;
68 virtual DMError GetScreenSupportedColorGamuts(ScreenId screenId, std::vector<ScreenColorGamut>& colorGamuts) = 0;
69 virtual DMError GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut) = 0;
70 virtual DMError SetScreenColorGamut(ScreenId screenId, int32_ 75 GetPixelFormat(ScreenId screenId, GraphicPixelFormat& pixelFormat) GetPixelFormat() argument 79 SetPixelFormat(ScreenId screenId, GraphicPixelFormat pixelFormat) SetPixelFormat() argument 83 GetSupportedHDRFormats(ScreenId screenId, std::vector<ScreenHDRFormat>& hdrFormats) GetSupportedHDRFormats() argument 88 GetScreenHDRFormat(ScreenId screenId, ScreenHDRFormat& hdrFormat) GetScreenHDRFormat() argument 92 SetScreenHDRFormat(ScreenId screenId, int32_t modeIdx) SetScreenHDRFormat() argument 96 GetSupportedColorSpaces(ScreenId screenId, std::vector<GraphicCM_ColorSpaceType>& colorSpaces) GetSupportedColorSpaces() argument 101 GetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType& colorSpace) GetScreenColorSpace() argument 105 SetScreenColorSpace(ScreenId screenId, GraphicCM_ColorSpaceType colorSpace) SetScreenColorSpace() argument 119 SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) SetScreenPowerById() argument 129 SetScreenBrightness(uint64_t screenId, uint32_t level) SetScreenBrightness() argument 130 GetScreenBrightness(uint64_t screenId) GetScreenBrightness() argument 158 SetVirtualPixelRatioSystem(ScreenId screenId, float virtualPixelRatio) SetVirtualPixelRatioSystem() argument 164 ResizeVirtualScreen(ScreenId screenId, uint32_t width, uint32_t height) ResizeVirtualScreen() argument 181 SetDisplayScale(ScreenId screenId, float scaleX, float scaleY, float pivotX, float pivotY) SetDisplayScale() argument 189 HasImmersiveWindow(ScreenId screenId, bool& immersive) HasImmersiveWindow() argument 197 GetVirtualScreenFlag(ScreenId screenId) GetVirtualScreenFlag() argument 201 SetVirtualScreenFlag(ScreenId screenId, VirtualScreenFlag screenFlag) SetVirtualScreenFlag() argument 205 SetVirtualScreenRefreshRate(ScreenId screenId, uint32_t refreshInterval) SetVirtualScreenRefreshRate() argument 217 SetVirtualScreenBlackList(ScreenId screenId, std::vector<uint64_t>& windowIdList) SetVirtualScreenBlackList() argument 218 DisablePowerOffRenderControl(ScreenId screenId) DisablePowerOffRenderControl() argument 224 SetVirtualScreenStatus(ScreenId screenId, VirtualScreenStatus screenStatus) SetVirtualScreenStatus() argument 225 SetVirtualScreenSecurityExemption(ScreenId screenId, uint32_t pid, std::vector<uint64_t>& windowIdList) SetVirtualScreenSecurityExemption() argument [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/src/luminance/ |
H A D | rs_luminance_control.cpp | 192 bool RSLuminanceControl::SetHdrStatus(ScreenId screenId, bool isHdrOn, int32_t type) in SetHdrStatus() argument 194 return (initStatus_ && setHdrStatus_ != nullptr) ? setHdrStatus_(screenId, isHdrOn, type) : false; in SetHdrStatus() 197 bool RSLuminanceControl::IsHdrOn(ScreenId screenId) in IsHdrOn() argument 199 return (initStatus_ && isHdrOn_ != nullptr) ? isHdrOn_(screenId) : false; in IsHdrOn() 202 bool RSLuminanceControl::IsDimmingOn(ScreenId screenId) in IsDimmingOn() argument 204 return (initStatus_ && isDimmingOn_ != nullptr) ? isDimmingOn_(screenId) : false; in IsDimmingOn() 207 void RSLuminanceControl::DimmingIncrease(ScreenId screenId) in DimmingIncrease() argument 210 dimmingIncrease_(screenId); in DimmingIncrease() 214 void RSLuminanceControl::SetSdrLuminance(ScreenId screenId, uint32_t level) in SetSdrLuminance() argument 217 setSdrLuminance_(screenId, leve in SetSdrLuminance() 221 GetNewHdrLuminance(ScreenId screenId) GetNewHdrLuminance() argument 226 SetNowHdrLuminance(ScreenId screenId, uint32_t level) SetNowHdrLuminance() argument 233 IsNeedUpdateLuminance(ScreenId screenId) IsNeedUpdateLuminance() argument 238 GetHdrTmoNits(ScreenId screenId, int32_t mode) GetHdrTmoNits() argument 243 GetSdrDisplayNits(ScreenId screenId) GetSdrDisplayNits() argument 248 GetHdrDisplayNits(ScreenId screenId) GetHdrDisplayNits() argument 253 GetDisplayNits(ScreenId screenId) GetDisplayNits() argument 258 GetHdrBrightnessRatio(ScreenId screenId, int32_t mode) GetHdrBrightnessRatio() argument [all...] |
/foundation/window/window_manager/dmserver/src/ |
H A D | display_manager_service.cpp | 43 #define CHECK_SCREEN_AND_RETURN(screenId, ret) \
45 if ((screenId) == SCREEN_ID_INVALID) { \
46 WLOGFE("screenId invalid"); \
212 sptr<DisplayInfo> DisplayManagerService::GetDisplayInfoByScreen(ScreenId screenId)
in GetDisplayInfoByScreen() argument 214 sptr<AbstractDisplay> display = abstractDisplayController_->GetAbstractDisplayByScreen(screenId);
in GetDisplayInfoByScreen() 216 WLOGFE("fail to get displayInfo by screenId: invalid display");
in GetDisplayInfoByScreen() 235 ScreenId screenId = abstractScreenController_->CreateVirtualScreen(option, displayManagerAgent);
in CreateVirtualScreen() local 236 CHECK_SCREEN_AND_RETURN(screenId, SCREEN_ID_INVALID);
in CreateVirtualScreen() 237 accessTokenIdMaps_.insert(std::pair(screenId, IPCSkeleton::GetCallingTokenID()));
in CreateVirtualScreen() 238 return screenId;
in CreateVirtualScreen() 241 DestroyVirtualScreen(ScreenId screenId) DestroyVirtualScreen() argument 258 SetVirtualScreenSurface(ScreenId screenId, sptr<IBufferProducer> surface) SetVirtualScreenSurface() argument 271 SetOrientation(ScreenId screenId, Orientation orientation) SetOrientation() argument 285 SetOrientationFromWindow(ScreenId screenId, Orientation orientation, bool withAnimation) SetOrientationFromWindow() argument 291 SetRotationFromWindow(ScreenId screenId, Rotation targetRotation, bool withAnimation) SetRotationFromWindow() argument 313 GetScreenSupportedColorGamuts(ScreenId screenId, std::vector<ScreenColorGamut>& colorGamuts) GetScreenSupportedColorGamuts() argument 321 GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut) GetScreenColorGamut() argument 328 SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) SetScreenColorGamut() argument 335 GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) GetScreenGamutMap() argument 342 SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) SetScreenGamutMap() argument 350 SetScreenColorTransform(ScreenId screenId) SetScreenColorTransform() argument 437 SetSpecifiedScreenPower(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason) SetSpecifiedScreenPower() argument 495 SetScreenBrightness(uint64_t screenId, uint32_t level) SetScreenBrightness() argument 501 GetScreenBrightness(uint64_t screenId) GetScreenBrightness() argument 592 ScreenId screenId = GetScreenIdByDisplayId(displayId); UpdateRSTree() local 607 ScreenId screenId = GetScreenIdByDisplayId(displayId); AddSurfaceNodeToDisplay() local 619 ScreenId screenId = GetScreenIdByDisplayId(displayId); RemoveSurfaceNodeFromDisplay() local 623 GetScreenInfoById(ScreenId screenId) GetScreenInfoById() argument 633 GetScreenGroupInfoById(ScreenId screenId) GetScreenGroupInfoById() argument 643 GetScreenGroupIdByScreenId(ScreenId screenId) GetScreenGroupIdByScreenId() argument 753 SetScreenActiveMode(ScreenId screenId, uint32_t modeId) SetScreenActiveMode() argument 763 SetVirtualPixelRatio(ScreenId screenId, float virtualPixelRatio) SetVirtualPixelRatio() argument [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/include/ |
H A D | screen_session_manager.h | 47 sptr<ScreenSession> GetScreenSession(ScreenId screenId) const; 52 DMError SetScreenActiveMode(ScreenId screenId, uint32_t modeId) override; 53 DMError SetVirtualPixelRatio(ScreenId screenId, float virtualPixelRatio) override; 54 DMError SetVirtualPixelRatioSystem(ScreenId screenId, float virtualPixelRatio) override; 55 DMError SetResolution(ScreenId screenId, uint32_t width, uint32_t height, float virtualPixelRatio) override; 56 DMError GetDensityInCurResolution(ScreenId screenId, float& virtualPixelRatio) override; 59 DMError GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut) override; 60 DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) override; 61 DMError GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) override; 62 DMError SetScreenGamutMap(ScreenId screenId, ScreenGamutMa [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/src/zidl/ |
H A D | screen_session_manager_stub.cpp | 91 ScreenId screenId = data.ReadUint64(); in OnRemoteRequest() local 94 reply.WriteBool(SetScreenPowerById(screenId, state, reason)); in OnRemoteRequest() 103 ScreenId screenId = static_cast<ScreenId>(data.ReadUint32()); in OnRemoteRequest() local 106 reply.WriteBool(SetSpecifiedScreenPower(screenId, state, reason)); in OnRemoteRequest() 139 uint64_t screenId = data.ReadUint64(); in OnRemoteRequest() local 141 reply.WriteBool(SetScreenBrightness(screenId, level)); in OnRemoteRequest() 145 uint64_t screenId = data.ReadUint64(); in OnRemoteRequest() local 146 reply.WriteUint32(GetScreenBrightness(screenId)); in OnRemoteRequest() 156 ScreenId screenId = data.ReadUint64(); in OnRemoteRequest() local 157 auto info = GetDisplayInfoByScreen(screenId); in OnRemoteRequest() 167 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 182 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 223 ScreenId screenId = CreateVirtualScreen(virScrOption, virtualScreenAgent); OnRemoteRequest() local 228 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 240 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 247 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 254 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 317 std::vector<ScreenId> screenId; OnRemoteRequest() local 346 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 352 std::vector<ScreenId> screenId; OnRemoteRequest() local 373 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 380 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 387 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 394 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 403 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 411 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 422 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 429 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 440 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 447 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 453 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 464 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 471 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 486 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 497 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 504 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 519 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 530 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 537 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 577 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 585 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 599 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 633 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 684 auto screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 691 auto screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 699 auto screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 716 auto screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 750 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 758 auto screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 797 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 808 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 818 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 848 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 859 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); OnRemoteRequest() local 901 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); ProcSetVirtualScreenFlag() local 909 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); ProcGetVirtualScreenFlag() local 960 ScreenId screenId = static_cast<ScreenId>(data.ReadUint64()); ProcSetVirtualScreenSecurityExemption() local [all...] |
/foundation/distributedhardware/distributed_screen/services/screenservice/sourceservice/dscreenmgr/common/src/ |
H A D | screen_manager_adapter.cpp | 64 DHLOGE("remove virtual screen failed, screenId:%{public}" PRIu64, iter->second); in CreateVirtualScreen() 81 uint64_t screenId = Rosen::ScreenManager::GetInstance().CreateVirtualScreen(option); in CreateVirtualScreen() local 82 DHLOGI("virtualScreen id is: %{public}" PRIu64, screenId); in CreateVirtualScreen() 83 screenIdMap_.emplace(screenName, screenId); in CreateVirtualScreen() 84 return screenId; in CreateVirtualScreen() 127 void ScreenMgrAdapter::RemoveScreenFromGroup(uint64_t screenId) in RemoveScreenFromGroup() argument 129 DHLOGI("remove screen from group, screenId: %{public}" PRIu64, screenId); in RemoveScreenFromGroup() 131 screenIds.push_back(screenId); in RemoveScreenFromGroup() 135 int32_t ScreenMgrAdapter::RemoveVirtualScreen(uint64_t screenId) in RemoveVirtualScreen() argument 146 SetImageSurface(uint64_t screenId, sptr<OHOS::Surface> surface) SetImageSurface() argument 158 GetMapRelation(uint64_t screenId) GetMapRelation() argument [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager/include/zidl/ |
H A D | screen_session_manager_proxy.h | 33 virtual DMError SetScreenActiveMode(ScreenId screenId, uint32_t modeId) override; 34 virtual DMError SetVirtualPixelRatio(ScreenId screenId, float virtualPixelRatio) override; 35 virtual DMError SetVirtualPixelRatioSystem(ScreenId screenId, float virtualPixelRatio) override; 36 virtual DMError SetResolution(ScreenId screenId, uint32_t width, uint32_t height, float virtualPixelRatio) override; 37 virtual DMError GetDensityInCurResolution(ScreenId screenId, float& virtualPixelRatio) override; 39 virtual DMError GetScreenColorGamut(ScreenId screenId, ScreenColorGamut& colorGamut) override; 40 virtual DMError SetScreenColorGamut(ScreenId screenId, int32_t colorGamutIdx) override; 41 virtual DMError GetScreenGamutMap(ScreenId screenId, ScreenGamutMap& gamutMap) override; 42 virtual DMError SetScreenGamutMap(ScreenId screenId, ScreenGamutMap gamutMap) override; 43 virtual DMError SetScreenColorTransform(ScreenId screenId) overrid [all...] |
/foundation/window/window_manager/window_scene/screen_session_manager_client/src/ |
H A D | screen_session_manager_client.cpp | 81 bool ScreenSessionManagerClient::CheckIfNeedConnectScreen(ScreenId screenId, ScreenId rsId, const std::string& name) in CheckIfNeedConnectScreen() argument 91 if (screenSessionManager_->GetScreenProperty(screenId).GetScreenType() == ScreenType::VIRTUAL) { in CheckIfNeedConnectScreen() 103 void ScreenSessionManagerClient::OnScreenConnectionChanged(ScreenId screenId, ScreenEvent screenEvent, in OnScreenConnectionChanged() argument 106 WLOGFI("screenId: %{public}" PRIu64 " screenEvent: %{public}d rsId: %{public}" PRIu64 " name: %{public}s", in OnScreenConnectionChanged() 107 screenId, static_cast<int>(screenEvent), rsId, name.c_str()); in OnScreenConnectionChanged() 109 if (!CheckIfNeedConnectScreen(screenId, rsId, name)) { in OnScreenConnectionChanged() 114 .screenId = screenId, in OnScreenConnectionChanged() 118 config.property = screenSessionManager_->GetScreenProperty(screenId); in OnScreenConnectionChanged() 119 config.displayNode = screenSessionManager_->GetDisplayNode(screenId); in OnScreenConnectionChanged() 173 OnPropertyChanged(ScreenId screenId, const ScreenProperty& property, ScreenPropertyChangeReason reason) OnPropertyChanged() argument 200 OnSensorRotationChanged(ScreenId screenId, float sensorRotation) OnSensorRotationChanged() argument 210 OnHoverStatusChanged(ScreenId screenId, int32_t hoverStatus) OnHoverStatusChanged() argument 220 OnScreenOrientationChanged(ScreenId screenId, float screenOrientation) OnScreenOrientationChanged() argument 230 OnScreenRotationLockedChanged(ScreenId screenId, bool isLocked) OnScreenRotationLockedChanged() argument 278 OnImmersiveStateChanged(ScreenId screenId, bool& immersive) OnImmersiveStateChanged() argument 303 UpdateScreenRotationProperty(ScreenId screenId, const RRect& bounds, float rotation, ScreenPropertyChangeType screenPropertyChangeType) UpdateScreenRotationProperty() argument 328 SetDisplayNodeScreenId(ScreenId screenId, ScreenId displayNodeScreenId) SetDisplayNodeScreenId() argument 347 GetPhyScreenProperty(ScreenId screenId) GetPhyScreenProperty() argument 399 UpdateAvailableArea(ScreenId screenId, DMRect area) UpdateAvailableArea() argument 451 ScreenId screenId = iter.first; SwitchUserCallback() local 485 GetScreenSnapshot(ScreenId screenId, float scaleX, float scaleY) GetScreenSnapshot() argument 534 SetVirtualPixelRatioSystem(ScreenId screenId, float virtualPixelRatio) SetVirtualPixelRatioSystem() argument [all...] |
/foundation/window/window_manager/dm/include/ |
H A D | display_manager_adapter.h | 60 virtual sptr<DisplayInfo> GetDisplayInfoByScreenId(ScreenId screenId);
64 virtual DMError HasImmersiveWindow(ScreenId screenId, bool& immersive);
71 virtual bool SetScreenPowerById(ScreenId screenId, ScreenPowerState state, PowerStateChangeReason reason);
83 virtual bool ConvertScreenIdToRsScreenId(ScreenId screenId, ScreenId& rsScreenId);
90 virtual void SetDisplayScale(ScreenId screenId, float scaleX, float scaleY, float pivotX, float pivotY);
94 virtual void SetVirtualScreenBlackList(ScreenId screenId, std::vector<uint64_t>& windowIdList);
95 virtual void DisablePowerOffRenderControl(ScreenId screenId);
99 virtual DMError SetVirtualScreenSecurityExemption(ScreenId screenId, uint32_t pid,
111 virtual DMError DestroyVirtualScreen(ScreenId screenId);
112 virtual DMError SetVirtualScreenSurface(ScreenId screenId, spt [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_client/test/unittest/ |
H A D | rs_screen_skipframe_test.cpp | 78 * CaseDescription: 1. call SetScreenSkipFrameInterval with screenId 0 82 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); in HWTEST_F() local 83 EXPECT_NE(screenId, INVALID_SCREEN_ID); in HWTEST_F() 85 std::cout << "Set screenId:" << 0 << ", skipFrameInterval:" << skipFrameInterval << std::endl; in HWTEST_F() 87 if (screenId == 0) { in HWTEST_F() 99 * CaseDescription: 1. call SetScreenSkipFrameInterval with invalid screenId 103 ScreenId screenId = INVALID_SCREEN_ID; in HWTEST_F() local 105 std::cout << "Set screenId:" << screenId << ", skipFrameInterval:" << skipFrameInterval << std::endl; in HWTEST_F() 106 int32_t ret = rsInterfaces->SetScreenSkipFrameInterval(screenId, skipFrameInterva in HWTEST_F() 119 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); HWTEST_F() local 136 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); HWTEST_F() local 153 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); HWTEST_F() local 174 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); HWTEST_F() local 196 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); HWTEST_F() local 314 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); HWTEST_F() local 348 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); HWTEST_F() local 444 ScreenId screenId = rsInterfaces->GetDefaultScreenId(); HWTEST_F() local [all...] |
/foundation/window/window_manager/test/fuzztest/dms/screenmanager_fuzzer/ |
H A D | screenmanager_fuzzer.cpp | 31 virtual void OnConnect(ScreenId screenId) override 35 virtual void OnDisconnect(ScreenId screenId) override 39 virtual void OnChange(ScreenId screenId) override 118 ScreenId screenId = screenManager.CreateVirtualScreen(option); in MakeMirrorWithVirtualScreenFuzzTest() local 120 screenManager.SetVirtualScreenSurface(screenId, nullptr); in MakeMirrorWithVirtualScreenFuzzTest() 124 screenManager.MakeMirror(0, { screenId }, groupId); in MakeMirrorWithVirtualScreenFuzzTest() 126 screenManager.DestroyVirtualScreen(screenId); in MakeMirrorWithVirtualScreenFuzzTest() 130 screenManager.DestroyVirtualScreen(screenId); in MakeMirrorWithVirtualScreenFuzzTest() 159 ScreenId screenId = screenManager.CreateVirtualScreen(option); in MakeExpandWithVirtualScreenFuzzTest() local 161 screenManager.SetVirtualScreenSurface(screenId, nullpt in MakeExpandWithVirtualScreenFuzzTest() 198 ScreenId screenId = screenManager.CreateVirtualScreen(option); CreateAndDestroyVirtualScreenFuzzTest() local 209 ScreenId screenId; SetVirtualScreenSurfaceFuzzTest() local 222 ScreenId screenId; SetScreenRotationLockedFuzzTest() local 236 ScreenId screenId; IsScreenRotationLocked() local 250 ScreenId screenId; RemoveVirtualScreenFromGroupFuzzTest() local 264 ScreenId screenId; MakeMirrorFuzzTest() local 292 ScreenId screenId; MakeExpandFuzzTest() local [all...] |
/foundation/graphic/graphic_2d/rosen/modules/render_service_base/include/luminance/ |
H A D | rs_luminance_control.h | 43 RSB_EXPORT bool SetHdrStatus(ScreenId screenId, bool isHdrOn, int32_t type = HDR_TYPE::PHOTO); 44 RSB_EXPORT bool IsHdrOn(ScreenId screenId); 45 RSB_EXPORT bool IsDimmingOn(ScreenId screenId); 46 RSB_EXPORT void DimmingIncrease(ScreenId screenId); 48 RSB_EXPORT void SetSdrLuminance(ScreenId screenId, uint32_t level); 49 RSB_EXPORT uint32_t GetNewHdrLuminance(ScreenId screenId); 50 RSB_EXPORT void SetNowHdrLuminance(ScreenId screenId, uint32_t level); 51 RSB_EXPORT bool IsNeedUpdateLuminance(ScreenId screenId); 53 RSB_EXPORT float GetHdrTmoNits(ScreenId screenId, int32_t mode); 54 RSB_EXPORT float GetSdrDisplayNits(ScreenId screenId); [all...] |