/cts/tests/tests/provider/src/android/provider/cts/ |
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 | 35 import android.provider.cts.contacts.DatabaseAsserts; 119 DatabaseAsserts.assertInsertIsUnsupported(mResolver, Contacts.CONTENT_URI); 128 DatabaseAsserts.ContactIdPair ids = assertContactCreateDelete(); 129 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, start); 136 DatabaseAsserts.ContactIdPair ids = assertContactCreateDelete(); 154 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); 218 DatabaseAsserts.checkProjection(mResolver, 225 DatabaseAsserts.checkProjection(mResolver, 232 DatabaseAsserts.checkProjection(mResolver, 244 private DatabaseAsserts.ContactIdPair assertContactCreateDelete() { [all …]
|
D | ContactsContract_RawContactsTest.java | 32 import android.provider.cts.contacts.DatabaseAsserts; 166 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactCreate_updatesContactUpdatedTimestamp() 177 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactUpdate_updatesContactUpdatedTimestamp() 193 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactPsuedoDelete_hasDeleteLogForContact() 199 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime); in testRawContactPsuedoDelete_hasDeleteLogForContact() 206 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testRawContactDelete_hasDeleteLogForContact() 212 DatabaseAsserts.assertHasDeleteLogGreaterThan(mResolver, ids.mContactId, baseTime); in testRawContactDelete_hasDeleteLogForContact() 234 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_DataUsageTest.java | 26 import android.provider.cts.contacts.DatabaseAsserts; 42 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testSingleDataUsageFeedback_incrementsCorrectDataItems() 62 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testMultiIdDataUsageFeedback_incrementsCorrectDataItems()
|
D | ContactsContract_AggregationSuggestionsTest.java | 30 import android.provider.cts.contacts.DatabaseAsserts; 76 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); in testAggregationSuggestionsByNameReversed() 98 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); in testAggregationSuggestionsByName() 135 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); in testAggregationSuggestionsByName_matchSecondNameParameter() 156 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); in testAggregationSuggestionsByName_matchFirstNameParameter()
|
D | ContactsProvider2_AccountRemovalTest.java | 19 import static android.provider.cts.contacts.DatabaseAsserts.ContactIdPair; 28 import android.provider.cts.contacts.DatabaseAsserts; 141 ContactIdPair ids1 = DatabaseAsserts.assertAndCreateContactWithName(mResolver, acct, in createAndAssertMergedContact() 145 ContactIdPair ids2 = DatabaseAsserts.assertAndCreateContactWithName(mResolver, acct2, in createAndAssertMergedContact() 249 accountIds.add(DatabaseAsserts.assertAndCreateContact(mResolver, account)); in createContacts()
|
D | ContactsContract_ProviderStatus.java | 28 import android.provider.cts.contacts.DatabaseAsserts; 77 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); in testProviderStatus_addedContacts()
|
D | ContactsContract_FrequentsStrequentsTest.java | 37 import android.provider.cts.contacts.DatabaseAsserts; 264 DatabaseAsserts.checkProjection(mResolver, Contacts.CONTENT_STREQUENT_URI, in testStrequents_projection() 270 DatabaseAsserts.checkProjection(mResolver, in testStrequents_projection() 328 DatabaseAsserts.checkProjection(mResolver, uri, in testStrequents_phoneOnly_projection() 362 DatabaseAsserts.checkProjection(mResolver, Contacts.CONTENT_FREQUENT_URI, in testFrequent_projection() 393 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, uri, null, sb.toString(), in assertCursorStoredValuesWithContactsFilter()
|
D | ContactsContract_DataTest.java | 46 import android.provider.cts.contacts.DatabaseAsserts; 240 DatabaseAsserts.checkProjection(mResolver, Data.CONTENT_URI, in testDataProjection() 256 DatabaseAsserts.checkProjection(mResolver, RawContactsEntity.CONTENT_URI, in testRawContactsEntityProjection() 317 DatabaseAsserts.checkProjection(mResolver, Contacts.CONTENT_URI.buildUpon().appendPath( in testEntityProjection() 456 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, contentUri, null, in testContactablesUri() 537 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataInsert_updatesContactLastUpdatedTimestamp() 551 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataDelete_updatesContactLastUpdatedTimestamp() 632 DatabaseAsserts.ContactIdPair ids = DatabaseAsserts.assertAndCreateContact(mResolver); in testDataUpdate_updatesContactLastUpdatedTimestamp() 670 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, uri, null, sb.toString(), in assertCursorStoredValuesWithRawContactsFilter()
|
D | ContactsContract_PhoneLookup.java | 33 import android.provider.cts.contacts.DatabaseAsserts; 259 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, uri, null, in assertCursorStoredValuesWithContactsFilter()
|
D | ContactsContract_SearchSnippetsTest.java | 35 import android.provider.cts.contacts.DatabaseAsserts; 205 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, uri, TEST_PROJECTION, in assertCursorStoredValuesWithContactsFilter()
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/ |
D | DatabaseAsserts.java | 36 public class DatabaseAsserts { class
|