blob: 26d7deabf0e29536001b2b4eaeb44e2a0231f3b9 [file] [log] [blame]
Paul Westbrook2fb24a22014-08-01 10:53:36 -07001#Email-specific proguard flags, required for tests, that are not covered by UnifiedEmail go here
2
Paul Westbrook2fb24a22014-08-01 10:53:36 -07003-keepclasseswithmembers class com.android.emailcommon.internet.Rfc822Output {
4 *** getHtmlBody(java.lang.String);
Paul Westbrook2fb24a22014-08-01 10:53:36 -07005}
6
7-keepclasseswithmembers class com.android.emailcommon.utility.Utility {
Paul Westbrook2fb24a22014-08-01 10:53:36 -07008 *** fromUtf8(byte[]);
Paul Westbrook2fb24a22014-08-01 10:53:36 -07009}
10
11-keepclasseswithmembers class com.android.emailcommon.provider.EmailContent$Attachment {
12 *** createUniqueFile(java.lang.String);
13}
14
Paul Westbrook2fb24a22014-08-01 10:53:36 -070015-keepclasseswithmembers class com.android.emailcommon.mail.Message {
16 *** setRecipient(com.android.emailcommon.mail.Message$RecipientType, com.android.emailcommon.mail.Address);
17}
18
Paul Westbrook2fb24a22014-08-01 10:53:36 -070019-keepclasseswithmembers class com.android.emailcommon.internet.MimeMessage {
Paul Westbrook2fb24a22014-08-01 10:53:36 -070020 *** 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 Westbrook2fb24a22014-08-01 10:53:36 -070028}
29
30-keepclasseswithmembers class com.android.email.mail.transport.SmtpSender {
31 *** setTransport(com.android.email.mail.transport.MailTransport);
32}
33
Paul Westbrook2fb24a22014-08-01 10:53:36 -070034-keepclasseswithmembers class com.android.email.mail.store.ImapFolder {
Paul Westbrook2fb24a22014-08-01 10:53:36 -070035 *** 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 Westbrook2fb24a22014-08-01 10:53:36 -070044 *** getMessages(java.lang.String[], com.android.emailcommon.mail.Folder$MessageRetrievalListener);
45 *** getUnreadMessageCount();
46 *** isOpen();
47}
48
Paul Westbrook2fb24a22014-08-01 10:53:36 -070049-keepclasseswithmembers class com.android.emailcommon.mail.Folder {
50 *** getUnreadMessageCount();
51 *** delete(boolean);
52 *** getRole();
53}
54
Paul Westbrook2fb24a22014-08-01 10:53:36 -070055-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 Westbrookd37ca262014-08-01 15:05:30 -070067-keepclasseswithmembers class org.apache.james.mime4j.field.Field {
Paul Westbrook2fb24a22014-08-01 10:53:36 -070068 *** getBody();
69}
70
71# The following classes are used only by unit tests.
72# We should move them into tests/ if possible.
Paul Westbrookd37ca262014-08-01 15:05:30 -070073-keepclasseswithmembers class org.apache.james.mime4j.message.Message {
74 <init>(java.io.InputStream);
Paul Westbrook2fb24a22014-08-01 10:53:36 -070075}
76
Paul Westbrook0ef28512014-08-01 17:33:49 -070077-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 Westbrook4764cb82014-08-05 18:24:51 -070096 *** getTaskCountForTest();
Paul Westbrooke76b7bb2014-08-06 00:41:47 -070097 *** containsTaskForTest(com.android.emailcommon.utility.EmailAsyncTask);
Paul Westbrook0ef28512014-08-01 17:33:49 -070098}