HomeSort by relevance Sort by last modified time
    Searched defs:account1 (Results 1 - 10 of 10) sorted by null

  /frameworks/base/services/tests/servicestests/src/com/android/server/content/
SyncOperationTest.java 50 mDummy = new Account("account1", "type1");
57 Account account1 = new Account("account1", "type1"); local
64 SyncOperation op1 = new SyncOperation(account1, 0,
72 SyncOperation op2 = new SyncOperation(account1, 0,
80 SyncOperation op3 = new SyncOperation(account1, 0,
96 SyncOperation op5 = new SyncOperation(account1, 0,
111 Account account1 = new Account("account1", "type1"); local
113 b1.putParcelable("acc", account1);
    [all...]
SyncStorageEngineTest.java 46 protected Account account1; field in class:SyncStorageEngineTest
68 account1 = new Account("a@example.com", "example.type");
109 final Account account1 = new Account("a@example.com", "example.type"); local
116 engine.setIsSyncable(account1, 0, authority1, 1);
117 engine.setSyncAutomatically(account1, 0, authority1, true);
122 engine.setIsSyncable(account1, 0, authority2, 1);
123 engine.setSyncAutomatically(account1, 0, authority2, false);
131 assertEquals(true, engine.getSyncAutomatically(account1, 0, authority1));
133 assertEquals(false, engine.getSyncAutomatically(account1, 0, authority2));
136 assertEquals(1, engine.getIsSyncable(account1, 0, authority1))
172 final Account account1 = new Account("acc1", "type1"); local
    [all...]
  /packages/apps/Email/tests/src/com/android/email/service/
EmailBroadcastProcessorServiceTests.java 87 Account account1 = ProviderTestUtils.setupAccount("eas-account1", false, mMockContext); local
88 account1.mHostAuthRecv = setupSimpleHostAuth("eas");
89 account1.mHostAuthSend = account1.mHostAuthRecv;
90 account1.save(mMockContext);
91 long accountId1 = account1.mId;
92 Account account2 = ProviderTestUtils.setupAccount("pop-account1", false, mMockContext);
103 Account account4 = ProviderTestUtils.setupAccount("imap-account1", false, mMockContext);
  /packages/apps/Email/tests/src/com/android/email/provider/
PolicyTests.java 71 Account account1 = ProviderTestUtils.setupAccount("acct1", true, mMockContext); local
73 SecurityPolicy.setAccountPolicy(mMockContext, account1, policy1, securitySyncKey);
78 account1.refresh(mMockContext);
81 assertTrue(account1.mPolicyKey > 0);
84 assertEquals(account1.mId, Policy.getAccountIdWithPolicyKey(mMockContext,
85 account1.mPolicyKey));
AttachmentProviderTests.java 83 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); local
84 account1.save(mMockContext);
94 Uri attachment1Uri = AttachmentUtilities.getAttachmentUri(account1.mId,
96 Uri attachment2Uri = AttachmentUtilities.getAttachmentUri(account1.mId,
98 Uri attachment3Uri = AttachmentUtilities.getAttachmentUri(account1.mId,
110 AttachmentUtilities.getAttachmentUri(account1.mId, attachment1Id).toString());
111 attachment1Id = addAttachmentToDb(account1, newAttachment1);
117 AttachmentUtilities.getAttachmentUri(account1.mId, attachment2Id).toString());
118 attachment2Id = addAttachmentToDb(account1, newAttachment2);
124 AttachmentUtilities.getAttachmentUri(account1.mId, attachment3Id).toString())
252 Account account1 = ProviderTestUtils.setupAccount("get-type", false, mMockContext); local
330 Account account1 = ProviderTestUtils.setupAccount("open-file", false, mMockContext); local
395 Account account1 = ProviderTestUtils.setupAccount("open-thumbnail", false, mMockContext); local
461 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); local
501 Account account1 = ProviderTestUtils.setupAccount("attachment-query", false, mMockContext); local
555 Account account1 = ProviderTestUtils.setupAccount("attach-mbox-del", false, mMockContext); local
587 Account account1 = ProviderTestUtils.setupAccount("attach-acct-del1", false, mMockContext); local
    [all...]
ProviderTests.java 192 Account account1 = ProviderTestUtils.setupAccount("account-save", true, mMockContext); local
193 long account1Id = account1.mId;
197 ProviderTestUtils.assertAccountEqual("testAccountSave", account1, account2);
205 Account account1 = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); local
207 account1.mHostAuthRecv =
209 account1.mHostAuthSend =
211 account1.save(mMockContext);
212 long account1Id = account1.mId;
216 ProviderTestUtils.assertAccountEqual("testAccountSave", account1, account1get);
222 "testAccountSaveHostAuth-recv", account1.mHostAuthRecv, hostAuth1get)
302 Account account1 = ProviderTestUtils.setupAccount("parcel", false, mMockContext); local
322 Account account1 = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); local
345 final Account account1 = ProviderTestUtils.setupAccount("account-1", true, mMockContext); local
408 Account account1 = ProviderTestUtils.setupAccount("message-save", true, mMockContext); local
452 Account account1 = ProviderTestUtils.setupAccount("message-save", true, mMockContext); local
502 Account account1 = ProviderTestUtils.setupAccount("message-save", true, mMockContext); local
615 Account account1 = ProviderTestUtils.setupAccount("account-delete-1", true, mMockContext); local
649 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local
690 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local
766 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local
814 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local
1087 Account account1 = ProviderTestUtils.setupAccount("message-delete", true, mMockContext); local
1137 Account account1 = local
1203 Account account1 = ProviderTestUtils.setupAccount("message-update", true, mMockContext); local
1298 Account account1 = local
1344 Account account1 = local
1430 Account account1 = ProviderTestUtils.setupAccount("message-cascade", true, mMockContext); local
1625 Account account1 = ProviderTestUtils.setupAccount("account-default-1", false, mMockContext); local
1661 Account account1 = ProviderTestUtils.setupAccount("account-default-1", false, mMockContext); local
    [all...]
  /packages/apps/Email/tests/src/com/android/emailcommon/provider/
MailboxTests.java 99 Account account1 = ProviderTestUtils.setupAccount("mailbox-save", true, c); local
100 long account1Id = account1.mId;
115 Account account1 = ProviderTestUtils.setupAccount("mailbox-delete", true, c); local
116 long account1Id = account1.mId;
  /packages/services/Telecomm/src/com/android/server/telecom/
PhoneAccountRegistrar.java 666 private String getAccountDiffString(PhoneAccount account1, PhoneAccount account2) {
667 if (account1 == null || account2 == null) {
668 return "Diff: " + account1 + ", " + account2;
672 sb.append("[").append(account1.getAccountHandle());
673 appendDiff(sb, "addr", Log.piiHandle(account1.getAddress()),
675 appendDiff(sb, "cap", account1.getCapabilities(), account2.getCapabilities());
676 appendDiff(sb, "hl", account1.getHighlightColor(), account2.getHighlightColor());
677 appendDiff(sb, "icon", account1.getIcon(), account2.getIcon());
678 appendDiff(sb, "lbl", account1.getLabel(), account2.getLabel());
679 appendDiff(sb, "desc", account1.getShortDescription(), account2.getShortDescription())
    [all...]
  /cts/tests/tests/provider/src/android/provider/cts/
CalendarTest.java 1127 String account1 = "ceq1_account"; local
2773 String account1 = "roid1_account"; local
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsProvider2Test.java 1011 Account account1 = new Account("act1", "actype1"); local
1033 Account account1 = new Account("act1", "actype1"); local
1263 Account account1 = new Account("a", "b"); local
2912 Account account1 = new Account(accountName1, accountType1); local
4308 Account account1 = new Account("a", "b"); local
4383 final Account account1 = new Account("accountName1", "accountType1"); local
4411 final Account account1 = new Account("accountName1", "accountType1"); local
4442 final Account account1 = new Account("accountName1", "accountType1"); local
4564 Account account1 = new Account("a", "b"); local
4589 Account account1 = new Account("a", "b"); local
6435 Account account1 = new Account("a", "b"); local
    [all...]

Completed in 656 milliseconds