Skip to content

Commit a140345

Browse files
committed
Reduce threshold for GYROSCOPE_UNCALIBRATED.
Reducing the minimum mean value in batch tests for GYROSCOPE_UNCALIBRATED from 0.0005 rad/s to 0.0002 rad/s. It was found that a well performing thermal compensation would cause this test to become flaky. This reduces the threshold to allow such devices to reliably pass the test while still allow the test to catch egregious failures. Bug: 296489011 Test: CTS SensorBatchingTests Change-Id: Iab512b6cb918c92dca32a5f3c1cae41cbaef3154
1 parent 452a396 commit a140345

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/sensor/src/android/hardware/cts/helpers/sensorverification/MeanLargerThanVerification.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class MeanLargerThanVerification extends AbstractMeanVerification {
3333
public static final String PASSED_KEY = "mean_larger_than_passed";
3434
private static final String TAG = "MeanLargerThanVerification";
3535

36-
private static final float DEFAULT_GYRO_UNCAL_THRESHOLD = 0.0005f;
36+
private static final float DEFAULT_GYRO_UNCAL_THRESHOLD = 0.0002f;
3737

3838
private final float[] mExpected;
3939
private final float[] mThresholds;

0 commit comments

Comments
 (0)