diff options
author | John Reck <jreck@google.com> | 2023-07-07 11:17:49 -0400 |
---|---|---|
committer | John Reck <jreck@google.com> | 2023-07-19 13:16:26 -0400 |
commit | f878a1abab0741ad4e47a3141bd416569d0e0cec (patch) | |
tree | f90ef5785e113ece640b9a95ba5f3a1a03271885 | |
parent | 02ecc2dd320658c0aafedf3ed16bdc8d8ca479a2 (diff) | |
download | hal-f878a1abab0741ad4e47a3141bd416569d0e0cec.tar.gz |
Update gralloc HAL testcase
Bug: 280901110
Test: atest vts_treble_vintf_vendor_test
Change-Id: I59861c0289861e02a03c4a47872d21b60e6f1e94
-rw-r--r-- | treble/vintf/DeviceManifestTest.cpp | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/treble/vintf/DeviceManifestTest.cpp b/treble/vintf/DeviceManifestTest.cpp index c156dea0..594c0e05 100644 --- a/treble/vintf/DeviceManifestTest.cpp +++ b/treble/vintf/DeviceManifestTest.cpp @@ -70,7 +70,8 @@ TEST_F(DeviceManifestTest, GraphicsMapperHalVersionCompatibility) { bool is_go_device = android::base::GetBoolProperty("ro.config.low_ram", false); if (shipping_fcm_version == Level::UNSPECIFIED || - shipping_fcm_version < Level::R || is_go_device) { + shipping_fcm_version < Level::R || + (is_go_device && shipping_fcm_version < Level::V)) { GTEST_SKIP() << "Graphics mapper 4 is only required on launching R devices"; } @@ -195,7 +196,8 @@ TEST_F(DeviceManifestTest, GrallocHalVersionCompatibility) { bool is_go_device = android::base::GetBoolProperty("ro.config.low_ram", false); if (shipping_fcm_version == Level::UNSPECIFIED || - shipping_fcm_version < Level::T || is_go_device) { + shipping_fcm_version < Level::T || + (is_go_device && shipping_fcm_version < Level::V)) { GTEST_SKIP() << "Gralloc 4.0/AIDL is only required on launching T devices"; } |