Home
last modified time | relevance | path

Searched refs:setDisplayBrightness (Results 1 – 7 of 7) sorted by relevance

/hardware/interfaces/graphics/composer/2.3/vts/functional/
DVtsHalGraphicsComposerV2_3TargetTest.cpp607 TEST_F(GraphicsComposerHidlTest, setDisplayBrightness) { in TEST_F() argument
615 EXPECT_EQ(mComposerClient->getRaw()->setDisplayBrightness(mPrimaryDisplay, 0.5f), in TEST_F()
621 EXPECT_EQ(mComposerClient->setDisplayBrightness(mPrimaryDisplay, 0.0f), Error::NONE); in TEST_F()
622 EXPECT_EQ(mComposerClient->setDisplayBrightness(mPrimaryDisplay, 0.5f), Error::NONE); in TEST_F()
623 EXPECT_EQ(mComposerClient->setDisplayBrightness(mPrimaryDisplay, 1.0f), Error::NONE); in TEST_F()
624 EXPECT_EQ(mComposerClient->setDisplayBrightness(mPrimaryDisplay, -1.0f), Error::NONE); in TEST_F()
626 EXPECT_EQ(mComposerClient->setDisplayBrightness(mPrimaryDisplay, +2.0f), Error::BAD_PARAMETER); in TEST_F()
627 EXPECT_EQ(mComposerClient->setDisplayBrightness(mPrimaryDisplay, -2.0f), Error::BAD_PARAMETER); in TEST_F()
/hardware/interfaces/graphics/composer/2.3/utils/passthrough/include/composer-passthrough/2.3/
DHwcHal.h292 Error setDisplayBrightness(Display display, float brightness) { in setDisplayBrightness() function
297 if (!mDispatch.setDisplayBrightness) { in setDisplayBrightness()
300 int32_t error = mDispatch.setDisplayBrightness(mDevice, display, brightness); in setDisplayBrightness()
327 &mDispatch.setDisplayBrightness); in initDispatch()
413 HWC2_PFN_SET_DISPLAY_BRIGHTNESS setDisplayBrightness; member
/hardware/interfaces/graphics/composer/2.3/utils/vts/
DComposerVts.cpp200 Error ComposerClient::setDisplayBrightness(Display display, float brightness) { in setDisplayBrightness() function in android::hardware::graphics::composer::V2_3::vts::ComposerClient
201 return mClient->setDisplayBrightness(display, brightness); in setDisplayBrightness()
/hardware/interfaces/graphics/composer/2.3/utils/hal/include/composer-hal/2.3/
DComposerClient.h182 Return<Error> setDisplayBrightness(Display display, float brightness) override { in setDisplayBrightness() function
183 return mHal->setDisplayBrightness(display, brightness); in setDisplayBrightness()
DComposerHal.h123 virtual Error setDisplayBrightness(Display display, float brightness) = 0;
/hardware/interfaces/graphics/composer/2.3/utils/vts/include/composer-vts/2.3/
DComposerVts.h106 Error setDisplayBrightness(Display display, float brightness);
/hardware/interfaces/graphics/composer/2.3/
DIComposerClient.hal540 setDisplayBrightness(Display display, float brightness) generates (Error error);