Home
last modified time | relevance | path

Searched refs:mContactId (Results 1 – 6 of 6) sorted by relevance

/cts/tests/tests/contactsprovider/src/android/provider/cts/contacts/
DContactsContract_PinnedPositionsTest.java69 assertValuesForContact(i1.mContactId, in testPinnedPositionsUpdate()
71 assertValuesForContact(i2.mContactId, in testPinnedPositionsUpdate()
73 assertValuesForContact(i3.mContactId, in testPinnedPositionsUpdate()
75 assertValuesForContact(i4.mContactId, in testPinnedPositionsUpdate()
85 operations.add(newPinningOperation(i1.mContactId, 1, true)); in testPinnedPositionsUpdate()
86 operations.add(newPinningOperation(i3.mContactId, 3, true)); in testPinnedPositionsUpdate()
87 operations.add(newPinningOperation(i4.mContactId, 2, false)); in testPinnedPositionsUpdate()
90 assertValuesForContact(i1.mContactId, in testPinnedPositionsUpdate()
92 assertValuesForContact(i2.mContactId, in testPinnedPositionsUpdate()
94 assertValuesForContact(i3.mContactId, in testPinnedPositionsUpdate()
[all …]
DContactsContract_DeletedContacts.java70 if (Long.parseLong(record[0]) == ids.mContactId) { in testQuery_returnsProperColumns()
82 DeletedContactUtil.queryDeletedTimestampForContactId(mResolver, ids.mContactId)); in testQueryByContactId()
105 beforeIds.add(createAndDeleteContact().mContactId); in testQuerySinceTimestamp()
106 beforeIds.add(createAndDeleteContact().mContactId); in testQuerySinceTimestamp()
112 afterIds.add(createAndDeleteContact().mContactId); in testQuerySinceTimestamp()
113 afterIds.add(createAndDeleteContact().mContactId); in testQuerySinceTimestamp()
114 afterIds.add(createAndDeleteContact().mContactId); in testQuerySinceTimestamp()
136 DeletedContactUtil.queryDeletedTimestampForContactId(mResolver, ids.mContactId)); in createAndDeleteContact()
DContactsContract_RawContactsTest.java253 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp()
259 long newTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactUpdate_updatesContactUpdatedTimestamp()
269 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactPsuedoDelete_hasDeleteLogForContact()
273 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime); in testRawContactPsuedoDelete_hasDeleteLogForContact()
282 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactDelete_hasDeleteLogForContact()
286 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime); in testRawContactDelete_hasDeleteLogForContact()
DContactsProvider2_AccountRemovalTest.java231 long contactId = idList.get(0).mContactId; in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated()
267 ids1.mContactId = mergedContactId; in createAndAssertMergedContact()
268 ids2.mContactId = mergedContactId; in createAndAssertMergedContact()
308 ids.mContactId); in assertContactsInDeleteLogEventually()
DDatabaseAsserts.java118 public long mContactId; field in DatabaseAsserts.ContactIdPair
122 this.mContactId = contactId; in ContactIdPair()
129 "mContactId=" + mContactId + in toString()
DContactsContract_DataTest.java572 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()
676 assertTrue("Expected contact " + ids.mContactId + " last updated to be greater than " + in testDataUpdate_updatesContactLastUpdatedTimestamp()