Home
last modified time | relevance | path

Searched refs:ContactIdPair (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DContactsProvider2_AccountRemovalTest.java19 import static android.provider.cts.contacts.DatabaseAsserts.ContactIdPair;
74 ArrayList<ContactIdPair> acc1Ids = createContacts(ACCT_1, 5); in testAccountRemoval_deletesContacts()
75 ArrayList<ContactIdPair> acc2Ids = createContacts(ACCT_2, 15); in testAccountRemoval_deletesContacts()
87 ArrayList<ContactIdPair> acc1Ids = createContacts(ACCT_1, 5); in testAccountRemoval_hasDeleteLogsForContacts()
88 ArrayList<ContactIdPair> acc2Ids = createContacts(ACCT_2, 15); in testAccountRemoval_hasDeleteLogsForContacts()
105 ArrayList<ContactIdPair> idList = createAndAssertMergedContact(ACCT_1, ACCT_1); in testAccountRemovalWithMergedContact_deletesContacts()
117 ArrayList<ContactIdPair> idList = createAndAssertMergedContact(ACCT_1, ACCT_2); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
134 ArrayList<ContactIdPair> idList = createAndAssertMergedContact(ACCT_1, ACCT_1); in testAccountRemovalWithMergedContact_hasDeleteLogsForContacts()
140 private ArrayList<ContactIdPair> createAndAssertMergedContact(Account acct, Account acct2) { in createAndAssertMergedContact()
141 ContactIdPair ids1 = DatabaseAsserts.assertAndCreateContactWithName(mResolver, acct, in createAndAssertMergedContact()
[all …]
DContactsContract_DeletedContacts.java19 import static android.provider.cts.contacts.DatabaseAsserts.ContactIdPair;
61 ContactIdPair ids = createAndDeleteContact(); in testQuery_returnsProperColumns()
79 ContactIdPair ids = createAndDeleteContact(); in testQueryByContactId()
133 private ContactIdPair createAndDeleteContact() { in createAndDeleteContact()
134 ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in createAndDeleteContact()
DContactsContract_PinnedPositionsTest.java62 final DatabaseAsserts.ContactIdPair i1 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate()
63 final DatabaseAsserts.ContactIdPair i2 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate()
64 final DatabaseAsserts.ContactIdPair i3 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate()
65 final DatabaseAsserts.ContactIdPair i4 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate()
140 final DatabaseAsserts.ContactIdPair i1 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit()
141 final DatabaseAsserts.ContactIdPair i2 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit()
142 final DatabaseAsserts.ContactIdPair i3 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit()
143 final DatabaseAsserts.ContactIdPair i4 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit()
144 final DatabaseAsserts.ContactIdPair i5 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit()
145 final DatabaseAsserts.ContactIdPair i6 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit()
[all …]
DContactsContract_ContactsTest.java128 DatabaseAsserts.ContactIdPair ids = assertContactCreateDelete();
136 DatabaseAsserts.ContactIdPair ids = assertContactCreateDelete();
154 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver);
244 private DatabaseAsserts.ContactIdPair assertContactCreateDelete() {
245 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver);
DContactsContract_RawContactsTest.java166 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactCreate_updatesContactUpdatedTimestamp()
177 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactUpdate_updatesContactUpdatedTimestamp()
193 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactPsuedoDelete_hasDeleteLogForContact()
206 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactDelete_hasDeleteLogForContact()
DContactsContract_DataUsageTest.java42 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testSingleDataUsageFeedback_incrementsCorrectDataItems()
62 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testMultiIdDataUsageFeedback_incrementsCorrectDataItems()
DContactsContract_DataTest.java537 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataInsert_updatesContactLastUpdatedTimestamp()
551 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataDelete_updatesContactLastUpdatedTimestamp()
632 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataUpdate_updatesContactLastUpdatedTimestamp()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DDatabaseAsserts.java64 public static ContactIdPair assertAndCreateContact(ContentResolver resolver) { in assertAndCreateContact()
73 public static ContactIdPair assertAndCreateContactWithName(ContentResolver resolver, in assertAndCreateContactWithName()
80 return new ContactIdPair(contactId, rawContactId); in assertAndCreateContactWithName()
88 public static ContactIdPair assertAndCreateContact(ContentResolver resolver, Account account) { in assertAndCreateContact()
94 return new ContactIdPair(contactId, rawContactId); in assertAndCreateContact()
117 public static class ContactIdPair { class in DatabaseAsserts
121 public ContactIdPair(long contactId, long rawContactId) { in ContactIdPair() method in DatabaseAsserts.ContactIdPair