Home
last modified time | relevance | path

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

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_RawContactsTest.java33 import android.provider.cts.contacts.RawContactUtil;
129 long rawContactid = RawContactUtil.insertRawContact(mResolver, in testRawContactDelete_setsDeleteFlag()
132 assertTrue(RawContactUtil.rawContactExistsById(mResolver, rawContactid)); in testRawContactDelete_setsDeleteFlag()
134 RawContactUtil.delete(mResolver, rawContactid, false); in testRawContactDelete_setsDeleteFlag()
140 String[] result = RawContactUtil.queryByRawContactId(mResolver, rawContactid, in testRawContactDelete_setsDeleteFlag()
150 long rawContactid = RawContactUtil.insertRawContact(mResolver, in testRawContactDelete_removesRecord()
152 assertTrue(RawContactUtil.rawContactExistsById(mResolver, rawContactid)); in testRawContactDelete_removesRecord()
154 RawContactUtil.delete(mResolver, rawContactid, true); in testRawContactDelete_removesRecord()
156 assertFalse(RawContactUtil.rawContactExistsById(mResolver, rawContactid)); in testRawContactDelete_removesRecord()
173 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testRawContactCreate_updatesContactUpdatedTimestamp()
[all …]
DContactsContract_ContactsTest.java36 import android.provider.cts.contacts.RawContactUtil;
132 RawContactUtil.delete(mResolver, ids.mRawContactId, true);
142 List<String[]> records = RawContactUtil.queryByContactId(mResolver, ids.mContactId,
150 RawContactUtil.delete(mResolver, ids.mRawContactId, true);
168 RawContactUtil.delete(mResolver, ids.mRawContactId, true);
DContactsContract_DataUsageTest.java27 import android.provider.cts.contacts.RawContactUtil;
58 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testSingleDataUsageFeedback_incrementsCorrectDataItems()
81 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testMultiIdDataUsageFeedback_incrementsCorrectDataItems()
DContactsProvider2_AccountRemovalTest.java30 import android.provider.cts.contacts.RawContactUtil;
173 long contactId = RawContactUtil.queryContactIdByRawContactId(mResolver, rawContactId); in checkMerged()
174 long contactId2 = RawContactUtil.queryContactIdByRawContactId(mResolver, rawContactId2); in checkMerged()
224 if (!RawContactUtil.rawContactExistsById(mResolver, ids.mRawContactId)) { in assertContactsDeletedEventually()
DContactsContract_DeletedContacts.java29 import android.provider.cts.contacts.RawContactUtil;
138 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in createAndDeleteContact()
DContactsContract_PinnedPositionsTest.java36 import android.provider.cts.contacts.RawContactUtil;
229 final long cId1 = RawContactUtil.queryContactIdByRawContactId(mResolver, i1.mRawContactId); in testPinnedPositionsAfterJoinAndSplit()
230 final long cId4 = RawContactUtil.queryContactIdByRawContactId(mResolver, i4.mRawContactId); in testPinnedPositionsAfterJoinAndSplit()
DContactsContract_DataTest.java47 import android.provider.cts.contacts.RawContactUtil;
547 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testDataInsert_updatesContactLastUpdatedTimestamp()
564 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testDataDelete_updatesContactLastUpdatedTimestamp()
646 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testDataUpdate_updatesContactLastUpdatedTimestamp()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DDatabaseAsserts.java75 long rawContactId = RawContactUtil.createRawContactWithName(resolver, account, name); in assertAndCreateContactWithName()
77 long contactId = RawContactUtil.queryContactIdByRawContactId(resolver, rawContactId); in assertAndCreateContactWithName()
89 long rawContactId = RawContactUtil.createRawContactWithAutoGeneratedName(resolver, account); in assertAndCreateContact()
91 long contactId = RawContactUtil.queryContactIdByRawContactId(resolver, rawContactId); in assertAndCreateContact()
DRawContactUtil.java32 public class RawContactUtil { class
96 String[] result = RawContactUtil.queryByRawContactId(resolver, rawContactid, in queryContactIdByRawContactId()