/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/field/ |
D | DefaultFieldParser.java | 21 setFieldParser(Field.CONTENT_TRANSFER_ENCODING, new ContentTransferEncodingField.Parser()); in DefaultFieldParser() 22 setFieldParser(Field.CONTENT_TYPE, new ContentTypeField.Parser()); in DefaultFieldParser() 25 setFieldParser(Field.DATE, dateTimeParser); in DefaultFieldParser() 26 setFieldParser(Field.RESENT_DATE, dateTimeParser); in DefaultFieldParser() 29 setFieldParser(Field.FROM, mailboxListParser); in DefaultFieldParser() 30 setFieldParser(Field.RESENT_FROM, mailboxListParser); in DefaultFieldParser() 33 setFieldParser(Field.SENDER, mailboxParser); in DefaultFieldParser() 34 setFieldParser(Field.RESENT_SENDER, mailboxParser); in DefaultFieldParser() 37 setFieldParser(Field.TO, addressListParser); in DefaultFieldParser() 38 setFieldParser(Field.RESENT_TO, addressListParser); in DefaultFieldParser() [all …]
|
D | Field.java | 31 public abstract class Field { class 63 protected Field(final String name, final String body, final String raw) { in Field() method in Field 85 public static Field parse(final String raw) { in parse()
|
D | UnstructuredField.java | 31 public class UnstructuredField extends Field { 44 public Field parse(final String name, final String body, final String raw) { in parse()
|
D | ContentTransferEncodingField.java | 30 public class ContentTransferEncodingField extends Field { 83 public Field parse(final String name, final String body, final String raw) { in parse()
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/message/ |
D | Header.java | 36 import org.apache.james.mime4j.field.Field; 47 private List<Field> fields = new LinkedList<Field>(); 48 private HashMap<String, List<Field>> fieldMap = new HashMap<String, List<Field>>(); 70 addField(Field.parse(fieldData)); in Header() 81 public void addField(Field field) { in addField() 82 List<Field> values = fieldMap.get(field.getName().toLowerCase()); in addField() 84 values = new LinkedList<Field>(); in addField() 97 public List<Field> getFields() { in getFields() 108 public Field getField(String name) { in getField() 109 List<Field> l = fieldMap.get(name.toLowerCase()); in getField() [all …]
|
D | Entity.java | 27 import org.apache.james.mime4j.field.Field; 106 (ContentTypeField) getHeader().getField(Field.CONTENT_TYPE); in getMimeType() 109 getField(Field.CONTENT_TYPE) in getMimeType() 122 (ContentTypeField) getHeader().getField(Field.CONTENT_TYPE)); in getCharset() 132 getHeader().getField(Field.CONTENT_TRANSFER_ENCODING); in getContentTransferEncoding() 158 (ContentTypeField) getHeader().getField(Field.CONTENT_TYPE); in isMultipart()
|
D | Multipart.java | 32 import org.apache.james.mime4j.field.Field; 194 Field.CONTENT_TYPE); in getBoundary() 200 … String charString = ((ContentTypeField) e.getHeader().getField(Field.CONTENT_TYPE)).getCharset(); in getCharset()
|
D | Message.java | 32 import org.apache.james.mime4j.field.Field; 78 return (UnstructuredField) getHeader().getField(Field.SUBJECT); in getSubject() 147 ((Header) stack.peek()).addField(Field.parse(fieldData)); in field()
|
/packages/apps/Dialer/java/com/android/voicemail/impl/mail/internet/ |
D | MimeHeader.java | 48 protected final ArrayList<Field> fields = new ArrayList<Field>(); 63 fields.add(new Field(name, value)); in addHeader() 76 for (Field field : fields) { in getHeader() 88 ArrayList<Field> removeFields = new ArrayList<Field>(); in removeHeader() 89 for (Field field : fields) { in removeHeader() 108 for (Field field : fields) { in writeToString() 118 for (Field field : fields) { in writeTo() 126 private static class Field { class in MimeHeader 130 public Field(String name, String value) { in Field() method in MimeHeader.Field
|
/packages/apps/UnifiedEmail/src/com/android/emailcommon/internet/ |
D | MimeHeader.java | 51 protected final ArrayList<Field> mFields = new ArrayList<Field>(); 66 mFields.add(new Field(name, value)); in addHeader() 79 for (Field field : mFields) { in getHeader() 91 ArrayList<Field> removeFields = new ArrayList<Field>(); in removeHeader() 92 for (Field field : mFields) { in removeHeader() 111 for (Field field : mFields) { in writeToString() 121 for (Field field : mFields) { in writeTo() 129 private static class Field { class in MimeHeader 133 public Field(String name, String value) { in Field() method in MimeHeader.Field
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | EntrySchema.java | 25 import java.lang.reflect.Field; 107 Field field = column.field; in cursorToObject() 145 private void setIfNotNull(Field field, Object object, Object value) in setIfNotNull() 158 Field field = column.field; in valuesToObject() 196 Field field = column.field; in objectToValues() 235 Field field = column.field; in toDebugString() 252 Field field = column.field; in toDebugString() 474 Field[] fields = clazz.getDeclaredFields(); // including non-public fields in parseColumnInfo() 477 Field field = fields[i]; in parseColumnInfo() 521 public final Field field; [all …]
|
/packages/services/Car/tests/carservice_test/src/com/android/car/ |
D | CarDiagnosticConstantsTest.java | 29 import java.lang.reflect.Field; 48 Arrays.stream(clazz.getFields()).forEach((Field field) -> { in dumpClass() 86 static boolean isPublicStaticFinalInt(Field field) { in isPublicStaticFinalInt() 102 CarDiagnosticConstantsTest::isPublicStaticFinalInt).forEach( (Field field) -> { in validateMatch() 115 for (Field field2 : clazz2.getFields()) { in validateMatch()
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
D | NotificationCompatUtils.java | 22 import java.lang.reflect.Field; 37 private static final Field FIELD_VISIBILITY_SECRET = 42 private static final Field FIELD_CATEGORY_RECOMMENDATION = 47 private static final Field FIELD_PRIORITY_LOW =
|
D | CompatUtils.java | 23 import java.lang.reflect.Field; 55 public static Field getField(final Class<?> targetClass, final String name) { in getField() 108 final Field field) { in getFieldValue() 120 public static void setFieldValue(final Object receiver, final Field field, final Object value) { in setFieldValue()
|
D | EditorInfoCompatUtils.java | 21 import java.lang.reflect.Field; 27 private static final Field FIELD_IME_FLAG_FORCE_ASCII = CompatUtils.getField( 31 private static final Field FIELD_HINT_LOCALES = CompatUtils.getField(
|
D | SettingsSecureCompatUtils.java | 19 import java.lang.reflect.Field; 24 private static final Field FIELD_ACCESSIBILITY_SPEAK_PASSWORD = CompatUtils.getField(
|
D | SuggestionsInfoCompatUtils.java | 21 import java.lang.reflect.Field; 26 private static final Field FIELD_RESULT_ATTR_HAS_RECOMMENDED_SUGGESTIONS =
|
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/model/ |
D | BaseModelUpdateTaskTestCase.java | 42 import java.lang.reflect.Field; 55 public final HashMap<Class, HashMap<String, Field>> fieldCache = new HashMap<>(); 149 HashMap<String, Field> cache = fieldCache.get(clazz); in initItem() 154 for (Field f : c.getDeclaredFields()) { in initItem() 166 Field f = cache.get(fieldData[0]); in initItem()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/utils/ |
D | MockedServiceManager.java | 22 import java.lang.reflect.Field; 82 Field field = c.getDeclaredField(instanceName); in replaceInstance() 98 Field field = key.mClass.getDeclaredField(key.mInstName); in restoreInstances()
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
D | MockedServiceManager.java | 23 import java.lang.reflect.Field; 82 Field field = c.getDeclaredField(instanceName); in replaceInstance() 98 Field field = key.mClass.getDeclaredField(key.mInstName); in restoreInstances()
|
/packages/services/Telephony/tests/src/com/android/phone/ |
D | CallFeaturesSettingTest.java | 39 import java.lang.reflect.Field; 101 private Field getField(String fieldName) throws NoSuchFieldException { in getField() 102 Field field = mActivity.getClass().getDeclaredField(fieldName); in getField()
|
/packages/apps/Email/tests/src/com/android/emailcommon/internet/ |
D | Rfc822OutputTests.java | 31 import org.apache.james.mime4j.field.Field; 173 Field contentType = header.getField("content-type"); in testWriteToAlternativePart() 217 Field contentType = header.getField("content-type"); in testWriteToMixedPart() 296 Field contentType = header.getField("MIME-VERSION"); in checkMimeVersion()
|
/packages/apps/Dialer/java/com/android/contacts/common/compat/telecom/ |
D | TelecomManagerCompat.java | 21 import java.lang.reflect.Field; 61 Field field = TelecomManager.class.getDeclaredField("EXTRA_IS_HANDOVER"); in supportsHandover()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/search/ |
D | DatabaseIndexingUtils.java | 22 import java.lang.reflect.Field; 37 final Field f = clazz.getField(FIELD_NAME_SEARCH_INDEX_DATA_PROVIDER); in getSearchIndexProvider()
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | DatabaseIndexingUtils.java | 22 import java.lang.reflect.Field; 37 final Field f = clazz.getField(FIELD_NAME_SEARCH_INDEX_DATA_PROVIDER); in getSearchIndexProvider()
|