/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/translit/ |
UnicodeMapTest.java | 102 SortedMap<String,Integer> stayWithMe = new TreeMap<String,Integer>(OneFirstComparator); 104 UnicodeMap<Integer> me = new UnicodeMap<Integer>().putAll(stayWithMe); 110 SortedMap<String,Integer> test = new TreeMap(); 114 Integer value; 162 private SortedMap<String, Integer> fillRandomMap(Random rand, int max, SortedMap<String, Integer> test) { 176 private void checkEquals(UnicodeMap<Integer> me, SortedMap<String, Integer> stayWithMe) [all...] |
/external/icu/icu4j/main/tests/translit/src/com/ibm/icu/dev/test/translit/ |
UnicodeMapTest.java | 98 SortedMap<String,Integer> stayWithMe = new TreeMap<String,Integer>(OneFirstComparator); 100 UnicodeMap<Integer> me = new UnicodeMap<Integer>().putAll(stayWithMe); 106 SortedMap<String,Integer> test = new TreeMap(); 110 Integer value; 158 private SortedMap<String, Integer> fillRandomMap(Random rand, int max, SortedMap<String, Integer> test) { 172 private void checkEquals(UnicodeMap<Integer> me, SortedMap<String, Integer> stayWithMe) [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogDatabaseHelper.java | 114 Calls._ID + " INTEGER PRIMARY KEY AUTOINCREMENT," + 116 Calls.NUMBER_PRESENTATION + " INTEGER NOT NULL DEFAULT " + 120 Calls.DATE + " INTEGER," + 121 Calls.DURATION + " INTEGER," + 122 Calls.DATA_USAGE + " INTEGER," + 123 Calls.TYPE + " INTEGER," + 124 Calls.FEATURES + " INTEGER NOT NULL DEFAULT 0," + 128 Calls.PHONE_ACCOUNT_HIDDEN + " INTEGER NOT NULL DEFAULT 0," + 129 Calls.SUB_ID + " INTEGER DEFAULT -1," + 130 Calls.NEW + " INTEGER," [all...] |
/external/androidplot/AndroidPlot-Core/src/main/java/com/androidplot/xy/ |
LineAndPointFormatter.java | 73 public LineAndPointFormatter(Integer lineColor, Integer vertexColor, Integer fillColor, PointLabelFormatter plf) {
77 public LineAndPointFormatter(Integer lineColor, Integer vertexColor, Integer fillColor, PointLabelFormatter plf, FillDirection fillDir) {
95 protected void initLinePaint(Integer lineColor) {
107 protected void initVertexPaint(Integer vertexColor) {
119 protected void initFillPaint(Integer fillColor) {
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
ParameterMetaDataTest.java | 33 HashMap<String, Integer> thePublicStatics = new HashMap<String, Integer>(); 34 thePublicStatics.put("parameterModeOut", new Integer(4)); 35 thePublicStatics.put("parameterModeInOut", new Integer(2)); 36 thePublicStatics.put("parameterModeIn", new Integer(1)); 37 thePublicStatics.put("parameterModeUnknown", new Integer(0)); 38 thePublicStatics.put("parameterNullableUnknown", new Integer(2)); 39 thePublicStatics.put("parameterNullable", new Integer(1)); 40 thePublicStatics.put("parameterNoNulls", new Integer(0));
|
StatementTest.java | 33 HashMap<String, Integer> thePublicStatics = new HashMap<String, Integer>(); 34 thePublicStatics.put("NO_GENERATED_KEYS", new Integer(2)); 35 thePublicStatics.put("RETURN_GENERATED_KEYS", new Integer(1)); 36 thePublicStatics.put("EXECUTE_FAILED", new Integer(-3)); 37 thePublicStatics.put("SUCCESS_NO_INFO", new Integer(-2)); 38 thePublicStatics.put("CLOSE_ALL_RESULTS", new Integer(3)); 39 thePublicStatics.put("KEEP_CURRENT_RESULT", new Integer(2)); 40 thePublicStatics.put("CLOSE_CURRENT_RESULT", new Integer(1));
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/asn1/pkcs/ |
RSAPrivateKey.java | 149 * modulus INTEGER, -- n 150 * publicExponent INTEGER, -- e 151 * privateExponent INTEGER, -- d 152 * prime1 INTEGER, -- p 153 * prime2 INTEGER, -- q 154 * exponent1 INTEGER, -- d mod (p-1) 155 * exponent2 INTEGER, -- d mod (q-1) 156 * coefficient INTEGER, -- (inverse of q) mod p 160 * Version ::= INTEGER { two-prime(0), multi(1) }
|
RSAPrivateKeyStructure.java | 151 * modulus INTEGER, -- n 152 * publicExponent INTEGER, -- e 153 * privateExponent INTEGER, -- d 154 * prime1 INTEGER, -- p 155 * prime2 INTEGER, -- q 156 * exponent1 INTEGER, -- d mod (p-1) 157 * exponent2 INTEGER, -- d mod (q-1) 158 * coefficient INTEGER, -- (inverse of q) mod p 162 * Version ::= INTEGER { two-prime(0), multi(1) }
|
/external/dagger2/producers/src/test/java/dagger/producers/internal/ |
AbstractProducerTest.java | 76 Producer<Integer> producer = 77 new AbstractProducer<Integer>(componentMonitorProvider, null) { 81 public ListenableFuture<Integer> compute(ProducerMonitor unusedMonitor) { 92 SettableFuture<Integer> delegateFuture = SettableFuture.create(); 93 Producer<Integer> producer = new DelegateProducer<>(componentMonitorProvider, delegateFuture); 95 ListenableFuture<Integer> future = producer.get(); 106 SettableFuture<Integer> delegateFuture = SettableFuture.create(); 107 Producer<Integer> producer = new DelegateProducer<>(componentMonitorProvider, delegateFuture); 109 ListenableFuture<Integer> future = producer.get();
|
/external/dexmaker/src/test/java/com/google/dexmaker/examples/ |
FibonacciMaker.java | 39 MethodId<?, Integer> fib = fibonacci.getMethod(TypeId.INT, "fib", TypeId.INT); 42 Local<Integer> i = code.getParameter(0, TypeId.INT); 43 Local<Integer> constant1 = code.newLocal(TypeId.INT); 44 Local<Integer> constant2 = code.newLocal(TypeId.INT); 45 Local<Integer> a = code.newLocal(TypeId.INT); 46 Local<Integer> b = code.newLocal(TypeId.INT); 47 Local<Integer> c = code.newLocal(TypeId.INT); 48 Local<Integer> d = code.newLocal(TypeId.INT); 49 Local<Integer> result = code.newLocal(TypeId.INT);
|
/external/guava/guava-testlib/test/com/google/common/collect/testing/ |
SafeTreeMapTest.java | 91 Map<String, Integer> map = 101 extends SortedMapInterfaceTest<String, Integer> { 106 @Override protected SortedMap<String, Integer> makePopulatedMap() { 107 NavigableMap<String, Integer> map = new SafeTreeMap<String, Integer>(); 114 @Override protected SortedMap<String, Integer> makeEmptyMap() 116 NavigableMap<String, Integer> map = new SafeTreeMap<String, Integer>(); 124 @Override protected Integer getValueNotInPopulatedMap() {
|
/external/guava/guava-tests/test/com/google/common/base/ |
FunctionsTest.java | 88 Map<String, Integer> map = Maps.newHashMap(); 92 Function<String, Integer> function = Functions.forMap(map); 116 Map<String, Integer> map = Maps.newHashMap(); 120 Function<String, Integer> function = Functions.forMap(map, 42); 137 Map<String, Integer> map = Maps.newHashMap(); 140 Function<String, Integer> function = Functions.forMap(map, 42); 163 ImmutableMap<String, Integer> map = ImmutableMap.of("One", 1); 164 Function<String, Integer> function = Functions.forMap(map, null); 166 assertEquals((Integer) 1, function.apply("One")); 178 ImmutableMap<String, Integer> map = ImmutableMap.of("One", 1) [all...] |
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowCameraParameters.java | 69 public List<Integer> getSupportedPictureFormats() { 70 List<Integer> formats = new ArrayList<Integer>(); 77 public List<Integer> getSupportedPreviewFormats() { 78 List<Integer> formats = new ArrayList<Integer>(); 93 public List<Integer> getSupportedPreviewFrameRates() { 94 List<Integer> supportedRates = new ArrayList<Integer>();
|
/external/sl4a/Common/src/com/googlecode/android_scripting/facade/ |
DisplayFacade.java | 37 private HashMap<Integer, Display> mDisplays; 48 mDisplays = new HashMap<Integer, Display>(); 58 public Integer[] displayGetDisplays() { 61 Integer[] results = new Integer[displays.length]; 72 Integer displayId) { 80 public Integer displayGetMaximumSizeDimension( 83 Integer displayId) { 92 Integer displayId) {
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/constructor/ |
TestBean1.java | 28 private Integer integer; field in class:TestBean1 43 static public Integer staticInteger; 53 public Integer getInteger() { 54 return integer; 57 public void setInteger(Integer integer) { 58 this.integer = integer;
|
/external/snakeyaml/src/test/java/org/yaml/snakeyaml/types/ |
SeqTagTest.java | 66 Collection<Integer> collection = new LinkedList<Integer>(); 72 Collection<Integer> obj = (Collection<Integer>) load(output); 80 Integer[] array = new Integer[3]; 81 array[0] = new Integer(1); 82 array[1] = new Integer(1); 83 array[2] = new Integer(2);
|
/external/testng/src/test/java/org/testng/ |
AssertTest.java | 133 int integer;
field in class:AssertTest.Contrived 135 Contrived(int integer){
136 this.integer = integer;
146 if (integer != contrived.integer) return false;
153 return integer;
161 Asymmetric(int integer, char character) {
162 super(integer);
|
/frameworks/base/services/core/java/com/android/server/hdmi/ |
HdmiLogger.java | 52 // Value (Pair(Long, Integer)): a pair of last log time millis and the number of logMessage. 54 private final HashMap<String, Pair<Long, Integer>> mWarningTimingCache = new HashMap<>(); 56 private final HashMap<String, Pair<Long, Integer>> mErrorTimingCache = new HashMap<>(); 110 private static String updateLog(HashMap<String, Pair<Long, Integer>> cache, String logMessage) { 112 Pair<Long, Integer> timing = cache.get(logMessage); 123 private static String buildMessage(String message, @Nullable Pair<Long, Integer> timing) { 129 private static void increaseLogCount(HashMap<String, Pair<Long, Integer>> cache, 131 Pair<Long, Integer> timing = cache.get(message); 137 private static boolean shouldLogNow(@Nullable Pair<Long, Integer> timing, long curTime) {
|
/external/testng/src/main/java/org/testng/remote/strprotocol/ |
MessageHelper.java | 45 return idx == -1 ? Integer.parseInt(message) : Integer.parseInt(message.substring(0, idx)); 51 return new GenericMessage(Integer.parseInt(messageParts[0])); 54 GenericMessage result = new GenericMessage(Integer.parseInt(messageParts[0])); 58 result.setTestCount(Integer.parseInt(messageParts[i + 1])); 60 result.setSuiteCount(Integer.parseInt(messageParts[i + 1])); 74 Integer.parseInt(messageParts[2])); 77 int count = Integer.parseInt(messageParts[3]); 98 Integer.parseInt(messageParts[3]), 99 Integer.parseInt(messageParts[4]) [all...] |
/frameworks/av/media/libstagefright/codecs/amrwbenc/inc/ |
basic_op.h | 108 | 16 bit short signed integer (Word16) whose value falls in the | 112 | 16 bit short signed integer (Word16) whose value falls in the | 122 | 16 bit short signed integer (Word16) whose value falls in the | 150 | 16 bit short signed integer (Word16) whose value falls in the | 154 | 16 bit short signed integer (Word16) whose value falls in the | 164 | 16 bit short signed integer (Word16) whose value falls in the | 194 | 16 bit short signed integer (Word16) whose value falls in the | 198 | 16 bit short signed integer (Word16) whose value falls in the | 208 | 16 bit short signed integer (Word16) whose value falls in the | 258 | 16 bit short signed integer (Word16) whose value falls in the [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
Events.java | 118 sb.append(SHOW_REASONS[(Integer) list[0]]).append(" keyguard=").append(list[1]); 127 sb.append(DISMISS_REASONS[(Integer) list[0]]); 131 (Integer) list[0]); 132 sb.append(AudioSystem.streamToString((Integer) list[0])); 136 (Integer) list[1]); 137 sb.append(AudioSystem.streamToString((Integer) list[0])).append(' ') 138 .append(iconStateToString((Integer) list[1])); 142 (Integer) list[1]); 147 sb.append(AudioSystem.streamToString((Integer) list[0])).append(' ') 152 (Integer) list[1]) [all...] |
/libcore/jsr166-tests/src/test/java/jsr166/ |
AtomicReferenceArrayTest.java | 32 AtomicReferenceArray<Integer> aa = new AtomicReferenceArray<Integer>(SIZE); 43 Integer[] a = null; 44 new AtomicReferenceArray<Integer>(a); 53 Integer[] a = { two, one, three, four, seven }; 54 AtomicReferenceArray<Integer> aa = new AtomicReferenceArray<Integer>(a); 64 Integer[] a = { two, one, three, four, seven }; 79 AtomicReferenceArray<Integer> aa = new AtomicReferenceArray<Integer>(SIZE) [all...] |
/libcore/luni/src/main/java/java/math/ |
Multiplication.java | 86 * Multiplies a number by a positive integer. 114 * an exponent equals to: {@code Integer.MAX_VALUE - Integer.MIN_VALUE}. 133 if (exp <= Integer.MAX_VALUE) { 144 BigInteger powerOfFive = bigFivePows[1].pow(Integer.MAX_VALUE); 146 long longExp = exp - Integer.MAX_VALUE; 148 intExp = (int) (exp % Integer.MAX_VALUE); 149 while (longExp > Integer.MAX_VALUE) { 151 longExp -= Integer.MAX_VALUE; 155 res = res.shiftLeft(Integer.MAX_VALUE) [all...] |
/libcore/luni/src/test/java/libcore/java/lang/ |
StrictMathTest.java | 29 testIntExact(Integer.MAX_VALUE, 1); 30 testIntExact(Integer.MAX_VALUE, -1); 31 testIntExact(Integer.MIN_VALUE, 1); 32 testIntExact(Integer.MIN_VALUE, -1); 33 testIntExact(Integer.MAX_VALUE, Integer.MAX_VALUE); 34 testIntExact(Integer.MIN_VALUE, Integer.MIN_VALUE); 134 if (a <= Integer.MAX_VALUE && a >= Integer.MIN_VALUE) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherSettings.java | 44 * <P>Type: INTEGER</P> 60 * <P>Type: INTEGER</P> 65 * The icon is a resource identified by a package name and an integer id. 128 * <P>Type: INTEGER</P> 133 * The icon is a resource identified by a package name and an integer id. 140 * <P>Type: INTEGER</P> 147 * <P>Type: INTEGER</P> 154 * <P>Type: INTEGER</P> 160 * <P>Type: INTEGER</P> 166 * <P>Type: INTEGER</P [all...] |