/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/ |
D | Test_rsub_int_lit8.java | 74 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE)); in testB2() 75 assertEquals(128, t.run(Byte.MIN_VALUE)); in testB2() 107 assertEquals(-2147483521, t.run(Integer.MIN_VALUE)); in testB5() 109 assertEquals(255, t.run(Byte.MIN_VALUE)); in testB5() 120 assertEquals(Byte.MIN_VALUE, t.run(0)); in testB6() 134 assertEquals(2147483520, t.run(Integer.MIN_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/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/ |
D | Test_rsub_int.java | 74 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE)); in testB2() 75 assertEquals(32768, t.run(Short.MIN_VALUE)); in testB2() 107 assertEquals(-2147450881, t.run(Integer.MIN_VALUE)); in testB5() 109 assertEquals(65535, t.run(Short.MIN_VALUE)); in testB5() 120 assertEquals(Short.MIN_VALUE, t.run(0)); in testB6() 134 assertEquals(2147450880, t.run(Integer.MIN_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() 167 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MIN_VALUE)); in testB10() [all …]
|
/cts/tests/tests/renderscript/src/android/renderscript/cts/ |
D | FloatyUnitTest.java | 25 static float subnormalFloat = 10000 * Float.MIN_VALUE; 29 static double subnormalDouble = 10000 * Double.MIN_VALUE; 40 Float16Utils.MIN_VALUE, 41 Float16Utils.MIN_VALUE * 100, 43 -Float16Utils.MIN_VALUE, 44 -Float16Utils.MIN_VALUE * 100, 280 extraError = Float.MIN_VALUE; in testExtraAllowedError() 342 floaty = t.new32(Float.MIN_VALUE); in testRangeDoesNotAcrossZero() 343 shouldAccept(floaty, (double) Float.MIN_VALUE); in testRangeDoesNotAcrossZero() 344 shouldAccept(floaty, (double) Float.MIN_VALUE + 4 * Float.MIN_VALUE); in testRangeDoesNotAcrossZero() [all …]
|
/cts/tests/tests/net/src/android/net/cts/ |
D | CredentialsTest.java | 39 cred = new Credentials(Integer.MIN_VALUE, Integer.MIN_VALUE, Integer.MIN_VALUE); in testCredentials() 40 assertEquals(Integer.MIN_VALUE, cred.getGid()); in testCredentials() 41 assertEquals(Integer.MIN_VALUE, cred.getPid()); in testCredentials() 42 assertEquals(Integer.MIN_VALUE, cred.getUid()); in testCredentials()
|
/cts/tests/tests/proto/src/android/util/proto/cts/ |
D | ProtoOutputStreamFixed64Test.java | 54 po.writeFixed64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 56 po.writeFixed64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testWrite() 97 testWriteCompat(Integer.MIN_VALUE); in testWriteCompat() 99 testWriteCompat(Long.MIN_VALUE); in testWriteCompat() 149 po.writeRepeatedFixed64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testRepeated() 151 po.writeRepeatedFixed64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testRepeated() 157 po.writeRepeatedFixed64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testRepeated() 159 po.writeRepeatedFixed64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testRepeated() 230 testRepeatedCompat(new long[] { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE, in testRepeatedCompat() 231 Long.MIN_VALUE, Long.MAX_VALUE }); in testRepeatedCompat() [all …]
|
D | ProtoOutputStreamSInt64Test.java | 54 po.writeSInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 56 po.writeSInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testWrite() 93 testWriteCompat(Integer.MIN_VALUE); in testWriteCompat() 95 testWriteCompat(Long.MIN_VALUE); in testWriteCompat() 145 po.writeRepeatedSInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testRepeated() 147 po.writeRepeatedSInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testRepeated() 153 po.writeRepeatedSInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testRepeated() 155 po.writeRepeatedSInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testRepeated() 216 testRepeatedCompat(new long[] { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE, in testRepeatedCompat() 217 Long.MIN_VALUE, Long.MAX_VALUE }); in testRepeatedCompat() [all …]
|
D | ProtoOutputStreamSFixed64Test.java | 54 po.writeSFixed64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 56 po.writeSFixed64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testWrite() 97 testWriteCompat(Integer.MIN_VALUE); in testWriteCompat() 99 testWriteCompat(Long.MIN_VALUE); in testWriteCompat() 149 po.writeRepeatedSFixed64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testRepeated() 151 po.writeRepeatedSFixed64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testRepeated() 157 po.writeRepeatedSFixed64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testRepeated() 159 po.writeRepeatedSFixed64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testRepeated() 229 testRepeatedCompat(new long[] { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE, in testRepeatedCompat() 230 Long.MIN_VALUE, Long.MAX_VALUE }); in testRepeatedCompat() [all …]
|
D | ProtoOutputStreamUInt64Test.java | 54 po.writeUInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 56 po.writeUInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testWrite() 94 testWriteCompat(Integer.MIN_VALUE); in testWriteCompat() 96 testWriteCompat(Long.MIN_VALUE); in testWriteCompat() 146 po.writeRepeatedUInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testRepeated() 148 po.writeRepeatedUInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testRepeated() 154 po.writeRepeatedUInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testRepeated() 156 po.writeRepeatedUInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testRepeated() 220 testRepeatedCompat(new long[] { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE, in testRepeatedCompat() 221 Long.MIN_VALUE, Long.MAX_VALUE }); in testRepeatedCompat() [all …]
|
D | ProtoOutputStreamInt64Test.java | 54 po.writeInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testWrite() 56 po.writeInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testWrite() 94 testWriteCompat(Integer.MIN_VALUE); in testWriteCompat() 96 testWriteCompat(Long.MIN_VALUE); in testWriteCompat() 146 po.writeRepeatedInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testRepeated() 148 po.writeRepeatedInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testRepeated() 154 po.writeRepeatedInt64(ProtoOutputStream.makeFieldId(4, fieldFlags), Integer.MIN_VALUE); in testRepeated() 156 po.writeRepeatedInt64(ProtoOutputStream.makeFieldId(6, fieldFlags), Long.MIN_VALUE); in testRepeated() 220 testRepeatedCompat(new long[] { 0, 1, -1, Integer.MIN_VALUE, Integer.MAX_VALUE, in testRepeatedCompat() 221 Long.MIN_VALUE, Long.MAX_VALUE }); in testRepeatedCompat() [all …]
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int/ |
D | Test_div_int.java | 80 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, -1)); in testB1() 89 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB2() 105 assertEquals(-1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB4() 121 assertEquals(0, t.run(1, Integer.MIN_VALUE)); in testB6()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int_2addr/ |
D | Test_div_int_2addr.java | 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, -1)); in testB1() 87 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB2() 103 assertEquals(-1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB4() 119 assertEquals(0, t.run(1, Integer.MIN_VALUE)); in testB6()
|
/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() 36 float[] floats = {Float.MAX_VALUE, Float.MIN_VALUE, Float.NaN}; in collectDeviceInfo() 62 store.addResult("foo_float_min", Float.MIN_VALUE - 1); in collectDeviceInfo()
|
/cts/tests/tests/database/src/android/database/cts/ |
D | MatrixCursorTest.java | 65 builder.add(Integer.MIN_VALUE); in testNewRow() 67 assertEquals(Integer.MIN_VALUE, mMatrixCursor.getInt(COLUMN0_INDEX)); in testNewRow() 73 assertEquals(Integer.MIN_VALUE, mMatrixCursor.getInt(COLUMN0_INDEX)); in testNewRow() 80 assertEquals(Integer.MIN_VALUE, mMatrixCursor.getInt(COLUMN0_INDEX)); in testNewRow() 100 mMatrixCursor.addRow(new Long[] { Long.MIN_VALUE, 0l, Long.MAX_VALUE }); in testAddRow() 104 assertEquals(Long.MIN_VALUE, mMatrixCursor.getLong(COLUMN0_INDEX)); in testAddRow() 172 mMatrixCursor.addRow(new Short[] { Short.MIN_VALUE, 0, Short.MAX_VALUE }); in testGetters() 179 assertEquals(Short.MIN_VALUE, mMatrixCursor.getShort(COLUMN0_INDEX)); in testGetters() 183 assertEquals(Short.MIN_VALUE, mMatrixCursor.getInt(COLUMN0_INDEX)); in testGetters() 187 assertEquals(Short.MIN_VALUE, mMatrixCursor.getLong(COLUMN0_INDEX)); in testGetters() [all …]
|
D | MatrixCursor_RowBuilderTest.java | 44 builder.add(Integer.MIN_VALUE); in testAdd() 46 assertEquals(Integer.MIN_VALUE, cursor.getInt(COLUMN0_INDEX)); in testAdd() 52 assertEquals(Integer.MIN_VALUE, cursor.getInt(COLUMN0_INDEX)); in testAdd() 59 assertEquals(Integer.MIN_VALUE, cursor.getInt(COLUMN0_INDEX)); in testAdd()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long/ |
D | Test_add_long.java | 62 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE)); in testB2() 86 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5() 94 assertEquals(0l, t.run(Long.MIN_VALUE, Long.MIN_VALUE)); in testB6() 102 assertEquals(-9223372036854775807l, t.run(Long.MIN_VALUE, 1l)); in testB7()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long_2addr/ |
D | Test_add_long_2addr.java | 62 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE)); in testB2() 86 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5() 94 assertEquals(0l, t.run(Long.MIN_VALUE, Long.MIN_VALUE)); in testB6() 102 assertEquals(-9223372036854775807l, t.run(Long.MIN_VALUE, 1l)); in testB7()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | RadioGroup_LayoutParamsTest.java | 59 new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE); in testConstructor() 60 assertEquals(Integer.MIN_VALUE, mLayoutParams.width); in testConstructor() 64 mLayoutParams = new RadioGroup.LayoutParams(Integer.MAX_VALUE, Integer.MIN_VALUE); in testConstructor() 66 assertEquals(Integer.MIN_VALUE, mLayoutParams.height); in testConstructor() 69 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, in testConstructor() 71 assertEquals(Integer.MIN_VALUE, mLayoutParams.width); in testConstructor() 75 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, in testConstructor() 76 Float.MIN_VALUE); in testConstructor() 77 assertEquals(Integer.MIN_VALUE, mLayoutParams.width); in testConstructor() 79 assertEquals(Float.MIN_VALUE, mLayoutParams.weight, 0.0f); in testConstructor()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int_2addr/ |
D | Test_sub_int_2addr.java | 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() 102 assertEquals(-2147483648, t.run(0, -Integer.MIN_VALUE)); in testB6() 118 assertEquals(-2147483647, t.run(1, Integer.MIN_VALUE)); in testB8() 126 assertEquals(-1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB9()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int/ |
D | Test_sub_int.java | 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() 103 assertEquals(-2147483648, t.run(0, -Integer.MIN_VALUE)); in testB6() 119 assertEquals(-2147483647, t.run(1, Integer.MIN_VALUE)); in testB8() 127 assertEquals(-1, t.run(Integer.MAX_VALUE, Integer.MIN_VALUE)); in testB9()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int_2addr/ |
D | Test_mul_int_2addr.java | 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB3() 87 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, in testB4() 88 Integer.MIN_VALUE)); in testB4()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int/ |
D | Test_mul_int.java | 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MIN_VALUE, 1)); in testB3() 87 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, in testB4() 88 Integer.MIN_VALUE)); in testB4()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/not_int/ |
D | Test_not_int.java | 58 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE)); in testB1() 66 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE)); in testB2() 98 assertEquals(Short.MIN_VALUE, t.run(Short.MAX_VALUE)); in testB6() 106 assertEquals(Short.MAX_VALUE, t.run(Short.MIN_VALUE)); in testB7()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_int/ |
D | Test_rem_int.java | 79 assertEquals(0, t.run(Integer.MIN_VALUE, -1)); in testB1() 87 assertEquals(0, t.run(Integer.MIN_VALUE, 1)); in testB2() 103 assertEquals(-1, t.run(Integer.MIN_VALUE, Integer.MAX_VALUE)); in testB4() 119 assertEquals(1, t.run(1, Integer.MIN_VALUE)); in testB6()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_long_2addr/ |
D | Test_div_long_2addr.java | 78 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, -1)); in testB1() 86 assertEquals(-9223372036854775808L, t.run(Long.MIN_VALUE, 1)); in testB2() 102 assertEquals(-1, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); in testB4() 118 assertEquals(0, t.run(1, Long.MIN_VALUE)); in testB6()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_long/ |
D | Test_rem_long.java | 79 assertEquals(0l, t.run(Long.MIN_VALUE, -1l)); in testB1() 87 assertEquals(0l, t.run(Long.MIN_VALUE, 1l)); in testB2() 103 assertEquals(-1l, t.run(Long.MIN_VALUE, Long.MAX_VALUE)); in testB4() 119 assertEquals(1l, t.run(1l, Long.MIN_VALUE)); in testB6()
|