/external/apache-harmony/nio/src/test/java/common/org/apache/harmony/nio/tests/java/nio/ |
ReadOnlyShortBufferTest.java | 74 buf.put((short)0); 84 buf.put(array); 90 buf.put((short[]) null); 100 buf.put(array, 0, array.length); 106 buf.put((short[]) null, 0, 1); 112 buf.put(new short[buf.capacity() + 1], 0, buf.capacity() + 1); 118 buf.put(array, -1, array.length); 128 buf.put(other); 134 buf.put((ShortBuffer) null); 140 buf.put(buf) [all...] |
/frameworks/base/telephony/tests/telephonytests/src/com/android/internal/telephony/ |
Wap230WspContentTypeTest.java | 38 WELL_KNOWN_SHORT_MIME_TYPES.put(0x00, "*/*"); 39 WELL_KNOWN_SHORT_MIME_TYPES.put(0x01, "text/*"); 40 WELL_KNOWN_SHORT_MIME_TYPES.put(0x02, "text/html"); 41 WELL_KNOWN_SHORT_MIME_TYPES.put(0x03, "text/plain"); 42 WELL_KNOWN_SHORT_MIME_TYPES.put(0x04, "text/x-hdml"); 43 WELL_KNOWN_SHORT_MIME_TYPES.put(0x05, "text/x-ttml"); 44 WELL_KNOWN_SHORT_MIME_TYPES.put(0x06, "text/x-vCalendar"); 45 WELL_KNOWN_SHORT_MIME_TYPES.put(0x07, "text/x-vCard"); 46 WELL_KNOWN_SHORT_MIME_TYPES.put(0x08, "text/vnd.wap.wml"); 47 WELL_KNOWN_SHORT_MIME_TYPES.put(0x09, "text/vnd.wap.wmlscript") [all...] |
/frameworks/ex/common/tests/src/com/android/common/ |
Rfc822ValidatorTest.java | 49 fixes.put("a", "<a@gmail.com>"); 50 fixes.put("a b", "<ab@gmail.com>"); 51 fixes.put("a@b", "<a@b>"); 52 fixes.put("()~><@not.work", ""); 64 fixes.put("a", "<a>"); 65 fixes.put("a b", "<a b>"); 66 fixes.put("a@b", "<a@b>"); 67 fixes.put("a@b.com", "<a@b.com>"); // this one is correct 80 fixes.put("a", ""); 81 fixes.put("a b", "") [all...] |
/external/apache-harmony/security/src/test/impl/java/org/apache/harmony/security/tests/java/security/ |
ProviderService_ImplTest.java | 48 hm.put("attribute", "value"); 49 hm.put("KeySize", "1024"); 50 hm.put("AAA", "BBB"); 62 put("MessageDigest.SHA-1", "SomeClassName");
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
VCardTestsBase.java | 52 mContentValuesForQP.put("ENCODING", "QUOTED-PRINTABLE"); 54 mContentValuesForSJis.put("CHARSET", "SHIFT_JIS"); 56 mContentValuesForUtf8.put("CHARSET", "UTF-8"); 58 mContentValuesForQPAndSJis.put("ENCODING", "QUOTED-PRINTABLE"); 59 mContentValuesForQPAndSJis.put("CHARSET", "SHIFT_JIS"); 61 mContentValuesForQPAndUtf8.put("ENCODING", "QUOTED-PRINTABLE"); 62 mContentValuesForQPAndUtf8.put("CHARSET", "UTF-8"); 64 mContentValuesForBase64V21.put("ENCODING", "BASE64"); 66 mContentValuesForBase64V30.put("ENCODING", "b");
|
/packages/apps/Tag/src/com/android/apps/tag/record/ |
UriRecord.java | 66 .put((byte) 0x00, "") 67 .put((byte) 0x01, "http://www.") 68 .put((byte) 0x02, "https://www.") 69 .put((byte) 0x03, "http://") 70 .put((byte) 0x04, "https://") 71 .put((byte) 0x05, "tel:") 72 .put((byte) 0x06, "mailto:") 73 .put((byte) 0x07, "ftp://anonymous:anonymous@") 74 .put((byte) 0x08, "ftp://ftp.") 75 .put((byte) 0x09, "ftps://" [all...] |
/cts/tests/src/android/provider/cts/ |
MediaStoreAudioTestHelper.java | 123 values.put(Media.DATA, isInternal ? INTERNAL_DATA : EXTERNAL_DATA); 124 values.put(Media.DATE_MODIFIED, DATE_MODIFIED); 125 values.put(Media.DISPLAY_NAME, DISPLAY_NAME); 126 values.put(Media.MIME_TYPE, MIME_TYPE); 127 values.put(Media.SIZE, SIZE); 128 values.put(Media.TITLE, TITLE); 129 values.put(Media.ALBUM, ALBUM); 130 values.put(Media.ARTIST, ARTIST); 131 values.put(Media.COMPOSER, COMPOSER); 132 values.put(Media.DURATION, DURATION) [all...] |
/packages/apps/Stk/src/com/android/stk/ |
TonePlayer.java | 34 mToneMap.put(Tone.DIAL, ToneGenerator.TONE_SUP_DIAL); 35 mToneMap.put(Tone.BUSY, ToneGenerator.TONE_SUP_BUSY); 36 mToneMap.put(Tone.CONGESTION, ToneGenerator.TONE_SUP_CONGESTION); 37 mToneMap.put(Tone.RADIO_PATH_ACK, ToneGenerator.TONE_SUP_RADIO_ACK); 38 mToneMap.put(Tone.RADIO_PATH_NOT_AVAILABLE, ToneGenerator.TONE_SUP_RADIO_NOTAVAIL); 39 mToneMap.put(Tone.ERROR_SPECIAL_INFO, ToneGenerator.TONE_SUP_ERROR); 40 mToneMap.put(Tone.CALL_WAITING, ToneGenerator.TONE_SUP_CALL_WAITING); 41 mToneMap.put(Tone.RINGING, ToneGenerator.TONE_SUP_RINGTONE); 42 mToneMap.put(Tone.GENERAL_BEEP, ToneGenerator.TONE_PROP_BEEP); 43 mToneMap.put(Tone.POSITIVE_ACK, ToneGenerator.TONE_PROP_ACK) [all...] |
/dalvik/tests/070-nio-buffer/src/ |
Main.java | 47 shortBuf.put(myShorts, 0, 32); // should work 49 shortBuf.put(myShorts, 16, 16); // should work 50 shortBuf.put(myShorts, 16, 16); // advance to end 53 shortBuf.put(myShorts, 0, 1); // should fail 54 System.err.println("ERROR: out-of-bounds put succeeded\n"); 61 shortBuf.put(myShorts, 0, 33); // should fail 62 System.err.println("ERROR: out-of-bounds put succeeded\n"); 69 shortBuf.put(myShorts, 0, 17); // should fail 70 System.err.println("ERROR: out-of-bounds put succeeded\n"); 90 int1.put (data) [all...] |
/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeySourceNetworkVars.java | 64 VAR_MAP.put("build.board", new StaticVarGetter(Build.BOARD)); 65 VAR_MAP.put("build.brand", new StaticVarGetter(Build.BRAND)); 66 VAR_MAP.put("build.device", new StaticVarGetter(Build.DEVICE)); 67 VAR_MAP.put("build.display", new StaticVarGetter(Build.DISPLAY)); 68 VAR_MAP.put("build.fingerprint", new StaticVarGetter(Build.FINGERPRINT)); 69 VAR_MAP.put("build.host", new StaticVarGetter(Build.HOST)); 70 VAR_MAP.put("build.id", new StaticVarGetter(Build.ID)); 71 VAR_MAP.put("build.model", new StaticVarGetter(Build.MODEL)); 72 VAR_MAP.put("build.product", new StaticVarGetter(Build.PRODUCT)); 73 VAR_MAP.put("build.tags", new StaticVarGetter(Build.TAGS)) [all...] |
/external/webkit/Source/WebCore/bindings/gobject/ |
DOMObjectCache.h | 31 static void* put(void* objectHandle, void* wrapper); 32 static void* put(WebCore::Node* objectHandle, void* wrapper);
|
/external/bouncycastle/src/main/java/org/bouncycastle/jce/provider/symmetric/ |
Blowfish.java | 59 put("Cipher.BLOWFISH", "org.bouncycastle.jce.provider.symmetric.Blowfish$ECB"); 61 // put("Cipher.1.3.6.1.4.1.3029.1.2", "org.bouncycastle.jce.provider.symmetric.Blowfish$CBC"); 63 put("KeyGenerator.BLOWFISH", "org.bouncycastle.jce.provider.symmetric.Blowfish$KeyGen"); 64 put("Alg.Alias.KeyGenerator.1.3.6.1.4.1.3029.1.2", "BLOWFISH"); 65 put("AlgorithmParameters.BLOWFISH", "org.bouncycastle.jce.provider.symmetric.Blowfish$AlgParams"); 66 put("Alg.Alias.AlgorithmParameters.1.3.6.1.4.1.3029.1.2", "BLOWFISH");
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
ResultSetTest.java | 34 thePublicStatics.put("CLOSE_CURSORS_AT_COMMIT", 36 thePublicStatics.put("HOLD_CURSORS_OVER_COMMIT", new java.lang.Integer( 38 thePublicStatics.put("CONCUR_UPDATABLE", new java.lang.Integer(1008)); 39 thePublicStatics.put("CONCUR_READ_ONLY", new java.lang.Integer(1007)); 40 thePublicStatics.put("TYPE_SCROLL_SENSITIVE", new java.lang.Integer( 42 thePublicStatics.put("TYPE_SCROLL_INSENSITIVE", new java.lang.Integer( 44 thePublicStatics.put("TYPE_FORWARD_ONLY", new java.lang.Integer(1003)); 45 thePublicStatics.put("FETCH_UNKNOWN", new java.lang.Integer(1002)); 46 thePublicStatics.put("FETCH_REVERSE", new java.lang.Integer(1001)); 47 thePublicStatics.put("FETCH_FORWARD", new java.lang.Integer(1000)) [all...] |
ParameterMetaDataTest.java | 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 | 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/guava/src/com/google/common/collect/ |
MutableClassToInstanceMap.java | 64 return cast(type, put(type, value)); 85 .put(boolean.class, Boolean.class) 86 .put(byte.class, Byte.class) 87 .put(char.class, Character.class) 88 .put(double.class, Double.class) 89 .put(float.class, Float.class) 90 .put(int.class, Integer.class) 91 .put(long.class, Long.class) 92 .put(short.class, Short.class) 93 .put(void.class, Void.class [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
ContentValuesTest.java | 96 mContentValues.put("Long", 10L); 97 mContentValues.put("Integer", 201); 132 mContentValues.put("Long", expected); 136 mContentValues.put("Long", expected); 151 mContentValues.put("Byte", expected); 155 mContentValues.put("Byte", expected); 170 mContentValues.put("Integer", expected); 174 mContentValues.put("Integer", expected); 190 mContentValues.put("Integer", 10); 191 mContentValues.put("Long", 10L) [all...] |
/external/apache-xml/src/main/java/org/apache/xalan/xslt/ |
EnvironmentCheck.java | 199 * <p>Various system and CLASSPATH, etc. properties are put into 201 * of that item as the value. Any serious problems will be put in 558 * @param h Hashtable to put information in 573 h.put("java.version", javaVersion); 579 h.put( 592 h.put("java.class.path", cp); 597 h.put(FOUNDCLASSES + "java.class.path", classpathJars); 604 h.put("sun.boot.class.path", othercp); 609 h.put(FOUNDCLASSES + "sun.boot.class.path", classpathJars); 618 h.put("java.ext.dirs", othercp) [all...] |
/libcore/luni/src/main/java/java/lang/ |
System.java | 231 map.put(entry.substring(0, index), entry.substring(index + 1)); 272 p.put("java.boot.class.path", runtime.bootClassPath()); 273 p.put("java.class.path", runtime.classPath()); 278 p.put("java.class.version", "50.0"); 279 p.put("java.compiler", ""); 280 p.put("java.ext.dirs", ""); 281 p.put("java.version", "0"); 283 p.put("java.home", getenv("JAVA_HOME", "/system")); 285 p.put("java.io.tmpdir", "/tmp"); 286 p.put("java.library.path", getenv("LD_LIBRARY_PATH")) [all...] |
/libcore/luni/src/main/java/org/apache/harmony/xnet/provider/jsse/ |
OpenSSLSignature.java | 44 jdkToOpenSsl.put("MD5WithRSAEncryption", MD5RSA.class); 45 jdkToOpenSsl.put("MD5WithRSA", MD5RSA.class); 46 jdkToOpenSsl.put("MD5/RSA", MD5RSA.class); 47 jdkToOpenSsl.put("1.2.840.113549.1.1.4", MD5RSA.class); 48 jdkToOpenSsl.put("1.2.840.113549.2.5with1.2.840.113549.1.1.1", MD5RSA.class); 50 jdkToOpenSsl.put("SHA1WithRSAEncryption", SHA1RSA.class); 51 jdkToOpenSsl.put("SHA1WithRSA", SHA1RSA.class); 52 jdkToOpenSsl.put("SHA1/RSA", SHA1RSA.class); 53 jdkToOpenSsl.put("SHA-1/RSA", SHA1RSA.class); 54 jdkToOpenSsl.put("1.2.840.113549.1.1.5", SHA1RSA.class) [all...] |
/libcore/luni/src/test/java/libcore/java/util/ |
TreeMapTest.java | 37 map.put("A", "a"); 38 map.put("B", "b"); 39 map.put("C", "c"); 62 map.put("A", "a"); 63 map.put("B", "b"); 64 map.put("C", "c"); 65 map.put("D", "d"); 91 map.put("A", "a"); 92 map.put("B", "b"); 93 map.put("C", "c") 207 map.subMap("a", "z").put(null, "b"); method [all...] |
/packages/providers/DownloadProvider/tests/public_api_access/src/com/android/providers/downloads/public_api_access_tests/ |
PublicApiAccessTest.java | 71 values.put(Downloads.Impl.COLUMN_TITLE, "foo"); 72 values.put(Downloads.Impl.COLUMN_DESCRIPTION, "foo"); 73 values.put(Downloads.Impl.COLUMN_MIME_TYPE, "foo"); 74 values.put(Downloads.Impl.COLUMN_NOTIFICATION_PACKAGE, "foo"); 75 values.put(Downloads.Impl.COLUMN_ALLOWED_NETWORK_TYPES, 0); 76 values.put(Downloads.Impl.COLUMN_ALLOW_ROAMING, true); 77 values.put(Downloads.Impl.RequestHeaders.INSERT_KEY_PREFIX + "0", "X-Some-Header: value"); 83 values.put(Downloads.Impl.COLUMN_URI, "foo"); 84 values.put(Downloads.Impl.COLUMN_DESTINATION, 86 values.put(Downloads.Impl.COLUMN_VISIBILITY, Downloads.Impl.VISIBILITY_VISIBLE) [all...] |
/external/apache-harmony/auth/src/test/java/common/tests/api/javax/security/auth/x500/ |
X500PrincipalTest.java | 43 keyword.put("CN", "2.19"); 44 keyword.put("OU", "1.2.5.19"); 45 keyword.put("O", "1.2.5"); 69 keyword.put("CN", "2.19"); 70 keyword.put("OU", "1.2.5.19"); 71 keyword.put("O", "1.2.5"); 74 keyword.put("2.19", "mystring");
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
LegacyContactsProviderTest.java | 100 values.put(People.NAME, "John Doe"); 117 values.put(People.NAME, "Deer Doe"); 121 values.put(People.NAME, "Dear Dough"); 125 values.put(People.NAME, "D.R. Dauwe"); 136 values.put(People.NAME, "John Doe"); 148 values.put(Organizations.ISPRIMARY, 1); 149 values.put(Organizations.COMPANY, "Google"); 150 values.put(Organizations.TYPE, Organizations.TYPE_WORK); 151 values.put(Organizations.PERSON_ID, personId); 156 values.put(Organizations.COMPANY, "Acme") 402 expectedResults[0].put(Phones.NUMBER_KEY, "11446640081"); method 453 expectedValues[0].put(Phones.NUMBER_KEY, "36645550081"); method 475 expectedValues[0].put(Phones.NUMBER_KEY, "1144664008"); method [all...] |
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/ |
VCardTestUtilsTests.java | 61 .put(StructuredName.GIVEN_NAME, "A;B\\") 62 .put(StructuredName.MIDDLE_NAME, "C\\;") 63 .put(StructuredName.PREFIX, "D") 64 .put(StructuredName.SUFFIX, ":E"); 81 .put(StructuredName.FAMILY_NAME, "\\") 82 .put(StructuredName.GIVEN_NAME, ";") 83 .put(StructuredName.MIDDLE_NAME, ",") 84 .put(StructuredName.PREFIX, "\n") 85 .put(StructuredName.DISPLAY_NAME, "[<{Unescaped:Asciis}>]");
|