Home
last modified time | relevance | path

Searched refs:EmailProvider (Results 1 – 25 of 27) sorted by relevance

12

/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DQuickResponseTests.java25 import com.android.email.provider.EmailProvider;
32 public class QuickResponseTests extends ProviderTestCase2<EmailProvider> {
34 private EmailProvider mProvider;
37 super(EmailProvider.class, EmailContent.AUTHORITY); in QuickResponseTests()
DMailboxTests.java30 import com.android.email.provider.EmailProvider;
45 public class MailboxTests extends ProviderTestCase2<EmailProvider> {
53 private EmailProvider mProvider;
56 super(EmailProvider.class, EmailContent.AUTHORITY); in MailboxTests()
/packages/apps/Email/tests/src/com/android/email/mail/
DStoreTests.java24 import com.android.email.provider.EmailProvider;
41 public class StoreTests extends ProviderTestCase2<EmailProvider> {
53 super(EmailProvider.class, EmailContent.AUTHORITY); in StoreTests()
56 public StoreTests(Class<EmailProvider> providerClass, String providerAuthority) { in StoreTests()
57 super(EmailProvider.class, EmailContent.AUTHORITY); in StoreTests()
/packages/apps/Email/src/com/android/email2/ui/
DMailActivityEmail.java30 import com.android.email.provider.EmailProvider;
54 EmailProvider.LEGACY_AUTHORITY, "view/mailbox", MATCH_LEGACY_SHORTCUT_INTENT); in sUrlMatcher.addURI()
87 EmailProvider.setServicesEnabledAsync(this); in onCreate()
102 EmailProvider.uiUri("uiaccount", accountId), in getViewIntent()
122 EmailProvider.uiUri("uifolder", mailboxId), in getViewIntent()
/packages/apps/Email/provider_src/com/android/email/provider/
DWidgetProvider.java106 final Folder uiFolder = EmailProvider.getFolder(context, mailboxId); in migrateLegacyWidgetInformation()
124 return EmailProvider.COMBINED_ACCOUNT_ID; in migrateLegacyWidgetAccountId()
135 return EmailProvider.getVirtualMailboxId(accountId, Mailbox.TYPE_INBOX); in migrateLegacyWidgetMailboxId()
137 return EmailProvider.getVirtualMailboxId(accountId, Mailbox.TYPE_UNREAD); in migrateLegacyWidgetMailboxId()
144 final Cursor ac = resolver.query(EmailProvider.uiUri("uiaccount", accountId), in getAccount()
DFolderPickerActivity.java100 uiAccount = i.getParcelableExtra(EmailProvider.PICKER_UI_ACCOUNT); in onCreate()
103 mMailboxType = i.getIntExtra(EmailProvider.PICKER_MAILBOX_TYPE, -1); in onCreate()
104 headerId = i.getIntExtra(EmailProvider.PICKER_HEADER_ID, 0); in onCreate()
DEmailConversationCursor.java142 "/" + EmailProvider.QUERY_UIREFRESH + "/" + mailbox.mId); in respond()
239 final Uri purgeUri = EmailProvider.uiUri("uipurgefolder", mMailboxId); in emptyFolder()
DAccountBackupRestore.java49 resolver.update(EmailProvider.ACCOUNT_BACKUP_URI, null, null, null); in backup()
DAccountReconciler.java217 EmailProvider.uiUri("uiaccount", providerAccount.mId), null, null); in reconcileAccountsInternal()
/packages/apps/Email/src/com/android/email/
DEmailNotificationController.java41 import com.android.email.provider.EmailProvider;
327 final Cursor accountCursor = mContext.getContentResolver().query(EmailProvider.uiUri( in setupSoundAndVibration()
426 EmailProvider.getIncomingSettingsUri(accountId)); in showLoginFailedNotificationSynchronous()
519 EmailProvider.getIncomingSettingsUri(account.getId())); in showSecurityChangedNotification()
536 EmailProvider.getIncomingSettingsUri(account.getId())); in showSecurityUnsupportedNotification()
611 final Uri accountUri = EmailProvider.uiUri("uiaccount", accountId); in refreshNotificationsForAccountInternal()
636 final Uri folderUri = EmailProvider.uiUri("uifolder", mailboxId); in refreshNotificationsForAccountInternal()
645 intent.setType(EmailProvider.EMAIL_APP_MIME_TYPE); in refreshNotificationsForAccountInternal()
/packages/apps/Email/tests/src/com/android/email/
DControllerProviderOpsTests.java24 import com.android.email.provider.EmailProvider;
41 public class ControllerProviderOpsTests extends ProviderTestCase2<EmailProvider> {
46 super(EmailProvider.class, EmailContent.AUTHORITY); in ControllerProviderOpsTests()
DAccountTestCase.java27 import com.android.email.provider.EmailProvider;
40 public abstract class AccountTestCase extends ProviderTestCase2<EmailProvider> {
47 super(EmailProvider.class, EmailContent.AUTHORITY); in AccountTestCase()
DDBTestHelper.java36 import com.android.email.provider.EmailProvider;
235 final EmailProvider ep = new EmailProvider(); in getProviderContext()
DLegacyConversionsTests.java26 import com.android.email.provider.EmailProvider;
57 public class LegacyConversionsTests extends ProviderTestCase2<EmailProvider> {
63 super(EmailProvider.class, EmailContent.AUTHORITY); in LegacyConversionsTests()
DSecurityPolicyTests.java28 import com.android.email.provider.EmailProvider;
47 public class SecurityPolicyTests extends ProviderTestCase2<EmailProvider> {
52 super(EmailProvider.class, EmailContent.AUTHORITY); in SecurityPolicyTests()
/packages/apps/Email/tests/src/com/android/email/provider/
DProviderTests.java37 import com.android.email.provider.EmailProvider.EmailAttachmentService;
74 public class ProviderTests extends ProviderTestCase2<EmailProvider> {
76 private EmailProvider mProvider;
80 super(EmailProvider.class, EmailContent.AUTHORITY); in ProviderTests()
1070 EmailProvider.deleteMessageOrphans( in testDeleteOrphanMessages()
1072 EmailProvider.deleteMessageOrphans( in testDeleteOrphanMessages()
1841 File dbFile = mMockContext.getDatabasePath(EmailProvider.DATABASE_NAME); in testDatabaseCorruptionRecovery()
1851 dbFile = mMockContext.getDatabasePath(EmailProvider.BODY_DATABASE_NAME); in testDatabaseCorruptionRecovery()
1863 resolver.update(EmailProvider.INTEGRITY_CHECK_URI, null, null, null); in testDatabaseCorruptionRecovery()
1907 File dbFile = mMockContext.getDatabasePath(EmailProvider.BODY_DATABASE_NAME); in testBodyDatabaseCorruptionRecovery()
[all …]
DContentCacheTests.java44 public class ContentCacheTests extends ProviderTestCase2<EmailProvider> {
46 EmailProvider mProvider;
50 super(EmailProvider.class, EmailContent.AUTHORITY); in ContentCacheTests()
DAccountBackupRestoreTests.java38 public class AccountBackupRestoreTests extends ProviderTestCase2<EmailProvider> {
43 super(EmailProvider.class, EmailContent.AUTHORITY); in AccountBackupRestoreTests()
DPolicyTests.java44 public class PolicyTests extends ProviderTestCase2<EmailProvider> {
52 super(EmailProvider.class, EmailContent.AUTHORITY); in PolicyTests()
DAttachmentProviderTests.java54 EmailProvider mEmailProvider;
69 mEmailProvider = new EmailProvider(); in setUp()
/packages/apps/Email/tests/src/com/android/emailcommon/internet/
DRfc822OutputTests.java24 import com.android.email.provider.EmailProvider;
51 public class Rfc822OutputTests extends ProviderTestCase2<EmailProvider> {
77 super(EmailProvider.class, EmailContent.AUTHORITY); in Rfc822OutputTests()
/packages/apps/Email/provider_src/com/android/email/
DSecurityPolicy.java38 import com.android.email.provider.EmailProvider;
638 Uri uri = EmailProvider.uiUri("uiaccountdata", accountId); in setAccountPolicy()
728 Uri uri = EmailProvider.uiUri("uiaccount", accountId); in deleteSecuredAccounts()
824 Uri uri = EmailProvider.uiUri("uiaccountdata", accountId);
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java25 import com.android.email.provider.EmailProvider;
49 EmailProvider mProvider;
/packages/apps/Email/src/com/android/email/activity/setup/
DAccountCreationFragment.java31 import com.android.email.provider.EmailProvider;
302 EmailProvider.setServicesEnabledSync(mAppContext);
DAccountSettingsFragment.java51 import com.android.email.provider.EmailProvider;
407 EmailProvider.setServicesEnabledAsync(mContext); in onPreferenceChange()
467 EmailProvider.uiUri("uiaccount", account.getId()), in loadInBackground()

12