Searched refs:getStagedBrightness (Results 1 – 4 of 4) sorted by relevance
/frameworks/native/services/surfaceflinger/tests/unittests/ |
D | DisplayDevice_SetDisplayBrightnessTest.cpp | 42 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/ |
D | DisplayDevice.h | 112 std::optional<float> getStagedBrightness() const REQUIRES(kMainThreadContext);
|
D | DisplayDevice.cpp | 287 std::optional<float> DisplayDevice::getStagedBrightness() const { in getStagedBrightness() function in android::DisplayDevice
|
D | SurfaceFlinger.cpp | 4211 if (const auto brightness = display->getStagedBrightness(); brightness) { in persistDisplayBrightness()
|