You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

99 lines
3.2 KiB

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