/frameworks/base/core/java/android/content/ |
ContentValues.java | 92 * @param key the name of the value to put 93 * @param value the data for the value to put 95 public void put(String key, String value) { method in class:ContentValues 96 mValues.put(key, value); 111 * @param key the name of the value to put 112 * @param value the data for the value to put 114 public void put(String key, Byte value) { method in class:ContentValues 115 mValues.put(key, value); 121 * @param key the name of the value to put 122 * @param value the data for the value to put 124 public void put(String key, Short value) { method in class:ContentValues 134 public void put(String key, Integer value) { method in class:ContentValues 144 public void put(String key, Long value) { method in class:ContentValues 154 public void put(String key, Float value) { method in class:ContentValues 164 public void put(String key, Double value) { method in class:ContentValues 174 public void put(String key, Boolean value) { method in class:ContentValues 184 public void put(String key, byte[] value) { method in class:ContentValues [all...] |
/packages/apps/Contacts/tests/src/com/android/contacts/util/ |
NameConverterTests.java | 35 structuredName.put(StructuredName.PREFIX, "Mr."); 36 structuredName.put(StructuredName.GIVEN_NAME, "John"); 37 structuredName.put(StructuredName.MIDDLE_NAME, "Quincy"); 38 structuredName.put(StructuredName.FAMILY_NAME, "Adams"); 39 structuredName.put(StructuredName.SUFFIX, "Esquire");
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/export/ |
ExportFieldsPart.java | 74 map.put("package", packageField); //$NON-NLS-1$ 75 map.put("projects", projectsField); //$NON-NLS-1$ 76 map.put("versionCode", versionCodeField); //$NON-NLS-1$ 77 map.put("_key.store", keyStoreField); //$NON-NLS-1$ 78 map.put("_key.alias", keyAliasField); //$NON-NLS-1$
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
BaseContactsProvider2Test.java | 203 values.put(extras[i], extras[i + 1]); 224 values.put(Groups.SOURCE_ID, sourceId); 225 values.put(Groups.TITLE, title); 226 values.put(Groups.GROUP_VISIBLE, visible); 227 values.put(Groups.AUTO_ADD, autoAdd ? 1 : 0); 228 values.put(Groups.FAVORITES, favorite ? 1 : 0); 241 values.put(Settings.ACCOUNT_NAME, account.getAccountName()); 242 values.put(Settings.ACCOUNT_TYPE, account.getAccountType()); 244 values.put(Settings.DATA_SET, account.getDataSet()); 246 values.put(Settings.SHOULD_SYNC, shouldSync) [all...] |
SearchIndexManagerTest.java | 52 values.put(StructuredName.DISPLAY_NAME, "Bob I. Parr"); 55 values.put(StructuredName.PREFIX, "Mrs."); 56 values.put(StructuredName.GIVEN_NAME, "Helen"); 57 values.put(StructuredName.MIDDLE_NAME, "I."); 58 values.put(StructuredName.FAMILY_NAME, "Parr"); 59 values.put(StructuredName.SUFFIX, "PhD"); 60 values.put(StructuredName.PHONETIC_FAMILY_NAME, "par"); 61 values.put(StructuredName.PHONETIC_GIVEN_NAME, "helen"); 77 values.put(StructuredName.DISPLAY_NAME, "\u695A\u8FAD"); // CHUCI 92 values.put(StructuredName.DISPLAY_NAME, "\u695A\u8FAD"); // CHUC [all...] |
ContactsProvider2Test.java | 631 values.put(RawContacts.ACCOUNT_NAME, "a"); 632 values.put(RawContacts.ACCOUNT_TYPE, "b"); 633 values.put(RawContacts.SOURCE_ID, "c"); 634 values.put(RawContacts.VERSION, 42); 635 values.put(RawContacts.DIRTY, 1); 636 values.put(RawContacts.DELETED, 1); 637 values.put(RawContacts.AGGREGATION_MODE, RawContacts.AGGREGATION_MODE_DISABLED); 638 values.put(RawContacts.CUSTOM_RINGTONE, "d"); 639 values.put(RawContacts.SEND_TO_VOICEMAIL, 1); 640 values.put(RawContacts.LAST_TIME_CONTACTED, 12345) [all...] |
/external/apache-harmony/auth/src/test/java/common/org/apache/harmony/auth/tests/module/ |
LdapLoginModuleTest.java | 47 options.put("userProvider", USER_PROVIDER_URL); 48 options.put("useSSL", "false"); 86 options.put("authIdentity","cn=Manager,dc=my-domain,dc=com"); 99 options.put("authIdentity","cn=Manager,dc=my-domain,dc=com"); 147 options.put("authIdentity","cn=Manager,dc=my-domain,dc=com"); 170 options.put("authIdentity","cn=Manager,dc=my-domain,dc=com"); 190 options.put("authIdentity","cn=Manager,dc=my-domain,dc=com"); 191 options.put("authzIdentity","testAuthzIdentityOption"); 207 options.put("debug", "true"); 208 options.put("useFirstPass", "true") [all...] |
/external/guava/src/com/google/common/collect/ |
ImmutableListMultimap.java | 69 builder.put(k1, v1); 79 builder.put(k1, v1); 80 builder.put(k2, v2); 91 builder.put(k1, v1); 92 builder.put(k2, v2); 93 builder.put(k3, v3); 104 builder.put(k1, v1); 105 builder.put(k2, v2); 106 builder.put(k3, v3); 107 builder.put(k4, v4) 163 @Override public Builder<K, V> put(K key, V value) { method in class:ImmutableListMultimap.Builder [all...] |
ImmutableSetMultimap.java | 71 builder.put(k1, v1); 82 builder.put(k1, v1); 83 builder.put(k2, v2); 95 builder.put(k1, v1); 96 builder.put(k2, v2); 97 builder.put(k3, v3); 109 builder.put(k1, v1); 110 builder.put(k2, v2); 111 builder.put(k3, v3); 112 builder.put(k4, v4) 185 @Override public Builder<K, V> put(K key, V value) { method in class:ImmutableSetMultimap.Builder [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
AbstractMapTest.java | 64 public Object put(Object key, Object value) { method in class:AbstractMapTest.MyMap 107 map1.put("key", value); 111 map4.put(key, value); 115 map5.put(key, value); 124 map6.put(key, value); 128 map7.put(key, value); 132 aSpecialMap.put(specialKey, specialValue); 174 public Object put(Object key, Object value) { method in class:AbstractMapTest.MyMap 175 return map.put(key, value); 192 map.put("one", "1") [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
MediaStore_Audio_PlaylistsTest.java | 77 values.put(Playlists.NAME, "My favourites"); 78 values.put(Playlists.DATA, externalPlaylistPath); 81 values.put(Playlists.DATE_MODIFIED, dateModified); 103 values.put(Playlists.NAME, "xxx"); 105 values.put(Playlists.DATE_MODIFIED, dateModified); 123 values.put(Playlists.NAME, "My favourites"); 124 values.put(Playlists.DATA, "/data/data/com.android.cts.stub/files/my_favorites.pl"); 126 values.put(Playlists.DATE_ADDED, dateAdded); 128 values.put(Playlists.DATE_MODIFIED, dateModified);
|
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/signers/ |
RSADigestSigner.java | 39 oidMap.put("RIPEMD128", TeleTrusTObjectIdentifiers.ripemd128); 40 oidMap.put("RIPEMD160", TeleTrusTObjectIdentifiers.ripemd160); 41 oidMap.put("RIPEMD256", TeleTrusTObjectIdentifiers.ripemd256); 43 oidMap.put("SHA-1", X509ObjectIdentifiers.id_SHA1); 44 oidMap.put("SHA-224", NISTObjectIdentifiers.id_sha224); 45 oidMap.put("SHA-256", NISTObjectIdentifiers.id_sha256); 46 oidMap.put("SHA-384", NISTObjectIdentifiers.id_sha384); 47 oidMap.put("SHA-512", NISTObjectIdentifiers.id_sha512); 50 // oidMap.put("MD2", PKCSObjectIdentifiers.md2); 51 // oidMap.put("MD4", PKCSObjectIdentifiers.md4) [all...] |
/frameworks/base/core/java/android/provider/ |
SyncStateContract.java | 106 values.put(Columns.DATA, data); 107 values.put(Columns.ACCOUNT_NAME, account.name); 108 values.put(Columns.ACCOUNT_TYPE, account.type); 115 values.put(Columns.DATA, data); 116 values.put(Columns.ACCOUNT_NAME, account.name); 117 values.put(Columns.ACCOUNT_TYPE, account.type); 124 values.put(Columns.DATA, data); 161 values.put(Columns.DATA, data); 180 values.put(Columns.DATA, data);
|
/frameworks/base/core/java/com/google/android/mms/pdu/ |
PduPart.java | 193 mPartHeader.put(P_CONTENT_ID, contentId); 202 mPartHeader.put(P_CONTENT_ID, buffer); 220 mPartHeader.put(P_CHARSET, charset); 248 mPartHeader.put(P_CONTENT_LOCATION, contentLocation); 277 mPartHeader.put(P_CONTENT_DISPOSITION, contentDisposition); 300 mPartHeader.put(P_CONTENT_TYPE, contentType); 323 mPartHeader.put(P_CONTENT_TRANSFER_ENCODING, contentTransferEncoding); 346 mPartHeader.put(P_NAME, name); 369 mPartHeader.put(P_FILENAME, fileName);
|
/libcore/luni/src/main/java/java/lang/reflect/ |
AccessibleObject.java | 65 trans.put("byte", "B"); 66 trans.put("char", "C"); 67 trans.put("short", "S"); 68 trans.put("int", "I"); 69 trans.put("long", "J"); 70 trans.put("float", "F"); 71 trans.put("double", "D"); 72 trans.put("void", "V"); 73 trans.put("boolean", "Z");
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldTreeMapTest.java | 96 reversedTreeMap.put(new Integer(1).toString(), new Integer(1)); 97 reversedTreeMap.put(new Integer(2).toString(), new Integer(2)); 115 hm.put(new Integer(1), "one"); 116 hm.put("one", new Integer(1)); 137 reversedTreeMap.put(new Integer(1).toString(), new Integer(1)); 138 reversedTreeMap.put(new Integer(2).toString(), new Integer(2)); 192 tm.put("Hello", o); 243 map.put(1, 2.1); 244 map.put(2, 3.1); 245 map.put(3, 4.5) [all...] |
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
CalendarSyncTestingBase.java | 108 m.put(CalendarContract.Events.CALENDAR_ID, calendarId); 109 m.put(CalendarContract.Events.TITLE, event.mTitle); 110 m.put(CalendarContract.Events.DTSTART, event.mDtstart); 111 m.put(CalendarContract.Events.ALL_DAY, event.mAllDay ? 1 : 0); 115 m.put(CalendarContract.Events.DTEND, event.mDtend); 118 m.put(CalendarContract.Events.RRULE, event.mRrule); 119 m.put(CalendarContract.Events.DURATION, event.mDuration); 123 m.put(CalendarContract.Events.DESCRIPTION, event.mDescription); 126 m.put(CalendarContract.Events.EVENT_TIMEZONE, event.mTimezone); 142 values.put(CalendarContract.Events.TITLE, event.mTitle) [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/ |
ExtractIncludeRefactoringTest.java | 73 extraFiles.put(getTestDataFile(getProject(), "sample3-variation1.xml", 76 extraFiles.put(getTestDataFile(getProject(), "sample3-variation2.xml", 89 extraFiles.put(getTestDataFile(getProject(), "sample3-variation1.xml", 92 extraFiles.put(getTestDataFile(getProject(), "sample3-variation2.xml", 106 extraFiles.put(getTestDataFile(getProject(), "sample1a.xml", 109 extraFiles.put(getTestDataFile(getProject(), "sample7.xml", "res/layout/sample7.xml") 111 extraFiles.put(getTestDataFile(getProject(), "sample8.xml", "res/layout/sample8.xml") 153 fileToGolden.put(sourcePath, basename); 155 fileToGolden.put(newPath, layoutName + DOT_XML);
|
/external/apache-harmony/security/src/test/support/common/java/org/apache/harmony/security/tests/support/ |
MDGoldenData.java | 53 goldenData.put("SHA-1", new byte[] { 62 goldenData.put("SHA-1_NU", new byte[] { 70 goldenData.put("SHA", goldenData.get("SHA-1")); 71 goldenData.put("SHA_NU", goldenData.get("SHA-1_NU")); 73 goldenData.put("SHA1", goldenData.get("SHA-1")); 74 goldenData.put("SHA1_NU", goldenData.get("SHA-1_NU")); 76 goldenData.put("SHA-256", new byte[] { 86 goldenData.put("SHA-256_NU", new byte[] { 96 goldenData.put("SHA-384", new byte[] { 110 goldenData.put("SHA-384_NU", new byte[] [all...] |
/libcore/support/src/test/java/org/apache/harmony/security/tests/support/ |
MDGoldenData.java | 54 goldenData.put("SHA-1", new byte[] { 63 goldenData.put("SHA-1_NU", new byte[] { 71 goldenData.put("SHA", goldenData.get("SHA-1")); 72 goldenData.put("SHA_NU", goldenData.get("SHA-1_NU")); 74 goldenData.put("SHA1", goldenData.get("SHA-1")); 75 goldenData.put("SHA1_NU", goldenData.get("SHA-1_NU")); 77 goldenData.put("SHA-256", new byte[] { 87 goldenData.put("SHA-256_NU", new byte[] { 97 goldenData.put("SHA-384", new byte[] { 111 goldenData.put("SHA-384_NU", new byte[] [all...] |
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
CallLogProvider.java | 69 sCallsProjectionMap.put(Calls._ID, Calls._ID); 70 sCallsProjectionMap.put(Calls.NUMBER, Calls.NUMBER); 71 sCallsProjectionMap.put(Calls.DATE, Calls.DATE); 72 sCallsProjectionMap.put(Calls.DURATION, Calls.DURATION); 73 sCallsProjectionMap.put(Calls.TYPE, Calls.TYPE); 74 sCallsProjectionMap.put(Calls.NEW, Calls.NEW); 75 sCallsProjectionMap.put(Calls.VOICEMAIL_URI, Calls.VOICEMAIL_URI); 76 sCallsProjectionMap.put(Calls.IS_READ, Calls.IS_READ); 77 sCallsProjectionMap.put(Calls.CACHED_NAME, Calls.CACHED_NAME); 78 sCallsProjectionMap.put(Calls.CACHED_NUMBER_TYPE, Calls.CACHED_NUMBER_TYPE) [all...] |
/cts/tools/host/src/com/android/cts/ |
CtsTestResult.java | 53 sCodeToResultMap.put(CODE_NOT_EXECUTED, STR_NOT_EXECUTED); 54 sCodeToResultMap.put(CODE_PASS, STR_PASS); 55 sCodeToResultMap.put(CODE_FAIL, STR_FAIL); 56 sCodeToResultMap.put(CODE_ERROR, STR_ERROR); 57 sCodeToResultMap.put(CODE_TIMEOUT, STR_TIMEOUT); 60 sResultToCodeMap.put(sCodeToResultMap.get(code), code);
|
/libcore/luni/src/test/java/libcore/java/util/logging/ |
OldMemoryHandlerTest.java | 61 props.put("java.util.logging.MemoryHandler.level", "FINE"); 62 props.put("java.util.logging.MemoryHandler.filter", baseClassName + "$MockFilter"); 63 props.put("java.util.logging.MemoryHandler.size", "2"); 64 props.put("java.util.logging.MemoryHandler.push", "WARNING"); 65 props.put("java.util.logging.MemoryHandler.target", baseClassName + "$MockHandler"); 66 props.put("java.util.logging.MemoryHandler.formatter", baseClassName + "$MockFormatter");
|
/libcore/luni/src/test/java/tests/targets/security/ |
SignatureTestMD2withRSA.java | 116 put("Signature.MD2WithRSAEncryption", 118 put("Alg.Alias.Signature.MD2WITHRSAENCRYPTION", 120 put("Alg.Alias.Signature.MD2WithRSA", "MD2WithRSAEncryption"); 121 put("Alg.Alias.Signature.MD2withRSA", "MD2WithRSAEncryption"); 122 put("Alg.Alias.Signature.MD2/RSA", "MD2WithRSAEncryption"); 123 put("Alg.Alias.Signature.1.2.840.113549.1.1.2",
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/ |
MockSharedPreferences.java | 101 mTempValues.put(key, Boolean.valueOf(value)); 106 mTempValues.put(key, value); 111 mTempValues.put(key, value); 116 mTempValues.put(key, value); 121 mTempValues.put(key, value); 126 mTempValues.put(key, values);
|