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

  /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...]
PolicyTests.java 69 Account account1 = ProviderTestUtils.setupAccount("acct1", true, mMockContext); local
71 Policy.setAccountPolicy(mMockContext, account1, policy1, securitySyncKey);
76 account1.refresh(mMockContext);
79 assertTrue(account1.mPolicyKey > 0);
82 assertEquals(account1.mId, Policy.getAccountIdWithPolicyKey(mMockContext,
83 account1.mPolicyKey));
ProviderTests.java 181 Account account1 = ProviderTestUtils.setupAccount("account-save", true, mMockContext); local
182 long account1Id = account1.mId;
186 ProviderTestUtils.assertAccountEqual("testAccountSave", account1, account2);
194 Account account1 = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); local
196 account1.mHostAuthRecv = ProviderTestUtils.setupHostAuth("account-hostauth-recv", -1, false,
198 account1.mHostAuthSend = ProviderTestUtils.setupHostAuth("account-hostauth-send", -1, false,
200 account1.save(mMockContext);
201 long account1Id = account1.mId;
205 ProviderTestUtils.assertAccountEqual("testAccountSave", account1, account1get);
211 account1.mHostAuthRecv, hostAuth1get)
293 Account account1 = ProviderTestUtils.setupAccount("parcel", false, mMockContext); local
312 final Account account1 = ProviderTestUtils.setupAccount("account-1", true, mMockContext); local
342 Account account1 = ProviderTestUtils.setupAccount("account-hostauth", false, mMockContext); local
364 final Account account1 = ProviderTestUtils.setupAccount("account-1", true, mMockContext); local
434 Account account1 = ProviderTestUtils.setupAccount("message-save", true, mMockContext); local
478 Account account1 = ProviderTestUtils.setupAccount("message-save", true, mMockContext); local
526 Account account1 = ProviderTestUtils.setupAccount("message-save", true, mMockContext); local
629 Account account1 = ProviderTestUtils.setupAccount("account-delete-1", true, mMockContext); local
663 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local
696 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local
785 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local
825 Account account1 = ProviderTestUtils.setupAccount("orphaned body", true, mMockContext); local
1037 Account account1 = ProviderTestUtils.setupAccount("message-delete", true, mMockContext); local
1079 Account account1 = ProviderTestUtils.setupAccount("synced-message-delete", true, local
1139 Account account1 = ProviderTestUtils.setupAccount("message-update", true, mMockContext); local
1228 Account account1 = ProviderTestUtils.setupAccount("account-delete-cascade", true, local
1266 Account account1 = ProviderTestUtils.setupAccount("mailbox-delete-cascade", true, local
1335 Account account1 = ProviderTestUtils.setupAccount("message-cascade", true, mMockContext); local
1514 Account account1 = ProviderTestUtils.setupAccount("account-default-1", false, mMockContext); local
1548 Account account1 = ProviderTestUtils.setupAccount("account-default-1", false, mMockContext); local
    [all...]
  /frameworks/base/core/tests/coretests/src/android/content/
SyncOperationTest.java 37 Account account1 = new Account("account1", "type1"); local
44 SyncOperation op1 = new SyncOperation(account1,
54 SyncOperation op2 = new SyncOperation(account1,
64 SyncOperation op3 = new SyncOperation(account1,
84 SyncOperation op5 = new SyncOperation(account1,
SyncStorageEngineTest.java 65 final Account account1 = new Account("a@example.com", "example.type"); local
75 PeriodicSync sync1 = new PeriodicSync(account1, authority, extras1, period1);
76 PeriodicSync sync2 = new PeriodicSync(account1, authority, extras2, period1);
77 PeriodicSync sync3 = new PeriodicSync(account1, authority, extras2, period2);
85 removePeriodicSyncs(engine, account1, authority);
88 // this should add two distinct periodic syncs for account1 and one for account2
94 List<PeriodicSync> syncs = engine.getPeriodicSyncs(account1, authority);
103 syncs = engine.getPeriodicSyncs(account1, authority);
122 final Account account1 = new Account("a@example.com", "example.type"); local
135 extras2.putParcelable("g", account1);
307 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");
140 Account account1 = ProviderTestUtils.setupAccount("1", true, mMockContext) local
173 Account account1 = ProviderTestUtils.setupAccount("1", true, mMockContext); local
208 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/core/tests/coretests/src/android/accounts/
AccountManagerServiceTest.java 69 Account a11 = new Account("account1", "type1");
72 Account a12 = new Account("account1", "type2");
109 Account a11 = new Account("account1", "type1");
110 Account a12 = new Account("account1", "type2");
124 Account a11 = new Account("account1", "type1");
129 Account a12 = new Account("account1", "type2");
156 Account a11 = new Account("account1", "type1");
157 Account a12 = new Account("account1", "type2");
  /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 995 String account1 = "ceq1_account"; local
2080 String account1 = "roid1_account"; local
    [all...]
  /packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
ContactsProvider2Test.java 702 Account account1 = new Account("act1", "actype1"); local
705 long rawContactId1 = createRawContactWithName(account1);
724 Account account1 = new Account("act1", "actype1"); local
727 long rawContactId1 = createRawContactWithName(account1);
846 Account account1 = new Account("a", "b"); local
2041 Account account1 = new Account("a", "b"); local
2115 final Account account1 = new Account("accountName1", "accountType1"); local
2207 Account account1 = new Account("a", "b"); local
2232 Account account1 = new Account("a", "b"); local
4261 Account account1 = new Account("a", "b"); local
    [all...]
BaseContactsProvider2Test.java 78 protected Account mAccount = new Account("account1", "account type1");
    [all...]
  /external/icu4c/test/intltest/
numfmtst.cpp     [all...]

Completed in 241 milliseconds