Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 1 | #Email-specific proguard flags, required for tests, that are not covered by UnifiedEmail go here |
| 2 | |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 3 | -keepclasseswithmembers class com.android.emailcommon.internet.Rfc822Output { |
| 4 | *** getHtmlBody(java.lang.String); |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 5 | } |
| 6 | |
| 7 | -keepclasseswithmembers class com.android.emailcommon.utility.Utility { |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 8 | *** fromUtf8(byte[]); |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 9 | } |
| 10 | |
| 11 | -keepclasseswithmembers class com.android.emailcommon.provider.EmailContent$Attachment { |
| 12 | *** createUniqueFile(java.lang.String); |
| 13 | } |
| 14 | |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 15 | -keepclasseswithmembers class com.android.emailcommon.mail.Message { |
| 16 | *** setRecipient(com.android.emailcommon.mail.Message$RecipientType, com.android.emailcommon.mail.Address); |
| 17 | } |
| 18 | |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 19 | -keepclasseswithmembers class com.android.emailcommon.internet.MimeMessage { |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 20 | *** getExtendedHeader(java.lang.String); |
| 21 | *** setExtendedHeader(java.lang.String, java.lang.String); |
| 22 | *** getExtendedHeaders(); |
| 23 | *** setExtendedHeaders(java.lang.String); |
| 24 | } |
| 25 | |
| 26 | -keepclasseswithmembers class com.android.emailcommon.internet.MimeUtility { |
| 27 | *** foldAndEncode(java.lang.String); |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 28 | } |
| 29 | |
| 30 | -keepclasseswithmembers class com.android.email.mail.transport.SmtpSender { |
| 31 | *** setTransport(com.android.email.mail.transport.MailTransport); |
| 32 | } |
| 33 | |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 34 | -keepclasseswithmembers class com.android.email.mail.store.ImapFolder { |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 35 | *** getUnreadMessageCount(); |
| 36 | } |
| 37 | |
| 38 | -keepclasseswithmembers class com.android.email.mail.store.Pop3Store { |
| 39 | *** setTransport(com.android.email.mail.transport.MailTransport); |
| 40 | } |
| 41 | |
| 42 | -keepclasseswithmembers class com.android.email.mail.store.Pop3Store$Pop3Folder { |
| 43 | *** getMessages(int, int, com.android.emailcommon.mail.Folder$MessageRetrievalListener); |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 44 | *** getMessages(java.lang.String[], com.android.emailcommon.mail.Folder$MessageRetrievalListener); |
| 45 | *** getUnreadMessageCount(); |
| 46 | *** isOpen(); |
| 47 | } |
| 48 | |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 49 | -keepclasseswithmembers class com.android.emailcommon.mail.Folder { |
| 50 | *** getUnreadMessageCount(); |
| 51 | *** delete(boolean); |
| 52 | *** getRole(); |
| 53 | } |
| 54 | |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 55 | -keepclasseswithmembers class com.android.emailcommon.mail.PackedString$Builder { |
| 56 | <init>(); |
| 57 | <init>(java.lang.String); |
| 58 | *** get(java.lang.String); |
| 59 | *** put(java.lang.String, java.lang.String); |
| 60 | } |
| 61 | |
| 62 | -keepclasseswithmembers class com.android.email.provider.ContentCache$CounterMap { |
| 63 | *** getCount(...); |
| 64 | *** size(); |
| 65 | } |
| 66 | |
Paul Westbrook | d37ca26 | 2014-08-01 15:05:30 -0700 | [diff] [blame] | 67 | -keepclasseswithmembers class org.apache.james.mime4j.field.Field { |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 68 | *** getBody(); |
| 69 | } |
| 70 | |
| 71 | # The following classes are used only by unit tests. |
| 72 | # We should move them into tests/ if possible. |
Paul Westbrook | d37ca26 | 2014-08-01 15:05:30 -0700 | [diff] [blame] | 73 | -keepclasseswithmembers class org.apache.james.mime4j.message.Message { |
| 74 | <init>(java.io.InputStream); |
Paul Westbrook | 2fb24a2 | 2014-08-01 10:53:36 -0700 | [diff] [blame] | 75 | } |
| 76 | |
Paul Westbrook | 0ef2851 | 2014-08-01 17:33:49 -0700 | [diff] [blame] | 77 | -keepclasseswithmembers class com.android.mail.utils.Throttle { |
| 78 | *** getTimeoutForTest(); |
| 79 | } |
| 80 | |
| 81 | -keepclasseswithmembers class com.android.emailcommon.VendorPolicyLoader { |
| 82 | *** clearInstanceForTest(); |
| 83 | *** injectPolicyForTest(android.content.Context, java.lang.String, java.lang.Class); |
| 84 | } |
| 85 | |
| 86 | -keepclasseswithmembers class com.android.email.mail.store.imap.ImapElement { |
| 87 | *** equalsForTest(com.android.email.mail.store.imap.ImapElement); |
| 88 | } |
| 89 | |
| 90 | -keepclasseswithmembers class com.android.email.mail.store.imap.ImapTempFileLiteral { |
| 91 | *** tempFileExistsForTest(); |
| 92 | } |
| 93 | |
| 94 | -keepclasseswithmembers class com.android.emailcommon.utility.EmailAsyncTask$Tracker { |
| 95 | <init>(); |
Paul Westbrook | 4764cb8 | 2014-08-05 18:24:51 -0700 | [diff] [blame^] | 96 | *** getTaskCountForTest(); |
| 97 | *** containsTaskForTest(); |
Paul Westbrook | 0ef2851 | 2014-08-01 17:33:49 -0700 | [diff] [blame] | 98 | } |