Add min*Version and max*Version to GasTest annotation

This allows the GasTests to indicate the range of GAS
version the test applies to so that ATS custom test
runners can ignore the tests accordingly.

Bug: 177341123
Test: make cts
Change-Id: Ie2e8a64963da84190f92ba2c344c6ce5bc9f9e9e
diff --git a/common/util/src/com/android/compatibility/common/util/GasTest.java b/common/util/src/com/android/compatibility/common/util/GasTest.java
index 4c3b555..1300383 100644
--- a/common/util/src/com/android/compatibility/common/util/GasTest.java
+++ b/common/util/src/com/android/compatibility/common/util/GasTest.java
@@ -25,5 +25,23 @@
 @Retention(RetentionPolicy.RUNTIME)
 @Target({ElementType.METHOD, ElementType.TYPE})
 public @interface GasTest {
+    // The GAS requirement ID the GasTest applies to.
+    // Example: @GasTest(requirement = "G-0-000")
     String requirement();
+
+    // The minimum GAS software requirement version the GasTest applies to.
+    // Example: @GasTest(requirement = "G-0-000", minSoftwareVersion = 0.1)
+    double minSoftwareVersion() default 0;
+
+    // The maximum GAS software requirement version the GasTest applies to.
+    // Example: @GasTest(requirement = "G-0-000", maxSoftwareVersion = 0.1)
+    double maxSoftwareVersion() default 0;
+
+    // The minimum GAS hardware requirement version the GasTest applies to.
+    // Example: @GasTest(requirement = "G-0-000", minHardwareVersion = 0.1)
+    double minHardwareVersion() default 0;
+
+    // The maximum GAS hardware requirement version the GasTest applies to.
+    // Example: @GasTest(requirement = "G-0-000", maxHardwareVersion = 0.1)
+    double maxHardwareVersion() default 0;
 }