/external/guava/guava-tests/test/com/google/common/primitives/ |
SignedBytesTest.java | 43 private static final byte GREATEST = Byte.MAX_VALUE; 54 assertCastFails(Long.MAX_VALUE); 64 assertEquals(GREATEST, SignedBytes.saturatedCast(Long.MAX_VALUE));
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
Call.java | 124 long time = Long.MAX_VALUE; 152 long time = Long.MAX_VALUE; 174 long time = Long.MAX_VALUE;
|
/libcore/luni/src/test/java/org/apache/harmony/crypto/tests/javax/crypto/ |
NullCipherTest.java | 192 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE); 214 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE, 249 new NullCipher().update(new byte[1], 1, Integer.MAX_VALUE,
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
ShapeDrawableTest.java | 72 shapeDrawable.setChangingConfigurations(Integer.MAX_VALUE); 73 assertEquals(Integer.MAX_VALUE, shapeDrawable.getChangingConfigurations()); 100 shapeDrawable.setIntrinsicHeight(Integer.MAX_VALUE); 101 assertEquals(Integer.MAX_VALUE, shapeDrawable.getIntrinsicHeight()); 114 shapeDrawable.setIntrinsicWidth(Integer.MAX_VALUE); 115 assertEquals(Integer.MAX_VALUE, shapeDrawable.getIntrinsicWidth());
|
ColorDrawableTest.java | 74 colorDrawable.setChangingConfigurations(Integer.MAX_VALUE); 75 assertEquals(Integer.MAX_VALUE, colorDrawable.getChangingConfigurations());
|
/cts/tests/tests/database/src/android/database/cts/ |
MergeCursorTest.java | 54 private static final int MAX_VALUE = 10; 55 private static final int HALF_VALUE = MAX_VALUE / 2; 91 for (int i = 0; i < MAX_VALUE; i++) { 131 final double NUMBER_DOUBLE = Double.MAX_VALUE; 246 assertEquals(MAX_VALUE, mergeCursor.getInt(NUMBER_1_COLUMN_INDEX)); 284 final String TEST_VALUE1 = Integer.toString(MAX_VALUE + 1); 285 final String TEST_VALUE2 = Integer.toString(MAX_VALUE + 2); 337 addValuesIntoTable(TABLE2_NAME, HALF_VALUE + 1, MAX_VALUE);
|
/cts/tests/tests/os/src/android/os/cts/ |
MemoryFileTest.java | 106 mMemoryFile = new MemoryFile("Test File", Integer.MAX_VALUE); 107 assertEquals(Integer.MAX_VALUE, mMemoryFile.length());
|
/cts/tools/dasm/src/dasm/ |
Utils.java | 57 if (x <= (double) Float.MAX_VALUE && x >= (float) Float.MIN_VALUE) { 73 if (x <= (long) Integer.MAX_VALUE && x >= (long) Integer.MIN_VALUE) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float/ |
Test_add_float.java | 50 * @title Arguments = Float.MAX_VALUE, Float.NaN 111 * @title Arguments = Float.MAX_VALUE, Float.MAX_VALUE 115 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.MAX_VALUE, 116 Float.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_float_2addr/ |
Test_add_float_2addr.java | 50 * @title Arguments = Float.MAX_VALUE, Float.NaN 111 * @title Arguments = Float.MAX_VALUE, Float.MAX_VALUE 115 assertEquals(Float.POSITIVE_INFINITY, t.run(Float.MAX_VALUE, 116 Float.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_float/ |
Test_div_float.java | 50 * @title Arguments = Float.MAX_VALUE, Float.NaN 54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); 109 * @title Arguments = 1, Float.MAX_VALUE 117 * @title Arguments = Float.MAX_VALUE, -1E-9f 121 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.MAX_VALUE, -1E-9f));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/div_float_2addr/ |
Test_div_float_2addr.java | 50 * @title Arguments = Float.MAX_VALUE, Float.NaN 54 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); 109 * @title Arguments = 1, Float.MAX_VALUE 117 * @title Arguments = Float.MAX_VALUE, -1E-9f 121 assertEquals(Float.NEGATIVE_INFINITY, t.run(Float.MAX_VALUE, -1E-9f));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_eq/ |
Test_if_eq.java | 83 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 87 assertEquals(1, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/if_ne/ |
Test_if_ne.java | 63 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 67 assertEquals(1234, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_double/ |
Test_rem_double.java | 51 * @title Arguments = Double.MAX_VALUE, Double.NaN 55 assertEquals(Double.NaN, t.run(Double.MAX_VALUE, Double.NaN)); 109 * @title Arguments = 1, Double.MAX_VALUE 117 * @title Arguments = Double.MAX_VALUE, -1E-9d 122 assertEquals(1.543905285031139E-10d, t.run(Double.MAX_VALUE, -1E-9d));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_double_2addr/ |
Test_rem_double_2addr.java | 51 * @title Arguments = Double.MAX_VALUE, Double.NaN 55 assertEquals(Double.NaN, t.run(Double.MAX_VALUE, Double.NaN)); 109 * @title Arguments = 1, Double.MAX_VALUE 117 * @title Arguments = Double.MAX_VALUE, -1E-9d 122 assertEquals(1.543905285031139E-10d, t.run(Double.MAX_VALUE, -1E-9d));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_float/ |
Test_rem_float.java | 51 * @title Arguments = Float.MAX_VALUE, Float.NaN 55 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); 109 * @title Arguments = 1, Float.MAX_VALUE 117 * @title Arguments = Float.MAX_VALUE, -1E-9f 121 assertEquals(7.2584893E-10f, t.run(Float.MAX_VALUE, -1E-9f));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/rem_float_2addr/ |
Test_rem_float_2addr.java | 51 * @title Arguments = Float.MAX_VALUE, Float.NaN 55 assertEquals(Float.NaN, t.run(Float.MAX_VALUE, Float.NaN)); 109 * @title Arguments = 1, Float.MAX_VALUE 117 * @title Arguments = Float.MAX_VALUE, -1E-9f 121 assertEquals(7.2584893E-10f, t.run(Float.MAX_VALUE, -1E-9f));
|
/external/apache-harmony/archive/src/test/java/org/apache/harmony/archive/tests/java/util/zip/ |
CRC32Test.java | 42 crc.update(Integer.MAX_VALUE); 102 crc.update(Integer.MAX_VALUE);
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/internal/net/www/protocol/file/ |
FileURLConnectionTest.java | 94 assertNull(urlConnection.getHeaderField(Integer.MAX_VALUE)); 96 assertNull(urlConnection.getHeaderFieldKey(Integer.MAX_VALUE));
|
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/lang/ |
StrictMathTest.java | 149 5.643803094122362E102, StrictMath.cbrt(Double.MAX_VALUE)); 346 Double.POSITIVE_INFINITY, StrictMath.cosh(Double.MAX_VALUE)); 389 Double.POSITIVE_INFINITY, StrictMath.expm1(Double.MAX_VALUE)); 481 1.7976931348623157E308, StrictMath.hypot(Double.MAX_VALUE, 211370.35)); 544 StrictMath.log10(Double.MAX_VALUE)); 576 StrictMath.log1p(Double.MAX_VALUE)); [all...] |
/external/apache-http/src/org/apache/http/util/ |
EntityUtils.java | 68 if (entity.getContentLength() > Integer.MAX_VALUE) { 116 if (entity.getContentLength() > Integer.MAX_VALUE) {
|
/external/guava/guava/src/com/google/common/math/ |
LongMath.java | 530 * integers, {@code 1} if {@code n == 0}, or {@link Long#MAX_VALUE} if the 537 return (n < FACTORIALS.length) ? FACTORIALS[n] : Long.MAX_VALUE; 566 * {@code k}, or {@link Long#MAX_VALUE} if the result does not fit in a {@code long}. 578 return Long.MAX_VALUE; 604 {Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE, 3810779, 121977, 16175, 4337, 1733, 613 {Integer.MAX_VALUE, Integer.MAX_VALUE, Integer.MAX_VALUE, 2642246, 86251, 11724, 3218, 1313 [all...] |
/external/proguard/src/proguard/gui/splash/ |
SplashPanel.java | 43 private long startTime = Long.MAX_VALUE; 58 this(sprite, processorLoad, (long)Integer.MAX_VALUE);
|
/external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/ |
EditTextTest.java | 88 when(attrs.getAttributeIntValue("android", "maxLength", Integer.MAX_VALUE)).thenReturn(Integer.MAX_VALUE);
|