Home
last modified time | relevance | path

Searched refs:field (Results 1 – 25 of 180) sorted by relevance

12345678

/packages/services/Car/car-lib/api/
Dsystem-current.txt12 field public static final java.lang.String APP_CONTEXT_SERVICE = "app_context";
13 field public static final java.lang.String AUDIO_SERVICE = "audio";
14 field public static final java.lang.String CAMERA_SERVICE = "camera";
15 field public static final int CONNECTION_TYPE_EMBEDDED = 5; // 0x5
16 field public static final java.lang.String HVAC_SERVICE = "hvac";
17 field public static final java.lang.String INFO_SERVICE = "info";
18 field public static final java.lang.String PACKAGE_SERVICE = "package";
19field public static final java.lang.String PERMISSION_CAR_CAMERA = "android.car.permission.CAR_CAM…
20field public static final java.lang.String PERMISSION_CAR_HVAC = "android.car.permission.CAR_HVAC";
21field public static final java.lang.String PERMISSION_CAR_PROJECTION = "android.car.permission.CAR…
[all …]
Dcurrent.txt12 field public static final java.lang.String APP_CONTEXT_SERVICE = "app_context";
13 field public static final java.lang.String AUDIO_SERVICE = "audio";
14 field public static final int CONNECTION_TYPE_EMBEDDED = 5; // 0x5
15 field public static final java.lang.String INFO_SERVICE = "info";
16 field public static final java.lang.String PACKAGE_SERVICE = "package";
17 field public static final java.lang.String PERMISSION_FUEL = "android.car.permission.CAR_FUEL";
18field public static final java.lang.String PERMISSION_MILEAGE = "android.car.permission.CAR_MILEAG…
19field public static final java.lang.String PERMISSION_SPEED = "android.car.permission.CAR_SPEED";
20 field public static final java.lang.String SENSOR_SERVICE = "sensor";
28 field public static final java.lang.String KEY_MANUFACTURER = "manufacturer";
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DEntrySchema.java107 Field field = column.field; in cursorToObject() local
110 field.set(object, cursor.isNull(columnIndex) in cursorToObject()
115 field.setBoolean(object, cursor.getShort(columnIndex) == 1); in cursorToObject()
118 field.setShort(object, cursor.getShort(columnIndex)); in cursorToObject()
121 field.setInt(object, cursor.getInt(columnIndex)); in cursorToObject()
124 field.setLong(object, cursor.getLong(columnIndex)); in cursorToObject()
127 field.setFloat(object, cursor.getFloat(columnIndex)); in cursorToObject()
130 field.setDouble(object, cursor.getDouble(columnIndex)); in cursorToObject()
133 field.set(object, cursor.isNull(columnIndex) in cursorToObject()
145 private void setIfNotNull(Field field, Object object, Object value) in setIfNotNull() argument
[all …]
/packages/apps/Messaging/src/com/android/messaging/mmslib/pdu/
DPduHeaders.java360 protected int getOctet(int field) { in getOctet() argument
361 Integer octet = (Integer) mHeaderMap.get(field); in getOctet()
376 protected void setOctet(int value, int field) in setOctet() argument
382 switch (field) { in setOctet()
510 mHeaderMap.put(field, value); in setOctet()
520 protected byte[] getTextString(int field) { in getTextString() argument
521 return (byte[]) mHeaderMap.get(field); in getTextString()
533 protected void setTextString(byte[] value, int field) { in setTextString() argument
542 switch (field) { in setTextString()
559 mHeaderMap.put(field, value); in setTextString()
[all …]
DPduComposer.java488 private int appendHeader(final int field) { in appendHeader() argument
489 switch (field) { in appendHeader()
491 appendOctet(field); in appendHeader()
493 final int version = mPduHeader.getOctet(field); in appendHeader()
505 final byte[] textString = mPduHeader.getTextString(field); in appendHeader()
510 appendOctet(field); in appendHeader()
517 final EncodedStringValue[] addr = mPduHeader.getEncodedStringValues(field); in appendHeader()
530 appendOctet(field); in appendHeader()
537 appendOctet(field); in appendHeader()
539 final EncodedStringValue from = mPduHeader.getEncodedStringValue(field); in appendHeader()
[all …]
/packages/services/Car/car-support-lib/api/
Dcurrent.txt15 field public static final java.lang.String APP_CONTEXT_SERVICE = "app_context";
16 field public static final java.lang.String AUDIO_SERVICE = "audio";
17 field public static final int CONNECTION_TYPE_ADB_EMULATOR = 4; // 0x4
18 field public static final int CONNECTION_TYPE_EMBEDDED = 5; // 0x5
19 field public static final int CONNECTION_TYPE_EMULATOR = 0; // 0x0
20 field public static final int CONNECTION_TYPE_ON_DEVICE_EMULATOR = 3; // 0x3
21 field public static final int CONNECTION_TYPE_USB = 1; // 0x1
22 field public static final int CONNECTION_TYPE_WIFI = 2; // 0x2
23 field public static final java.lang.String INFO_SERVICE = "info";
24 field public static final java.lang.String PACKAGE_SERVICE = "package";
[all …]
/packages/apps/Messaging/src/android/support/v7/mms/pdu/
DPduHeaders.java340 protected int getOctet(int field) { in getOctet() argument
341 Integer octet = (Integer) mHeaderMap.get(field); in getOctet()
356 protected void setOctet(int value, int field) in setOctet() argument
362 switch (field) { in setOctet()
490 mHeaderMap.put(field, value); in setOctet()
500 protected byte[] getTextString(int field) { in getTextString() argument
501 return (byte[]) mHeaderMap.get(field); in getTextString()
513 protected void setTextString(byte[] value, int field) { in setTextString() argument
522 switch (field) { in setTextString()
539 mHeaderMap.put(field, value); in setTextString()
[all …]
/packages/services/Telephony/src/com/android/phone/common/mail/internet/
DMimeHeader.java78 for (Field field : mFields) { in getHeader()
79 if (field.name.equalsIgnoreCase(name)) { in getHeader()
80 values.add(field.value); in getHeader()
91 for (Field field : mFields) { in removeHeader()
92 if (field.name.equalsIgnoreCase(name)) { in removeHeader()
93 removeFields.add(field); in removeHeader()
110 for (Field field : mFields) { in writeToString()
111 if (!arrayContains(WRITE_OMIT_FIELDS, field.name)) { in writeToString()
112 builder.append(field.name + ": " + field.value + "\r\n"); in writeToString()
120 for (Field field : mFields) { in writeTo()
[all …]
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/
DMimeHeader.java79 for (Field field : mFields) { in getHeader()
80 if (field.name.equalsIgnoreCase(name)) { in getHeader()
81 values.add(field.value); in getHeader()
92 for (Field field : mFields) { in removeHeader()
93 if (field.name.equalsIgnoreCase(name)) { in removeHeader()
94 removeFields.add(field); in removeHeader()
111 for (Field field : mFields) { in writeToString()
112 if (!arrayContains(WRITE_OMIT_FIELDS, field.name)) { in writeToString()
113 builder.append(field.name + ": " + field.value + "\r\n"); in writeToString()
121 for (Field field : mFields) { in writeTo()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/util/
DDbQueryUtils.java34 public static String getEqualityClause(String field, String value) { in getEqualityClause() argument
35 return getClauseWithOperator(field, "=", value); in getEqualityClause()
39 public static String getEqualityClause(String field, long value) { in getEqualityClause() argument
40 return getClauseWithOperator(field, "=", value); in getEqualityClause()
44 public static String getInequalityClause(String field, long value) { in getInequalityClause() argument
45 return getClauseWithOperator(field, "!=", value); in getInequalityClause()
48 private static String getClauseWithOperator(String field, String operator, String value) { in getClauseWithOperator() argument
51 clause.append(field); in getClauseWithOperator()
58 private static String getClauseWithOperator(String field, String operator, long value) { in getClauseWithOperator() argument
61 clause.append(field); in getClauseWithOperator()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/address/
DBuilder.java20 package org.apache.james.mime4j.field.address;
26 import org.apache.james.mime4j.field.address.parser.ASTaddr_spec;
27 import org.apache.james.mime4j.field.address.parser.ASTaddress;
28 import org.apache.james.mime4j.field.address.parser.ASTaddress_list;
29 import org.apache.james.mime4j.field.address.parser.ASTangle_addr;
30 import org.apache.james.mime4j.field.address.parser.ASTdomain;
31 import org.apache.james.mime4j.field.address.parser.ASTgroup_body;
32 import org.apache.james.mime4j.field.address.parser.ASTlocal_part;
33 import org.apache.james.mime4j.field.address.parser.ASTmailbox;
34 import org.apache.james.mime4j.field.address.parser.ASTname_addr;
[all …]
/packages/services/Telephony/src/org/apache/james/mime4j/field/address/
DBuilder.java20 package org.apache.james.mime4j.field.address;
26 import org.apache.james.mime4j.field.address.parser.ASTaddr_spec;
27 import org.apache.james.mime4j.field.address.parser.ASTaddress;
28 import org.apache.james.mime4j.field.address.parser.ASTaddress_list;
29 import org.apache.james.mime4j.field.address.parser.ASTangle_addr;
30 import org.apache.james.mime4j.field.address.parser.ASTdomain;
31 import org.apache.james.mime4j.field.address.parser.ASTgroup_body;
32 import org.apache.james.mime4j.field.address.parser.ASTlocal_part;
33 import org.apache.james.mime4j.field.address.parser.ASTmailbox;
34 import org.apache.james.mime4j.field.address.parser.ASTname_addr;
[all …]
/packages/apps/Contacts/src/com/android/contacts/editor/
DStructuredNameEditorView.java137 for (String field : NameConverter.STRUCTURED_NAME_FIELDS) { in switchFromFullNameToStructuredName()
138 values.put(field, mSnapshot.getContentValues().getAsString(field)); in switchFromFullNameToStructuredName()
148 for (String field : structuredNameMap.keySet()) { in switchFromFullNameToStructuredName()
149 values.put(field, structuredNameMap.get(field)); in switchFromFullNameToStructuredName()
177 for (String field : structuredNameMap.keySet()) { in switchFromStructuredNameToFullName()
178 mSnapshot.getContentValues().put(field, structuredNameMap.get(field)); in switchFromStructuredNameToFullName()
202 for (String field : NameConverter.STRUCTURED_NAME_FIELDS) { in eraseStructuredName()
203 values.putNull(field); in eraseStructuredName()
211 for (String field : structuredNameMap.keySet()) { in rebuildStructuredName()
212 values.put(field, structuredNameMap.get(field)); in rebuildStructuredName()
DTextFieldsEditorView.java194 public void setValue(int field, String value) { in setValue() argument
195 mFieldEditTexts[field].setText(value); in setValue()
213 final EditField field = kind.fieldList.get(index); in setValues() local
222 if (field.titleRes > 0) { in setValues()
223 fieldView.setHint(field.titleRes); in setValues()
225 int inputType = field.inputType; in setValues()
236 if (field.minLines > 1) { in setValues()
237 fieldView.setMinLines(field.minLines); in setValues()
250 final String column = field.column; in setValues()
291 if (field.shortForm) { in setValues()
[all …]
/packages/services/Telephony/src/com/android/phone/vvm/omtp/sms/
DWrappedMessageData.java67 String extractString(final String field) { in extractString() argument
68 String value = mFields.get(field); in extractString()
73 String[] possibleValues = OmtpConstants.possibleValuesMap.get(field); in extractString()
83 "\" of field \"" + field + "\" is not allowed."); in extractString()
93 Integer extractInteger(final String field) { in extractInteger() argument
94 String value = mFields.get(field); in extractInteger()
114 Long extractTime(final String field) { in extractTime() argument
115 String value = mFields.get(field); in extractTime()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/database/
DMoreDatabaseUtils.java36 public static String buildCreateIndexSql(String table, String field) { in buildCreateIndexSql() argument
37 return "CREATE INDEX " + buildIndexName(table, field) + " ON " + table in buildCreateIndexSql()
38 + "(" + field + ")"; in buildCreateIndexSql()
49 public static String buildDropIndexSql(String table, String field) { in buildDropIndexSql() argument
50 return "DROP INDEX IF EXISTS " + buildIndexName(table, field); in buildDropIndexSql()
58 public static String buildIndexName(String table, String field) { in buildIndexName() argument
59 return table + "_" + field + "_index"; in buildIndexName()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/
DHeader.java35 import org.apache.james.mime4j.field.ContentTypeField;
36 import org.apache.james.mime4j.field.Field;
69 public void field(String fieldData) { in Header()
81 public void addField(Field field) { in addField() argument
82 List<Field> values = fieldMap.get(field.getName().toLowerCase()); in addField()
85 fieldMap.put(field.getName().toLowerCase(), values); in addField()
87 values.add(field); in addField()
88 fields.add(field); in addField()
/packages/services/Telephony/src/org/apache/james/mime4j/
DMimeStreamParser.java273 String field = sb.substring(start, pos); in parseHeader() local
279 int index = field.indexOf(':'); in parseHeader()
281 if (index != -1 && fieldChars.get(field.charAt(0))) { in parseHeader()
283 String fieldName = field.substring(0, index).trim(); in parseHeader()
292 handler.field(field); in parseHeader()
293 bd.addField(fieldName, field.substring(index + 1)); in parseHeader()
299 + ": Ignoring invalid field: '" + field.trim() + "'"); in parseHeader()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/
DMimeStreamParser.java273 String field = sb.substring(start, pos); in parseHeader() local
279 int index = field.indexOf(':'); in parseHeader()
281 if (index != -1 && fieldChars.get(field.charAt(0))) { in parseHeader()
283 String fieldName = field.substring(0, index).trim(); in parseHeader()
292 handler.field(field); in parseHeader()
293 bd.addField(fieldName, field.substring(index + 1)); in parseHeader()
299 + ": Ignoring invalid field: '" + field.trim() + "'"); in parseHeader()
/packages/services/Telephony/src/org/apache/james/mime4j/field/
DMailboxField.java20 package org.apache.james.mime4j.field;
26 import org.apache.james.mime4j.field.address.AddressList;
27 import org.apache.james.mime4j.field.address.Mailbox;
28 import org.apache.james.mime4j.field.address.MailboxList;
29 import org.apache.james.mime4j.field.address.parser.ParseException;
DDelegatingFieldParser.java16 package org.apache.james.mime4j.field;
36 final FieldParser field = parsers.get(name.toLowerCase()); in getParser() local
37 if(field==null) { in getParser()
40 return field; in getParser()
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/
DMailboxField.java20 package org.apache.james.mime4j.field;
26 import org.apache.james.mime4j.field.address.AddressList;
27 import org.apache.james.mime4j.field.address.Mailbox;
28 import org.apache.james.mime4j.field.address.MailboxList;
29 import org.apache.james.mime4j.field.address.parser.ParseException;
DDelegatingFieldParser.java16 package org.apache.james.mime4j.field;
36 final FieldParser field = parsers.get(name.toLowerCase()); in getParser() local
37 if(field==null) { in getParser()
40 return field; in getParser()
DMailboxListField.java20 package org.apache.james.mime4j.field;
26 import org.apache.james.mime4j.field.address.AddressList;
27 import org.apache.james.mime4j.field.address.MailboxList;
28 import org.apache.james.mime4j.field.address.parser.ParseException;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCompatUtils.java108 final Field field) { in getFieldValue() argument
109 if (field == null) { in getFieldValue()
113 return field.get(receiver); in getFieldValue()
120 public static void setFieldValue(final Object receiver, final Field field, final Object value) { in setFieldValue() argument
121 if (field == null) { in setFieldValue()
125 field.set(receiver, value); in setFieldValue()

12345678