Home
last modified time | relevance | path

Searched refs:ContactUtil (Results 1 – 9 of 9) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/contacts/
DContactsContract_PinnedPositionsTest.java19 import static android.provider.cts.contacts.ContactUtil.newContentValues;
34 import android.provider.cts.contacts.ContactUtil;
129 ContactUtil.delete(mResolver, i1.mContactId); in testPinnedPositionsUpdate()
130 ContactUtil.delete(mResolver, i2.mContactId); in testPinnedPositionsUpdate()
131 ContactUtil.delete(mResolver, i3.mContactId); in testPinnedPositionsUpdate()
132 ContactUtil.delete(mResolver, i4.mContactId); in testPinnedPositionsUpdate()
159 ContactUtil.setAggregationException(mResolver, AggregationExceptions.TYPE_KEEP_TOGETHER, in testPinnedPositionsAfterJoinAndSplit()
184 ContactUtil.setAggregationException(mResolver, AggregationExceptions.TYPE_KEEP_TOGETHER, in testPinnedPositionsAfterJoinAndSplit()
203 ContactUtil.setAggregationException(mResolver, AggregationExceptions.TYPE_KEEP_SEPARATE, in testPinnedPositionsAfterJoinAndSplit()
240 ContactUtil.setAggregationException(mResolver, AggregationExceptions.TYPE_KEEP_TOGETHER, in testPinnedPositionsAfterJoinAndSplit()
[all …]
DContactsContract_ContactsTest.java162 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testContactUpdate_updatesContactUpdatedTimestamp()
168 ContactUtil.update(mResolver, ids.mContactId, values); in testContactUpdate_updatesContactUpdatedTimestamp()
170 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testContactUpdate_updatesContactUpdatedTimestamp()
195 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
204 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
213 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdate_usageStats()
238 ContactUtil.update(mResolver, contact.getId(), values); in testContactUpdateDelete_usageStats_visibilityInWhere()
337 ContactUtil.delete(mResolver, ids.mContactId); in assertContactCreateDelete()
339 assertFalse(ContactUtil.recordExistsForContactId(mResolver, ids.mContactId)); in assertContactCreateDelete()
DContactsContract_RawContactsTest.java174 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp()
180 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp()
190 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactPsuedoDelete_hasDeleteLogForContact()
203 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactDelete_hasDeleteLogForContact()
217 return ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId); in getContactLastUpdatedTimestampByRawContactId()
DContactsContract_DataUsageTest.java164 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate()
172 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate()
182 assertEquals(1, ContactUtil.update(mResolver, contact.getId(), values)); in testUsageUpdate()
DContactsContract_StructuredPhoneticName.java104 ContactUtil.setAggregationException(mResolver, AggregationExceptions.TYPE_KEEP_TOGETHER, in testPhoneticStructuredName_phoneticPriority1()
141 ContactUtil.setAggregationException(mResolver, AggregationExceptions.TYPE_KEEP_TOGETHER, in testPhoneticStructuredName_phoneticPriority2()
DContactsProvider2_AccountRemovalTest.java112 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
116 while (ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId) == baseTime) { in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
DContactsContract_DataTest.java572 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataInsert_updatesContactLastUpdatedTimestamp()
577 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataInsert_updatesContactLastUpdatedTimestamp()
589 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataDelete_updatesContactLastUpdatedTimestamp()
594 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataDelete_updatesContactLastUpdatedTimestamp()
668 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataUpdate_updatesContactLastUpdatedTimestamp()
675 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataUpdate_updatesContactLastUpdatedTimestamp()
DContactUtil.java32 public class ContactUtil { class
DDatabaseAsserts.java106 Assert.assertFalse(ContactUtil.recordExistsForContactId(resolver, contactId)); in assertHasDeleteLogGreaterThan()