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/
DContactLoaderTest.java105 final Uri entityUri = Uri.withAppendedPath(baseUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactIdUri() local
112 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); in testLoadContactWithContactIdUri()
140 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithOldStyleUri() local
144 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); in testLoadContactWithOldStyleUri()
170 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithRawContactIdUri() local
175 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); in testLoadContactWithRawContactIdUri()
200 … final Uri entityUri = Uri.withAppendedPath(lookupNoIdUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactLookupUri() local
204 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); in testLoadContactWithContactLookupUri()
229 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactLookupAndIdUri() local
233 queries.fetchAllData(entityUri, contactId, rawContactId, dataId, lookupKey); in testLoadContactWithContactLookupAndIdUri()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DEntityDeltaList.java70 public static EntityDeltaList fromQuery(Uri entityUri, ContentResolver resolver, in fromQuery() argument
73 entityUri, null, selection, selectionArgs, in fromQuery()
/packages/apps/Contacts/src/com/android/contacts/
DContactLoader.java777 Uri entityUri = Uri.withAppendedPath(contactUri, Contacts.Entity.CONTENT_DIRECTORY); in loadContactEntity() local
778 Cursor cursor = resolver.query(entityUri, ContactQuery.COLUMNS, null, null, in loadContactEntity()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java792 Uri entityUri = Uri.withAppendedPath(contactUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithIdBasedUri() local
794 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithIdBasedUri()
816 Uri entityUri = Uri.withAppendedPath(contactLookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithLookupUri() local
817 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithLookupUri()
821 entityUri = Uri.withAppendedPath(contactLookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithLookupUri()
822 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithLookupUri()
826 entityUri = Uri.withAppendedPath(contactLookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithLookupUri()
827 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithLookupUri()
830 private void assertEntityRows(Uri entityUri, long contactId, long rawContactId1, in assertEntityRows() argument
834 Cursor cursor = mResolver.query(entityUri, null, null, null, in assertEntityRows()