/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactMetadataProviderTest.java | 179 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 …]
|
D | ContactsProvider2Test.java | 1143 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 …]
|
D | CallerInfoIntegrationTest.java | 45 Uri rawContactUri = mResolver.insert(RawContacts.CONTENT_URI, values); in testCallerInfo() local 46 long rawContactId = ContentUris.parseId(rawContactUri); in testCallerInfo()
|
D | ContactsActor.java | 566 Uri rawContactUri = resolver.insert(RawContacts.CONTENT_URI, values); in createRawContact() local 567 return ContentUris.parseId(rawContactUri); in createRawContact()
|
D | BaseContactsProvider2Test.java | 1410 Uri rawContactUri = ContentUris.withAppendedId(RawContacts.CONTENT_URI, rawContactId); 1411 mResolver.delete(rawContactUri, null, null);
|
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/ |
D | ContactLoaderTest.java | 142 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/ |
D | ContactTestUtils.java | 67 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/ |
D | EditorIntents.java | 130 Uri rawContactUri, long rawContactId, boolean isReadOnly) { in createEditContactIntentForRawContact() argument 133 intent.setData(rawContactUri); in createEditContactIntentForRawContact()
|
D | CompactRawContactsEditorView.java | 918 final Uri rawContactUri = ContentUris.withAppendedId( in addRawContactAccountSelector() 927 mListener.onRawContactSelected(rawContactUri, rawContactId, isReadOnly); in addRawContactAccountSelector()
|
D | ContactEditorBaseFragment.java | 268 void onCustomEditContactActivityRequested(AccountWithDataSet account, Uri rawContactUri, in onCustomEditContactActivityRequested() argument
|
/packages/apps/Contacts/src/com/android/contacts/activities/ |
D | ContactEditorBaseActivity.java | 355 Uri rawContactUri, Bundle intentExtras, boolean redirect) { 365 intent.setData(rawContactUri);
|
/packages/apps/Contacts/src/com/android/contacts/ |
D | ContactSaveService.java | 337 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()
|