Home
last modified time | relevance | path

Searched refs:DatabaseAsserts (Results 1 – 13 of 13) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_PinnedPositionsTest.java35 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 …]
DContactsContract_ContactsTest.java35 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 …]
DContactsContract_RawContactsTest.java32 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()
DContactsContract_DeletedContacts.java19 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()
DContactsContract_DataUsageTest.java26 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()
DContactsContract_AggregationSuggestionsTest.java30 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()
DContactsProvider2_AccountRemovalTest.java19 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()
DContactsContract_ProviderStatus.java28 import android.provider.cts.contacts.DatabaseAsserts;
77 DatabaseAsserts.assertCursorValuesMatchExactly(cursor, values); in testProviderStatus_addedContacts()
DContactsContract_FrequentsStrequentsTest.java37 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()
DContactsContract_DataTest.java46 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()
DContactsContract_PhoneLookup.java33 import android.provider.cts.contacts.DatabaseAsserts;
259 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, uri, null, in assertCursorStoredValuesWithContactsFilter()
DContactsContract_SearchSnippetsTest.java35 import android.provider.cts.contacts.DatabaseAsserts;
205 DatabaseAsserts.assertStoredValuesInUriMatchExactly(mResolver, uri, TEST_PROJECTION, in assertCursorStoredValuesWithContactsFilter()
/cts/tests/tests/provider/src/android/provider/cts/contacts/
DDatabaseAsserts.java36 public class DatabaseAsserts { class