Home
last modified time | relevance | path

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

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactMetadataProviderTest.java179 Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); in testInsertAndUpdateMetadataSync() local
182 assertEquals(1, mResolver.update(rawContactUri, values, null, null)); in testInsertAndUpdateMetadataSync()
184 assertStoredValue(rawContactUri, RawContacts._ID, rawContactId); in testInsertAndUpdateMetadataSync()
185 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
186 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync()
187 assertStoredValue(rawContactUri, RawContacts.BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync()
188 assertStoredValue(rawContactUri, RawContacts.DATA_SET, TEST_DATA_SET1); in testInsertAndUpdateMetadataSync()
220 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_TYPE, TEST_ACCOUNT_TYPE1); in testInsertAndUpdateMetadataSync()
221 assertStoredValue(rawContactUri, RawContacts.ACCOUNT_NAME, TEST_ACCOUNT_NAME1); in testInsertAndUpdateMetadataSync()
222 assertStoredValue(rawContactUri, RawContacts.BACKUP_ID, backupId); in testInsertAndUpdateMetadataSync()
[all …]
DContactsProvider2Test.java1143 Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); in testDataInsert() local
1145 Uri.withAppendedPath(rawContactUri, RawContacts.Data.CONTENT_DIRECTORY); in testDataInsert()
1285 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhonesQuery() local
1286 long rawContactId = ContentUris.parseId(rawContactUri); in testPhonesQuery()
1603 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookup() local
1604 long rawContactId = ContentUris.parseId(rawContactUri); in testPhoneLookup()
1640 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testSipPhoneLookup() local
1641 long rawContactId = ContentUris.parseId(rawContactUri); in testSipPhoneLookup()
1670 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testPhoneLookupStarUseCases() local
1671 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.java566 Uri rawContactUri = resolver.insert(RawContacts.CONTENT_URI, values); in createRawContact() local
567 return ContentUris.parseId(rawContactUri); in createRawContact()
DBaseContactsProvider2Test.java1410 Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId);
1411 mResolver.delete(rawContactUri, null, null);
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
DContactLoaderTest.java142 final Uri rawContactUri = ContentUris.withAppendedId( in testLoadContactWithOldStyleUri() local
151 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithOldStyleUri()
172 final Uri rawContactUri = ContentUris.withAppendedId( in testLoadContactWithRawContactIdUri() local
181 mContactsProvider.expectTypeQuery(rawContactUri, RawContacts.CONTENT_ITEM_TYPE); in testLoadContactWithRawContactIdUri()
182 queries.fetchContactIdAndLookupFromRawContactUri(rawContactUri, CONTACT_ID, LOOKUP_KEY); in testLoadContactWithRawContactIdUri()
185 Contact contact = assertLoadContact(rawContactUri); in testLoadContactWithRawContactIdUri()
422 void fetchContactIdAndLookupFromRawContactUri(final Uri rawContactUri, in fetchContactIdAndLookupFromRawContactUri() argument
426 final Uri dataUri = Uri.withAppendedPath(rawContactUri, in fetchContactIdAndLookupFromRawContactUri()
/packages/apps/EmergencyInfo/tests/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/editor/
DEditorIntents.java130 Uri rawContactUri, long rawContactId, boolean isReadOnly) { in createEditContactIntentForRawContact() argument
133 intent.setData(rawContactUri); in createEditContactIntentForRawContact()
DCompactRawContactsEditorView.java918 final Uri rawContactUri = ContentUris.withAppendedId( in addRawContactAccountSelector()
927 mListener.onRawContactSelected(rawContactUri, rawContactId, isReadOnly); in addRawContactAccountSelector()
DContactEditorBaseFragment.java268 void onCustomEditContactActivityRequested(AccountWithDataSet account, Uri rawContactUri, in onCustomEditContactActivityRequested() argument
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactEditorBaseActivity.java355 Uri rawContactUri, Bundle intentExtras, boolean redirect) {
365 intent.setData(rawContactUri);
/packages/apps/Contacts/src/com/android/contacts/
DContactSaveService.java337 Uri rawContactUri = results[0].uri; in createRawContact() local
338 callbackIntent.setData(RawContacts.getContactLookupUri(resolver, rawContactUri)); in createRawContact()
492 final Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, in saveContact() local
494 lookupUri = RawContacts.getContactLookupUri(resolver, rawContactUri); in saveContact()