dram: Fix ArrayIndexOutOfBoundsException when all data are rejected.

BandwidthTest will reject data that differs from median by 10%, but in
some devices, bandwidth may vary so much (10x) that all data are rejected
by getStatWithOutlierRejection which results in an exception.
This CL makes the data length odd so that the median is just the number
in the middle of the sorted data instead of an average of two numbers in
the middle, this way the median will never be rejected.

Bug: 31606924
Test: cts-tradefed run cts --module CtsDramTestCases --test android.dram.cts.BandwidthTest

Change-Id: I677e4cb5b438eedef33e99081aea97e41e55f925
diff --git a/tests/dram/src/android/dram/cts/BandwidthTest.java b/tests/dram/src/android/dram/cts/BandwidthTest.java
index 1eb307b..fe7e248 100644
--- a/tests/dram/src/android/dram/cts/BandwidthTest.java
+++ b/tests/dram/src/android/dram/cts/BandwidthTest.java
@@ -36,8 +36,9 @@
 public class BandwidthTest extends CtsAndroidTestCase {
     private static final String TAG = BandwidthTest.class.getSimpleName();
     private static final String REPORT_LOG_NAME = "CtsDramTestCases";
-    private static final int MEMCPY_REPETITION = 10;
-    private static final int MEMSET_REPETITION = 30;
+    // data length is odd to prevent rare cases that all data are rejected.
+    private static final int MEMCPY_REPETITION = 11;
+    private static final int MEMSET_REPETITION = 31;
     private static final int REPEAT_IN_EACH_CALL = 100;
     private static final int KB = 1024;
     private static final int MB = 1024 * 1024;