/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | ContactsContract_PinnedPositionsTest.java | 35 import android.provider.cts.contacts.DatabaseAsserts; 62 final DatabaseAsserts.ContactIdPair i1 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate() 63 final DatabaseAsserts.ContactIdPair i2 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate() 64 final DatabaseAsserts.ContactIdPair i3 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate() 65 final DatabaseAsserts.ContactIdPair i4 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsUpdate() 140 final DatabaseAsserts.ContactIdPair i1 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit() 141 final DatabaseAsserts.ContactIdPair i2 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit() 142 final DatabaseAsserts.ContactIdPair i3 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit() 143 final DatabaseAsserts.ContactIdPair i4 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit() 144 final DatabaseAsserts.ContactIdPair i5 = DatabaseAsserts.assertAndCreateContact(mResolver); in testPinnedPositionsAfterJoinAndSplit() [all …]
|
D | ContactsContract_ContactsTest.java | 125 DatabaseAsserts.assertInsertIsUnsupported(mResolver, Contacts.CONTENT_URI); in testInsert_isUnsupported() 134 DatabaseAsserts.ContactIdPair ids = assertContactCreateDelete(); in testContactDelete_hasDeleteLog() 135 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, start); in testContactDelete_hasDeleteLog() 142 DatabaseAsserts.ContactIdPair ids = assertContactCreateDelete(); in testContactDelete_marksRawContactsForDeletion() 160 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testContactUpdate_updatesContactUpdatedTimestamp() 298 DatabaseAsserts.checkProjection(mResolver, in testProjection() 305 DatabaseAsserts.checkProjection(mResolver, in testProjection() 312 DatabaseAsserts.checkProjection(mResolver, in testProjection() 321 DatabaseAsserts.checkProjection(mResolver, in testProjection() 333 private DatabaseAsserts.ContactIdPair assertContactCreateDelete() { in assertContactCreateDelete() [all …]
|
D | ContactsContract_RawContactsTest.java | 161 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactCreate_updatesContactUpdatedTimestamp() 172 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactUpdate_updatesContactUpdatedTimestamp() 188 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactPsuedoDelete_hasDeleteLogForContact() 194 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime); in testRawContactPsuedoDelete_hasDeleteLogForContact() 201 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactDelete_hasDeleteLogForContact() 207 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime); in testRawContactDelete_hasDeleteLogForContact() 229 DatabaseAsserts.checkProjection(mResolver, RawContacts.CONTENT_URI, in testProjection()
|
D | ContactsContract_DeletedContacts.java | 19 import static android.provider.cts.contacts.DatabaseAsserts.ContactIdPair; 27 import android.provider.cts.contacts.DatabaseAsserts; 49 DatabaseAsserts.assertDeleteIsUnsupported(mResolver, URI); in testDelete_isUnsupported() 52 DatabaseAsserts.assertDeleteIsUnsupported(mResolver, uri); in testDelete_isUnsupported() 56 DatabaseAsserts.assertInsertIsUnsupported(mResolver, URI); in testInsert_isUnsupported() 134 ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in createAndDeleteContact()
|
D | ContactsContract_AggregationSuggestionsTest.java | 75 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); in testAggregationSuggestionsByNameReversed() 97 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); in testAggregationSuggestionsByName() 134 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); in testAggregationSuggestionsByName_matchSecondNameParameter() 155 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); in testAggregationSuggestionsByName_matchFirstNameParameter()
|
D | ContactsContract_DataUsageTest.java | 58 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testSingleDataUsageFeedback_incrementsCorrectDataItems() 76 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testMultiIdDataUsageFeedback_incrementsCorrectDataItems()
|
D | ContactsProvider2_AccountRemovalTest.java | 23 import android.provider.cts.contacts.DatabaseAsserts.ContactIdPair; 133 ContactIdPair ids1 = DatabaseAsserts.assertAndCreateContactWithName(mResolver, acct, in createAndAssertMergedContact() 137 ContactIdPair ids2 = DatabaseAsserts.assertAndCreateContactWithName(mResolver, acct2, in createAndAssertMergedContact() 241 accountIds.add(DatabaseAsserts.assertAndCreateContact(mResolver, account)); in createContacts()
|
D | ContactsContract_FrequentsStrequentsTest.java | 253 DatabaseAsserts.checkProjection(mResolver, Contacts.CONTENT_STREQUENT_URI, in testStrequents_projection() 259 DatabaseAsserts.checkProjection(mResolver, in testStrequents_projection() 316 DatabaseAsserts.checkProjection(mResolver, uri, in testStrequents_phoneOnly_projection() 350 DatabaseAsserts.checkProjection(mResolver, Contacts.CONTENT_FREQUENT_URI, in testFrequent_projection() 381 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, uri, null, sb.toString(), in assertCursorStoredValuesWithContactsFilter()
|
D | ContactsContract_DataTest.java | 239 DatabaseAsserts.checkProjection(mResolver, Data.CONTENT_URI, in testDataProjection() 255 DatabaseAsserts.checkProjection(mResolver, RawContactsEntity.CONTENT_URI, in testRawContactsEntityProjection() 318 DatabaseAsserts.checkProjection(mResolver, Contacts.CONTENT_URI.buildUpon().appendPath( in testEntityProjection() 459 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, contentUri, null, in testContactablesUri() 571 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataInsert_updatesContactLastUpdatedTimestamp() 585 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataDelete_updatesContactLastUpdatedTimestamp() 666 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataUpdate_updatesContactLastUpdatedTimestamp() 704 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, uri, null, sb.toString(), in assertCursorStoredValuesWithRawContactsFilter()
|
D | ContactsContract_ProviderStatus.java | 76 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); in testProviderStatus_addedContacts()
|
D | DatabaseAsserts.java | 36 public class DatabaseAsserts { class
|
D | ContactsContract_PhoneLookup.java | 258 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, uri, null, in assertCursorStoredValuesWithContactsFilter()
|
D | ContactsContract_SearchSnippetsTest.java | 317 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, uri, TEST_PROJECTION, in assertCursorStoredValuesWithContactsFilter()
|