Home
last modified time | relevance | path

Searched refs:entityUri (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java106 final Uri entityUri = Uri.withAppendedPath(baseUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactIdUri() local
113 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); in testLoadContactWithContactIdUri()
141 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithOldStyleUri() local
145 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); in testLoadContactWithOldStyleUri()
171 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithRawContactIdUri() local
176 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); in testLoadContactWithRawContactIdUri()
201 … final Uri entityUri = Uri.withAppendedPath(lookupNoIdUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactLookupUri() local
205 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); in testLoadContactWithContactLookupUri()
230 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactLookupAndIdUri() local
234 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); in testLoadContactWithContactLookupAndIdUri()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDeltaList.java60 public static RawContactDeltaList fromQuery(Uri entityUri, ContentResolver resolver, in fromQuery() argument
63 resolver.query(entityUri, null, selection, selectionArgs, sortOrder)); in fromQuery()
DContactLoader.java355 Uri entityUri = Uri.withAppendedPath(contactUri, Contacts.Entity.CONTENT_DIRECTORY); in loadContactEntity() local
356 Cursor cursor = resolver.query(entityUri, ContactQuery.COLUMNS, null, null, in loadContactEntity()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java845 Uri entityUri = Uri.withAppendedPath(contactUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithIdBasedUri() local
847 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithIdBasedUri()
869 Uri entityUri = Uri.withAppendedPath(contactLookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithLookupUri() local
870 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithLookupUri()
874 entityUri = Uri.withAppendedPath(contactLookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithLookupUri()
875 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithLookupUri()
879 entityUri = Uri.withAppendedPath(contactLookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithLookupUri()
880 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithLookupUri()
883 private void assertEntityRows(Uri entityUri, long contactId, long rawContactId1, in assertEntityRows() argument
887 Cursor cursor = mResolver.query(entityUri, null, null, null, in assertEntityRows()