Home
last modified time | relevance | path

Searched refs:MIN_VALUE (Results 1 – 25 of 228) sorted by relevance

12345678910

/cts/tests/tests/net/src/android/net/cts/
DCredentialsTest.java39 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/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/
DTest_rsub_int_lit8.java74 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/
DTest_rsub_int.java74 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/
DFloatyUnitTest.java25 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/vm/src/android/vm/cts/opcodes/add_long/
DAddLongTest.java59 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE)); in testB2()
83 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5()
91 assertEquals(0l, t.run(Long.MIN_VALUE, Long.MIN_VALUE)); in testB6()
99 assertEquals(-9223372036854775807l, t.run(Long.MIN_VALUE, 1l)); in testB7()
/cts/tests/vm/src/android/vm/cts/opcodes/add_long_2addr/
DAddLong2AddrTest.java58 assertEquals(-9223372036854775808L, t.run(0l, Long.MIN_VALUE)); in testB2()
82 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); in testB5()
90 assertEquals(0l, t.run(Long.MIN_VALUE, Long.MIN_VALUE)); in testB6()
98 assertEquals(-9223372036854775807l, t.run(Long.MIN_VALUE, 1l)); in testB7()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_int/
DTest_div_int.java80 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/
DTest_div_int_2addr.java79 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/
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()
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/proto/src/android/util/proto/cts/
DProtoOutputStreamFixed64Test.java54 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 …]
DProtoOutputStreamInt64Test.java54 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 …]
DProtoOutputStreamUInt64Test.java54 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 …]
DProtoOutputStreamSFixed64Test.java54 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 …]
DProtoOutputStreamSInt64Test.java54 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 …]
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long/
DTest_add_long.java62 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/
DTest_add_long_2addr.java62 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/sub_int/
DTest_sub_int.java79 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/sub_int_2addr/
DTest_sub_int_2addr.java78 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/tests/vm/src/android/vm/cts/opcodes/add_int_lit16/
DAddIntLit16_12.java22 return Short.MIN_VALUE + Short.MIN_VALUE; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_lit16/d/
DT_add_int_lit16_12.java22 return Short.MIN_VALUE + Short.MIN_VALUE; in run()
/cts/tests/vm/src/android/vm/cts/opcodes/add_int_lit8/
DAddIntLit8_12.java22 return Short.MIN_VALUE + Byte.MIN_VALUE; in run()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_lit8/d/
DT_add_int_lit8_12.java22 return Short.MIN_VALUE + Byte.MIN_VALUE; in run()
/cts/tests/vm/src/android/vm/cts/opcodes/add_int_2addr/
DAddInt2AddrTest.java90 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3()
98 assertEquals(-2147483647, t.run(Integer.MIN_VALUE, 1)); in testB4()
114 assertEquals(0, t.run(Integer.MIN_VALUE, Integer.MIN_VALUE)); in testB6()
/cts/tests/vm/src/android/vm/cts/opcodes/add_int/
DAddIntTest.java91 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1)); in testB3()
99 assertEquals(-2147483647, t.run(Integer.MIN_VALUE, 1)); in testB4()
115 assertEquals(0, t.run(Integer.MIN_VALUE, Integer.MIN_VALUE)); in testB6()
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int_2addr/
DTest_mul_int_2addr.java79 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()

12345678910