/libcore/luni/src/main/java/java/net/ |
AddressCache.java | 87 public void put(String hostname, InetAddress[] addresses) { method in class:AddressCache 88 put(hostname, addresses, true); method 95 public void put(String hostname, String detailMessage) { method in class:AddressCache 96 put(hostname, detailMessage, false); method 103 public void put(String hostname, Object value, boolean isPositive) { method in class:AddressCache 109 cache.put(hostname, new AddressCacheEntry(value, expiryNanos)); 117 put(hostname, detailMessage); method
|
/packages/apps/Email/tests/src/com/android/emailcommon/mail/ |
PackedStringTests.java | 53 b.put("tag1", "value1"); 54 b.put("tag2", "value2"); 55 b.put("tag3", "value3"); 56 b.put("tag4", "value4"); 80 b.put("tag2", "TWO"); // edit 81 b.put("tag3", null); // delete 82 b.put("tag5", "value5"); // add
|
/external/srec/shared/src/ |
SessionTypeImpl.c | 1171 CHKLOG(rc, parameterList->put(parameterList, "cmdline.arbfile", &PLChar)); 1172 CHKLOG(rc, parameterList->put(parameterList, "cmdline.bgsniff", &Size_t)); 1173 CHKLOG(rc, parameterList->put(parameterList, "cmdline.channel", &PLChar)); 1174 CHKLOG(rc, parameterList->put(parameterList, "cmdline.datapath", &PLChar)); 1175 CHKLOG(rc, parameterList->put(parameterList, "cmdline.DataCaptureDirectory", &PLChar)); 1176 CHKLOG(rc, parameterList->put(parameterList, "cmdline.detail_res", &PLChar)); 1177 CHKLOG(rc, parameterList->put(parameterList, "cmdline.lda", &PLChar)); 1178 CHKLOG(rc, parameterList->put(parameterList, "cmdline.modelfiles", &PLChar)); 1179 CHKLOG(rc, parameterList->put(parameterList, "cmdline.modelfiles11", &PLChar)); 1180 CHKLOG(rc, parameterList->put(parameterList, "cmdline.modelfiles8", &PLChar)) [all...] |
/external/apache-harmony/luni/src/test/api/common/org/apache/harmony/luni/tests/java/util/ |
EnumMapTest.java | 104 assertNull("Return non-null for non mapped key", enumColorMap.put( //$NON-NLS-1$ 111 enumEmptyMap.put(Color.Red, 2); 118 assertNull("Return non-null for non mapped key", enumSizeMap.put( //$NON-NLS-1$ 123 enumSizeMap.put(Color.Red, 2); 130 assertNull("Return non-null for non mapped key", enumSizeMap.put( //$NON-NLS-1$ 135 enumSizeMap.put(Color.Red, 2); 158 enumColorMap.put(Color.Green, 2); 159 enumColorMap.put(Color.Blue, double1); 165 enumMap.put(Color.Red, 1); 169 enumMap.put(Size.Middle, 2) [all...] |
/libcore/luni/src/test/java/tests/api/java/util/ |
EnumMapTest.java | 106 assertNull("Return non-null for non mapped key", enumColorMap.put( 113 enumEmptyMap.put(Color.Red, 2); 120 assertNull("Return non-null for non mapped key", enumSizeMap.put( 125 enumSizeMap.put(Color.Red, 2); 132 assertNull("Return non-null for non mapped key", enumSizeMap.put( 137 enumSizeMap.put(Color.Red, 2); 160 enumColorMap.put(Color.Green, 2); 161 enumColorMap.put(Color.Blue, double1); 167 enumMap.put(Color.Red, 1); 171 enumMap.put(Size.Middle, 2) [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
GyroscopeTestActivity.java | 268 mVertexBuffer.put(coordinates[i]); 276 mIndexBuffer.put((short) 0); 277 mIndexBuffer.put((short) 1); 278 mIndexBuffer.put((short) 2); 279 mIndexBuffer.put((short) 0); 280 mIndexBuffer.put((short) 2); 281 mIndexBuffer.put((short) 3); 284 mIndexBuffer.put((short) 7); 285 mIndexBuffer.put((short) 6); 286 mIndexBuffer.put((short) 5) [all...] |
AccelerometerTestRenderer.java | 100 mFVertexBuffer.put(coords[i * 3 + j] * 2.0f); 106 mTexBuffer.put(coords[i * 3 + j] * 2.0f + 0.5f); 111 mIndexBuffer.put((short) 0); 112 mIndexBuffer.put((short) 1); 113 mIndexBuffer.put((short) 2); 116 mIndexBuffer.put((short) 5); 117 mIndexBuffer.put((short) 4); 118 mIndexBuffer.put((short) 3); 121 mIndexBuffer.put((short) 2); 122 mIndexBuffer.put((short) 5) [all...] |
/external/apache-xml/src/main/java/org/apache/xpath/compiler/ |
FunctionTable.java | 232 m_functionID.put(Keywords.FUNC_CURRENT_STRING, 234 m_functionID.put(Keywords.FUNC_LAST_STRING, 236 m_functionID.put(Keywords.FUNC_POSITION_STRING, 238 m_functionID.put(Keywords.FUNC_COUNT_STRING, 240 m_functionID.put(Keywords.FUNC_ID_STRING, 242 m_functionID.put(Keywords.FUNC_KEY_STRING, 244 m_functionID.put(Keywords.FUNC_LOCAL_PART_STRING, 246 m_functionID.put(Keywords.FUNC_NAMESPACE_STRING, 248 m_functionID.put(Keywords.FUNC_NAME_STRING, 250 m_functionID.put(Keywords.FUNC_GENERATE_ID_STRING [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/asn1/x509/ |
X509Name.java | 259 DefaultSymbols.put(C, "C"); 260 DefaultSymbols.put(O, "O"); 261 DefaultSymbols.put(T, "T"); 262 DefaultSymbols.put(OU, "OU"); 263 DefaultSymbols.put(CN, "CN"); 264 DefaultSymbols.put(L, "L"); 265 DefaultSymbols.put(ST, "ST"); 266 DefaultSymbols.put(SN, "SERIALNUMBER"); 267 DefaultSymbols.put(EmailAddress, "E"); 268 DefaultSymbols.put(DC, "DC") [all...] |
/development/tools/apkcheck/src/com/android/apkcheck/ |
TypeUtils.java | 32 sQuickConvert.put("boolean", "Z"); 33 sQuickConvert.put("byte", "B"); 34 sQuickConvert.put("char", "C"); 35 sQuickConvert.put("short", "S"); 36 sQuickConvert.put("int", "I"); 37 sQuickConvert.put("float", "F"); 38 sQuickConvert.put("long", "J"); 39 sQuickConvert.put("double", "D"); 40 sQuickConvert.put("void", "V"); 41 sQuickConvert.put("java.lang.Object", "Ljava/lang/Object;") [all...] |
/external/bouncycastle/src/main/java/org/bouncycastle/crypto/macs/ |
HMac.java | 35 blockLengths.put("GOST3411", Integer.valueOf(32)); 37 blockLengths.put("MD2", Integer.valueOf(16)); 38 blockLengths.put("MD4", Integer.valueOf(64)); 39 blockLengths.put("MD5", Integer.valueOf(64)); 41 blockLengths.put("RIPEMD128", Integer.valueOf(64)); 42 blockLengths.put("RIPEMD160", Integer.valueOf(64)); 44 blockLengths.put("SHA-1", Integer.valueOf(64)); 45 blockLengths.put("SHA-224", Integer.valueOf(64)); 46 blockLengths.put("SHA-256", Integer.valueOf(64)); 47 blockLengths.put("SHA-384", Integer.valueOf(128)) [all...] |
/development/tools/glesv2debugger/src/com/android/glesv2debugger/ |
GLServerState.java | 54 enableDisables.put(GLEnum.GL_BLEND.value, 0); 55 enableDisables.put(GLEnum.GL_DITHER.value, 1); 56 enableDisables.put(GLEnum.GL_DEPTH_TEST.value, 0); 57 enableDisables.put(GLEnum.GL_STENCIL_TEST.value, 0); 58 enableDisables.put(GLEnum.GL_SCISSOR_TEST.value, 0); 59 enableDisables.put(GLEnum.GL_SAMPLE_COVERAGE.value, 0); 60 enableDisables.put(GLEnum.GL_SAMPLE_ALPHA_TO_COVERAGE.value, 0); 61 enableDisables.put(GLEnum.GL_POLYGON_OFFSET_FILL.value, 0); 62 enableDisables.put(GLEnum.GL_CULL_FACE.value, 0); 63 // enableDisables.put(GLEnum.GL_TEXTURE_2D.value, 1) [all...] |
/libcore/support/src/test/java/tests/support/ |
Support_GetPutFields.java | 122 putField.put("booleanValue", booleanValue); 123 putField.put("byteValue", byteValue); 124 putField.put("charValue", charValue); 125 putField.put("doubleValue", doubleValue); 126 putField.put("floatValue", floatValue); 127 putField.put("longValue", longValue); 128 putField.put("intValue", intValue); 129 putField.put("objectValue", objectValue); 130 putField.put("shortValue", shortValue);
|
Support_GetPutFieldsDeprecated.java | 123 putField.put("booleanValue", booleanValue); 124 putField.put("byteValue", byteValue); 125 putField.put("charValue", charValue); 126 putField.put("doubleValue", doubleValue); 127 putField.put("floatValue", floatValue); 128 putField.put("longValue", longValue); 129 putField.put("intValue", intValue); 130 putField.put("objectValue", objectValue); 131 putField.put("shortValue", shortValue);
|
/packages/apps/Email/src/com/beetstra/jutf7/ |
UTF7StyleCharsetEncoder.java | 110 out.put(base64.getChar(sextet));
111 out.put(unshift);
151 out.put((byte)ch);
153 out.put(shift);
154 out.put(unshift);
184 out.put(base64.getChar(sextet));
186 out.put(unshift);
205 out.put(shift);
212 out.put(base64.getChar(sextet));
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
RecurrenceSetTest.java | 108 values.put(CalendarContract.Events.DTSTART, 0); 109 values.put(CalendarContract.Events.DURATION, "P3600S"); 110 values.put(CalendarContract.Events.RRULE, RRULE_LESS_THAN_75_CHARS); 124 values.put(CalendarContract.Events.DTSTART, 0); 125 values.put(CalendarContract.Events.DURATION, "P3600S"); 126 values.put(CalendarContract.Events.RRULE, RRULE_MORE_THAN_75_CHARS); 137 values.put(CalendarContract.Events.DTSTART, 0); 138 values.put(CalendarContract.Events.DURATION, "P3600S"); 139 values.put(CalendarContract.Events.RRULE, STRING_WITH_160_CHARS);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.gldebugger/src/com/android/ide/eclipse/gldebugger/ |
GLServerState.java | 54 enableDisables.put(GLEnum.GL_BLEND.value, 0); 55 enableDisables.put(GLEnum.GL_DITHER.value, 1); 56 enableDisables.put(GLEnum.GL_DEPTH_TEST.value, 0); 57 enableDisables.put(GLEnum.GL_STENCIL_TEST.value, 0); 58 enableDisables.put(GLEnum.GL_SCISSOR_TEST.value, 0); 59 enableDisables.put(GLEnum.GL_SAMPLE_COVERAGE.value, 0); 60 enableDisables.put(GLEnum.GL_SAMPLE_ALPHA_TO_COVERAGE.value, 0); 61 enableDisables.put(GLEnum.GL_POLYGON_OFFSET_FILL.value, 0); 62 enableDisables.put(GLEnum.GL_CULL_FACE.value, 0); 63 // enableDisables.put(GLEnum.GL_TEXTURE_2D.value, 1) [all...] |
/external/apache-harmony/security/src/test/impl/java.injected/java/security/ |
Provider_ImplTest.java | 54 hm.put("KeySize", "1024"); 55 hm.put("AAA", "BBB"); 90 put("MessageDigest.SHA-1", "SomeClassName"); 91 put("MessageDigest.abc", "SomeClassName"); 92 put("Alg.Alias.MessageDigest.SHA1", "SHA-1");
|
/external/apache-harmony/sql/src/test/java/org/apache/harmony/sql/tests/java/sql/ |
ConnectionTest.java | 34 thePublicStatics.put("TRANSACTION_SERIALIZABLE", new Integer(8)); 35 thePublicStatics.put("TRANSACTION_REPEATABLE_READ", new Integer(4)); 36 thePublicStatics.put("TRANSACTION_READ_COMMITTED", new Integer(2)); 37 thePublicStatics.put("TRANSACTION_READ_UNCOMMITTED", new Integer(1)); 38 thePublicStatics.put("TRANSACTION_NONE", new Integer(0));
|
/libcore/luni/src/main/java/java/nio/ |
ReadOnlyCharArrayBuffer.java | 83 public CharBuffer put(char c) { method in class:ReadOnlyCharArrayBuffer 88 public CharBuffer put(int index, char c) { method in class:ReadOnlyCharArrayBuffer 93 public final CharBuffer put(char[] src, int srcOffset, int charCount) { method in class:ReadOnlyCharArrayBuffer 98 public final CharBuffer put(CharBuffer src) { method in class:ReadOnlyCharArrayBuffer 103 public CharBuffer put(String src, int start, int end) { method in class:ReadOnlyCharArrayBuffer
|
/packages/apps/Exchange/src/com/android/exchange/provider/ |
GalResult.java | 71 put(ID, Long.toString(id)); method 73 put(DISPLAY_NAME, _displayName); method 75 put(EMAIL_ADDRESS, _emailAddress); method 86 public void put(String field, String value) { method in class:GalResult.GalData 87 builder.put(field, value);
|
/external/tagsoup/src/org/ccil/cowan/tagsoup/ |
CommandLine.java | 34 options.put("--nocdata", Boolean.FALSE); // CDATA elements are normal 35 options.put("--files", Boolean.FALSE); // process arguments as separate files 36 options.put("--reuse", Boolean.FALSE); // reuse a single Parser 37 options.put("--nons", Boolean.FALSE); // no namespaces 38 options.put("--nobogons", Boolean.FALSE); // suppress unknown elements 39 options.put("--any", Boolean.FALSE); // unknowns have ANY content model 40 options.put("--emptybogons", Boolean.FALSE); // unknowns have EMPTY content model 41 options.put("--norootbogons", Boolean.FALSE); // unknowns can't be the root 42 options.put("--pyxin", Boolean.FALSE); // input is PYX 43 options.put("--lexical", Boolean.FALSE); // output comment [all...] |
/cts/tests/tests/drm/src/android/drm/cts/configs/ |
FwdLockConfig.java | 61 sInfoOfRegistration.put("Dummy-FwdLock-1", "Dummy-FwdLock-1"); 63 sInfoOfUnregistration.put("Dummy-FwdLock-2", "Dummy-FwdLock-2"); 65 sInfoOfRightsAcquisition.put("Dummy-FwdLock-3", "Dummy-FwdLock-3");
|
PassthruConfig.java | 59 sInfoOfRegistration.put("Foo-1", "foo-1"); 61 sInfoOfUnregistration.put("Foo-2", "foo-2"); 63 sInfoOfRightsAcquisition.put("Foo-3", "foo-3");
|
/libcore/luni/src/test/java/libcore/java/util/ |
OldLinkedHashMapTest.java | 31 map.put("key1", "value1"); 32 map.put("key2", "value2"); 33 map.put("key3", "value3");
|