/packages/apps/Email/tests/src/com/android/email/ |
D | SecurityPolicyTests.java | 136 ProviderTestUtils.setupAccount("no-sec-1", true, mMockContext); in testAggregator() 137 ProviderTestUtils.setupAccount("no-sec-2", true, mMockContext); in testAggregator() 142 Account a3 = ProviderTestUtils.setupAccount("sec-3", true, mMockContext); in testAggregator() 168 Account a4 = ProviderTestUtils.setupAccount("sec-4", true, mMockContext); in testAggregator() 194 Account a5 = ProviderTestUtils.setupAccount("sec-5", true, mMockContext); in testAggregator() 235 Account account = ProviderTestUtils.setupAccount("testaccount", true, mMockContext); in testSettingAccountPolicy() 278 Account a2 = ProviderTestUtils.setupAccount("holdflag-2", false, mMockContext); in testSetClearHoldFlag() 299 Account a1 = ProviderTestUtils.setupAccount("disable-1", true, mMockContext); in testDisableAdmin() 304 Account a2 = ProviderTestUtils.setupAccount("disable-2", true, mMockContext); in testDisableAdmin() 309 Account a3 = ProviderTestUtils.setupAccount("disable-3", true, mMockContext); in testDisableAdmin() [all …]
|
D | AccountTestCase.java | 67 return ProviderTestUtils.setupAccount(username, true, getMockContext()); in setupProviderAndAccountManagerAccount()
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
D | ProviderTests.java | 192 Account account1 = ProviderTestUtils.setupAccount("account-save", true, mMockContext); in testAccountSave() 205 Account account1 = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); in testAccountSaveHostAuth() 230 Account account = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); in testAccountGetHostAuthSend() 264 Account account = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); in testAccountGetHostAuthRecv() 302 Account account1 = ProviderTestUtils.setupAccount("parcel", false, mMockContext); in testAccountParcel() 322 Account account1 = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); in testGetProtocol() 335 ProviderTestUtils.setupAccount("account-nohostauth", false, mMockContext); in testGetProtocol() 345 final Account account1 = ProviderTestUtils.setupAccount("account-1", true, mMockContext); in testAccountIsValidId() 346 final Account account2 = ProviderTestUtils.setupAccount("account-2", true, mMockContext); in testAccountIsValidId() 408 Account account1 = ProviderTestUtils.setupAccount("message-save", true, mMockContext); in testMessageSave() [all …]
|
D | AttachmentProviderTests.java | 83 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); in testQuery() 171 Account a1 = ProviderTestUtils.setupAccount("inboxquery-1", true, mMockContext); in testInboxQuery() 172 Account a2 = ProviderTestUtils.setupAccount("inboxquery-2", true, mMockContext); in testInboxQuery() 252 Account account1 = ProviderTestUtils.setupAccount("get-type", false, mMockContext); in testGetType() 330 Account account1 = ProviderTestUtils.setupAccount("open-file", false, mMockContext); in testOpenFile() 395 Account account1 = ProviderTestUtils.setupAccount("open-thumbnail", false, mMockContext); in testOpenThumbnail() 461 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); in testResolveAttachmentIdToContentUri() 501 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); in testDeleteFiles() 555 Account account1 = ProviderTestUtils.setupAccount("attach-mbox-del", false, mMockContext); in testDeleteMailbox() 587 Account account1 = ProviderTestUtils.setupAccount("attach-acct-del1", false, mMockContext); in testDeleteAccount() [all …]
|
D | PolicyTests.java | 71 Account account1 = ProviderTestUtils.setupAccount("acct1", true, mMockContext); in testGetAccountIdWithPolicyKey() 74 Account account2 = ProviderTestUtils.setupAccount("acct2", true, mMockContext); in testGetAccountIdWithPolicyKey() 92 Account account = ProviderTestUtils.setupAccount("acct", true, mMockContext); in testSetAndClearAccountPolicy() 124 Account acct = ProviderTestUtils.setupAccount("acct1", true, mMockContext); in testSetAttachmentFlagsForNewPolicy()
|
D | AccountBackupRestoreTests.java | 84 ProviderTestUtils.setupAccount("testBackup1", false, mMockContext); in testBackupAndRestore() 91 ProviderTestUtils.setupAccount("testBackup2", false, mMockContext); in testBackupAndRestore()
|
D | ContentCacheTests.java | 140 Account acct = ProviderTestUtils.setupAccount("account", true, context); in testCachedCursors()
|
D | ProviderTestUtils.java | 50 public static Account setupAccount(String name, boolean saveIt, Context context) { in setupAccount() method in ProviderTestUtils
|
/packages/apps/Email/tests/src/com/android/email/service/ |
D | EmailBroadcastProcessorServiceTests.java | 87 Account account1 = ProviderTestUtils.setupAccount("eas-account1", false, mMockContext); in testSetImapDeletePolicy() 92 Account account2 = ProviderTestUtils.setupAccount("pop-account1", false, mMockContext); in testSetImapDeletePolicy() 98 Account account3 = ProviderTestUtils.setupAccount("pop-account2", false, mMockContext); in testSetImapDeletePolicy() 103 Account account4 = ProviderTestUtils.setupAccount("imap-account1", false, mMockContext); in testSetImapDeletePolicy() 109 Account account5 = ProviderTestUtils.setupAccount("imap-account2", false, mMockContext); in testSetImapDeletePolicy() 115 Account account6 = ProviderTestUtils.setupAccount("imap-account3", false, mMockContext); in testSetImapDeletePolicy()
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | MailboxTests.java | 99 Account account1 = ProviderTestUtils.setupAccount("mailbox-save", true, c); in testSave() 115 Account account1 = ProviderTestUtils.setupAccount("mailbox-delete", true, c); in testDelete() 149 Account a = ProviderTestUtils.setupAccount("acct1", true, c); in testGetMailboxType() 161 Account a = ProviderTestUtils.setupAccount("acct1", true, c); in testGetDisplayName() 173 Account a = ProviderTestUtils.setupAccount("acct1", true, c); in testIsRefreshable() 195 Account a = ProviderTestUtils.setupAccount("acct1", true, c); in testCanMoveFrom() 253 Account acct1 = ProviderTestUtils.setupAccount("acct1", true, context); in testFindMailboxOfType() 260 Account acct2 = ProviderTestUtils.setupAccount("acct1", true, context); in testFindMailboxOfType() 303 Account acct1 = ProviderTestUtils.setupAccount("acct1", true, context); in testRestoreMailboxOfType() 310 Account acct2 =ProviderTestUtils.setupAccount("acct1", true, context); in testRestoreMailboxOfType() [all …]
|
/packages/apps/Email/tests/src/com/android/email/mail/ |
D | StoreTests.java | 64 Account testAccount = ProviderTestUtils.setupAccount("pop", false, mMockContext); in testGetInstance() 77 testAccount = ProviderTestUtils.setupAccount("pop", false, mMockContext); in testGetInstance() 89 testAccount = ProviderTestUtils.setupAccount("unknown", false, mMockContext); in testGetInstance()
|
/packages/apps/Email/tests/src/com/android/email/mail/store/ |
D | Pop3StoreUnitTests.java | 73 Account testAccount = ProviderTestUtils.setupAccount("acct1", false, mMockContext); in setUp()
|