Home
last modified time | relevance | path

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

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_PinnedPositionsTest.java78 assertValuesForRawContact(i1.mRawContactId, newContentValues(RawContacts.PINNED, unpinned)); in testPinnedPositionsUpdate()
79 assertValuesForRawContact(i2.mRawContactId, newContentValues(RawContacts.PINNED, unpinned)); in testPinnedPositionsUpdate()
80 assertValuesForRawContact(i3.mRawContactId, newContentValues(RawContacts.PINNED, unpinned)); in testPinnedPositionsUpdate()
81 assertValuesForRawContact(i4.mRawContactId, newContentValues(RawContacts.PINNED, unpinned)); in testPinnedPositionsUpdate()
100 assertValuesForRawContact(i1.mRawContactId, newContentValues(RawContacts.PINNED, 1)); in testPinnedPositionsUpdate()
101 assertValuesForRawContact(i2.mRawContactId, newContentValues(RawContacts.PINNED, unpinned)); in testPinnedPositionsUpdate()
102 assertValuesForRawContact(i3.mRawContactId, newContentValues(RawContacts.PINNED, 3)); in testPinnedPositionsUpdate()
103 assertValuesForRawContact(i4.mRawContactId, newContentValues(RawContacts.PINNED, 2)); in testPinnedPositionsUpdate()
120 assertValuesForRawContact(i1.mRawContactId, in testPinnedPositionsUpdate()
122 assertValuesForRawContact(i2.mRawContactId, in testPinnedPositionsUpdate()
[all …]
DContactsContract_ContactsTest.java138 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testContactDelete_hasDeleteLog()
156 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testContactDelete_marksRawContactsForDeletion()
168 assertNull(RawContactUtil.queryByRawContactId(mResolver, ids.mRawContactId, null)); in testContactDelete_localContactDeletedImmediately()
182 ContactsContract.AggregationExceptions.TYPE_KEEP_TOGETHER, ids1.mRawContactId, in testContactDelete_allLocalContactsDeletedImmediately()
183 ids2.mRawContactId); in testContactDelete_allLocalContactsDeletedImmediately()
187 ids1.mRawContactId); in testContactDelete_allLocalContactsDeletedImmediately()
189 ids2.mRawContactId); in testContactDelete_allLocalContactsDeletedImmediately()
197 assertNull(RawContactUtil.queryByRawContactId(mResolver, ids1.mRawContactId, null)); in testContactDelete_allLocalContactsDeletedImmediately()
198 assertNull(RawContactUtil.queryByRawContactId(mResolver, ids2.mRawContactId, null)); in testContactDelete_allLocalContactsDeletedImmediately()
214 ContactsContract.AggregationExceptions.TYPE_KEEP_TOGETHER, ids1.mRawContactId, in testContactDelete_localContactDeletedImmediatelyWhenAggregatedWithNonLocal()
[all …]
DContactsContract_RawContactsTest.java190 ids.mRawContactId); in testRawContactCreate_updatesContactUpdatedTimestamp()
195 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testRawContactCreate_updatesContactUpdatedTimestamp()
257 RawContactUtil.update(mResolver, ids.mRawContactId, values); in testRawContactUpdate_updatesContactUpdatedTimestamp()
263 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testRawContactUpdate_updatesContactUpdatedTimestamp()
271 RawContactUtil.delete(mResolver, ids.mRawContactId, false); in testRawContactPsuedoDelete_hasDeleteLogForContact()
276 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testRawContactPsuedoDelete_hasDeleteLogForContact()
284 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testRawContactDelete_hasDeleteLogForContact()
DContactsContract_DataUsageTest.java60 long[] dataIds = setupRawContactDataItems(ids.mRawContactId); in testSingleDataUsageFeedback_incrementsCorrectDataItems()
72 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testSingleDataUsageFeedback_incrementsCorrectDataItems()
78 long[] dataIds = setupRawContactDataItems(ids.mRawContactId); in testMultiIdDataUsageFeedback_incrementsCorrectDataItems()
86 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testMultiIdDataUsageFeedback_incrementsCorrectDataItems()
DContactsProvider2_AccountRemovalTest.java262 DataUtil.insertPhoneNumber(mResolver, ids1.mRawContactId, "555-5555"); in createAndAssertMergedContact()
266 DataUtil.insertPhoneNumber(mResolver, ids2.mRawContactId, "555-5555"); in createAndAssertMergedContact()
269 long mergedContactId = assertMerged(System.currentTimeMillis(), ids1.mRawContactId, in createAndAssertMergedContact()
270 ids2.mRawContactId); in createAndAssertMergedContact()
343 if (!RawContactUtil.rawContactExistsById(mResolver, ids.mRawContactId)) { in assertContactsDeletedEventually()
DDatabaseAsserts.java119 public long mRawContactId; field in DatabaseAsserts.ContactIdPair
123 this.mRawContactId = rawContactId; in ContactIdPair()
130 ", mRawContactId=" + mRawContactId + in toString()
DContactsContract_DataTest.java575 createData(ids.mRawContactId); in testDataInsert_updatesContactLastUpdatedTimestamp()
581 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testDataInsert_updatesContactLastUpdatedTimestamp()
587 long dataId = createData(ids.mRawContactId); in testDataDelete_updatesContactLastUpdatedTimestamp()
598 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testDataDelete_updatesContactLastUpdatedTimestamp()
667 long dataId = createData(ids.mRawContactId); in testDataUpdate_updatesContactLastUpdatedTimestamp()
680 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in testDataUpdate_updatesContactLastUpdatedTimestamp()
DContactsContract_DeletedContacts.java138 RawContactUtil.delete(mResolver, ids.mRawContactId, true); in createAndDeleteContact()