Home
last modified time | relevance | path

Searched refs:getStagedBrightness (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/surfaceflinger/tests/unittests/
DDisplayDevice_SetDisplayBrightnessTest.cpp42 EXPECT_EQ(std::nullopt, displayDevice->getStagedBrightness()); in TEST_F()
47 EXPECT_EQ(0.5f, displayDevice->getStagedBrightness()); in TEST_F()
51 EXPECT_EQ(std::nullopt, displayDevice->getStagedBrightness()); in TEST_F()
59 EXPECT_EQ(std::nullopt, displayDevice->getStagedBrightness()); in TEST_F()
64 EXPECT_EQ(0.5f, displayDevice->getStagedBrightness()); in TEST_F()
68 EXPECT_EQ(std::nullopt, displayDevice->getStagedBrightness()); in TEST_F()
77 EXPECT_EQ(std::nullopt, displayDevice->getStagedBrightness()); in TEST_F()
82 EXPECT_EQ(0.5f, displayDevice->getStagedBrightness()); in TEST_F()
86 EXPECT_EQ(std::nullopt, displayDevice->getStagedBrightness()); in TEST_F()
92 EXPECT_EQ(0.5f, displayDevice->getStagedBrightness()); in TEST_F()
[all …]
/frameworks/native/services/surfaceflinger/
DDisplayDevice.h112 std::optional<float> getStagedBrightness() const REQUIRES(kMainThreadContext);
DDisplayDevice.cpp287 std::optional<float> DisplayDevice::getStagedBrightness() const { in getStagedBrightness() function in android::DisplayDevice
DSurfaceFlinger.cpp4211 if (const auto brightness = display->getStagedBrightness(); brightness) { in persistDisplayBrightness()