Searched refs:mContactId (Results 1 – 7 of 7) sorted by relevance
/cts/tests/tests/provider/src/android/provider/cts/ |
D | ContactsContract_PinnedPositionsTest.java | 69 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 …]
|
D | ContactsContract_DeletedContacts.java | 70 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()
|
D | ContactsContract_ContactsTest.java | 129 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, start); 142 List<String[]> records = RawContactUtil.queryByContactId(mResolver, ids.mContactId, 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_RawContactsTest.java | 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() 199 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime); in testRawContactPsuedoDelete_hasDeleteLogForContact() 208 long baseTime = ContactUtil.queryContactLastUpdatedTimestamp(mResolver, ids.mContactId); in testRawContactDelete_hasDeleteLogForContact() 212 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime); in testRawContactDelete_hasDeleteLogForContact()
|
D | ContactsProvider2_AccountRemovalTest.java | 118 long contactId = idList.get(0).mContactId; in testAccountRemovalWithMergedContact_doesNotDeleteContactAndTimestampUpdated() 154 ids1.mContactId = mergedContactId; in createAndAssertMergedContact() 155 ids2.mContactId = mergedContactId; in createAndAssertMergedContact() 195 ids.mContactId); in assertContactsInDeleteLogEventually()
|
D | ContactsContract_DataTest.java | 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() 642 assertTrue("Expected contact " + ids.mContactId + " last updated to be greater than " + in testDataUpdate_updatesContactLastUpdatedTimestamp()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | DatabaseAsserts.java | 118 public long mContactId; field in DatabaseAsserts.ContactIdPair 122 this.mContactId = contactId; in ContactIdPair() 129 "mContactId=" + mContactId + in toString()
|