Home
last modified time | relevance | path

Searched refs:queryContactId (Results 1 – 8 of 8) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregatorTest.java134 long contactId = queryContactId(rawContactId); in testAggregationCreatesNewAggregate()
465 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn()
466 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn()
474 long newContactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn()
527 String displayName1 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName()
538 String displayName2 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName()
541 String displayName3 = queryDisplayName(queryContactId(rawContactId2)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName()
544 String displayName4 = queryDisplayName(queryContactId(rawContactId3)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName()
570 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames()
571 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
[all …]
DContactAggregator2Test.java134 long contactId = queryContactId(rawContactId); in testAggregationCreatesNewAggregate()
482 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn()
483 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn()
491 long newContactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn()
544 String displayName1 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName()
555 String displayName2 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName()
558 String displayName3 = queryDisplayName(queryContactId(rawContactId2)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName()
561 String displayName4 = queryDisplayName(queryContactId(rawContactId3)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName()
587 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames()
588 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java54 long contactId = queryContactId(rawContactId1); in testLookupKeyUsingDisplayNameAndNoAccount()
89 long contactId = queryContactId(rawContactId1); in testLookupKeyUsingSourceIdAndNoAccount()
113 long contactId1 = queryContactId(rawContactId1); in testLookupKeySameSourceIdDifferentAccounts()
117 long contactId2 = queryContactId(rawContactId2); in testLookupKeySameSourceIdDifferentAccounts()
144 long contactId = queryContactId(rawContactId1); in testLookupKeyChoosingLargestContact()
156 long largerContactId = queryContactId(rawContactId1); in testLookupKeyChoosingLargestContact()
161 ContentUris.withAppendedId(Contacts.CONTENT_URI, queryContactId(rawContactId3)), in testLookupKeyChoosingLargestContact()
172 long contactId = queryContactId(rawContactId1); in testGetLookupUri()
DSearchIndexManagerTest.java53 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredName()
74 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredName_phoneticOnly()
99 long contactId = queryContactId(rawContactId); in testSearchIndexForChineseName()
135 long contactId = queryContactId(rawContactId); in testSearchIndexForKoreanName()
199 long contactId = queryContactId(rawContactId); in testSearchIndexForOrganization()
217 long contactId = queryContactId(rawContactId); in testSearchIndexForPhoneNumber()
226 long contactId = queryContactId(rawContactId); in testSearchIndexForEmail()
236 long contactId = queryContactId(rawContactId); in testSearchIndexForNickname()
244 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredPostal()
259 long contactId = queryContactId(rawContactId); in testSearchIndexForIm()
[all …]
DDirectoryTest.java79 long contactId = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "John", in testForwardingToLocalContacts()
98 long contactId1 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Bob", in testForwardingToLocalInvisibleContacts()
104 long contactId2 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Helen", in testForwardingToLocalInvisibleContacts()
DContactsProvider2Test.java971 long contactId = queryContactId(rawContactId); in testDataDirectoryWithLookupUri()
1023 long contactId = queryContactId(rawContactId1); in testContactEntitiesWithIdBasedUri()
1045 long contactId = queryContactId(rawContactId1); in testContactEntitiesWithLookupUri()
1135 long contactId = queryContactId(rawContactId); in testDataInsert()
1293 long contactId = queryContactId(rawContactId); in testPhonesQuery()
1616 values.put(PhoneLookup._ID, queryContactId(rawContactId)); in testPhoneLookup()
1617 values.put(PhoneLookup.CONTACT_ID, queryContactId(rawContactId)); in testPhoneLookup()
1654 values.put(PhoneLookup.CONTACT_ID, queryContactId(rawContactId)); in testSipPhoneLookup()
2429 long contactId1 = queryContactId(rawContactId1); in testCallablesQuery()
2434 long contactId2 = queryContactId(rawContactId2); in testCallablesQuery()
[all …]
DBaseContactsProvider2Test.java592 return ContentUris.withAppendedId(Contacts.CONTENT_URI, queryContactId(rawContactId)); in getContactUriForRawContact()
595 protected long queryContactId(long rawContactId) { in queryContactId() method in BaseContactsProvider2Test
643 long contactId1 = queryContactId(rawContactId1); in assertAggregated()
644 long contactId2 = queryContactId(rawContactId2); in assertAggregated()
650 long contactId1 = queryContactId(rawContactId1); in assertAggregated()
651 long contactId2 = queryContactId(rawContactId2); in assertAggregated()
659 long contactId1 = queryContactId(rawContactId1); in assertNotAggregated()
660 long contactId2 = queryContactId(rawContactId2); in assertNotAggregated()
1617 long contactId = queryContactId(rawContactId);
DGroupsTest.java232 final long contactId = this.queryContactId(rawContactId); in assertRawContactVisible()
260 final long contactId = this.queryContactId(rawContactId); in testDelayVisibleTransaction()