Home
last modified time | relevance | path

Searched refs:rawContactUri (Results 1 – 10 of 10) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactMetadataProviderTest.java178 Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); in testInsertAndUpdateMetadataSync() local
181 assertEquals(1, mResolver.update(rawContactUri, values, null, null)); in testInsertAndUpdateMetadataSync()
183 assertStoredValue(rawContactUri, RawContacts._ID, rawContactId); in testInsertAndUpdateMetadataSync()
184 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
185 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync()
186 assertStoredValue(rawContactUri, RawContacts.BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync()
187 assertStoredValue(rawContactUri, RawContacts.DATA_SET, TEST_DATA_SET1); in testInsertAndUpdateMetadataSync()
219 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
220 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync()
221 assertStoredValue(rawContactUri, RawContacts.BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync()
[all …]
DContactsProvider2Test.java1168 Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); in testDataInsert() local
1170 Uri.withAppendedPath(rawContactUri, RawContacts.Data.CONTENT_DIRECTORY); in testDataInsert()
1310 Uri rawContactUri = insertRawContact(values); in testPhonesQuery() local
1311 long rawContactId = ContentUris.parseId(rawContactUri); in testPhonesQuery()
1628 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookup() local
1629 long rawContactId = ContentUris.parseId(rawContactUri); in testPhoneLookup()
1665 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testSipPhoneLookup() local
1666 long rawContactId = ContentUris.parseId(rawContactUri); in testSipPhoneLookup()
1695 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookupStarUseCases() local
1696 long rawContactId = ContentUris.parseId(rawContactUri); in testPhoneLookupStarUseCases()
[all …]
DCallerInfoIntegrationTest.java45 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testCallerInfo() local
46 long rawContactId = ContentUris.parseId(rawContactUri); in testCallerInfo()
DContactsActor.java581 Uri rawContactUri = resolver.insert(RawContacts.CONTENT_URI, values); in createRawContact() local
582 return ContentUris.parseId(rawContactUri); in createRawContact()
DBaseContactsProvider2Test.java1438 Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); in delete() local
1439 mResolver.delete(rawContactUri, null, null); in delete()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java140 final Uri rawContactUri = ContentUris.withAppendedId( in testLoadContactWithOldStyleUri() local
149 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri()
170 final Uri rawContactUri = ContentUris.withAppendedId( in testLoadContactWithRawContactIdUri() local
179 mContactsProvider.expectTypeQuery(rawContactUri, RawContacts.CONTENT_ITEM_TYPE); in testLoadContactWithRawContactIdUri()
180 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithRawContactIdUri()
183 Contact contact = assertLoadContact(rawContactUri); in testLoadContactWithRawContactIdUri()
420 void fetchContactIdAndLookupFromRawContactUri(final Uri rawContactUri, in fetchContactIdAndLookupFromRawContactUri() argument
424 final Uri dataUri = Uri.withAppendedPath(rawContactUri, in fetchContactIdAndLookupFromRawContactUri()
/packages/apps/Contacts/src/com/android/contacts/editor/
DPickRawContactLoader.java87 final Uri rawContactUri; in loadInBackground() local
89 rawContactUri = ContactsContract.Profile.CONTENT_RAW_CONTACTS_URI; in loadInBackground()
91 rawContactUri = RawContacts.CONTENT_URI; in loadInBackground()
95 rawContactUri, RAW_CONTACT_PROJECTION, RAW_CONTACT_SELECTION, in loadInBackground()
/packages/apps/EmergencyInfo/tests/common/src/com/android/emergency/
DContactTestUtils.java67 Uri rawContactUri = contentResolver.insert(ContactsContract.RawContacts.CONTENT_URI, in createContact() local
69 long rawContactId = ContentUris.parseId(rawContactUri); in createContact()
/packages/apps/Contacts/src/com/android/contacts/group/
DUpdateGroupMembersAsyncTask.java96 final Uri rawContactUri = builder.build(); in getRawContactIds() local
108 rawContactUri, projection, selection.toString(), selectionArgs, null, null); in getRawContactIds()
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java424 Uri rawContactUri = results[0].uri; in createRawContact() local
425 callbackIntent.setData(RawContacts.getContactLookupUri(resolver, rawContactUri)); in createRawContact()
579 final Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, in saveContact() local
581 lookupUri = RawContacts.getContactLookupUri(resolver, rawContactUri); in saveContact()