Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/
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_RawContactsTest.java31 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()
DContactsContract_ContactsTest.java34 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));
DContactsContract_StructuredPhoneticName.java33 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()
DContactsProvider2_AccountRemovalTest.java26 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()
DContactsContract_DataTest.java44 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/
DContactUtil.java32 public class ContactUtil { class
DDatabaseAsserts.java106 Assert.assertFalse(ContactUtil.recordExistsForContactId(resolver, contactId)); in assertHasDeleteLogGreaterThan()