Exclude test for vendor API level < 31

Unsupported on these devices; seems like getFirstApiLevel semantics
do not cover this case.

Bug: 203045500
Test: atest ProcessDmabufMemoryTests
Change-Id: Ie161b37d2882f8ca124a21fc31bb0e8f401552e8
Merged-In: Ie161b37d2882f8ca124a21fc31bb0e8f401552e8
diff --git a/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/ProcessDmabufMemoryTests.java b/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/ProcessDmabufMemoryTests.java
index 25cb2f7..f49d3f6 100644
--- a/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/ProcessDmabufMemoryTests.java
+++ b/hostsidetests/statsdatom/src/android/cts/statsdatom/memory/ProcessDmabufMemoryTests.java
@@ -60,7 +60,8 @@
 
     public void testProcessDmabufMemoryAtom() throws Exception {
         boolean supportsFds = DeviceUtils.isKernelGreaterEqual(getDevice(), Pair.create(5, 4))
-                && PropertyUtil.getFirstApiLevel(getDevice()) > 30;
+                && PropertyUtil.getFirstApiLevel(getDevice()) >= 31
+                && PropertyUtil.getVendorApiLevel(getDevice()) >= 31;
 
         List<AtomsProto.Atom> atoms = pullAsGaugeMetric();
         for (AtomsProto.Atom atom : atoms) {