Searched refs:ContactUtil (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_PinnedPositionsTest.java | 19 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 …]
|
D | ContactsContract_ContactsTest.java | 162 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()
|
D | ContactsContract_RawContactsTest.java | 174 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()
|
D | ContactsContract_DataUsageTest.java | 164 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()
|
D | ContactsContract_StructuredPhoneticName.java | 104 ContactUtil.setAggregationException(mResolver, AggregationExceptions.TYPE_KEEP_TOGETHER, in testPhoneticStructuredName_phoneticPriority1() 141 ContactUtil.setAggregationException(mResolver, AggregationExceptions.TYPE_KEEP_TOGETHER, in testPhoneticStructuredName_phoneticPriority2()
|
D | ContactsProvider2_AccountRemovalTest.java | 112 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated() 116 while (ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId) == baseTime) { in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
|
D | ContactsContract_DataTest.java | 572 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()
|
D | ContactUtil.java | 32 public class ContactUtil { class
|
D | DatabaseAsserts.java | 106 Assert.assertFalse(ContactUtil.recordExistsForContactId(resolver, contactId)); in assertHasDeleteLogGreaterThan()
|