1#Email-specific proguard flags, required for tests, that are not covered by UnifiedEmail go here
2
3-keepclasseswithmembers class com.android.emailcommon.internet.Rfc822Output {
4  *** getHtmlBody(java.lang.String);
5}
6
7-keepclasseswithmembers class com.android.emailcommon.utility.Utility {
8  *** fromUtf8(byte[]);
9}
10
11-keepclasseswithmembers class com.android.emailcommon.provider.EmailContent$Attachment {
12  *** createUniqueFile(java.lang.String);
13}
14
15-keepclasseswithmembers class com.android.emailcommon.mail.Message {
16  *** setRecipient(com.android.emailcommon.mail.Message$RecipientType, com.android.emailcommon.mail.Address);
17}
18
19-keepclasseswithmembers class com.android.emailcommon.internet.MimeMessage {
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);
28}
29
30-keepclasseswithmembers class com.android.email.mail.transport.SmtpSender {
31  *** setTransport(com.android.email.mail.transport.MailTransport);
32}
33
34-keepclasseswithmembers class com.android.email.mail.store.ImapFolder {
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);
44  *** getMessages(java.lang.String[], com.android.emailcommon.mail.Folder$MessageRetrievalListener);
45  *** getUnreadMessageCount();
46  *** isOpen();
47}
48
49-keepclasseswithmembers class com.android.emailcommon.mail.Folder {
50  *** getUnreadMessageCount();
51  *** delete(boolean);
52  *** getRole();
53}
54
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
67-keepclasseswithmembers class org.apache.james.mime4j.field.Field {
68  *** getBody();
69}
70
71# The following classes are used only by unit tests.
72# We should move them into tests/ if possible.
73-keepclasseswithmembers class org.apache.james.mime4j.message.Message {
74  <init>(java.io.InputStream);
75}
76
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>();
96  *** getTaskCountForTest();
97  *** containsTaskForTest(com.android.emailcommon.utility.EmailAsyncTask);
98}
99