Searched refs:ContactUtil (Results 1 – 8 of 8) sorted by relevance
/cts/tests/tests/provider/src/android/provider/cts/ |
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_RawContactsTest.java | 31 import android.provider.cts.contacts.ContactUtil; 179 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp() 185 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp() 195 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactPsuedoDelete_hasDeleteLogForContact() 208 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactDelete_hasDeleteLogForContact() 222 return ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId); in getContactLastUpdatedTimestampByRawContactId()
|
D | ContactsContract_ContactsTest.java | 34 import android.provider.cts.contacts.ContactUtil; 156 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); 162 ContactUtil.update(mResolver, ids.mContactId, values); 164 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); 248 ContactUtil.delete(mResolver, ids.mContactId); 250 assertFalse(ContactUtil.recordExistsForContactId(mResolver, ids.mContactId));
|
D | ContactsContract_StructuredPhoneticName.java | 33 import android.provider.cts.contacts.ContactUtil; 105 ContactUtil.setAggregationException(mResolver, AggregationExceptions.TYPE_KEEP_TOGETHER, in testPhoneticStructuredName_phoneticPriority1() 142 ContactUtil.setAggregationException(mResolver, AggregationExceptions.TYPE_KEEP_TOGETHER, in testPhoneticStructuredName_phoneticPriority2()
|
D | ContactsProvider2_AccountRemovalTest.java | 26 import android.provider.cts.contacts.ContactUtil; 120 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId); in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated() 124 while (ContactUtil.queryContactLastUpdatedTimestamp(mResolver, contactId) == baseTime) { in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
|
D | ContactsContract_DataTest.java | 44 import android.provider.cts.contacts.ContactUtil; 538 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataInsert_updatesContactLastUpdatedTimestamp() 543 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataInsert_updatesContactLastUpdatedTimestamp() 555 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataDelete_updatesContactLastUpdatedTimestamp() 560 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataDelete_updatesContactLastUpdatedTimestamp() 634 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataUpdate_updatesContactLastUpdatedTimestamp() 641 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testDataUpdate_updatesContactLastUpdatedTimestamp()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactUtil.java | 32 public class ContactUtil { class
|
D | DatabaseAsserts.java | 106 Assert.assertFalse(ContactUtil.recordExistsForContactId(resolver, contactId)); in assertHasDeleteLogGreaterThan()
|