summaryrefslogtreecommitdiff
path: root/graphics/composer/aidl/vts/VtsHalGraphicsComposer3_ReadbackTest.cpp
AgeCommit message (Collapse)Author
2022-04-25Check Exception Code for Service specific errorramindani
Before checking the service specific error we need to check that getExceptionCode returns EX_SERVICE_SPECIFIC error code. Added a method and used that to do the two checks together for exceptionCode and for the service specific error code, so that we don't repeat two lines in all the tests that need them. EXPECT_NO_FATAL_FAILURES print the correct line number of the test or iteration of the test when used with helper functions, and testing guidelines recommend it too here: go/gunitadvanced#propagating-fatal-failures Test: atest VtsHalGraphicsComposer3_TargetTest BUG: 205152739 Change-Id: I1d3c3aa9b34dcefb14be507ff61b73b6f08a5204
2022-04-22Set isOpaque For BlendMode::Noneramindani
Test: atest VtsHalGraphicsComposer3_TargetTest BUG: 216205298 BUG: 219576457 Change-Id: I479d8367e5abf8893b94ac64b7149a2f0e4cf75b
2022-03-31Send brightness nits to composerAlec Mouri
Bug: 220396224 Test: builds, boots Change-Id: I6866422130776ae25d791b3cfd0d1a754d2488b9
2022-03-02Vts BlendMode tests skip for UNSUPPORTED ColorModeramindani
BUG: 221887749 Test: atest VtsHalGraphicsComposer3_TargetTest Change-Id: I6c0a35c64883333c70451c717f50cb84d85ce994
2022-03-01Vts readback status check fixesramindani
When we query for the getReadbackBufferAttributes we can get EX_UNSUPPORTED error when not supported and when this happens readback should not be supported. EXPECT_TRUE for this failure case was causing the test to fail when we received an EX_UNSUPPORTED for this. See for documentation: https://source.corp.google.com/android/hardware/interfaces/graphics/composer/aidl/android/hardware/graphics/composer3/IComposerClient.aidl;rcl=e1f0950945f687ed374a45911e2d7786de724ca4;l=436 BUG: 221889462 Test: atest VtsHalGraphicsComposer3_TargetTest Test link for the cf_x86_64_phone-userdebug http://ab/I39800010022763398 All the other test failures are tracked else where. Change-Id: Idf352761c5cc808540edfe2042c5ee4602b5e96b
2022-02-23Update the test directory structureramindani
vts is moved from aidl/android/ to aidl/vts functional, include & composer-vts directory is removed as well. BUG: 220171967 Test: atest VtsHalGraphicsComposer3_TargetTest Change-Id: I6cafbbd99374308a1cc06e27cc590e70618f7075