/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
D | StandardDeviationVerification.java | 216 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}); in setDefaults() 218 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}); in setDefaults() 220 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}); in setDefaults() 222 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}); in setDefaults() 224 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}); in setDefaults() 226 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE, in setDefaults() 227 Float.MAX_VALUE}); in setDefaults() 229 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE, in setDefaults() 230 Float.MAX_VALUE, Float.MAX_VALUE}); in setDefaults() 232 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE, in setDefaults() [all …]
|
D | MeanVerification.java | 136 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}}); in setDefaults() 141 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}}); in setDefaults() 145 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}}); in setDefaults() 149 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE, in setDefaults() 150 Float.MAX_VALUE}}); in setDefaults() 154 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE, in setDefaults() 155 Float.MAX_VALUE, Float.MAX_VALUE}}); in setDefaults()
|
D | JitterVerification.java | 172 DEFAULTS.put(Sensor.TYPE_ACCELEROMETER, Integer.MAX_VALUE); in setDefaults() 173 DEFAULTS.put(Sensor.TYPE_MAGNETIC_FIELD, Integer.MAX_VALUE); in setDefaults() 174 DEFAULTS.put(Sensor.TYPE_MAGNETIC_FIELD_UNCALIBRATED, Integer.MAX_VALUE); in setDefaults() 175 DEFAULTS.put(Sensor.TYPE_GYROSCOPE, Integer.MAX_VALUE); in setDefaults() 176 DEFAULTS.put(Sensor.TYPE_GYROSCOPE_UNCALIBRATED, Integer.MAX_VALUE); in setDefaults() 177 DEFAULTS.put(Sensor.TYPE_ORIENTATION, Integer.MAX_VALUE); in setDefaults() 178 DEFAULTS.put(Sensor.TYPE_PRESSURE, Integer.MAX_VALUE); in setDefaults() 179 DEFAULTS.put(Sensor.TYPE_GRAVITY, Integer.MAX_VALUE); in setDefaults() 180 DEFAULTS.put(Sensor.TYPE_LINEAR_ACCELERATION, Integer.MAX_VALUE); in setDefaults() 181 DEFAULTS.put(Sensor.TYPE_ROTATION_VECTOR, Integer.MAX_VALUE); in setDefaults() [all …]
|
/cts/tests/tests/os/src/android/os/health/cts/ |
D | TimerStatTest.java | 46 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testSetCount() 48 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetCount() 53 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); in testSetCount() 61 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testSetTime() 63 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetTime() 67 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testSetTime() 76 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); in testParceling() 78 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); in testParceling() 79 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); in testParceling() 89 Assert.assertEquals(Integer.MAX_VALUE, readback.getCount()); in testParceling() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/ |
D | Test_rsub_int.java | 63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE)); in testB1() 64 assertEquals(-Short.MAX_VALUE, t.run(Short.MAX_VALUE)); in testB1() 94 assertEquals(Short.MAX_VALUE, t.run(0)); in testB4() 108 assertEquals(-2147450880, t.run(Integer.MAX_VALUE)); in testB5() 133 assertEquals(2147450881, t.run(Integer.MAX_VALUE)); in testB7() 135 assertEquals(-65535, t.run(Short.MAX_VALUE)); in testB7() 145 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE)); in testB8() 146 assertEquals(Short.MAX_VALUE, t.run(Short.MIN_VALUE)); in testB8() 156 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE)); in testB9() 157 assertEquals(-32768, t.run(Short.MAX_VALUE)); in testB9() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/ |
D | Test_rsub_int_lit8.java | 63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE)); in testB1() 64 assertEquals(-Byte.MAX_VALUE, t.run(Byte.MAX_VALUE)); in testB1() 94 assertEquals(Byte.MAX_VALUE, t.run(0)); in testB4() 108 assertEquals(-2147483520, t.run(Integer.MAX_VALUE)); in testB5() 133 assertEquals(2147483521, t.run(Integer.MAX_VALUE)); in testB7() 135 assertEquals(-255, t.run(Byte.MAX_VALUE)); in testB7() 145 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE)); in testB8() 146 assertEquals(Byte.MAX_VALUE, t.run(Byte.MIN_VALUE)); in testB8() 156 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE)); in testB9() 157 assertEquals(Byte.MIN_VALUE, t.run(Byte.MAX_VALUE)); in testB9() [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | CredentialsTest.java | 33 cred = new Credentials(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE); in testCredentials() 34 assertEquals(Integer.MAX_VALUE, cred.getGid()); in testCredentials() 35 assertEquals(Integer.MAX_VALUE, cred.getPid()); in testCredentials() 36 assertEquals(Integer.MAX_VALUE, cred.getUid()); in testCredentials()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int/ |
D | Test_sub_int.java | 55 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); in testN4() 63 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); in testB1() 71 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1)); in testB3() 87 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB4() 111 assertEquals(2147483646, t.run(Integer.MAX_VALUE, 1)); in testB7() 127 assertEquals(-1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB9()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int_2addr/ |
D | Test_sub_int_2addr.java | 54 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); in testN4() 62 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); in testB1() 70 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 78 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1)); in testB3() 86 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB4() 110 assertEquals(2147483646, t.run(Integer.MAX_VALUE, 1)); in testB7() 126 assertEquals(-1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB9()
|
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
D | SampleDeviceInfo.java | 33 double[] doubles = {Double.MAX_VALUE, Double.MIN_VALUE}; in collectDeviceInfo() 34 int[] ints = {Integer.MAX_VALUE, Integer.MIN_VALUE}; in collectDeviceInfo() 35 long[] longs = {Long.MAX_VALUE, Long.MIN_VALUE}; in collectDeviceInfo() 54 store.addResult("foo_double", Double.MAX_VALUE); in collectDeviceInfo() 55 store.addResult("foo_int", Integer.MAX_VALUE); in collectDeviceInfo() 56 store.addResult("foo_long", Long.MAX_VALUE); in collectDeviceInfo()
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_long/ |
D | AddLongTest.java | 51 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE)); in testB1() 75 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); in testB4() 83 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5() 107 assertEquals(-9223372036854775808l, t.run(Long.MAX_VALUE, 1l)); in testB8()
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_long_2addr/ |
D | AddLong2AddrTest.java | 50 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE)); in testB1() 74 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); in testB4() 82 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5() 106 assertEquals(-9223372036854775808l, t.run(Long.MAX_VALUE, 1l)); in testB8()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | CursorJoinerTest.java | 37 private static final int MAX_VALUE = 20; field in CursorJoinerTest 38 private static final int EQUAL_VALUE_COUNT = MAX_VALUE - EQUAL_START + 1; 124 assertEquals(getOrderNumberString(DEFAULT_TABLE1_VALUE_BEGINS + i, MAX_VALUE), in testCursorJoinerAndIterator() 149 assertEquals(getOrderNumberString(DEFAULT_TABLE1_VALUE_BEGINS + i, MAX_VALUE), cursor1 in testNext() 151 assertEquals(getOrderNumberString(DEFAULT_TABLE2_VALUE_BEGINS, MAX_VALUE), cursor2 in testNext() 158 assertEquals(getOrderNumberString(EQUAL_START, MAX_VALUE), cursor1.getString(0)); in testNext() 159 assertEquals(getOrderNumberString(DEFAULT_TABLE2_VALUE_BEGINS + i, MAX_VALUE), cursor2 in testNext() 166 assertEquals(getOrderNumberString(EQUAL_START + i, MAX_VALUE), cursor1.getString(0)); in testNext() 167 assertEquals(getOrderNumberString(EQUAL_START + i, MAX_VALUE), cursor2.getString(0)); in testNext() 198 addValuesIntoTable(TABLE_NAME_1, DEFAULT_TABLE2_VALUE_BEGINS + UNIQUE_COUNT, MAX_VALUE); in initializeTables() [all …]
|
D | MatrixCursorTest.java | 78 builder.add(Integer.MAX_VALUE); in testNewRow() 84 assertEquals(Integer.MAX_VALUE, mMatrixCursor.getInt(COLUMN2_INDEX)); in testNewRow() 100 mMatrixCursor.addRow(new Long[] { Long.MIN_VALUE, 0l, Long.MAX_VALUE }); in testAddRow() 108 assertEquals(Long.MAX_VALUE, mMatrixCursor.getLong(COLUMN2_INDEX)); in testAddRow() 172 mMatrixCursor.addRow(new Short[] { Short.MIN_VALUE, 0, Short.MAX_VALUE }); in testGetters() 181 assertEquals(Short.MAX_VALUE, mMatrixCursor.getShort(COLUMN2_INDEX)); in testGetters() 185 assertEquals(Short.MAX_VALUE, mMatrixCursor.getInt(COLUMN2_INDEX)); in testGetters() 189 assertEquals(Short.MAX_VALUE, mMatrixCursor.getLong(COLUMN2_INDEX)); in testGetters() 203 mMatrixCursor.addRow(new Double[] { Double.MIN_VALUE, 0d, Double.MAX_VALUE }); in testGetters() 216 assertEquals(Integer.MAX_VALUE, mMatrixCursor.getInt(COLUMN2_INDEX)); in testGetters() [all …]
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_int_2addr/ |
D | AddInt2AddrTest.java | 74 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); in testB1() 82 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 90 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3()
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_int/ |
D | AddIntTest.java | 75 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); in testB1() 83 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 91 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long/ |
D | Test_add_long.java | 54 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE)); in testB1() 78 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); in testB4() 86 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5() 110 assertEquals(-9223372036854775808l, t.run(Long.MAX_VALUE, 1l)); in testB8()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int/ |
D | Test_add_int.java | 79 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); in testB1() 87 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 95 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_2addr/ |
D | Test_add_int_2addr.java | 78 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); in testB1() 86 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB2() 94 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long_2addr/ |
D | Test_add_long_2addr.java | 54 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE)); in testB1() 78 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); in testB4() 86 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5() 110 assertEquals(-9223372036854775808l, t.run(Long.MAX_VALUE, 1l)); in testB8()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RadioGroup_LayoutParamsTest.java | 51 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE); in testConstructor() 53 assertEquals(Integer.MAX_VALUE, mLayoutParams.height); in testConstructor() 56 mLayoutParams = new RadioGroup.LayoutParams(Integer.MAX_VALUE, Integer.MIN_VALUE); in testConstructor() 57 assertEquals(Integer.MAX_VALUE, mLayoutParams.width); in testConstructor() 61 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, in testConstructor() 62 Float.MAX_VALUE); in testConstructor() 64 assertEquals(Integer.MAX_VALUE, mLayoutParams.height); in testConstructor() 65 assertEquals(Float.MAX_VALUE, mLayoutParams.weight); in testConstructor() 67 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, in testConstructor() 70 assertEquals(Integer.MAX_VALUE, mLayoutParams.height); in testConstructor()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_lt/ |
D | Test_if_lt.java | 39 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB1() 47 assertEquals(1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB2() 55 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB3()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_ge/ |
D | Test_if_ge.java | 39 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); in testB1() 47 assertEquals(1234, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB2() 55 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB3()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int/ |
D | Test_mul_int.java | 63 assertEquals(0, t.run(0, Integer.MAX_VALUE)); in testB1() 71 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB2() 87 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, in testB4()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int_2addr/ |
D | Test_mul_int_2addr.java | 63 assertEquals(0, t.run(0, Integer.MAX_VALUE)); in testB1() 71 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB2() 87 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, in testB4()
|