Searched refs:queryContactId (Results 1 – 8 of 8) sorted by relevance
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
D | ContactAggregatorTest.java | 158 long contactId = queryContactId(rawContactId); in testAggregationCreatesNewAggregate() 447 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() 448 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn() 456 long newContactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() 509 String displayName1 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 520 String displayName2 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 523 String displayName3 = queryDisplayName(queryContactId(rawContactId2)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 526 String displayName4 = queryDisplayName(queryContactId(rawContactId3)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 552 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames() 553 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() [all …]
|
D | ContactAggregator2Test.java | 158 long contactId = queryContactId(rawContactId); in testAggregationCreatesNewAggregate() 453 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() 454 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn() 462 long newContactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() 515 String displayName1 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 526 String displayName2 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 529 String displayName3 = queryDisplayName(queryContactId(rawContactId2)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 532 String displayName4 = queryDisplayName(queryContactId(rawContactId3)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 558 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames() 559 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactLookupKeyTest.java | 62 long contactId = queryContactId(rawContactId1); in testLookupKeyUsingDisplayNameAndNoAccount() 101 long contactId = queryContactId(rawContactId1); in testLookupKeyUsingSourceIdAndNoAccount() 125 long contactId1 = queryContactId(rawContactId1); in testLookupKeySameSourceIdDifferentAccounts() 129 long contactId2 = queryContactId(rawContactId2); in testLookupKeySameSourceIdDifferentAccounts() 158 long contactId = queryContactId(rawContactId1); in testLookupKeyChoosingLargestContact() 170 long largerContactId = queryContactId(rawContactId1); in testLookupKeyChoosingLargestContact() 175 ContentUris.withAppendedId(Contacts.CONTENT_URI, queryContactId(rawContactId3)), in testLookupKeyChoosingLargestContact() 187 long contactId = queryContactId(rawContactId1); in testGetLookupUri()
|
D | SearchIndexManagerTest.java | 54 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredName() 75 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredName_phoneticOnly() 100 long contactId = queryContactId(rawContactId); in testSearchIndexForChineseName() 136 long contactId = queryContactId(rawContactId); in testSearchIndexForKoreanName() 200 long contactId = queryContactId(rawContactId); in testSearchIndexForOrganization() 218 long contactId = queryContactId(rawContactId); in testSearchIndexForPhoneNumber() 227 long contactId = queryContactId(rawContactId); in testSearchIndexForEmail() 237 long contactId = queryContactId(rawContactId); in testSearchIndexForNickname() 245 long contactId = queryContactId(rawContactId); in testSearchIndexForStructuredPostal() 260 long contactId = queryContactId(rawContactId); in testSearchIndexForIm() [all …]
|
D | DirectoryTest.java | 84 long contactId = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "John", in testForwardingToLocalContacts() 103 long contactId1 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Bob", in testForwardingToLocalInvisibleContacts() 109 long contactId2 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Helen", in testForwardingToLocalInvisibleContacts()
|
D | ContactsProvider2Test.java | 1251 long contactId = queryContactId(rawContactId); in testDataDirectoryWithLookupUri() 1303 long contactId = queryContactId(rawContactId1); in testContactEntitiesWithIdBasedUri() 1325 long contactId = queryContactId(rawContactId1); in testContactEntitiesWithLookupUri() 1415 long contactId = queryContactId(rawContactId); in testDataInsert() 1573 long contactId = queryContactId(rawContactId); in testPhonesQuery() 1895 values.put(PhoneLookup._ID, queryContactId(rawContactId)); in testPhoneLookup() 1896 values.put(PhoneLookup.CONTACT_ID, queryContactId(rawContactId)); in testPhoneLookup() 1933 values.put(PhoneLookup.CONTACT_ID, queryContactId(rawContactId)); in testSipPhoneLookup() 2709 long contactId1 = queryContactId(rawContactId1); in testCallablesQuery() 2714 long contactId2 = queryContactId(rawContactId2); in testCallablesQuery() [all …]
|
D | BaseContactsProvider2Test.java | 618 return ContentUris.withAppendedId(Contacts.CONTENT_URI, queryContactId(rawContactId)); in getContactUriForRawContact() 621 protected long queryContactId(long rawContactId) { in queryContactId() method in BaseContactsProvider2Test 669 long contactId1 = queryContactId(rawContactId1); in assertAggregated() 670 long contactId2 = queryContactId(rawContactId2); in assertAggregated() 676 long contactId1 = queryContactId(rawContactId1); in assertAggregated() 677 long contactId2 = queryContactId(rawContactId2); in assertAggregated() 685 long contactId1 = queryContactId(rawContactId1); in assertNotAggregated() 686 long contactId2 = queryContactId(rawContactId2); in assertNotAggregated() 1462 final long contactId1 = queryContactId(rawContactId1); in createVCardTestContacts() 1463 final long contactId2 = queryContactId(rawContactId2); in createVCardTestContacts() [all …]
|
D | GroupsTest.java | 233 final long contactId = this.queryContactId(rawContactId); in assertRawContactVisible() 261 final long contactId = this.queryContactId(rawContactId); in testDelayVisibleTransaction()
|