Home
last modified time | relevance | path

Searched refs:mProviderContext (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Email/tests/src/com/android/email/
DLegacyConversionsTests.java59 Context mProviderContext; field in LegacyConversionsTests
69 mProviderContext = getMockContext(); in setUp()
89 "local-message", accountId, mailboxId, false, true, mProviderContext); in brokentestAddAttachments()
95 "local-message", accountId, mailboxId, false, true, mProviderContext); in brokentestAddAttachments()
109 LegacyConversions.updateAttachments(mProviderContext, localMessage, attachments); in convertAndCheckcheckAddedAttachments()
113 Cursor c = mProviderContext.getContentResolver().query(uri, Attachment.CONTENT_PROJECTION, in convertAndCheckcheckAddedAttachments()
119 Attachment.getContent(mProviderContext, c, Attachment.class); in convertAndCheckcheckAddedAttachments()
177 "local-message", accountId, mailboxId, false, true, mProviderContext); in brokentestAttachmentDispositions()
195 "local-message", accountId, mailboxId, false, true, mProviderContext); in brokentestAddDuplicateAttachments()
204 LegacyConversions.updateAttachments(mProviderContext, localMessage, attachments); in brokentestAddDuplicateAttachments()
[all …]
DControllerProviderOpsTests.java42 private Context mProviderContext; field in ControllerProviderOpsTests
52 mProviderContext = getMockContext(); in setUp()
/packages/apps/Email/tests/src/com/android/email/mail/transport/
DSmtpSenderUnitTests.java50 Context mProviderContext; field in SmtpSenderUnitTests
68 mProviderContext = DBTestHelper.ProviderContextSetupHelper.getProviderContext( in setUp()
78 mSender = (SmtpSender) SmtpSender.newInstance(testAccount, mProviderContext); in setUp()
113 message.save(mProviderContext); in testSendMessageWithBody()
118 body.save(mProviderContext); in testSendMessageWithBody()
144 message.save(mProviderContext); in testSendMessageWithEmptyAttachment()
147 Attachment attachment = setupSimpleAttachment(mProviderContext, message.mId); in testSendMessageWithEmptyAttachment()
148 attachment.save(mProviderContext); in testSendMessageWithEmptyAttachment()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java294 private IsolatedContext mProviderContext; field in ContactsActor
349 mProviderContext = new IsolatedContext(resolver, targetContextWrapper) { in ContactsActor()
403 mMockAccountManager = new MockAccountManager(mProviderContext); in ContactsActor()
404 mockUserManager = new MockUserManager(mProviderContext); in ContactsActor()
405 mMockTelephonyManager = new MockTelephonyManager(mProviderContext); in ContactsActor()
410 return mProviderContext; in getProviderContext()
415 return addProvider(providerClass, authority, mProviderContext); in addProvider()