/packages/apps/Email/src/org/apache/commons/io/output/ |
CountingOutputStream.java | 100 if (result > Integer.MAX_VALUE) {
118 if (result > Integer.MAX_VALUE) {
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int/ |
Test_mul_int.java | 59 * @title Arguments = 0, Integer.MAX_VALUE 63 assertEquals(0, t.run(0, Integer.MAX_VALUE)); 67 * @title Arguments = Integer.MAX_VALUE, 1 71 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); 83 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALUE 87 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE,
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_int_2addr/ |
Test_mul_int_2addr.java | 59 * @title Arguments = 0, Integer.MAX_VALUE 63 assertEquals(0, t.run(0, Integer.MAX_VALUE)); 67 * @title Arguments = Integer.MAX_VALUE, 1 71 assertEquals(Integer.MAX_VALUE, t.run(Integer.MAX_VALUE, 1)); 83 * @title Arguments = Integer.MAX_VALUE, Integer.MIN_VALUE 87 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE,
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_long/ |
Test_mul_long.java | 51 * @title Arguments = 0, Long.MAX_VALUE 55 assertEquals(0, t.run(0, Long.MAX_VALUE)); 59 * @title Arguments = Long.MAX_VALUE, 1 63 assertEquals(9223372036854775807L, t.run(Long.MAX_VALUE, 1)); 75 * @title Arguments = Long.MAX_VALUE, Long.MIN_VALUE 79 assertEquals(-9223372036854775808L, t.run(Long.MAX_VALUE, 92 * @title Arguments = Long.MAX_VALUE, -1 96 assertEquals(-9223372036854775807L, t.run(Long.MAX_VALUE, -1));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/mul_long_2addr/ |
Test_mul_long_2addr.java | 51 * @title Arguments = 0, Long.MAX_VALUE 55 assertEquals(0, t.run(0, Long.MAX_VALUE)); 59 * @title Arguments = Long.MAX_VALUE, 1 63 assertEquals(9223372036854775807L, t.run(Long.MAX_VALUE, 1)); 75 * @title Arguments = Long.MAX_VALUE, Long.MIN_VALUE 79 assertEquals(-9223372036854775808L, t.run(Long.MAX_VALUE, 92 * @title Arguments = Long.MAX_VALUE, -1 96 assertEquals(-9223372036854775807L, t.run(Long.MAX_VALUE, -1));
|
/external/smack/src/org/xbill/DNS/ |
TTL.java | 15 public static final long MAX_VALUE = 0x7FFFFFFFL; 22 if (i < 0 || i > MAX_VALUE) 30 * @param clamp Whether to clamp values in the range [MAX_VALUE + 1, 2^32 -1] 31 * to MAX_VALUE. This should be donw for TTLs, but not other values which 69 else if (ttl > MAX_VALUE && clamp) 70 ttl = MAX_VALUE;
|
/cts/tests/tests/database/src/android/database/cts/ |
CursorJoinerTest.java | 37 private static final int MAX_VALUE = 20; 38 private static final int EQUAL_VALUE_COUNT = MAX_VALUE - EQUAL_START + 1; 120 // mutual same numbers(EQUAL_START~MAX_VALUE); 124 assertEquals(getOrderNumberString(DEFAULT_TABLE1_VALUE_BEGINS + i, MAX_VALUE), 139 // For cursor1 , values are '01'~'07' and 'EQUAL_START'~'MAX_VALUE' 141 // For cursor2 , values are '11'~'17' and 'EQUAL_START'~'MAX_VALUE' 149 assertEquals(getOrderNumberString(DEFAULT_TABLE1_VALUE_BEGINS + i, MAX_VALUE), cursor1 151 assertEquals(getOrderNumberString(DEFAULT_TABLE2_VALUE_BEGINS, MAX_VALUE), cursor2 158 assertEquals(getOrderNumberString(EQUAL_START, MAX_VALUE), cursor1.getString(0)); 159 assertEquals(getOrderNumberString(DEFAULT_TABLE2_VALUE_BEGINS + i, MAX_VALUE), cursor [all...] |
/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
WrappedByteBufferTest.java | 66 ByteBuffer.wrap(array, 1, Integer.MAX_VALUE); 72 ByteBuffer.wrap(array, Integer.MAX_VALUE, 1); 78 ByteBuffer.wrap((byte[])null, 1, Integer.MAX_VALUE);
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/ |
StreamUtil.java | 16 * @return length calculation or MAX_VALUE. 38 if (size < Integer.MAX_VALUE) 49 if (MAX_MEMORY > Integer.MAX_VALUE) 51 return Integer.MAX_VALUE;
|
/libcore/luni/src/test/java/libcore/java/io/ |
RandomAccessFileTest.java | 41 raf.seek(Long.MAX_VALUE); 50 raf.setLength(Long.MAX_VALUE); 60 long moreThanFourGig = ((long) Integer.MAX_VALUE) + 1L;
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int/ |
Test_add_int.java | 75 * @title Arguments = 0, Integer.MAX_VALUE 79 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); 83 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 87 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 91 * @title Arguments = Integer.MAX_VALUE, 1 95 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_int_2addr/ |
Test_add_int_2addr.java | 74 * @title Arguments = 0, Integer.MAX_VALUE 78 assertEquals(Integer.MAX_VALUE, t.run(0, Integer.MAX_VALUE)); 82 * @title Arguments = Integer.MAX_VALUE, Integer.MAX_VALUE 86 assertEquals(-2, t.run(Integer.MAX_VALUE, Integer.MAX_VALUE)); 90 * @title Arguments = Integer.MAX_VALUE, 1 94 assertEquals(Integer.MIN_VALUE, t.run(Integer.MAX_VALUE, 1));
|
/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...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/add_long_2addr/ |
Test_add_long_2addr.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...] |
/frameworks/base/telephony/java/android/telephony/ |
CellIdentityGsm.java | 44 mMcc = Integer.MAX_VALUE; 45 mMnc = Integer.MAX_VALUE; 46 mLac = Integer.MAX_VALUE; 47 mCid = Integer.MAX_VALUE; 77 * @return 3-digit Mobile Country Code, 0..999, Integer.MAX_VALUE if unknown 84 * @return 2 or 3-digit Mobile Network Code, 0..999, Integer.MAX_VALUE if unknown 91 * @return 16-bit Location Area Code, 0..65535, Integer.MAX_VALUE if unknown 100 * in TS 27.007, 0..65535, Integer.MAX_VALUE if unknown 107 * @return Integer.MAX_VALUE, undefined for GSM 111 return Integer.MAX_VALUE; [all...] |
CellIdentityWcdma.java | 46 mMcc = Integer.MAX_VALUE; 47 mMnc = Integer.MAX_VALUE; 48 mLac = Integer.MAX_VALUE; 49 mCid = Integer.MAX_VALUE; 50 mPsc = Integer.MAX_VALUE; 83 * @return 3-digit Mobile Country Code, 0..999, Integer.MAX_VALUE if unknown 90 * @return 2 or 3-digit Mobile Network Code, 0..999, Integer.MAX_VALUE if unknown 97 * @return 16-bit Location Area Code, 0..65535, Integer.MAX_VALUE if unknown 105 * 28-bit UMTS Cell Identity described in TS 25.331, 0..268435455, Integer.MAX_VALUE if unknown 112 * @return 9-bit UMTS Primary Scrambling Code described in TS 25.331, 0..511, Integer.MAX_VALUE [all...] |
CellSignalStrengthGsm.java | 99 mSignalStrength = Integer.MAX_VALUE; 100 mBitErrorRate = Integer.MAX_VALUE; 132 int asu = (level == 99 ? Integer.MAX_VALUE : level); 133 if (asu != Integer.MAX_VALUE) { 136 dBm = Integer.MAX_VALUE;
|
CellSignalStrengthWcdma.java | 99 mSignalStrength = Integer.MAX_VALUE; 100 mBitErrorRate = Integer.MAX_VALUE; 132 int asu = (level == 99 ? Integer.MAX_VALUE : level); 133 if (asu != Integer.MAX_VALUE) { 136 dBm = Integer.MAX_VALUE;
|
CellSignalStrengthLte.java | 128 mSignalStrength = Integer.MAX_VALUE; 129 mRsrp = Integer.MAX_VALUE; 130 mRsrq = Integer.MAX_VALUE; 131 mRssnr = Integer.MAX_VALUE; 132 mCqi = Integer.MAX_VALUE; 133 mTimingAdvance = Integer.MAX_VALUE; 144 if (mRsrp == Integer.MAX_VALUE) levelRsrp = 0; 151 if (mRssnr == Integer.MAX_VALUE) levelRssnr = 0; 158 if (mRsrp == Integer.MAX_VALUE) 160 else if (mRssnr == Integer.MAX_VALUE) [all...] |
/libcore/luni/src/test/java/libcore/java/util/prefs/ |
OldPreferenceChangeEventTest.java | 43 pref.putInt("key_int", Integer.MAX_VALUE); 60 if (pce != null && pce.getNewValue().equals(Integer.toString(Integer.MAX_VALUE))) { 68 pref.putInt("key_int", Integer.MAX_VALUE); 73 pref.putInt("key_int", Integer.MAX_VALUE); 98 pref.putInt("key_int", Integer.MAX_VALUE);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RadioGroup_LayoutParamsTest.java | 51 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE); 53 assertEquals(Integer.MAX_VALUE, mLayoutParams.height); 56 mLayoutParams = new RadioGroup.LayoutParams(Integer.MAX_VALUE, Integer.MIN_VALUE); 57 assertEquals(Integer.MAX_VALUE, mLayoutParams.width); 61 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, 62 Float.MAX_VALUE); 64 assertEquals(Integer.MAX_VALUE, mLayoutParams.height); 65 assertEquals(Float.MAX_VALUE, mLayoutParams.weight); 67 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE, 70 assertEquals(Integer.MAX_VALUE, mLayoutParams.height) [all...] |
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLEngineResultTest.java | 95 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; 118 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; 141 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; 164 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) }; 187 int[] pos = { 0, 1, 1000, Integer.MAX_VALUE, (Integer.MAX_VALUE - 1) } [all...] |
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_int/ |
Test_double_to_int.java | 59 * @title Argument = Double.MAX_VALUE 63 assertEquals(Integer.MAX_VALUE, t.run(Double.MAX_VALUE)); 87 assertEquals(Integer.MAX_VALUE, t.run(Double.POSITIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/double_to_long/ |
Test_double_to_long.java | 50 * @title Argument = Double.MAX_VALUE 54 assertEquals(Long.MAX_VALUE, t.run(Double.MAX_VALUE)); 86 assertEquals(Long.MAX_VALUE, t.run(Double.POSITIVE_INFINITY));
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/float_to_int/ |
Test_float_to_int.java | 59 * @title Argument = Float.MAX_VALUE 63 assertEquals(Integer.MAX_VALUE, t.run(Float.MAX_VALUE)); 87 assertEquals(Integer.MAX_VALUE, t.run(Float.POSITIVE_INFINITY));
|