/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/ |
CipherSuite.java | 18 import static java.lang.Integer.MAX_VALUE; 35 // TLS_NULL_WITH_NULL_NULL("TLS_NULL_WITH_NULL_NULL", 0x0000, 5246, MAX_VALUE, MAX_VALUE), 41 // TLS_RSA_EXPORT_WITH_RC2_CBC_40_MD5("SSL_RSA_EXPORT_WITH_RC2_CBC_40_MD5", 0x0006, 4346, MAX_VALUE, MAX_VALUE), 42 // TLS_RSA_WITH_IDEA_CBC_SHA("TLS_RSA_WITH_IDEA_CBC_SHA", 0x0007, 5469, MAX_VALUE, MAX_VALUE), 46 // TLS_DH_DSS_EXPORT_WITH_DES40_CBC_SHA("SSL_DH_DSS_EXPORT_WITH_DES40_CBC_SHA", 0x000b, 4346, MAX_VALUE, MAX_VALUE), 47 // TLS_DH_DSS_WITH_DES_CBC_SHA("TLS_DH_DSS_WITH_DES_CBC_SHA", 0x000c, 5469, MAX_VALUE, MAX_VALUE) [all...] |
/cts/tests/tests/hardware/src/android/hardware/cts/helpers/sensorverification/ |
StandardDeviationVerification.java | 216 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}); 218 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}); 220 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}); 222 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}) [all...] |
MeanVerification.java | 136 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}}); 141 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}}); 145 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE}}); 149 new float[]{Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE, Float.MAX_VALUE [all...] |
/cts/tests/tests/os/src/android/os/health/cts/ |
TimerStatTest.java | 46 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); 48 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); 53 Assert.assertEquals(Long.MAX_VALUE, timer.getTime()); 61 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); 63 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); 67 Assert.assertEquals(Integer.MAX_VALUE, timer.getCount()); 76 TimerStat timer = new TimerStat(Integer.MAX_VALUE, Long.MAX_VALUE); [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableCollectionTest.java | 31 assertEquals(Integer.MAX_VALUE, 32 ImmutableCollection.Builder.expandedCapacity(0, Integer.MAX_VALUE)); 33 assertEquals(Integer.MAX_VALUE, 34 ImmutableCollection.Builder.expandedCapacity(1, Integer.MAX_VALUE)); 35 assertEquals(Integer.MAX_VALUE, 36 ImmutableCollection.Builder.expandedCapacity(Integer.MAX_VALUE - 1, Integer.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int/ |
Test_rsub_int.java | 58 * 1: a = Integer.MAX_VALUE, b = 0, b-a = -Integer.MAX_VALUE 59 * 2: a = Short.MAX_VALUE, b = 0, b-a = -Short.MAX_VALUE 63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE)); 64 assertEquals(-Short.MAX_VALUE, t.run(Short.MAX_VALUE)); 88 * 1: a = 0, b = Short.MAX_VALUE, b-a = Short.MAX_VALUE [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rsub_int_lit8/ |
Test_rsub_int_lit8.java | 58 * 1: a = Integer.MAX_VALUE, b = 0, b-a = -Integer.MAX_VALUE 59 * 2: a = Byte.MAX_VALUE, b = 0, b-a = -Byte.MAX_VALUE 63 assertEquals(-Integer.MAX_VALUE, t.run(Integer.MAX_VALUE)); 64 assertEquals(-Byte.MAX_VALUE, t.run(Byte.MAX_VALUE)); 88 * 1: a = 0, b = Byte.MAX_VALUE, b-a = Byte.MAX_VALUE [all...] |
/libcore/ojluni/src/test/java/util/stream/test/org/openjdk/tests/java/util/stream/ |
ConcatOpTest.java | 59 LongStream.range(0, Long.MAX_VALUE / 2).boxed(), 60 LongStream.range(0, Long.MAX_VALUE / 2).boxed())); 63 LongStream.range(0, Long.MAX_VALUE).boxed(), 64 LongStream.range(0, Long.MAX_VALUE).boxed())); 67 LongStream.range(0, Long.MAX_VALUE).boxed(), 72 LongStream.range(0, Long.MAX_VALUE).boxed())); 77 LongStream.range(0, Long.MAX_VALUE / 2), 78 LongStream.range(0, Long.MAX_VALUE / 2))); 81 LongStream.range(0, Long.MAX_VALUE), 82 LongStream.range(0, Long.MAX_VALUE))); [all...] |
RangeTest.java | 100 // Closed, maximum upper bound of Integer.MAX_VALUE 102 int[] inc = IntStream.rangeClosed(Integer.MAX_VALUE - 1, Integer.MAX_VALUE).toArray(); 104 assertEquals(Integer.MAX_VALUE - 1, inc[0]); 105 assertEquals(Integer.MAX_VALUE, inc[1]); 107 inc = IntStream.rangeClosed(Integer.MAX_VALUE, Integer.MAX_VALUE).toArray(); 109 assertEquals(Integer.MAX_VALUE, inc[0]); 112 () -> IntStream.rangeClosed(Integer.MAX_VALUE - 8, Integer.MAX_VALUE).spliterator()) [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
CredentialsTest.java | 33 cred = new Credentials(Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE); 34 assertEquals(Integer.MAX_VALUE, cred.getGid()); 35 assertEquals(Integer.MAX_VALUE, cred.getPid()); 36 assertEquals(Integer.MAX_VALUE, cred.getUid());
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_long/ |
AddLongTest.java | 47 * @title Arguments = 0 + Long.MAX_VALUE 51 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE)); 71 * @title Arguments = Long.MAX_VALUE + Long.MAX_VALUE 75 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); 79 * @title Arguments = Long.MAX_VALUE + Long.MIN_VALUE 83 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 103 * @title Arguments = Long.MAX_VALUE + 1 107 assertEquals(-9223372036854775808l, t.run(Long.MAX_VALUE, 1l)) [all...] |
/cts/tests/vm/src/android/vm/cts/opcodes/add_long_2addr/ |
AddLong2AddrTest.java | 46 * @title Arguments = 0 + Long.MAX_VALUE 50 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE)); 70 * @title Arguments = Long.MAX_VALUE + Long.MAX_VALUE 74 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); 78 * @title Arguments = Long.MAX_VALUE + Long.MIN_VALUE 82 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 102 * @title Arguments = Long.MAX_VALUE + 1 106 assertEquals(-9223372036854775808l, t.run(Long.MAX_VALUE, 1l)) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int/ |
Test_sub_int.java | 55 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); 59 * @title Arguments = 0, Integer.MAX_VALUE 63 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); 67 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 71 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 75 * @title Arguments = Integer.MAX_VALUE, -1 79 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1)); 87 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1)) [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/sub_int_2addr/ |
Test_sub_int_2addr.java | 54 assertEquals(Integer.MAX_VALUE, t.run(0, -2147483647)); 58 * @title Arguments = 0, Integer.MAX_VALUE 62 assertEquals(-2147483647, t.run(0, Integer.MAX_VALUE)); 66 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 70 assertEquals(0, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 74 * @title Arguments = Integer.MAX_VALUE, -1 78 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, -1)); 86 assertEquals(Integer.MAX_VALUE, t.run(Integer.MIN_VALUE, 1)) [all...] |
/art/test/567-checker-compare/src/ |
Main.java | 365 expectEquals(-1, compareBytes(Byte.MIN_VALUE, Byte.MAX_VALUE)); 374 expectEquals(0, compareBytes(Byte.MAX_VALUE, Byte.MAX_VALUE)); 379 expectEquals(1, compareBytes(Byte.MAX_VALUE, Byte.MIN_VALUE)); 380 expectEquals(1, compareBytes(Byte.MAX_VALUE, (byte)-1)); 381 expectEquals(1, compareBytes(Byte.MAX_VALUE, (byte)0)); 382 expectEquals(1, compareBytes(Byte.MAX_VALUE, (byte)1)); 383 expectEquals(1, compareBytes(Byte.MAX_VALUE, (byte)(Byte.MAX_VALUE - 1))); 400 expectEquals(-1, compareShorts(Short.MIN_VALUE, (short)Short.MAX_VALUE)); [all...] |
/art/test/044-proxy/src/ |
ReturnsAndArgPassing.java | 84 return returnType.getField("MAX_VALUE").get(null); 122 check(proxyMyInterface.byteFoo() == Byte.MAX_VALUE); 131 check(proxyMyInterface.charFoo() == Character.MAX_VALUE); 140 check(proxyMyInterface.shortFoo() == Short.MAX_VALUE); 149 check(proxyMyInterface.intFoo() == Integer.MAX_VALUE); 158 check(proxyMyInterface.longFoo() == Long.MAX_VALUE); 167 check(proxyMyInterface.floatFoo() == Float.MAX_VALUE); 176 check(proxyMyInterface.doubleFoo() == Double.MAX_VALUE); 447 check((Integer)proxyMyInterface.selectArg(0, Integer.MAX_VALUE, Long.MAX_VALUE, [all...] |
/cts/tests/vm/src/android/vm/cts/opcodes/add_int/ |
AddIntTest.java | 71 * @title Arguments = 0, Integer.MAX_VALUE 75 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); 79 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 83 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 87 * @title Arguments = Integer.MAX_VALUE, 1 91 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1));
|
/cts/tests/vm/src/android/vm/cts/opcodes/add_int_2addr/ |
AddInt2AddrTest.java | 70 * @title Arguments = 0, Integer.MAX_VALUE 74 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); 78 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 82 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 86 * @title Arguments = Integer.MAX_VALUE, 1 90 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1));
|
/art/test/561-divrem/src/ |
Main.java | 43 assertEquals(0, $noinline$divInt(Integer.MAX_VALUE)); 44 assertEquals(Integer.MAX_VALUE, $noinline$remInt(Integer.MAX_VALUE)); 46 assertEquals(0, $noinline$divInt(Integer.MAX_VALUE - 1)); 47 assertEquals(Integer.MAX_VALUE - 1, $noinline$remInt(Integer.MAX_VALUE - 1)); 64 assertEquals(0L, $noinline$divLong(Long.MAX_VALUE)); 65 assertEquals(Long.MAX_VALUE, $noinline$remLong(Long.MAX_VALUE)); 67 assertEquals(0L, $noinline$divLong(Long.MAX_VALUE - 1)) [all...] |
/external/opencv3/modules/imgproc/test/ocl/ |
test_sepfilter2D.cpp | 84 Mat temp = randomMat(Size(ksize.width, 1), CV_MAKE_TYPE(CV_32F, 1), -MAX_VALUE, MAX_VALUE); 86 temp = randomMat(Size(1, ksize.height), CV_MAKE_TYPE(CV_32F, 1), -MAX_VALUE, MAX_VALUE); 89 Size roiSize = randomSize(ksize.width, MAX_VALUE, ksize.height, MAX_VALUE); 90 Border srcBorder = randomBorder(0, useRoi ? MAX_VALUE : 0); 91 randomSubMat(src, src_roi, roiSize, srcBorder, type, -MAX_VALUE, MAX_VALUE); 93 Border dstBorder = randomBorder(0, useRoi ? MAX_VALUE : 0) [all...] |
/cts/tools/cts-device-info/src/com/android/cts/deviceinfo/ |
SampleDeviceInfo.java | 33 double[] doubles = {Double.MAX_VALUE, Double.MIN_VALUE}; 34 int[] ints = {Integer.MAX_VALUE, Integer.MIN_VALUE}; 35 long[] longs = {Long.MAX_VALUE, Long.MIN_VALUE}; 54 store.addResult("foo_double", Double.MAX_VALUE); 55 store.addResult("foo_int", Integer.MAX_VALUE); 56 store.addResult("foo_long", Long.MAX_VALUE);
|
/external/v8/test/mjsunit/ |
override-read-only-property.js | 38 var original_number_max = Number.MAX_VALUE; 43 assertEquals(original_number_max, f.MAX_VALUE); 44 f.MAX_VALUE = 42; 45 assertEquals(original_number_max, f.MAX_VALUE); 51 MAX_VALUE = 42; 53 assertEquals(original_number_max, f.MAX_VALUE); 56 Number.MAX_VALUE = 42; 57 assertEquals(original_number_max, Number.MAX_VALUE);
|
/frameworks/base/telephony/java/android/telephony/ |
CellIdentityGsm.java | 50 mMcc = Integer.MAX_VALUE; 51 mMnc = Integer.MAX_VALUE; 52 mLac = Integer.MAX_VALUE; 53 mCid = Integer.MAX_VALUE; 54 mArfcn = Integer.MAX_VALUE; 55 mBsic = Integer.MAX_VALUE; 67 this(mcc, mnc, lac, cid, Integer.MAX_VALUE, Integer.MAX_VALUE); 104 * @return 3-digit Mobile Country Code, 0..999, Integer.MAX_VALUE if unknown 111 * @return 2 or 3-digit Mobile Network Code, 0..999, Integer.MAX_VALUE if unknow [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
OldFloatTest.java | 33 Float f = new Float(Double.MAX_VALUE); 64 assertTrue(new Float(Float.MAX_VALUE).hashCode() != new Float(Float.MIN_VALUE).hashCode()); 78 assertEquals(Integer.MAX_VALUE, new Float(Float.MAX_VALUE).intValue()); 84 assertFalse(Float.isNaN(Float.MAX_VALUE)); 89 assertEquals(Long.MAX_VALUE, new Float(Float.MAX_VALUE).longValue());
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long/ |
Test_add_long.java | 50 * @title Arguments = 0 + Long.MAX_VALUE 54 assertEquals(9223372036854775807L, t.run(0l, Long.MAX_VALUE)); 74 * @title Arguments = Long.MAX_VALUE + Long.MAX_VALUE 78 assertEquals(-2, t.run(Long.MAX_VALUE, Long.MAX_VALUE)); 82 * @title Arguments = Long.MAX_VALUE + Long.MIN_VALUE 86 assertEquals(-1l, t.run(Long.MAX_VALUE, Long.MIN_VALUE)); 106 * @title Arguments = Long.MAX_VALUE + 1 110 assertEquals(-9223372036854775808l, t.run(Long.MAX_VALUE, 1l)) [all...] |