/packages/apps/Phone/src/com/android/phone/ |
DTMFTwelveKeyDialer.java | 85 mToneMap.put('1', ToneGenerator.TONE_DTMF_1); 86 mToneMap.put('2', ToneGenerator.TONE_DTMF_2); 87 mToneMap.put('3', ToneGenerator.TONE_DTMF_3); 88 mToneMap.put('4', ToneGenerator.TONE_DTMF_4); 89 mToneMap.put('5', ToneGenerator.TONE_DTMF_5); 90 mToneMap.put('6', ToneGenerator.TONE_DTMF_6); 91 mToneMap.put('7', ToneGenerator.TONE_DTMF_7); 92 mToneMap.put('8', ToneGenerator.TONE_DTMF_8); 93 mToneMap.put('9', ToneGenerator.TONE_DTMF_9); 94 mToneMap.put('0', ToneGenerator.TONE_DTMF_0) [all...] |
/libcore/luni/src/test/java/libcore/java/nio/ |
OldAndroidNIOTest.java | 82 b.put(-1, (byte) 0); 89 b.put(b.limit(), (byte) 0); 99 b.put(data, -1, 2); 109 b.put(data, 1, 8); 119 b.put(data, 0, 3); 128 b.put((byte) (0xA0 + i)); 131 b.put((byte) 0xFF); 397 sb.put(-1, (short) 0); 404 sb.put(sb.limit(), (short) 0); 414 sb.put(data, -1, 2) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
TreeMapTest.java | 122 reversedTreeMap.put(new Integer(1).toString(), new Integer(1)); 123 reversedTreeMap.put(new Integer(2).toString(), new Integer(2)); 151 reversedTreeMap.put(new Integer(1).toString(), new Integer(1)); 152 reversedTreeMap.put(new Integer(2).toString(), new Integer(2)); 188 map.put("key", "value"); 196 map2.put("key", "value2"); 203 map2.put("key2", "value3"); 218 reversedTreeMap.put(new Integer(1).toString(), new Integer(1)); 219 reversedTreeMap.put(new Integer(2).toString(), new Integer(2)); 280 tm.put("Hello", o) [all...] |
/external/easymock/src/org/easymock/internal/ |
RecordState.java | 42 emptyReturnValues.put(Void.TYPE, null);
43 emptyReturnValues.put(Boolean.TYPE, Boolean.FALSE);
44 emptyReturnValues.put(Byte.TYPE, Byte.valueOf((byte) 0));
45 emptyReturnValues.put(Short.TYPE, Short.valueOf((short) 0));
46 emptyReturnValues.put(Character.TYPE, Character.valueOf((char)0));
47 emptyReturnValues.put(Integer.TYPE, Integer.valueOf(0));
48 emptyReturnValues.put(Long.TYPE, Long.valueOf(0));
49 emptyReturnValues.put(Float.TYPE, Float.valueOf(0));
50 emptyReturnValues.put(Double.TYPE, Double.valueOf(0));
56 primitiveToWrapperType.put(Boolean.TYPE, Boolean.class); [all...] |
/libcore/luni/src/main/java/java/text/ |
DecimalFormatSymbols.java | 588 fields.put("currencySymbol", currencySymbol); 589 fields.put("decimalSeparator", getDecimalSeparator()); 590 fields.put("digit", getDigit()); 591 fields.put("exponential", exponentSeparator.charAt(0)); 592 fields.put("exponentialSeparator", exponentSeparator); 593 fields.put("groupingSeparator", getGroupingSeparator()); 594 fields.put("infinity", infinity); 595 fields.put("intlCurrencySymbol", intlCurrencySymbol); 596 fields.put("minusSign", getMinusSign()); 597 fields.put("monetarySeparator", getMonetaryDecimalSeparator()) [all...] |
/external/apache-harmony/security/src/test/api/java/org/apache/harmony/security/tests/java/security/ |
ProviderTest.java | 99 hm.put("MessageDigest.SHA-1", "aaa.bbb.ccc.ddd"); 100 hm.put("Property 1", "value 1"); 101 hm.put("serviceName.algName attrName", "attrValue"); 102 hm.put("Alg.Alias.engineClassName.aliasName", "standardName"); 116 p.put("MessageDigest.SHA-256", "aaa.bbb.ccc.ddd"); 163 p.put("MessageDigest.SHA-256", "aaa.bbb.ccc.ddd"); 190 p.put("MessageDigest.SHA-256", "aaa.bbb.ccc.ddd"); 213 * Class under test for Object put(Object, Object) 216 p.put("MessageDigest.SHA-1", "aaa.bbb.ccc.ddd"); 217 p.put("Type.Algorithm", "className") [all...] |
Security2Test.java | 133 table.put(key, new Integer(before.intValue() + 1)); 135 table.put(key, new Integer(1)); 216 filter.put("KeyStore.BKS", ""); 217 filter.put("Signature.SHA1withDSA", ""); 228 filter.put("MessageDigest.MD2", ""); 229 filter.put("CertificateFactory.X.509", ""); 230 filter.put("KeyFactory.RSA", ""); 242 filter.put("MessageDigest.SHA", ""); 243 filter.put("CertificateFactory.X.509", ""); 255 filter.put("CertificateFactory.X509", "") [all...] |
/frameworks/base/tests/LocationTracker/src/com/android/locationtracker/data/ |
TrackerEntry.java | 171 cValues.put(TIMESTAMP, mTimestamp); 172 cValues.put(TAG, mTag); 173 cValues.put(ENTRY_TYPE, mType.toString()); 175 cValues.put(LATITUDE, mLocation.getLatitude()); 176 cValues.put(LONGITUDE, mLocation.getLongitude()); 178 cValues.put(ACCURACY, mLocation.getAccuracy()); 181 cValues.put(ALTITUDE, mLocation.getAltitude()); 184 cValues.put(SPEED, mLocation.getSpeed()); 187 cValues.put(BEARING, mLocation.getBearing()); 189 cValues.put(DIST_NET_LOCATION, mDistFromNetLocation) [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
WifiInfo.java | 43 stateMap.put(SupplicantState.DISCONNECTED, DetailedState.DISCONNECTED); 44 stateMap.put(SupplicantState.INTERFACE_DISABLED, DetailedState.DISCONNECTED); 45 stateMap.put(SupplicantState.INACTIVE, DetailedState.IDLE); 46 stateMap.put(SupplicantState.SCANNING, DetailedState.SCANNING); 47 stateMap.put(SupplicantState.AUTHENTICATING, DetailedState.CONNECTING); 48 stateMap.put(SupplicantState.ASSOCIATING, DetailedState.CONNECTING); 49 stateMap.put(SupplicantState.ASSOCIATED, DetailedState.CONNECTING); 50 stateMap.put(SupplicantState.FOUR_WAY_HANDSHAKE, DetailedState.AUTHENTICATING); 51 stateMap.put(SupplicantState.GROUP_HANDSHAKE, DetailedState.AUTHENTICATING); 52 stateMap.put(SupplicantState.COMPLETED, DetailedState.OBTAINING_IPADDR) [all...] |
/libcore/luni/src/test/java/org/apache/harmony/security/tests/java/security/ |
Security2Test.java | 132 table.put(key, new Integer(before.intValue() + 1)); 134 table.put(key, new Integer(1)); 215 filter.put("KeyStore.BKS", ""); 216 filter.put("Signature.SHA1withDSA", ""); 227 filter.put("MessageDigest.SHA-384", ""); 228 filter.put("CertificateFactory.X.509", ""); 229 filter.put("KeyFactory.RSA", ""); 241 filter.put("MessageDigest.SHA1", ""); 242 filter.put("TrustManagerFactory.X509", ""); 254 filter.put("CertificateFactory.X509", "") [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
HashMapTest.java | 80 empty.put("something", "here"); 100 empty.put("something", "here"); 111 myMap.put(objArray2[counter], objArray[counter]); 147 map.put("key", "value"); 156 map2.put("key", "value2"); 163 map2.put("key2", "value3"); 172 hashmap.put(1, mock); 192 m.put(null, "test"); 239 hm.put("A", null); 240 hm.put("B", null) [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/ |
EntityDeltaTests.java | 70 contact.put(RawContacts.VERSION, 43); 71 contact.put(RawContacts._ID, contactId); 74 phone.put(Data._ID, phoneId); 75 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 76 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_1); 77 phone.put(Phone.TYPE, Phone.TYPE_HOME); 107 phone.put(Data.MIMETYPE, Phone.CONTENT_ITEM_TYPE); 108 phone.put(Phone.NUMBER, TEST_PHONE_NUMBER_2); 109 phone.put(Phone.TYPE, Phone.TYPE_WORK); 124 child.put(Phone.NUMBER, TEST_PHONE_NUMBER_2) [all...] |
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
CalendarProvider2.java | 665 values.put(Events.DTSTART, get2445ToMillis(timezone, dtStart2445)); 666 values.put(Events.DTEND, get2445ToMillis(timezone, dtEnd2445)); [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/event/ |
EditEventHelperTest.java | 231 mExpectedValues.put(Events.DTSTART, TEST_START + dayInMs); 232 mExpectedValues.put(Events.DTEND, TEST_END + dayInMs); 244 mExpectedValues.put(Attendees.ATTENDEE_NAME, (String)null); 245 mExpectedValues.put(Attendees.ATTENDEE_EMAIL, "different@email.bit"); 246 mExpectedValues.put(Attendees.ATTENDEE_RELATIONSHIP, Attendees.RELATIONSHIP_ATTENDEE); 247 mExpectedValues.put(Attendees.ATTENDEE_TYPE, Attendees.TYPE_NONE); 248 mExpectedValues.put(Attendees.ATTENDEE_STATUS, Attendees.ATTENDEE_STATUS_NONE); 249 mExpectedValues.put(Attendees.EVENT_ID, TEST_EVENT_ID); 259 mExpectedValues.put(Attendees.ATTENDEE_EMAIL, mModel1.mOwnerAccount); 260 mExpectedValues.put(Attendees.ATTENDEE_RELATIONSHIP, Attendees.RELATIONSHIP_ORGANIZER) [all...] |
/external/apache-harmony/nio_char/src/test/java/tests/api/java/nio/charset/ |
UTFCharsetDecoderTest.java | 54 buffer.put((byte) 0xd8); 55 buffer.put(getByteBuffer());
|
/external/apache-harmony/support/src/test/java/tests/support/ |
Support_MapTest2.java | 38 map.put("one", "1"); 52 map.put("one", "1");
|
/external/nist-sip/java/gov/nist/javax/sip/header/ |
SIPHeaderNamesCache.java | 22 lowercaseMap.put(value, lowerCase); 23 lowercaseMap.put(lowerCase, lowerCase);
|
/frameworks/opt/vcard/java/com/android/vcard/ |
VCardConfig.java | 392 sVCardTypeMap.put(VCARD_TYPE_V21_GENERIC_STR, VCARD_TYPE_V21_GENERIC); 393 sVCardTypeMap.put(VCARD_TYPE_V30_GENERIC_STR, VCARD_TYPE_V30_GENERIC); 394 sVCardTypeMap.put(VCARD_TYPE_V21_EUROPE_STR, VCARD_TYPE_V21_EUROPE); 395 sVCardTypeMap.put(VCARD_TYPE_V30_EUROPE_STR, VCARD_TYPE_V30_EUROPE); 396 sVCardTypeMap.put(VCARD_TYPE_V21_JAPANESE_STR, VCARD_TYPE_V21_JAPANESE); 397 sVCardTypeMap.put(VCARD_TYPE_V30_JAPANESE_STR, VCARD_TYPE_V30_JAPANESE); 398 sVCardTypeMap.put(VCARD_TYPE_V21_JAPANESE_MOBILE_STR, VCARD_TYPE_V21_JAPANESE_MOBILE); 399 sVCardTypeMap.put(VCARD_TYPE_DOCOMO_STR, VCARD_TYPE_DOCOMO);
|
/libcore/luni/src/main/java/java/nio/ |
DoubleBuffer.java | 370 public abstract DoubleBuffer put(double d); method in class:DoubleBuffer 377 * {@code put(src, 0, src.length)}. 387 public final DoubleBuffer put(double[] src) { method in class:DoubleBuffer 388 return put(src, 0, src.length); 412 public DoubleBuffer put(double[] src, int srcOffset, int doubleCount) { method in class:DoubleBuffer 418 put(src[i]); 439 public DoubleBuffer put(DoubleBuffer src) { method in class:DoubleBuffer 448 put(doubles); 466 public abstract DoubleBuffer put(int index, double d); method in class:DoubleBuffer
|
FloatBuffer.java | 369 public abstract FloatBuffer put(float f); method in class:FloatBuffer 376 * {@code put(src, 0, src.length)}. 386 public final FloatBuffer put(float[] src) { method in class:FloatBuffer 387 return put(src, 0, src.length); 411 public FloatBuffer put(float[] src, int srcOffset, int floatCount) { method in class:FloatBuffer 417 put(src[i]); 438 public FloatBuffer put(FloatBuffer src) { method in class:FloatBuffer 447 put(contents); 465 public abstract FloatBuffer put(int index, float f); method in class:FloatBuffer
|
IntBuffer.java | 355 public abstract IntBuffer put(int i); method in class:IntBuffer 362 * {@code put(src, 0, src.length)}. 372 public final IntBuffer put(int[] src) { method in class:IntBuffer 373 return put(src, 0, src.length); 397 public IntBuffer put(int[] src, int srcOffset, int intCount) { method in class:IntBuffer 403 put(src[i]); 424 public IntBuffer put(IntBuffer src) { method in class:IntBuffer 433 put(contents); 451 public abstract IntBuffer put(int index, int i); method in class:IntBuffer
|
LongBuffer.java | 359 public abstract LongBuffer put(long l); method in class:LongBuffer 366 * {@code put(src, 0, src.length)}. 376 public final LongBuffer put(long[] src) { method in class:LongBuffer 377 return put(src, 0, src.length); 401 public LongBuffer put(long[] src, int srcOffset, int longCount) { method in class:LongBuffer 407 put(src[i]); 428 public LongBuffer put(LongBuffer src) { method in class:LongBuffer 437 put(contents); 455 public abstract LongBuffer put(int index, long l); method in class:LongBuffer
|
ShortBuffer.java | 358 public abstract ShortBuffer put(short s); method in class:ShortBuffer 365 * {@code put(src, 0, src.length)}. 375 public final ShortBuffer put(short[] src) { method in class:ShortBuffer 376 return put(src, 0, src.length); 400 public ShortBuffer put(short[] src, int srcOffset, int shortCount) { method in class:ShortBuffer 406 put(src[i]); 427 public ShortBuffer put(ShortBuffer src) { method in class:ShortBuffer 436 put(contents); 454 public abstract ShortBuffer put(int index, short s); method in class:ShortBuffer
|
/libcore/support/src/test/java/tests/support/ |
Support_MapTest2.java | 38 map.put("one", "1"); 52 map.put("one", "1");
|
/packages/apps/Mms/src/com/android/mms/util/ |
SendingProgressTokenManager.java | 44 synchronized public static void put(Object key, long token) { method in class:SendingProgressTokenManager 46 Log.v(TAG, "TokenManager.put(" + key + ", " + token + ")"); 48 TOKEN_POOL.put(key, token);
|