/packages/apps/Email/tests/src/com/android/email/provider/ |
AttachmentProviderTests.java | 93 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); local 94 account1.mCompatibilityUuid = "test-UUID"; 95 account1.save(mMockContext); 105 Uri attachment1Uri = AttachmentUtilities.getAttachmentUri(account1.mId, 107 Uri attachment2Uri = AttachmentUtilities.getAttachmentUri(account1.mId, 109 Uri attachment3Uri = AttachmentUtilities.getAttachmentUri(account1.mId, 121 AttachmentUtilities.getAttachmentUri(account1.mId, attachment1Id).toString(); 122 attachment1Id = addAttachmentToDb(account1, newAttachment1); 128 AttachmentUtilities.getAttachmentUri(account1.mId, attachment2Id).toString(); 129 attachment2Id = addAttachmentToDb(account1, newAttachment2) 263 Account account1 = ProviderTestUtils.setupAccount("get-type", false, mMockContext); local 342 Account account1 = ProviderTestUtils.setupAccount("open-file", false, mMockContext); local 408 Account account1 = ProviderTestUtils.setupAccount("open-thumbnail", false, mMockContext); local 475 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); local 516 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); local 571 Account account1 = ProviderTestUtils.setupAccount("attach-mbox-del", false, mMockContext); local 604 Account account1 = ProviderTestUtils.setupAccount("attach-acct-del1", false, mMockContext); local [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncOperationTest.java | 39 Account account1 = new Account("account1", "type1"); local 46 SyncOperation op1 = new SyncOperation(account1, 0, 57 SyncOperation op2 = new SyncOperation(account1, 0, 68 SyncOperation op3 = new SyncOperation(account1, 0, 90 SyncOperation op5 = new SyncOperation(account1, 0,
|
SyncStorageEngineTest.java | 75 final Account account1 = new Account("a@example.com", "example.type"); local 85 PeriodicSync sync1 = new PeriodicSync(account1, authority, extras1, period1); 86 PeriodicSync sync2 = new PeriodicSync(account1, authority, extras2, period1); 87 PeriodicSync sync3 = new PeriodicSync(account1, authority, extras2, period2); 95 removePeriodicSyncs(engine, account1, 0, authority); 97 removePeriodicSyncs(engine, account1, 1, authority); 99 // this should add two distinct periodic syncs for account1 and one for account2 107 List<PeriodicSync> syncs = engine.getPeriodicSyncs(account1, 0, authority); 116 syncs = engine.getPeriodicSyncs(account1, 0, authority); 141 final Account account1 = new Account("a@example.com", "example.type") local 359 final Account account1 = new Account("acc1", "type1"); local [all...] |
/packages/apps/Email/tests/src/com/android/email/service/ |
EmailBroadcastProcessorServiceTests.java | 85 Account account1 = ProviderTestUtils.setupAccount("eas-account1", false, mMockContext); local 86 account1.mHostAuthRecv = setupSimpleHostAuth("eas"); 87 account1.mHostAuthSend = account1.mHostAuthRecv; 88 account1.save(mMockContext); 89 long accountId1 = account1.mId; 90 Account account2 = ProviderTestUtils.setupAccount("pop-account1", false, mMockContext); 101 Account account4 = ProviderTestUtils.setupAccount("imap-account1", false, mMockContext);
|
MailServiceTests.java | 240 Account easAccount = ProviderTestUtils.setupAccount("account1", false, mMockContext); 299 Account account1 = ProviderTestUtils.setupAccount("account1", false, mMockContext); local 300 account1.mHostAuthRecv = setupSimpleHostAuth("imap"); 301 account1.mHostAuthSend = setupSimpleHostAuth("smtp"); 302 account1.mSyncInterval = 30; 303 account1.mEmailAddress = null; 304 account1.save(mMockContext);
|
/packages/apps/Email/tests/src/com/android/email/ |
ControllerProviderOpsTests.java | 181 Account account1 = ProviderTestUtils.setupAccount("message-move", true, mProviderContext); local 182 long account1Id = account1.mId; 213 Account account1 = ProviderTestUtils.setupAccount("message-delete", true, mProviderContext); local 214 long account1Id = account1.mId; 273 Account account1 = local 275 long account1Id = account1.mId; 302 Account account1 = ProviderTestUtils.setupAccount("read-unread", false, mProviderContext); local 303 account1.mHostAuthRecv 305 account1.save(mProviderContext); 306 long account1Id = account1.mId 334 Account account1 = ProviderTestUtils.setupAccount("favorites", false, mProviderContext); local 390 Account account1 = ProviderTestUtils.setupAccount("wipe-synced-1", false, mProviderContext); local 492 Account account1 = ProviderTestUtils.setupAccount("account1", false, local [all...] |
/packages/apps/Email/tests/src/com/android/email/activity/ |
WelcomeTests.java | 39 final Account account1 = ProviderTestUtils.setupAccount("account-1", true, c); local 40 final long id1 = account1.mId; 62 assertEquals(id1, Welcome.resolveAccountId(c, -1, account1.mCompatibilityUuid));
|
/packages/apps/Email/tests/src/com/android/emailcommon/utility/ |
UtilityMediumTests.java | 62 Account account1 = ProviderTestUtils.setupAccount("account1", false, mMockContext); local 63 account1.mHostAuthRecv = ProviderTestUtils.setupHostAuth("ha1", -1, false, mMockContext); 64 account1.mHostAuthSend = ProviderTestUtils.setupHostAuth("ha1", -1, false, mMockContext); 65 account1.save(mMockContext); 73 assertEquals("account1", acct.mDisplayName); 80 // Try to find account1, excluding account1 81 acct = Utility.findExistingAccount(mMockContext, account1.mId, "address-ha1", "login-ha1"); 150 Account account1 = ProviderTestUtils.setupAccount("1", true, mMockContext) local 183 Account account1 = ProviderTestUtils.setupAccount("1", true, mMockContext); local 218 Account account1 = ProviderTestUtils.setupAccount("1", true, mMockContext); local [all...] |
UtilityUnitTests.java | 321 Account account1 = ProviderTestUtils.setupAccount("account1", true, mockContext); local 325 Mailbox mailbox1_1 = ProviderTestUtils.setupMailbox("mbox1_1", account1.mId, true, 327 Mailbox mailbox1_2 = ProviderTestUtils.setupMailbox("mbox1_2", account1.mId, true, 329 Mailbox mailbox1_3 = ProviderTestUtils.setupMailbox("mbox1_3", account1.mId, true, 331 Mailbox mailbox1_4 = ProviderTestUtils.setupMailbox("mbox1_4", account1.mId, true, 333 Mailbox mailbox1_5 = ProviderTestUtils.setupMailbox("mbox1_5", account1.mId, true, 343 Message message1_1_1 = ProviderTestUtils.setupMessage("message_1_1_1", account1.mId, 345 Message message1_1_2 = ProviderTestUtils.setupMessage("message_1_1_2", account1.mId, 347 Message message1_1_3 = ProviderTestUtils.setupMessage("message_1_1_3", account1.mId [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/ |
AccountManagerServiceTest.java | 72 Account a11 = new Account("account1", "type1"); 75 Account a12 = new Account("account1", "type2"); 112 Account a11 = new Account("account1", "type1"); 113 Account a12 = new Account("account1", "type2"); 127 Account a11 = new Account("account1", "type1"); 132 Account a12 = new Account("account1", "type2"); 159 Account a11 = new Account("account1", "type1"); 160 Account a12 = new Account("account1", "type2");
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsProvider2Test.java | 830 Account account1 = new Account("act1", "actype1"); local 852 Account account1 = new Account("act1", "actype1"); local 974 Account account1 = new Account("a", "b"); local 2992 Account account1 = new Account("a", "b"); local 3067 final Account account1 = new Account("accountName1", "accountType1"); local 3095 final Account account1 = new Account("accountName1", "accountType1"); local 3126 final Account account1 = new Account("accountName1", "accountType1"); local 3248 Account account1 = new Account("a", "b"); local 3273 Account account1 = new Account("a", "b"); local 5281 Account account1 = new Account("a", "b"); local [all...] |
BaseContactsProvider2Test.java | 90 protected Account mAccount = new Account("account1", "account type1"); [all...] |
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
MailboxTests.java | 97 Account account1 = ProviderTestUtils.setupAccount("mailbox-save", true, c); local 98 long account1Id = account1.mId; 113 Account account1 = ProviderTestUtils.setupAccount("mailbox-delete", true, c); local 114 long account1Id = account1.mId;
|
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | 1127 String account1 = "ceq1_account"; local 2768 String account1 = "roid1_account"; local [all...] |
/external/icu4c/test/intltest/ |
numfmtst.cpp | [all...] |