Home
last modified time | relevance | path

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

/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java111 final Uri entityUri = Uri.withAppendedPath(baseUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactIdUri() local
118 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithContactIdUri()
142 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithOldStyleUri() local
146 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri()
172 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithRawContactIdUri() local
177 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithRawContactIdUri()
196 final Uri entityUri = Uri.withAppendedPath( in testLoadContactWithContactLookupUri() local
201 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithContactLookupUri()
221 final Uri entityUri = Uri.withAppendedPath(lookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testLoadContactWithContactLookupAndIdUri() local
225 queries.fetchAllData(entityUri, CONTACT_ID, RAW_CONTACT_ID, DATA_ID, LOOKUP_KEY); in testLoadContactWithContactLookupAndIdUri()
[all …]
/packages/apps/Contacts/src/com/android/contacts/model/
DRawContactDeltaList.java61 public static RawContactDeltaList fromQuery(Uri entityUri, ContentResolver resolver, in fromQuery() argument
64 resolver.query(entityUri, null, selection, selectionArgs, sortOrder)); in fromQuery()
DContactLoader.java451 Uri entityUri = Uri.withAppendedPath(contactUri, Contacts.Entity.CONTENT_DIRECTORY); in loadContactEntity() local
452 Cursor cursor = resolver.query(entityUri, ContactQuery.COLUMNS, null, null, in loadContactEntity()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DContactLoader.java273 Uri entityUri = Uri.withAppendedPath(contactUri, Contacts.Entity.CONTENT_DIRECTORY); in loadContactEntity() local
275 resolver.query(entityUri, ContactQuery.COLUMNS, null, null, Contacts.Entity.RAW_CONTACT_ID); in loadContactEntity()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java1565 final Uri entityUri = Uri.withAppendedPath( in joinContacts() local
1567 Cursor c = resolver.query(entityUri, in joinContacts()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsProvider2Test.java1080 Uri entityUri = Uri.withAppendedPath(contactUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithIdBasedUri() local
1082 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithIdBasedUri()
1104 Uri entityUri = Uri.withAppendedPath(contactLookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithLookupUri() local
1105 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithLookupUri()
1109 entityUri = Uri.withAppendedPath(contactLookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithLookupUri()
1110 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithLookupUri()
1114 entityUri = Uri.withAppendedPath(contactLookupUri, Contacts.Entity.CONTENT_DIRECTORY); in testContactEntitiesWithLookupUri()
1115 assertEntityRows(entityUri, contactId, rawContactId1, rawContactId2); in testContactEntitiesWithLookupUri()
1118 private void assertEntityRows(Uri entityUri, long contactId, long rawContactId1, in assertEntityRows() argument
1122 Cursor cursor = mResolver.query(entityUri, null, null, null, in assertEntityRows()