/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
SyncOperationTest.java | 58 Account account2 = new Account("account2", "type2"); local 88 SyncOperation op4 = new SyncOperation(account2, 0,
|
SyncStorageEngineTest.java | 47 protected Account account2; field in class:SyncStorageEngineTest 69 account2 = new Account("b@example.com", "example.type"); 110 final Account account2 = new Account("b@example.com", "example.type.2"); local 119 engine.setIsSyncable(account2, 0, authority1, 1); 120 engine.setSyncAutomatically(account2, 0, authority1, true); 125 engine.setIsSyncable(account2, 0, authority2, 0); 126 engine.setSyncAutomatically(account2, 0, authority2, true); 132 assertEquals(true, engine.getSyncAutomatically(account2, 0, authority1)); 134 assertEquals(true, engine.getSyncAutomatically(account2, 0, authority2)); 137 assertEquals(1, engine.getIsSyncable(account2, 0, authority1)) 173 final Account account2 = new Account("acc2", "type2"); local [all...] |
/packages/apps/Email/tests/src/com/android/email/service/ |
EmailBroadcastProcessorServiceTests.java | 92 Account account2 = ProviderTestUtils.setupAccount("pop-account1", false, mMockContext); local 93 account2.mHostAuthRecv = setupSimpleHostAuth("pop3"); 94 account2.mHostAuthSend = setupSimpleHostAuth("smtp"); 95 account2.mFlags = 0x08; // set delete policy 96 account2.save(mMockContext); 97 long accountId2 = account2.mId; 98 Account account3 = ProviderTestUtils.setupAccount("pop-account2", false, mMockContext); 109 Account account5 = ProviderTestUtils.setupAccount("imap-account2", false, mMockContext);
|
/packages/apps/Email/tests/src/com/android/email/provider/ |
PolicyTests.java | 74 Account account2 = ProviderTestUtils.setupAccount("acct2", true, mMockContext); local 76 SecurityPolicy.setAccountPolicy(mMockContext, account2, policy2, securitySyncKey); 79 account2.refresh(mMockContext); 83 assertTrue(account2.mPolicyKey > 0); 86 assertEquals(account2.mId, Policy.getAccountIdWithPolicyKey(mMockContext, 87 account2.mPolicyKey));
|
AttachmentProviderTests.java | 596 Account account2 = ProviderTestUtils.setupAccount("attach-acct-del2", false, mMockContext); local 597 account2.save(mMockContext); 598 long account2Id = account2.mId; 607 populateAccountMailbox(account2, mailbox3Id, 5); 608 populateAccountMailbox(account2, mailbox4Id, 2); 615 account2.mId);
|
ProviderTests.java | 195 Account account2 = Account.restoreAccountWithId(mMockContext, account1Id); local 197 ProviderTestUtils.assertAccountEqual("testAccountSave", account1, account2); 310 Account account2 = (Account) b2.getParcelable("account"); local 313 ProviderTestUtils.assertAccountEqual("testAccountParcel", account1, account2); 334 Account account2 = local 336 account2.save(mMockContext); 338 assertNull(Account.getProtocol(mMockContext, account2.mId)); 339 assertNull(account2.getProtocol(mMockContext)); 346 final Account account2 = ProviderTestUtils.setupAccount("account-2", true, mMockContext); local 349 assertTrue(Account.isValidId(mMockContext, account2.mId)) 617 Account account2 = ProviderTestUtils.setupAccount("account-delete-2", true, mMockContext); local 1632 Account account2 = ProviderTestUtils.setupAccount("account-default-2", false, mMockContext); local 1664 Account account2 = ProviderTestUtils.setupAccount("account-default-2", false, mMockContext); local [all...] |
/cts/tests/tests/provider/src/android/provider/cts/ |
CalendarTest.java | 1128 String account2 = "ceq2_account"; local 1519 String account2 = "colw2_account"; local 2774 String account2 = "roid2_account"; local [all...] |
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsProvider2Test.java | 1012 Account account2 = new Account("act2", "actype2"); local 1034 Account account2 = new Account("act2", "actype2"); local 1264 Account account2 = new Account("c", "d"); local 2945 Account account2 = new Account(accountName2, accountType2); local 4309 Account account2 = new Account("c", "d"); local 4384 final Account account2 = new Account("accountName2", "accountType2"); local 4412 final Account account2 = new Account("accountName2", "accountType2"); local 4443 final Account account2 = new Account("accountName2", "accountType2"); local 4565 Account account2 = new Account("c", "d"); local 4590 AccountWithDataSet account2 = new AccountWithDataSet("c", "d", "plus"); local 6436 Account account2 = new Account("c", "d"); local [all...] |