Home
last modified time | relevance | path

Searched refs:createRawContactWithName (Results 1 – 10 of 10) sorted by relevance

/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/
DContactAggregator2Test.java103 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "zz", "top"); in testCrudAggregationExceptions()
104 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "aa", "bottom"); in testCrudAggregationExceptions()
320 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testAggregationBasedOnPhoneNumberNoNameData()
373 long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testAggregationBasedOnEmailNoNameData()
389 long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testAggregationByIdentificationNoStructuredNameWithinDifferentAccounts()
537 … long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "c", "c", ACCOUNT_1); in testAggregationExceptionKeepOutCheckResultDisplayNames()
538 … long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "b", "b", ACCOUNT_2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
539 … long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "a", "a", ACCOUNT_3); in testAggregationExceptionKeepOutCheckResultDisplayNames()
573 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testNonAggregationWithMultipleAffinities()
575 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testNonAggregationWithMultipleAffinities()
[all …]
DContactAggregatorTest.java103 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "zz", "top"); in testCrudAggregationExceptions()
104 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "aa", "bottom"); in testCrudAggregationExceptions()
531 … long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "c", "c", ACCOUNT_1); in testAggregationExceptionKeepOutCheckResultDisplayNames()
532 … long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "b", "b", ACCOUNT_2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
533 … long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "a", "a", ACCOUNT_3); in testAggregationExceptionKeepOutCheckResultDisplayNames()
567 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testNonAggregationWithMultipleAffinities()
569 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testNonAggregationWithMultipleAffinities()
574 long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testNonAggregationWithMultipleAffinities()
584 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testReaggregateBecauseOfMultipleAffinities()
586 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testReaggregateBecauseOfMultipleAffinities()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java52 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyUsingDisplayNameAndNoAccount()
53 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "johndoe", null); in testLookupKeyUsingDisplayNameAndNoAccount()
80 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyUsingSourceIdAndNoAccount()
83 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "johndoe", null); in testLookupKeyUsingSourceIdAndNoAccount()
86 long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "john", "dough"); in testLookupKeyUsingSourceIdAndNoAccount()
110 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "Dear", "Doe"); in testLookupKeySameSourceIdDifferentAccounts()
115 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "Deer", "Dough"); in testLookupKeySameSourceIdDifferentAccounts()
141 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyChoosingLargestContact()
144 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyChoosingLargestContact()
147 long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyChoosingLargestContact()
[all …]
DSearchIndexManagerTest.java287 RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testEmptyFilter()
292 RawContactUtil.createRawContactWithName(mResolver, "John Jay", "Doe"); in testSearchByName()
301 RawContactUtil.createRawContactWithName(mResolver, "John Jay", "Doe"); in testSearchByPrefixName()
310 RawContactUtil.createRawContactWithName(mResolver, "Matthäus BJÖRN Bünyamin", "Reißer"); in testGermanUmlautFullameCapitalizationSearch()
398 RawContactUtil.createRawContactWithName(mResolver, "First", "Last-name"); in testNameWithHyphen()
415 RawContactUtil.createRawContactWithName(mResolver, "First", "Last--name"); in testNameWithDoubleHyphens()
428 RawContactUtil.createRawContactWithName(mResolver, "First", "O'Neill"); in testNameWithPunctuations()
DDirectoryTest.java84 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()
DContactsProvider2Test.java1247 long rawContactId = RawContactUtil.createRawContactWithName(mResolver); in testDataDirectoryWithLookupUri()
1294 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, account1); in testContactEntitiesWithIdBasedUri()
1316 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, account1); in testContactEntitiesWithLookupUri()
1408 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsert()
1436 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId()
1493 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId_Photo()
1517 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertPhoneNumberTooLongIsTrimmed()
1752 final long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "Hot", in testPhonesFilterQueryInter()
1756 final long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "Chilled", in testPhonesFilterQueryInter()
1843 final long rid1 = RawContactUtil.createRawContactWithName(mResolver, "Dad", null); in testPhonesFilterSearchParams()
[all …]
DVCardTest.java42 RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testCompose()
DSqlInjectionDetectionTest.java99 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryBadLimit()
/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/
DRawContactUtil.java96 public static long createRawContactWithName(ContentResolver resolver) { in createRawContactWithName() method in RawContactUtil
97 return createRawContactWithName(resolver, null); in createRawContactWithName()
100 public static long createRawContactWithName(ContentResolver resolver, Account account) { in createRawContactWithName() method in RawContactUtil
101 return createRawContactWithName(resolver, "John", "Doe", account); in createRawContactWithName()
104 public static long createRawContactWithName(ContentResolver resolver, String firstName, in createRawContactWithName() method in RawContactUtil
106 return createRawContactWithName(resolver, firstName, lastName, null); in createRawContactWithName()
109 public static long createRawContactWithName(ContentResolver resolver, String firstName, in createRawContactWithName() method in RawContactUtil
DDatabaseAsserts.java68 long rawContactId = RawContactUtil.createRawContactWithName(resolver, account); in assertAndCreateContact()
83 long rawContactId = RawContactUtil.createRawContactWithName(resolver, firstName, lastName); in assertAndCreateContactWithName()