summaryrefslogtreecommitdiff
path: root/graphics/mapper/2.1/vts/functional/VtsHalGraphicsMapperV2_1TargetTest.cpp
AgeCommit message (Collapse)Author
2020-08-31Mark GraphicsMapperHidlTest as allowing not being instantiatedChris Forbes
Only the variant(s) actually implemented by the device will be instantiated. This is consistent with tests for other versioned or optional HALs. Bug: b/167222309 Test: atest VtsHalGraphicsMapperV2_0TargetTest:GoogleTestVerification#UninstantiatedParameterizedTestSuite<GraphicsMapperHidlTest> -- --abi arm64-v8a Change-Id: I4f1bfbad47bdbf75578ec48a3a56fb5351e7729a
2020-03-10vts: VtsHalGraphicsMapperV2_1TargetTest fixup'sPierre Couillaud
1) handles allocated through 'allocate' should be removed through 'freeBuffer'. 2) make use of intended buffer handle in GetTransportSizeBadBuffer. Bug: 146444563 Test: build, boot, VtsHalGraphicsMapperV2_1TargetTest Change-Id: I6c1a67fc36dbc653ec2ada6a335d685d21e82800 Signed-off-by: Pierre Couillaud <pierre.couillaud@broadcom.com>
2019-12-06Convert VtsHalGraphicsMapperV*TargetTest to be parameterized testDan Shi
Bug: 142397658 Test: atest VtsHalGraphicsMapperV2_0TargetTest \ VtsHalGraphicsMapperV2_1TargetTest \ VtsHalGraphicsMapperV3_0TargetTest Change-Id: I1d4e222f3a04882ae8d74e79201c2751d1d22ea4
2018-02-02graphics: make mapper 2.1 VTS utils more reusableChia-I Wu
Move V2_1::vts::Gralloc to android.hardware.graphics.mapper@2.1-vts. Test: VTS Change-Id: Iecb7fc3cb90b886ad2d9c23a5cab8aef2da6367f
2018-02-02graphics: make mapper VTS utils more reusableChia-I Wu
Better include path (#include <mapper-vts/2.0/MapperVts.h>), better library naming, and move GraphicsMapperHidlEnvironment to where tests are defined. Test: VTS Change-Id: I9fbf6515993ac11852b11ca6b8194a58afe5579a
2018-01-23graphics: add createDescriptor_2_1 to mapperChia-I Wu
With new formats and buffer usage bits, we need new createDescriptor. Test: VTS Change-Id: I87e39297f9c1c53377fcc62fb086629779409c16
2017-10-03graphics: add IMapper@2.1Chia-I Wu
Add necessary methods to protect the framework against crafted buffer handles. Bug: 62535446 Bug: 62084097 Bug: 32587089 Test: manual Change-Id: I11486c0767a90788da9f84c2177202f26c0d9ce1