Home
last modified time | relevance | path

Searched refs:rawContactUri (Results 1 – 11 of 11) 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.java1204 Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); in testDataInsert() local
1206 Uri.withAppendedPath(rawContactUri, RawContacts.Data.CONTENT_DIRECTORY); in testDataInsert()
1346 Uri rawContactUri = insertRawContact(values); in testPhonesQuery() local
1347 long rawContactId = ContentUris.parseId(rawContactUri); in testPhonesQuery()
1663 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookup() local
1664 long rawContactId = ContentUris.parseId(rawContactUri); in testPhoneLookup()
1700 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testSipPhoneLookup() local
1701 long rawContactId = ContentUris.parseId(rawContactUri); in testSipPhoneLookup()
1730 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookupStarUseCases() local
1731 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.java641 Uri rawContactUri = resolver.insert(RawContacts.CONTENT_URI, values); in createRawContact() local
642 return ContentUris.parseId(rawContactUri); in createRawContact()
DBaseContactsProvider2Test.java1437 Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); in delete() local
1438 mResolver.delete(rawContactUri, null, null); in delete()
/packages/apps/Contacts/tests/src/com/android/contacts/model/
DContactLoaderTest.java136 final Uri rawContactUri = ContentUris.withAppendedId( in testLoadContactWithOldStyleUri() local
145 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri()
166 final Uri rawContactUri = ContentUris.withAppendedId( in testLoadContactWithRawContactIdUri() local
175 mContactsProvider.expectTypeQuery(rawContactUri, RawContacts.CONTENT_ITEM_TYPE); in testLoadContactWithRawContactIdUri()
176 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithRawContactIdUri()
179 Contact contact = assertLoadContact(rawContactUri); in testLoadContactWithRawContactIdUri()
410 void fetchContactIdAndLookupFromRawContactUri(final Uri rawContactUri, in fetchContactIdAndLookupFromRawContactUri() argument
414 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/Dialer/java/com/android/dialer/contacts/hiresphoto/
DHighResolutionPhotoRequesterImpl.java83 Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
86 intent.setDataAndType(rawContactUri, RawContacts.CONTENT_ITEM_TYPE);
91 "requesting photo for " + rawContactUri);
/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()