Home
last modified time | relevance | path

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

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsProvider2_AccountRemovalTest.java25 import android.provider.cts.contacts.DatabaseAsserts.ContactIdPair;
89 ArrayList<ContactIdPair> acc1Ids = createContacts(ACCT_1, 5); in testAccountRemoval_deletesContacts()
90 ArrayList<ContactIdPair> acc2Ids = createContacts(ACCT_2, 15); in testAccountRemoval_deletesContacts()
102 ArrayList<ContactIdPair> acc1Ids = createContacts(ACCT_1, 5); in testAccountRemoval_hasDeleteLogsForContacts()
103 ArrayList<ContactIdPair> acc2Ids = createContacts(ACCT_2, 15); in testAccountRemoval_hasDeleteLogsForContacts()
120 List<ContactIdPair> idList = createAndAssertMergedContact(ACCT_1, ACCT_1); in testAccountRemovalWithMergedContact_deletesContacts()
138 ArrayList<ContactIdPair> acc1Ids = createContacts(ACCT_1, 5); in testAccountRemoval_doesNotDeleteLocalAccountContacts()
139 ArrayList<ContactIdPair> acc2Ids = createContacts(ACCT_2, 15); in testAccountRemoval_doesNotDeleteLocalAccountContacts()
174 ArrayList<ContactIdPair> acc1Ids = createContacts(ACCT_1, 5); in testAccountRemoval_doesNotDeleteSimAccountContacts()
175 ArrayList<ContactIdPair> acc2Ids = createContacts(ACCT_2, 15); in testAccountRemoval_doesNotDeleteSimAccountContacts()
[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()
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
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.java134 DatabaseAsserts.ContactIdPair ids = assertContactCreateDelete(); in testContactDelete_hasDeleteLog()
142 DatabaseAsserts.ContactIdPair ids = assertContactCreateDelete(); in testContactDelete_marksRawContactsForDeletion()
161 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact( in testContactDelete_localContactDeletedImmediately()
175 DatabaseAsserts.ContactIdPair ids1 = DatabaseAsserts.assertAndCreateContactWithName( in testContactDelete_allLocalContactsDeletedImmediately()
177 DatabaseAsserts.ContactIdPair ids2 = DatabaseAsserts.assertAndCreateContactWithName( in testContactDelete_allLocalContactsDeletedImmediately()
205 DatabaseAsserts.ContactIdPair ids1 = DatabaseAsserts.assertAndCreateContactWithName( in testContactDelete_localContactDeletedImmediatelyWhenAggregatedWithNonLocal()
209 DatabaseAsserts.ContactIdPair ids2 = DatabaseAsserts.assertAndCreateContactWithName( in testContactDelete_localContactDeletedImmediatelyWhenAggregatedWithNonLocal()
247 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testContactUpdate_updatesContactUpdatedTimestamp()
434 private DatabaseAsserts.ContactIdPair assertContactCreateDelete() { in assertContactCreateDelete()
435 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in assertContactCreateDelete()
DContactsContract_RawContactsTest.java188 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactCreate_updatesContactUpdatedTimestamp()
251 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactUpdate_updatesContactUpdatedTimestamp()
267 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactPsuedoDelete_hasDeleteLogForContact()
280 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactDelete_hasDeleteLogForContact()
DContactsContract_DataUsageTest.java58 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testSingleDataUsageFeedback_incrementsCorrectDataItems()
76 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testMultiIdDataUsageFeedback_incrementsCorrectDataItems()
DContactsContract_DataTest.java571 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataInsert_updatesContactLastUpdatedTimestamp()
585 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataDelete_updatesContactLastUpdatedTimestamp()
666 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataUpdate_updatesContactLastUpdatedTimestamp()