Home
last modified time | relevance | path

Searched refs:put (Results 1 – 25 of 724) sorted by relevance

12345678910>>...29

/frameworks/opt/vcard/java/com/android/vcard/
DJapaneseUtils.java30 sHalfWidthMap.put('\u3001', "\uFF64");
31 sHalfWidthMap.put('\u3002', "\uFF61");
32 sHalfWidthMap.put('\u300C', "\uFF62");
33 sHalfWidthMap.put('\u300D', "\uFF63");
34 sHalfWidthMap.put('\u301C', "~");
35 sHalfWidthMap.put('\u3041', "\uFF67");
36 sHalfWidthMap.put('\u3042', "\uFF71");
37 sHalfWidthMap.put('\u3043', "\uFF68");
38 sHalfWidthMap.put('\u3044', "\uFF72");
39 sHalfWidthMap.put('\u3045', "\uFF69");
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWspTypeDecoder.java44 WELL_KNOWN_MIME_TYPES.put(0x00, "*/*");
45 WELL_KNOWN_MIME_TYPES.put(0x01, "text/*");
46 WELL_KNOWN_MIME_TYPES.put(0x02, "text/html");
47 WELL_KNOWN_MIME_TYPES.put(0x03, "text/plain");
48 WELL_KNOWN_MIME_TYPES.put(0x04, "text/x-hdml");
49 WELL_KNOWN_MIME_TYPES.put(0x05, "text/x-ttml");
50 WELL_KNOWN_MIME_TYPES.put(0x06, "text/x-vCalendar");
51 WELL_KNOWN_MIME_TYPES.put(0x07, "text/x-vCard");
52 WELL_KNOWN_MIME_TYPES.put(0x08, "text/vnd.wap.wml");
53 WELL_KNOWN_MIME_TYPES.put(0x09, "text/vnd.wap.wmlscript");
[all …]
/frameworks/native/opengl/tools/glgen/src/
DJType.java31 typeMapping.put(new CType("GLbitfield"), new JType("int")); in typeMapping.put()
32 typeMapping.put(new CType("GLboolean"), new JType("boolean")); in typeMapping.put()
33 typeMapping.put(new CType("GLclampf"), new JType("float")); in typeMapping.put()
34 typeMapping.put(new CType("GLclampx"), new JType("int")); in typeMapping.put()
35 typeMapping.put(new CType("GLenum"), new JType("int")); in typeMapping.put()
36 typeMapping.put(new CType("GLfloat"), new JType("float")); in typeMapping.put()
37 typeMapping.put(new CType("GLfixed"), new JType("int")); in typeMapping.put()
38 typeMapping.put(new CType("GLint"), new JType("int")); in typeMapping.put()
39 typeMapping.put(new CType("GLintptr"), new JType("int")); in typeMapping.put()
40 typeMapping.put(new CType("GLshort"), new JType("short")); in typeMapping.put()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/
DVCardImporterTests.java421 .put(StructuredName.FAMILY_NAME, "Ando") in testV21SimpleCase1_Type_Generic()
422 .put(StructuredName.GIVEN_NAME, "Roid") in testV21SimpleCase1_Type_Generic()
423 .put(StructuredName.DISPLAY_NAME, "Roid Ando"); in testV21SimpleCase1_Type_Generic()
430 .put(StructuredName.FAMILY_NAME, "Ando") in testV21SimpleCase1_Type_Japanese()
431 .put(StructuredName.GIVEN_NAME, "Roid") in testV21SimpleCase1_Type_Japanese()
435 .put(StructuredName.DISPLAY_NAME, "Roid Ando"); in testV21SimpleCase1_Type_Japanese()
442 .put(StructuredName.DISPLAY_NAME, "Ando Roid"); in testV21SimpleCase2()
449 .put(StructuredName.FAMILY_NAME, "Ando") in testV21SimpleCase3()
450 .put(StructuredName.GIVEN_NAME, "Roid") in testV21SimpleCase3()
453 .put(StructuredName.DISPLAY_NAME, "Ando Roid"); in testV21SimpleCase3()
[all …]
DVCardExporterTests.java54 .put(StructuredName.FAMILY_NAME, "Ando") in testSimpleV21()
55 .put(StructuredName.GIVEN_NAME, "Roid"); in testSimpleV21()
65 .put(StructuredName.FAMILY_NAME, "AppropriateFamilyName") in testStructuredNameBasic()
66 .put(StructuredName.GIVEN_NAME, "AppropriateGivenName") in testStructuredNameBasic()
67 .put(StructuredName.MIDDLE_NAME, "AppropriateMiddleName") in testStructuredNameBasic()
68 .put(StructuredName.PREFIX, "AppropriatePrefix") in testStructuredNameBasic()
69 .put(StructuredName.SUFFIX, "AppropriateSuffix") in testStructuredNameBasic()
70 .put(StructuredName.DISPLAY_NAME, "DISPLAY NAME"); in testStructuredNameBasic()
103 .put(StructuredName.FAMILY_NAME, "DoNotEmitFamilyName1") in testStructuredNameUsePrimaryCommon()
104 .put(StructuredName.GIVEN_NAME, "DoNotEmitGivenName1") in testStructuredNameUsePrimaryCommon()
[all …]
DVCardJapanizationTests.java39 .put(StructuredName.FAMILY_NAME, "\u3075\u308B\u3069") in testNameUtf8Common()
40 .put(StructuredName.GIVEN_NAME, "\u3091\u308A\u304B") in testNameUtf8Common()
41 .put(StructuredName.MIDDLE_NAME, "B") in testNameUtf8Common()
42 .put(StructuredName.PREFIX, "Dr.") in testNameUtf8Common()
43 .put(StructuredName.SUFFIX, "Ph.D"); in testNameUtf8Common()
67 .put(StructuredName.FAMILY_NAME, "\u3075\u308B\u3069") in testNameShiftJis()
68 .put(StructuredName.GIVEN_NAME, "\u3091\u308A\u304B") in testNameShiftJis()
69 .put(StructuredName.MIDDLE_NAME, "B") in testNameShiftJis()
70 .put(StructuredName.PREFIX, "Dr.") in testNameShiftJis()
71 .put(StructuredName.SUFFIX, "Ph.D"); in testNameShiftJis()
[all …]
DVCardTestUtilsTests.java61 .put(StructuredName.GIVEN_NAME, "A;B\\") in testShouldFailAtContentValueVerification()
62 .put(StructuredName.MIDDLE_NAME, "C\\;") in testShouldFailAtContentValueVerification()
63 .put(StructuredName.PREFIX, "D") in testShouldFailAtContentValueVerification()
64 .put(StructuredName.SUFFIX, ":E"); in testShouldFailAtContentValueVerification()
81 .put(StructuredName.FAMILY_NAME, "\\") in testShouldFailAtLineVerification()
82 .put(StructuredName.GIVEN_NAME, ";") in testShouldFailAtLineVerification()
83 .put(StructuredName.MIDDLE_NAME, ",") in testShouldFailAtLineVerification()
84 .put(StructuredName.PREFIX, "\n") in testShouldFailAtLineVerification()
85 .put(StructuredName.DISPLAY_NAME, "[<{Unescaped:Asciis}>]"); in testShouldFailAtLineVerification()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DSignalToneUtil.java110 mHm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, in signalParamHash()
113 mHm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, in signalParamHash()
117 mHm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, in signalParamHash()
120 mHm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, in signalParamHash()
123 mHm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, in signalParamHash()
126 mHm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, in signalParamHash()
129 mHm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, in signalParamHash()
132 mHm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, in signalParamHash()
135 mHm.put(signalParamHash(IS95_CONST_IR_SIGNAL_ISDN, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, in signalParamHash()
140 mHm.put(signalParamHash(IS95_CONST_IR_SIGNAL_TONE, TAPIAMSSCDMA_SIGNAL_PITCH_UNKNOWN, in signalParamHash()
[all …]
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DWap230WspContentTypeTest.java38 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/base/core/tests/coretests/src/android/util/
DLruCacheTest.java37 assertEquals(null, cache.put("a", "A")); in testStatistics()
43 assertEquals(null, cache.put("b", "B")); in testStatistics()
50 assertEquals(null, cache.put("c", "C")); in testStatistics()
58 assertEquals(null, cache.put("d", "D")); in testStatistics()
70 assertEquals(null, cache.put("e", "E")); in testStatistics()
114 cache.put("aa", "put-aa"); in testNoCreateOnCacheHit()
129 cache.put(null, "A"); in testCannotPutNullKey()
138 cache.put("a", null); in testCannotPutNullValue()
148 cache.put("a", "A"); in testToString()
149 cache.put("b", "B"); in testToString()
[all …]
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
DUsbHid.java46 buffer.put(new byte[] { in generateDescriptor()
92 buffer.put(collection); in generateDescriptor()
94 buffer.put(new byte[] { in generateDescriptor()
102 buffer.put((byte)mReportId); in generateReport()
104 buffer.put((byte)contactCount); in generateReport()
109 buffer.put((byte)((contact.id << 2) | 0x03)); in generateReport()
111 buffer.put((byte)contact.x).put((byte)(contact.x >> 8)); in generateReport()
113 buffer.put((byte)contact.y).put((byte)(contact.y >> 8)); in generateReport()
116 buffer.put((byte)0).put((byte)0).put((byte)0).put((byte)0).put((byte)0); in generateReport()
/frameworks/base/core/java/android/text/method/
DQwertyKeyListener.java434 PICKER_SETS.put('A', "\u00C0\u00C1\u00C2\u00C4\u00C6\u00C3\u00C5\u0104\u0100");
435 PICKER_SETS.put('C', "\u00C7\u0106\u010C");
436 PICKER_SETS.put('D', "\u010E");
437 PICKER_SETS.put('E', "\u00C8\u00C9\u00CA\u00CB\u0118\u011A\u0112");
438 PICKER_SETS.put('G', "\u011E");
439 PICKER_SETS.put('L', "\u0141");
440 PICKER_SETS.put('I', "\u00CC\u00CD\u00CE\u00CF\u012A\u0130");
441 PICKER_SETS.put('N', "\u00D1\u0143\u0147");
442 PICKER_SETS.put('O', "\u00D8\u0152\u00D5\u00D2\u00D3\u00D4\u00D6\u014C");
443 PICKER_SETS.put('R', "\u0158");
[all …]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
DDisplayModifier.java81 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 …]
/frameworks/volley/tests/src/com/android/volley/toolbox/
DHttpHeaderParserTest.java59 headers.put("MyCustomHeader", "42"); in testParseCacheHeaders_headersSet()
70 headers.put("ETag", "Yow!"); in testParseCacheHeaders_etag()
80 headers.put("Date", rfc1123Date(now)); in testParseCacheHeaders_normalExpire()
81 headers.put("Expires", rfc1123Date(now + ONE_HOUR_MILLIS)); in testParseCacheHeaders_normalExpire()
94 headers.put("Date", rfc1123Date(now)); in testParseCacheHeaders_expiresInPast()
95 headers.put("Expires", rfc1123Date(now - ONE_HOUR_MILLIS)); in testParseCacheHeaders_expiresInPast()
110 headers.put("Date", rfc1123Date(now + ONE_HOUR_MILLIS)); in testParseCacheHeaders_serverRelative()
112 headers.put("Expires", rfc1123Date(now + 4 * ONE_HOUR_MILLIS)); in testParseCacheHeaders_serverRelative()
122 headers.put("Date", rfc1123Date(now)); in testParseCacheHeaders_cacheControlOverridesExpires()
123 headers.put("Expires", rfc1123Date(now + ONE_HOUR_MILLIS)); in testParseCacheHeaders_cacheControlOverridesExpires()
[all …]
/frameworks/base/graphics/java/android/graphics/
DColor.java398 sColorNameMap.put("black", BLACK);
399 sColorNameMap.put("darkgray", DKGRAY);
400 sColorNameMap.put("gray", GRAY);
401 sColorNameMap.put("lightgray", LTGRAY);
402 sColorNameMap.put("white", WHITE);
403 sColorNameMap.put("red", RED);
404 sColorNameMap.put("green", GREEN);
405 sColorNameMap.put("blue", BLUE);
406 sColorNameMap.put("yellow", YELLOW);
407 sColorNameMap.put("cyan", CYAN);
[all …]
/frameworks/ex/common/tests/src/com/android/common/
DRfc822ValidatorTest.java49 fixes.put("a", "<a@gmail.com>"); in testEmailValidator()
50 fixes.put("a b", "<ab@gmail.com>"); in testEmailValidator()
51 fixes.put("a@b", "<a@b>"); in testEmailValidator()
52 fixes.put("()~><@not.work", ""); in testEmailValidator()
64 fixes.put("a", "<a>"); in testEmailValidatorNullDomain()
65 fixes.put("a b", "<a b>"); in testEmailValidatorNullDomain()
66 fixes.put("a@b", "<a@b>"); in testEmailValidatorNullDomain()
67 fixes.put("a@b.com", "<a@b.com>"); // this one is correct in testEmailValidatorNullDomain()
80 fixes.put("a", ""); in testEmailValidatorRemoveInvalid()
81 fixes.put("a b", ""); in testEmailValidatorRemoveInvalid()
[all …]
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifInterface.java1670 getTagInfo().put(tagDef, ifdFlags << 24 | (tagType << 16) | defaultComponentCount); in setTagDefinition()
2084 mTagInfo.put(ExifInterface.TAG_MAKE, in initTagInfo()
2086 mTagInfo.put(ExifInterface.TAG_IMAGE_WIDTH, in initTagInfo()
2088 mTagInfo.put(ExifInterface.TAG_IMAGE_LENGTH, in initTagInfo()
2090 mTagInfo.put(ExifInterface.TAG_BITS_PER_SAMPLE, in initTagInfo()
2092 mTagInfo.put(ExifInterface.TAG_COMPRESSION, in initTagInfo()
2094 mTagInfo.put(ExifInterface.TAG_PHOTOMETRIC_INTERPRETATION, in initTagInfo()
2096 mTagInfo.put(ExifInterface.TAG_ORIENTATION, ifdFlags | ExifTag.TYPE_UNSIGNED_SHORT << 16 in initTagInfo()
2098 mTagInfo.put(ExifInterface.TAG_SAMPLES_PER_PIXEL, in initTagInfo()
2100 mTagInfo.put(ExifInterface.TAG_PLANAR_CONFIGURATION, in initTagInfo()
[all …]
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/
DVCardTestsBase.java52 mContentValuesForQP.put("ENCODING", "QUOTED-PRINTABLE"); in VCardTestsBase()
54 mContentValuesForSJis.put("CHARSET", "SHIFT_JIS"); in VCardTestsBase()
56 mContentValuesForUtf8.put("CHARSET", "UTF-8"); in VCardTestsBase()
58 mContentValuesForQPAndSJis.put("ENCODING", "QUOTED-PRINTABLE"); in VCardTestsBase()
59 mContentValuesForQPAndSJis.put("CHARSET", "SHIFT_JIS"); in VCardTestsBase()
61 mContentValuesForQPAndUtf8.put("ENCODING", "QUOTED-PRINTABLE"); in VCardTestsBase()
62 mContentValuesForQPAndUtf8.put("CHARSET", "UTF-8"); in VCardTestsBase()
64 mContentValuesForBase64V21.put("ENCODING", "BASE64"); in VCardTestsBase()
66 mContentValuesForBase64V30.put("ENCODING", "b"); in VCardTestsBase()
DContentValuesBuilder.java31 public ContentValuesBuilder put(String key, String value) { in put() method in ContentValuesBuilder
32 mContentValues.put(key, value); in put()
47 public ContentValuesBuilder put(String key, Integer value) { in put() method in ContentValuesBuilder
48 mContentValues.put(key, value); in put()
73 public ContentValuesBuilder put(String key, byte[] value) { in put() method in ContentValuesBuilder
74 mContentValues.put(key, value); in put()
/frameworks/opt/mms/src/java/com/google/android/mms/pdu/
DPduPersister.java200 MESSAGE_BOX_MAP.put(Mms.Inbox.CONTENT_URI, Mms.MESSAGE_BOX_INBOX); in MESSAGE_BOX_MAP.put()
201 MESSAGE_BOX_MAP.put(Mms.Sent.CONTENT_URI, Mms.MESSAGE_BOX_SENT); in MESSAGE_BOX_MAP.put()
202 MESSAGE_BOX_MAP.put(Mms.Draft.CONTENT_URI, Mms.MESSAGE_BOX_DRAFTS); in MESSAGE_BOX_MAP.put()
203 MESSAGE_BOX_MAP.put(Mms.Outbox.CONTENT_URI, Mms.MESSAGE_BOX_OUTBOX); in MESSAGE_BOX_MAP.put()
206 CHARSET_COLUMN_INDEX_MAP.put(PduHeaders.SUBJECT, PDU_COLUMN_SUBJECT_CHARSET); in CHARSET_COLUMN_INDEX_MAP.put()
207 CHARSET_COLUMN_INDEX_MAP.put(PduHeaders.RETRIEVE_TEXT, PDU_COLUMN_RETRIEVE_TEXT_CHARSET); in CHARSET_COLUMN_INDEX_MAP.put()
210 CHARSET_COLUMN_NAME_MAP.put(PduHeaders.SUBJECT, Mms.SUBJECT_CHARSET); in CHARSET_COLUMN_NAME_MAP.put()
211 CHARSET_COLUMN_NAME_MAP.put(PduHeaders.RETRIEVE_TEXT, Mms.RETRIEVE_TEXT_CHARSET); in CHARSET_COLUMN_NAME_MAP.put()
215 ENCODED_STRING_COLUMN_INDEX_MAP.put(PduHeaders.RETRIEVE_TEXT, PDU_COLUMN_RETRIEVE_TEXT); in ENCODED_STRING_COLUMN_INDEX_MAP.put()
216 ENCODED_STRING_COLUMN_INDEX_MAP.put(PduHeaders.SUBJECT, PDU_COLUMN_SUBJECT); in ENCODED_STRING_COLUMN_INDEX_MAP.put()
[all …]
/frameworks/base/media/java/android/media/
DMediaMetadataEditor.java438 METADATA_KEYS_TYPE.put( in METADATA_KEYS_TYPE.put()
440 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_DISC_NUMBER, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put()
441 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_DURATION, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put()
442 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_YEAR, METADATA_TYPE_LONG); in METADATA_KEYS_TYPE.put()
444 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_ALBUM, METADATA_TYPE_STRING); in METADATA_KEYS_TYPE.put()
445 METADATA_KEYS_TYPE.put( in METADATA_KEYS_TYPE.put()
447 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_TITLE, METADATA_TYPE_STRING); in METADATA_KEYS_TYPE.put()
448 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_ARTIST, METADATA_TYPE_STRING); in METADATA_KEYS_TYPE.put()
449 METADATA_KEYS_TYPE.put(MediaMetadataRetriever.METADATA_KEY_AUTHOR, METADATA_TYPE_STRING); in METADATA_KEYS_TYPE.put()
450 METADATA_KEYS_TYPE.put( in METADATA_KEYS_TYPE.put()
[all …]
/frameworks/base/core/java/android/content/
DContentValues.java95 public void put(String key, String value) { in put() method in ContentValues
96 mValues.put(key, value); in put()
114 public void put(String key, Byte value) { in put() method in ContentValues
115 mValues.put(key, value); in put()
124 public void put(String key, Short value) { in put() method in ContentValues
125 mValues.put(key, value); in put()
134 public void put(String key, Integer value) { in put() method in ContentValues
135 mValues.put(key, value); in put()
144 public void put(String key, Long value) { in put() method in ContentValues
145 mValues.put(key, value); in put()
[all …]
/frameworks/ml/bordeaux/service/src/android/bordeaux/services/
DTimeStatsAggregator.java83 feature.put(featureName, features.get(featureName)); in getFeatureValue()
143 features.put(PERIOD_OF_DAY, DAYTIME); in getAllTimeFeatures()
145 features.put(PERIOD_OF_DAY, NIGHTTIME); in getAllTimeFeatures()
147 features.put(TIME_OF_DAY, mFakeTimeOfDay); in getAllTimeFeatures()
149 features.put(PERIOD_OF_DAY, getPeriodOfDay(time.hour)); in getAllTimeFeatures()
150 features.put(TIME_OF_DAY, getTimeOfDay(time.hour)); in getAllTimeFeatures()
154 features.put(DAY_OF_WEEK, mFakeDayOfWeek); in getAllTimeFeatures()
159 features.put(TIME_OF_WEEK, WEEKEND); in getAllTimeFeatures()
161 features.put(TIME_OF_WEEK, WEEKDAY); in getAllTimeFeatures()
165 features.put(DAY_OF_WEEK, getDayOfWeek(time.weekDay)); in getAllTimeFeatures()
[all …]
/frameworks/base/core/java/android/net/dhcp/
DDhcpPacket.java270 buf.put(IP_VERSION_HEADER_LEN); in fillInPacket()
271 buf.put(IP_TOS_LOWDELAY); // tos: IPTOS_LOWDELAY in fillInPacket()
276 buf.put(IP_TTL); // TTL: use default 64 from RFC1340 in fillInPacket()
277 buf.put(IP_TYPE_UDP); in fillInPacket()
281 buf.put(srcIpArray); in fillInPacket()
282 buf.put(destIpArray); in fillInPacket()
296 buf.put(requestCode); in fillInPacket()
297 buf.put((byte) 1); // Hardware Type: Ethernet in fillInPacket()
298 buf.put((byte) mClientMac.length); // Hardware Address Length in fillInPacket()
299 buf.put((byte) 0); // Hop Count in fillInPacket()
[all …]
/frameworks/opt/calendar/src/com/android/calendarcommon2/
DEventRecurrence.java82 sParsePartMap.put("FREQ", new ParseFreq());
83 sParsePartMap.put("UNTIL", new ParseUntil());
84 sParsePartMap.put("COUNT", new ParseCount());
85 sParsePartMap.put("INTERVAL", new ParseInterval());
86 sParsePartMap.put("BYSECOND", new ParseBySecond());
87 sParsePartMap.put("BYMINUTE", new ParseByMinute());
88 sParsePartMap.put("BYHOUR", new ParseByHour());
89 sParsePartMap.put("BYDAY", new ParseByDay());
90 sParsePartMap.put("BYMONTHDAY", new ParseByMonthDay());
91 sParsePartMap.put("BYYEARDAY", new ParseByYearDay());
[all …]

12345678910>>...29