/frameworks/base/tests/WebViewTests/src/com/android/webviewtests/ |
JavaBridgeArrayTest.java | 179 long length = (long)Integer.MAX_VALUE + 1L; 185 length = (long)Integer.MAX_VALUE + 1L - (long)Integer.MIN_VALUE + 1L;
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
DcRetryAlarmController.java | 64 int what = intent.getIntExtra(INTENT_RETRY_ALARM_WHAT, Integer.MAX_VALUE); 65 int tag = intent.getIntExtra(INTENT_RETRY_ALARM_TAG, Integer.MAX_VALUE);
|
/libcore/harmony-tests/src/test/java/tests/api/java/nio/charset/ |
CoderResultTest.java | 175 assertNotNull(CoderResult.malformedForLength(Integer.MAX_VALUE)); 202 assertNotNull(CoderResult.unmappableForLength(Integer.MAX_VALUE));
|
/libcore/luni/src/main/java/java/util/concurrent/ |
LinkedBlockingQueue.java | 36 * is equal to {@link Integer#MAX_VALUE}. Linked nodes are 104 /** The capacity bound, or Integer.MAX_VALUE if none */ 215 * {@link Integer#MAX_VALUE}. 218 this(Integer.MAX_VALUE); 236 * {@link Integer#MAX_VALUE}, initially containing the elements of the 245 this(Integer.MAX_VALUE); 265 // greater in size than Integer.MAX_VALUE 684 return drainTo(c, Integer.MAX_VALUE);
|
ScheduledThreadPoolExecutor.java | 400 super(corePoolSize, Integer.MAX_VALUE, 0, NANOSECONDS, 417 super(corePoolSize, Integer.MAX_VALUE, 0, NANOSECONDS, 434 super(corePoolSize, Integer.MAX_VALUE, 0, NANOSECONDS, 455 super(corePoolSize, Integer.MAX_VALUE, 0, NANOSECONDS, 471 ((delay < (Long.MAX_VALUE >> 1)) ? delay : overflowFree(delay)); 476 * Long.MAX_VALUE of each other, to avoid overflow in compareTo. 479 * Long.MAX_VALUE. 486 delay = Long.MAX_VALUE + headDelay; [all...] |
/libcore/luni/src/main/java/libcore/net/url/ |
FileURLConnection.java | 84 length = lengthAsLong <= Integer.MAX_VALUE ? (int) lengthAsLong : Integer.MAX_VALUE;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
PageIndicator.java | 175 addMarker(Integer.MAX_VALUE, markers.get(i), allowAnimations); 193 removeMarker(Integer.MAX_VALUE, allowAnimations);
|
/packages/apps/UnifiedEmail/src/org/apache/commons/io/output/ |
CountingOutputStream.java | 100 if (result > Integer.MAX_VALUE) {
118 if (result > Integer.MAX_VALUE) {
|
/external/chromium_org/third_party/protobuf/src/google/protobuf/compiler/ |
parser.cc | 179 uint64 max_value = kint32max; local 182 max_value += 1; 185 DO(ConsumeInteger64(max_value, &value, error)); 191 bool Parser::ConsumeInteger64(uint64 max_value, uint64* output, 194 if (!io::Tokenizer::ParseInteger(input_->current().text, max_value, 805 uint64 max_value = kint64max; local 809 max_value = kint32max; 816 ++max_value; 820 DO(ConsumeInteger64(max_value, &value, "Expected integer.")); 830 uint64 max_value = kuint64max local 1037 uint64 max_value = local [all...] |
/external/guava/guava-tests/test/com/google/common/math/ |
IntMathTest.java | 65 == Math.min(Integer.MAX_VALUE, 74 assertTrue(IntMath.BIGGEST_BINOMIALS[k] == Integer.MAX_VALUE 86 assertEquals(IntMath.sqrt(Integer.MAX_VALUE, FLOOR), IntMath.FLOOR_SQRT_MAX_INT); 444 int expectedInt = fitsInInt(expectedBig) ? expectedBig.intValue() : Integer.MAX_VALUE; 465 int expectedInt = fitsInInt(expectedBig) ? expectedBig.intValue() : Integer.MAX_VALUE;
|
/external/guava/guava-tests/test/com/google/common/primitives/ |
DoublesTest.java | 53 LEAST, -Double.MAX_VALUE, -1.0, -0.0, 0.0, 1.0, Double.MAX_VALUE, GREATEST, 55 Integer.MIN_VALUE, Integer.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE 285 new double[] {GREATEST, Double.MAX_VALUE},
|
FloatsTest.java | 53 LEAST, -Float.MAX_VALUE, -1f, -0f, 0f, 1f, Float.MAX_VALUE, GREATEST, 55 Integer.MIN_VALUE, Integer.MAX_VALUE, Long.MIN_VALUE, Long.MAX_VALUE 277 new float[] {GREATEST, Float.MAX_VALUE},
|
/frameworks/base/services/java/com/android/server/net/ |
NetworkStatsCollection.java | 89 mStartMillis = Long.MAX_VALUE; 104 if (mStartMillis == Long.MAX_VALUE) { 105 return Long.MAX_VALUE; 128 return mStartMillis == Long.MAX_VALUE && mEndMillis == Long.MIN_VALUE; 137 return getHistory(template, uid, set, tag, fields, Long.MIN_VALUE, Long.MAX_VALUE);
|
/frameworks/ex/common/java/com/android/common/ |
OperationScheduler.java | 152 if (!enabledState) return Long.MAX_VALUE; 155 if (permanentError) return Long.MAX_VALUE; 165 long triggerTimeMillis = mStorage.getLong(PREFIX + "triggerTimeMillis", Long.MAX_VALUE); 239 * minimum intervals. Use {@link Long#MAX_VALUE} to disable triggering. 287 * {@link #getNextTimeMillis} return {@link Long#MAX_VALUE}.
|
/packages/apps/Settings/src/com/android/settings/widget/ |
ChartDataUsageView.java | 283 long interestLine = Long.MAX_VALUE; 291 interestLine = Long.MAX_VALUE; 388 return mHistory != null ? mHistory.getStart() : Long.MAX_VALUE; 409 final long validStart = historyStart == Long.MAX_VALUE ? visibleStart 691 return i > 0 ? i : Long.MAX_VALUE;
|
/frameworks/base/core/tests/coretests/src/android/net/ |
NetworkStatsHistoryTest.java | 82 entry = history.getValues(Long.MIN_VALUE, Long.MAX_VALUE, entry); 407 assertEquals(Long.MAX_VALUE, performVarLong(Long.MAX_VALUE)); 409 assertEquals(Long.MAX_VALUE - 40, performVarLong(Long.MAX_VALUE - 40)); 451 assertIndexBeforeAfter(stats, 4, 4, Long.MAX_VALUE); 506 assertValues(stats, Long.MIN_VALUE, Long.MAX_VALUE, activeTime, rxBytes, rxPackets, txBytes,
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
NumberFormatTest.java | 42 out = format.format(new Long(Long.MAX_VALUE), new StringBuffer(), pos); 53 .valueOf(Long.MAX_VALUE)), new StringBuffer(), pos); 65 big = new java.math.BigInteger(String.valueOf(Long.MAX_VALUE))
|
/external/guava/guava/src/com/google/common/collect/ |
AbstractMapBasedMultiset.java | 57 * the multiset had once been larger than Integer.MAX_VALUE. 224 * {@link Integer#MAX_VALUE} occurrences of {@code element} in this 241 checkArgument(newCount <= Integer.MAX_VALUE,
|
/external/guava/guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ |
AbstractMapBasedMultiset.java | 54 * the multiset had once been larger than Integer.MAX_VALUE. 221 * {@link Integer#MAX_VALUE} occurrences of {@code element} in this 238 checkArgument(newCount <= Integer.MAX_VALUE,
|
/frameworks/base/services/java/com/android/server/location/ |
GeofenceManager.java | 256 double minFenceDistance = Double.MAX_VALUE; 291 double fenceDistance = state.getDistanceToBoundary(); // MAX_VALUE if unknown 303 if (location != null && Double.compare(minFenceDistance, Double.MAX_VALUE) != 0) {
|
/libcore/luni/src/test/java/libcore/java/lang/ |
CharacterTest.java | 32 for (int c = '\u0080'; c <= Character.MAX_VALUE; ++c) { 43 assertFalse(Character.isBmpCodePoint(Integer.MAX_VALUE)); 101 Character.getName(Integer.MAX_VALUE);
|
/libcore/luni/src/test/java/tests/api/javax/net/ssl/ |
SSLServerSocketTest.java | 129 int[] port_invalid = {-1, 65536, Integer.MIN_VALUE, Integer.MAX_VALUE}; 153 int[] port_invalid = {-1, Integer.MIN_VALUE, Integer.MAX_VALUE}; 177 int[] port_invalid = {-1, 65536, Integer.MIN_VALUE, Integer.MAX_VALUE};
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
MovieTest.java | 138 assertFalse(mMovie.setTime(Integer.MAX_VALUE));
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RelativeLayout_LayoutParamsTest.java | 343 layoutParams.addRule(Integer.MAX_VALUE); 388 layoutParams.addRule(Integer.MAX_VALUE, 0); 394 layoutParams.addRule(RelativeLayout.ALIGN_LEFT, Integer.MAX_VALUE); 396 assertEquals(Integer.MAX_VALUE, rules[RelativeLayout.ALIGN_LEFT]);
|
SpinnerTest.java | 146 spinner.setPromptId(Integer.MAX_VALUE);
|