/sdk/ddms/libs/ddmlib/src/com/android/ddmlib/log/ |
EventContainer.java | 83 * Returns a {@link EventValueType} from an integer value, or <code>null</code> if no match 85 * @param value the integer value. 111 } else if (object instanceof Integer) { 130 EventValueType type = getEventValueType(Integer.parseInt(m.group(1))); 140 return Integer.valueOf(m.group(2)); 154 * Returns the integer value of the enum. 214 public final Integer getInt() throws InvalidTypeException { 216 return (Integer)mData; 293 if (data instanceof Integer) { 344 if (data instanceof Integer) { [all...] |
/frameworks/base/core/tests/bluetoothtests/src/android/bluetooth/ |
BluetoothTestRunner.java | 89 sEnableIterations = Integer.parseInt(val); 98 sDiscoverableIterations = Integer.parseInt(val); 107 sScanIterations = Integer.parseInt(val); 116 sEnablePanIterations = Integer.parseInt(val); 125 sPairIterations = Integer.parseInt(val); 134 sConnectA2dpIterations = Integer.parseInt(val); 143 sConnectHeadsetIterations = Integer.parseInt(val); 152 sConnectInputIterations = Integer.parseInt(val); 161 sConnectPanIterations = Integer.parseInt(val); 170 sStartStopScoIterations = Integer.parseInt(val) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
OldCollectionsTest.java | 58 LinkedList<Integer> lst = new LinkedList<Integer>(); 59 lst.add(new Integer(30)); 61 int index = Collections.binarySearch(lst, new Integer(2), null); 73 Collections.binarySearch(ll, new Integer(10), null); 91 Collections.binarySearch(localList, new Integer(1)); 106 Collections.binarySearch(ll, new Integer(10)); 128 Collections.rotate(list, Integer.MIN_VALUE); 294 List<Object> objects = Arrays.asList(new Object[] { new Integer(1), null, null, 297 assertEquals("Assert 5: did not find one Integer(1)", 1, Collection [all...] |
/libcore/luni/src/test/java/tests/java/sql/ |
SelectFunctionalityTest.java | 241 HashMap<Integer, String> value = new HashMap<Integer, String>(); 277 HashMap<Integer, Integer> value = new HashMap<Integer, Integer>(); 290 (Integer) val); 309 HashMap<Integer, String> value = new HashMap<Integer, String>(); 336 HashMap<Integer, Integer> value = new HashMap<Integer, Integer>() [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
AbstractListTest.java | 62 list.add(new Integer(3)); 63 list.add(new Integer(15)); 64 list.add(new Integer(5)); 65 list.add(new Integer(1)); 66 list.add(new Integer(7)); 94 Integer tempValue; 96 list.add(new Integer(3)); 97 list.add(new Integer(15)); 98 list.add(new Integer(5)); 99 list.add(new Integer(1)) [all...] |
IdentityHashMap2Test.java | 63 objArray[i] = new Integer(i); 120 new IdentityHashMap(Integer.MAX_VALUE); 184 .containsKey(new Integer(23).toString())); 191 .containsKey(new Integer(0))); 203 .containsValue(new Integer(-9))); 238 .get(new Integer(0))); 269 map.put(new Integer(1), "1"); 270 map.put(new Integer(102), "102"); 271 map.put(new Integer(203), "203"); 273 Integer remove1 = (Integer) it.next() [all...] |
HashMapTest.java | 107 objArray[i] = new Integer(i); 203 // Check clear on a large loaded map of Integer keys 204 HashMap<Integer, String> map = new HashMap<Integer, String>(); 209 assertEquals("Failed to reset size on large integer map", 0, hm.size()); 211 assertNull("Failed to clear integer map values", map.get(i)); 267 assertTrue("Returned false for valid key", hm.containsKey(new Integer( 275 .containsKey(new Integer(0))); 285 .containsValue(new Integer(875))); 287 .containsValue(new Integer(-9))) [all...] |
TreeSetTest.java | 32 return -(((Integer) o1).compareTo((Integer) o2)); 36 return ((Integer) o1).compareTo((Integer) o2) == 0; 72 myTreeSet.add(new Integer(1)); 73 myTreeSet.add(new Integer(2)); 76 myTreeSet.first().equals(new Integer(2))); 79 myTreeSet.last().equals(new Integer(1))); 108 ts.add(new Integer(-8)); 109 assertTrue("Failed to add Object", ts.contains(new Integer(-8))) [all...] |
/external/v8/test/cctest/ |
test-decls.cc | 71 virtual v8::Handle<Integer> Query(Local<String> key); 88 static v8::Handle<Integer> HandleQuery(Local<String> key, 173 v8::Handle<Integer> DeclarationContext::HandleQuery(Local<String> key, 197 v8::Handle<Integer> DeclarationContext::Query(Local<String> key) { 198 return v8::Handle<Integer>(); 252 virtual v8::Handle<Integer> Query(Local<String> key) { 253 return Integer::New(v8::None); 307 virtual v8::Handle<Integer> Query(Local<String> key) { 308 return v8::Handle<Integer>(); 378 virtual v8::Handle<Integer> Query(Local<String> key) [all...] |
/external/guava/guava-tests/test/com/google/common/base/ |
JoinerTest.java | 47 // <Integer> needed to prevent warning :( 48 private static final Iterable<Integer> ITERABLE_ = Arrays.<Integer>asList(); 49 private static final Iterable<Integer> ITERABLE_1 = Arrays.asList(1); 50 private static final Iterable<Integer> ITERABLE_12 = Arrays.asList(1, 2); 51 private static final Iterable<Integer> ITERABLE_123 = Arrays.asList(1, 2, 3); 52 private static final Iterable<Integer> ITERABLE_NULL = Arrays.asList((Integer) null); 53 private static final Iterable<Integer> ITERABLE_NULL_NULL 54 = Arrays.asList((Integer) null, null) [all...] |
/external/smali/dexlib/src/main/java/org/jf/dexlib/Code/Analysis/ |
RegisterType.java | 103 Integer, 116 //example if the register's type is an Integer on one incomming code path, but is a Reference type on another 117 //incomming code path. There is no register type that can hold either an Integer or a Reference. 121 //or a Char, then the "merged" type of that register would be Integer, because it is the "smallest" type can 125 /* Unknown Uninit Null One, Boolean Byte PosByte Short PosShort Char Integer, Float, LongLo LongHi DoubleLo DoubleHi UninitRef UninitThis Reference Conflicted*/ 126 /*Unknown*/ {Unknown, Uninit, Null, One, Boolean, Byte, PosByte, Short, PosShort, Char, Integer, Float, LongLo, LongHi, DoubleLo, DoubleHi, UninitRef, UninitThis, Reference, Conflicted}, 128 /*Null*/ {Null, Conflicted, Null, Boolean, Boolean, Byte, PosByte, Short, PosShort, Char, Integer, Float, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Reference, Conflicted}, 129 /*One*/ {One, Conflicted, Boolean, One, Boolean, Byte, PosByte, Short, PosShort, Char, Integer, Float, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted}, 130 /*Boolean*/ {Boolean, Conflicted, Boolean, Boolean, Boolean, Byte, PosByte, Short, PosShort, Char, Integer, Float, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted}, 131 /*Byte*/ {Byte, Conflicted, Byte, Byte, Byte, Byte, Byte, Short, Short, Integer, Integer, Float, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted, Conflicted (…) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
IdentityHashMapTest.java | 173 .containsKey(new Integer(23).toString())); 180 .containsKey(new Integer(0))); 192 .containsValue(new Integer(-9))); 227 .get(new Integer(0))); 258 map.put(new Integer(1), "1"); 259 map.put(new Integer(102), "102"); 260 map.put(new Integer(203), "203"); 262 Integer remove1 = (Integer) it.next(); 265 Integer remove2 = (Integer) it.next() [all...] |
/sdk/ninepatch/src/com/android/ninepatch/ |
NinePatchChunk.java | 54 private Pair<Integer> mHorizontalPadding; 55 private Pair<Integer> mVerticalPadding; 323 Pair<List<Pair<Integer>>> left = getPatches(column, result); 327 Pair<List<Pair<Integer>>> top = getPatches(row, result); 361 List<Pair<Integer>> topPairs) { 363 for (Pair<Integer> top : topPairs) { 373 List<Pair<Integer>> leftPairs) { 375 for (Pair<Integer> left : leftPairs) { 384 private Pair<Integer> getPadding(List<Pair<Integer>> pairs) [all...] |
/external/guava/guava/src/com/google/common/primitives/ |
Ints.java | 41 * already found in either {@link Integer} or {@link Arrays}. 54 public static final int BYTES = Integer.SIZE / Byte.SIZE; 61 public static final int MAX_POWER_OF_TWO = 1 << (Integer.SIZE - 2); 65 * {@code ((Integer) value).hashCode()}. 80 * Integer#MAX_VALUE} or less than {@link Integer#MIN_VALUE} 93 * {@code int} type, {@link Integer#MAX_VALUE} if it is too large, 94 * or {@link Integer#MIN_VALUE} if it is too small 97 if (value > Integer.MAX_VALUE) { 98 return Integer.MAX_VALUE [all...] |
/external/guava/guava-tests/test/com/google/common/math/ |
MathTesting.java | 55 static final ImmutableList<Integer> EXPONENTS = ImmutableList.of(0, 1, 2, 3, 4, 5, 6, 7, 10, 15, 58 /* Helper function to make a Long value from an Integer. */ 59 private static final Function<Integer, Long> TO_LONG = new Function<Integer, Long>() { 61 public Long apply(Integer n) { 75 private static final Function<Integer, Integer> NEGATE_INT = new Function<Integer, Integer>() { 77 public Integer apply(Integer x) [all...] |
/external/antlr/antlr-3.4/runtime/Java/src/main/java/org/antlr/runtime/debug/ |
RemoteDebugEventSocketListener.java | 266 listener.enterAlt(Integer.parseInt(elements[1])); 269 listener.enterSubRule(Integer.parseInt(elements[1])); 272 listener.exitSubRule(Integer.parseInt(elements[1])); 275 listener.enterDecision(Integer.parseInt(elements[1]), elements[2].equals("true")); 278 listener.exitDecision(Integer.parseInt(elements[1])); 281 listener.location(Integer.parseInt(elements[1]), 282 Integer.parseInt(elements[2])); 302 listener.LT(Integer.parseInt(elements[1]), t); 305 listener.mark(Integer.parseInt(elements[1])); 309 listener.rewind(Integer.parseInt(elements[1])) [all...] |
/cts/tests/tests/net/src/android/net/cts/ |
DhcpInfoTest.java | 59 int tmp = Integer.parseInt(ipSegs[3]) << 24 | Integer.parseInt(ipSegs[2]) << 16 | 60 Integer.parseInt(ipSegs[1]) << 8 | Integer.parseInt(ipSegs[0]);
|
/cts/tests/tests/widget/src/android/widget/cts/ |
RadioGroup_LayoutParamsTest.java | 51 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE); 52 assertEquals(Integer.MIN_VALUE, mLayoutParams.width); 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); 58 assertEquals(Integer.MIN_VALUE, mLayoutParams.height); 61 mLayoutParams = new RadioGroup.LayoutParams(Integer.MIN_VALUE, Integer.MAX_VALUE [all...] |
/cts/tools/dasm/src/dasm/tokens/ |
variant_token.java | 37 this(term_num, new Integer(0));
|
/dalvik/dexgen/src/com/android/dexgen/dex/file/ |
IndexedItem.java | 79 return '[' + Integer.toHexString(index) + ']';
|
/dalvik/dexgen/src/com/android/dexgen/rop/code/ |
ConservativeTranslationAdvice.java | 50 return Integer.MAX_VALUE;
|
/dalvik/dx/src/com/android/dx/dex/file/ |
IndexedItem.java | 79 return '[' + Integer.toHexString(index) + ']';
|
/dalvik/dx/src/com/android/dx/rop/code/ |
ConservativeTranslationAdvice.java | 50 return Integer.MAX_VALUE;
|
/dalvik/dx/tests/083-ssa-phi-placement/ |
Blort.java | 60 return new Integer(value);
|
/external/apache-harmony/text/src/test/java/org/apache/harmony/text/tests/java/text/ |
ParsePositionTest.java | 30 ParsePosition pp1 = new ParsePosition(Integer.MIN_VALUE); 31 assertTrue("Initialization failed.", pp1.getIndex() == Integer.MIN_VALUE); 63 assertTrue("getIndex failed.", pp.getIndex() == Integer.MAX_VALUE); 108 pp = new ParsePosition(Integer.MAX_VALUE);
|