CTS Sensor: Perform EventOrderVerificationTest for all sensor types except ONE-SHOT

It is not possible for any type of sensor to report new event having timestamp
less than the timestamp of previous event.
Currently, event order verification test is performed for continuos and on-change
sensor but not for special reporting type sensor. Due to this, event order test
of special reporting type sensor like step detector "passes" even though it
reports incorrect timestamp, which ideally should fail.
As one-shot sensor reports only one event and disables itself, so lets perform
event order verification test for all sensor types except one-shot.

Change-Id: I7889523d942f000e58e4804324de7434466f8a7b
Signed-off-by: Aniroop Mathur <aniroop.mathur@gmail.com>
diff --git a/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/EventOrderingVerification.java b/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/EventOrderingVerification.java
index d69bf31..d3b317b 100644
--- a/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/EventOrderingVerification.java
+++ b/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/EventOrderingVerification.java
@@ -49,10 +49,8 @@
     @SuppressWarnings("deprecation")
     public static EventOrderingVerification getDefault(TestSensorEnvironment environment) {
         int reportingMode = environment.getSensor().getReportingMode();
-        if (reportingMode != Sensor.REPORTING_MODE_CONTINUOUS
-                && reportingMode != Sensor.REPORTING_MODE_ON_CHANGE) {
+        if (reportingMode == Sensor.REPORTING_MODE_ONE_SHOT)
             return null;
-        }
         return new EventOrderingVerification();
     }