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() 500 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() 501 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn() 509 long newContactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() 562 String displayName1 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 573 String displayName2 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 576 String displayName3 = queryDisplayName(queryContactId(rawContactId2)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 579 String displayName4 = queryDisplayName(queryContactId(rawContactId3)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 605 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames() 606 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() [all …]
|
D | ContactAggregator2Test.java | 158 long contactId = queryContactId(rawContactId); in testAggregationCreatesNewAggregate() 516 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() 517 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepIn() 525 long newContactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepIn() 578 String displayName1 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 589 String displayName2 = queryDisplayName(queryContactId(rawContactId1)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 592 String displayName3 = queryDisplayName(queryContactId(rawContactId2)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 595 String displayName4 = queryDisplayName(queryContactId(rawContactId3)); in testAggregationExceptionKeepOutCheckUpdatesDisplayName() 621 long contactId1 = queryContactId(rawContactId1); in testAggregationExceptionKeepOutCheckResultDisplayNames() 622 long contactId2 = queryContactId(rawContactId2); in testAggregationExceptionKeepOutCheckResultDisplayNames() [all …]
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactLookupKeyTest.java | 54 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()
|
D | SearchIndexManagerTest.java | 53 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 …]
|
D | ContactsProvider2Test.java | 1032 long contactId = queryContactId(rawContactId); in testDataDirectoryWithLookupUri() 1084 long contactId = queryContactId(rawContactId1); in testContactEntitiesWithIdBasedUri() 1106 long contactId = queryContactId(rawContactId1); in testContactEntitiesWithLookupUri() 1196 long contactId = queryContactId(rawContactId); in testDataInsert() 1354 long contactId = queryContactId(rawContactId); in testPhonesQuery() 1676 values.put(PhoneLookup._ID, queryContactId(rawContactId)); in testPhoneLookup() 1677 values.put(PhoneLookup.CONTACT_ID, queryContactId(rawContactId)); in testPhoneLookup() 1714 values.put(PhoneLookup.CONTACT_ID, queryContactId(rawContactId)); in testSipPhoneLookup() 2490 long contactId1 = queryContactId(rawContactId1); in testCallablesQuery() 2495 long contactId2 = queryContactId(rawContactId2); in testCallablesQuery() [all …]
|
D | DirectoryTest.java | 85 long contactId = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "John", in testForwardingToLocalContacts() 104 long contactId1 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Bob", in testForwardingToLocalInvisibleContacts() 110 long contactId2 = queryContactId(RawContactUtil.createRawContactWithName(mResolver, "Helen", in testForwardingToLocalInvisibleContacts()
|
D | BaseContactsProvider2Test.java | 600 return ContentUris.withAppendedId(Contacts.CONTENT_URI, queryContactId(rawContactId)); in getContactUriForRawContact() 603 protected long queryContactId(long rawContactId) { in queryContactId() method in BaseContactsProvider2Test 651 long contactId1 = queryContactId(rawContactId1); in assertAggregated() 652 long contactId2 = queryContactId(rawContactId2); in assertAggregated() 658 long contactId1 = queryContactId(rawContactId1); in assertAggregated() 659 long contactId2 = queryContactId(rawContactId2); in assertAggregated() 667 long contactId1 = queryContactId(rawContactId1); in assertNotAggregated() 668 long contactId2 = queryContactId(rawContactId2); in assertNotAggregated() 1644 long contactId = queryContactId(rawContactId); in build()
|
D | GroupsTest.java | 232 final long contactId = this.queryContactId(rawContactId); in assertRawContactVisible() 260 final long contactId = this.queryContactId(rawContactId); in testDelayVisibleTransaction()
|