Home
last modified time | relevance | path

Searched refs:MAX_VALUE (Results 1 – 25 of 264) sorted by relevance

1234567891011

/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/
DStandardDeviationVerification.java216 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 …]
DMeanVerification.java136 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()
DJitterVerification.java172 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/
DTimerStatTest.java46 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/
DTest_rsub_int.java63 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/
DTest_rsub_int_lit8.java63 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/
DCredentialsTest.java33 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/
DTest_sub_int.java55 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/
DTest_sub_int_2addr.java54 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/
DSampleDeviceInfo.java33 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/
DAddLongTest.java51 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/
DAddLong2AddrTest.java50 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/
DCursorJoinerTest.java37 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 …]
DMatrixCursorTest.java78 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/
DAddInt2AddrTest.java74 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/
DAddIntTest.java75 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/
DTest_add_long.java54 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/
DTest_add_int.java79 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/
DTest_add_int_2addr.java78 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/
DTest_add_long_2addr.java54 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/
DRadioGroup_LayoutParamsTest.java51 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/
DTest_if_lt.java39 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/
DTest_if_ge.java39 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/
DTest_mul_int.java63 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/
DTest_mul_int_2addr.java63 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()

1234567891011