/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));
|
/tools/external/fat32lib/src/main/java/de/waldheinz/fs/fat/ |
FsInfoSector.java | 146 buffer.put((byte) 0x52); 147 buffer.put((byte) 0x52); 148 buffer.put((byte) 0x61); 149 buffer.put((byte) 0x41); 154 buffer.put((byte) 0x72); 155 buffer.put((byte) 0x72); 156 buffer.put((byte) 0x41); 157 buffer.put((byte) 0x61); 163 buffer.put((byte) 0x55); 164 buffer.put((byte) 0xaa) [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 | 221 map.put(entry.substring(0, index), entry.substring(index + 1)); 262 p.put("java.boot.class.path", runtime.bootClassPath()); 263 p.put("java.class.path", runtime.classPath()); 268 p.put("java.class.version", "50.0"); 269 p.put("java.compiler", ""); 270 p.put("java.ext.dirs", ""); 271 p.put("java.version", "0"); 278 p.put("java.home", javaHome); 282 p.put("java.io.tmpdir", "/tmp"); 286 p.put("java.library.path", ldLibraryPath) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/ |
MockUiProvider.java | 72 resultMap.put(inboxfolderDetailsMap.get(FolderColumns.URI).toString(), 77 resultMap.put(((Uri) accountDetailsMap.get(AccountColumns.URI)).toString(), 82 resultMap.put(secondFolderDetailsMap.get(FolderColumns.URI).toString(), 85 resultMap.put( 96 resultMap.put(inboxfolderDetailsMap.get(FolderColumns.CONVERSATION_LIST_URI).toString(), 101 resultMap.put(message0.get(MessageColumns.URI).toString(), ImmutableList.of(message0)); 102 resultMap.put(conversations.get(0).get(ConversationColumns.MESSAGE_LIST_URI).toString(), 104 resultMap.put(message0.get(MessageColumns.ATTACHMENT_LIST_URI).toString(), 108 resultMap.put(message1.get(MessageColumns.URI).toString(), ImmutableList.of(message1)); 111 resultMap.put(message1a.get(MessageColumns.URI).toString(), ImmutableList.of(message1a)) [all...] |
/packages/apps/UnifiedEmail/src/com/android/mail/providers/ |
MessageModification.java | 41 values.put(MessageColumns.SUBJECT, subject); 51 values.put(MessageColumns.TO, TextUtils.join(UIProvider.EMAIL_SEPARATOR, toAddresses)); 61 values.put(MessageColumns.CC, TextUtils.join(UIProvider.EMAIL_SEPARATOR, ccAddresses)); 71 values.put(MessageColumns.BCC, TextUtils.join(UIProvider.EMAIL_SEPARATOR, bccAddresses)); 82 values.put(MessageColumns.CUSTOM_FROM_ADDRESS, customFromAddress); 93 values.put(MessageColumns.DRAFT_TYPE, DraftType.FORWARD); 104 values.put(MessageColumns.APPEND_REF_MESSAGE_CONTENT, includeQuotedText ? 1 : 0); 114 values.put(MessageColumns.BODY_TEXT, body); 124 values.put(MessageColumns.BODY_HTML, body); 134 values.put(MessageColumns.DRAFT_TYPE, draftType) [all...] |
/external/bouncycastle/bcpkix/src/main/java/org/bouncycastle/operator/jcajce/ |
OperatorHelper.java | 51 oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.5"), "SHA1WITHRSA"); 53 // oids.put(PKCSObjectIdentifiers.sha224WithRSAEncryption, "SHA224WITHRSA"); 55 oids.put(PKCSObjectIdentifiers.sha256WithRSAEncryption, "SHA256WITHRSA"); 56 oids.put(PKCSObjectIdentifiers.sha384WithRSAEncryption, "SHA384WITHRSA"); 57 oids.put(PKCSObjectIdentifiers.sha512WithRSAEncryption, "SHA512WITHRSA"); 59 // oids.put(CryptoProObjectIdentifiers.gostR3411_94_with_gostR3410_94, "GOST3411WITHGOST3410"); 60 // oids.put(CryptoProObjectIdentifiers.gostR3411_94_with_gostR3410_2001, "GOST3411WITHECGOST3410"); 63 oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.4"), "MD5WITHRSA"); 65 // oids.put(new ASN1ObjectIdentifier("1.2.840.113549.1.1.2"), "MD2WITHRSA"); 67 oids.put(new ASN1ObjectIdentifier("1.2.840.10040.4.3"), "SHA1WITHDSA") [all...] |
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/ |
ResourceUtilsTests.java | 61 anyKeyValue.put("anyKey", "anyValue"); 85 keyValues.put(HARDWARE_KEY, "grouper"); 87 keyValues.put(HARDWARE_KEY, "mako"); 89 keyValues.put(HARDWARE_KEY, "manta"); 93 keyValues.put("hardware", "grouper"); 97 keyValues.put(HARDWARE_KEY, "MAKO"); 99 keyValues.put(HARDWARE_KEY, "mantaray"); 125 keyValues.put(HARDWARE_KEY, "grouper"); 126 keyValues.put(MODEL_KEY, "Nexus 7"); 127 keyValues.put(MANUFACTURER_KEY, "asus") [all...] |
/system/core/libutils/tests/ |
LruCache_test.cpp | 126 cache.put(1, "one"); 127 cache.put(2, "two"); 128 cache.put(3, "three"); 138 cache.put(1, "one"); 139 cache.put(2, "two"); 140 cache.put(3, "three"); 150 cache.put(1, "one"); 151 cache.put(2, "two"); 152 cache.put(3, "three"); 163 cache.put(1, "one") [all...] |
/external/guava/guava-tests/test/com/google/common/collect/ |
ImmutableListMultimapTest.java | 45 .put(Maps.immutableEntry("one", 1)) 53 builder.put(Maps.immutableEntry("one", (Integer) null)); 58 builder.put(Maps.immutableEntry((String) null, 1)); 82 builder.put(entry); 113 toPut.put("foo", 1); 114 toPut.put("bar", 4); 115 toPut.put("foo", 2); 116 toPut.put("foo", 3); 118 moreToPut.put("foo", 6); 119 moreToPut.put("bar", 5) [all...] |
SubMapMultimapAsMapImplementsMapTest.java | 43 multimap.put("a", -1); 44 multimap.put("a", -3); 45 multimap.put("z", -2); 55 multimap.put("f", 1); 56 multimap.put("f", 2); 57 multimap.put("g", 3); 58 multimap.put("h", 4);
|
AbstractMultimapTest.java | 120 multimap.put("foo", 1); 125 multimap.put("foo", 1); 126 multimap.put("bar", 5); 131 multimap.put("foo", 1); 132 multimap.put("foo", 7); 137 multimap.put("foo", 1); 138 multimap.put("bar", 5); 139 multimap.put(nullKey(), nullValue()); 140 multimap.put("foo", nullValue()); 141 multimap.put(nullKey(), 5) [all...] |
AbstractBiMapTest.java | 67 bimap.put(1, "one"); 70 bimap.put(null, null); 79 bimap.put(1, "one"); 82 bimap.put(null, null); 90 biMap.put(1, null); 99 bimap.put(1, "one"); 100 bimap.put(0, null); 101 bimap.put(null, "nothing"); 115 bimap.put(1, "one"); 116 bimap.put(2, "two") [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...] |
/libcore/luni/src/test/java/libcore/java/util/ |
TreeMapTest.java | 38 map.put("A", "a"); 39 map.put("B", "b"); 40 map.put("C", "c"); 63 map.put("A", "a"); 64 map.put("B", "b"); 65 map.put("C", "c"); 66 map.put("D", "d"); 92 map.put("A", "a"); 93 map.put("B", "b"); 94 map.put("C", "c") 208 map.subMap("a", "z").put(null, "b"); method [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");
|
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/jcajce/provider/util/ |
SecretKeyUtil.java | 18 keySizes.put(PKCSObjectIdentifiers.des_EDE3_CBC.getId(), Integers.valueOf(192)); 20 keySizes.put(NISTObjectIdentifiers.id_aes128_CBC, Integers.valueOf(128)); 21 keySizes.put(NISTObjectIdentifiers.id_aes192_CBC, Integers.valueOf(192)); 22 keySizes.put(NISTObjectIdentifiers.id_aes256_CBC, Integers.valueOf(256)); 24 keySizes.put(NTTObjectIdentifiers.id_camellia128_cbc, Integers.valueOf(128)); 25 keySizes.put(NTTObjectIdentifiers.id_camellia192_cbc, Integers.valueOf(192)); 26 keySizes.put(NTTObjectIdentifiers.id_camellia256_cbc, Integers.valueOf(256));
|
/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}>]");
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
LegacyContactsProviderTest.java | 98 values.put(People.NAME, "John Doe"); 115 values.put(People.NAME, "Deer Doe"); 119 values.put(People.NAME, "Dear Dough"); 123 values.put(People.NAME, "D.R. Dauwe"); 134 values.put(People.NAME, "John Doe"); 146 values.put(Organizations.ISPRIMARY, 1); 147 values.put(Organizations.COMPANY, "Google"); 148 values.put(Organizations.TYPE, Organizations.TYPE_WORK); 149 values.put(Organizations.PERSON_ID, personId); 154 values.put(Organizations.COMPANY, "Acme") 400 expectedResults[0].put(Phones.NUMBER_KEY, "11446640081"); method 451 expectedValues[0].put(Phones.NUMBER_KEY, "36645550081"); method 473 expectedValues[0].put(Phones.NUMBER_KEY, "1144664008"); method [all...] |
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/ |
DisplayModifier.java | 81 put("aa", new LinkedHashMap<String, DisplayModifier>() { 83 put("true", new DisplayModifier() { 89 put("false", new DisplayModifier() { 97 put("style", new LinkedHashMap<String, DisplayModifier>() { 99 put("fill", new DisplayModifier() { 105 put("stroke", new DisplayModifier() { 113 put("fillAndStroke", new DisplayModifier() { 124 put("strokeWidth", new LinkedHashMap<String, DisplayModifier>() { 126 put("hair", new DisplayModifier() { 134 put("0.3", new DisplayModifier() [all...] |
/libcore/json/src/test/java/org/json/ |
JSONArrayTest.java | 64 a.put(true); 65 a.put(false); 66 b.put(true); 67 b.put(false); 71 b.put(true); 78 array.put(true); 79 array.put(false); 80 array.put(2, false); 81 array.put(3, false); 82 array.put(2, true) [all...] |
JSONObjectTest.java | 119 object.put("foo", value); 120 object.put("bar", new Object()); 121 object.put("baz", new Object()); 129 object.put(null, value); 142 assertSame(object, object.put("foo", true)); 143 object.put("foo", false); 146 object.put("foo", 5.0d); 148 object.put("foo", 0); 150 object.put("bar", Long.MAX_VALUE - 1); 152 object.put("baz", "x") [all...] |
/packages/apps/Bluetooth/src/com/android/bluetooth/map/ |
BluetoothMapAppParams.java | 393 appParamBuf.put((byte) MAX_LIST_COUNT); 394 appParamBuf.put((byte) MAX_LIST_COUNT_LEN); 398 appParamBuf.put((byte) START_OFFSET); 399 appParamBuf.put((byte) START_OFFSET_LEN); 403 appParamBuf.put((byte) FILTER_MESSAGE_TYPE); 404 appParamBuf.put((byte) FILTER_MESSAGE_TYPE_LEN); 405 appParamBuf.put((byte) getFilterMessageType()); 408 appParamBuf.put((byte) FILTER_PERIOD_BEGIN); 409 appParamBuf.put((byte) getFilterPeriodBeginString().getBytes("UTF-8").length); 410 appParamBuf.put(getFilterPeriodBeginString().getBytes("UTF-8")) [all...] |