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.java79 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "zz", "top"); in testCrudAggregationExceptions()
80 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "aa", "bottom"); in testCrudAggregationExceptions()
296 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testAggregationBasedOnPhoneNumberNoNameData()
349 long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testAggregationBasedOnEmailNoNameData()
365 long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testAggregationByIdentificationNoStructuredNameWithinDifferentAccounts()
566 … long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "c", "c", ACCOUNT_1); in testAggregationExceptionKeepOutCheckResultDisplayNames()
567 … long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "b", "b", ACCOUNT_2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
568 … long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "a", "a", ACCOUNT_3); in testAggregationExceptionKeepOutCheckResultDisplayNames()
602 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testNonAggregationWithMultipleAffinities()
604 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testNonAggregationWithMultipleAffinities()
[all …]
DContactAggregatorTest.java79 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "zz", "top"); in testCrudAggregationExceptions()
80 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "aa", "bottom"); in testCrudAggregationExceptions()
549 … long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "c", "c", ACCOUNT_1); in testAggregationExceptionKeepOutCheckResultDisplayNames()
550 … long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "b", "b", ACCOUNT_2); in testAggregationExceptionKeepOutCheckResultDisplayNames()
551 … long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "a", "a", ACCOUNT_3); in testAggregationExceptionKeepOutCheckResultDisplayNames()
585 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testNonAggregationWithMultipleAffinities()
587 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testNonAggregationWithMultipleAffinities()
592 long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testNonAggregationWithMultipleAffinities()
602 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testReaggregateBecauseOfMultipleAffinities()
604 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe", in testReaggregateBecauseOfMultipleAffinities()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactLookupKeyTest.java44 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyUsingDisplayNameAndNoAccount()
45 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "johndoe", null); in testLookupKeyUsingDisplayNameAndNoAccount()
72 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyUsingSourceIdAndNoAccount()
75 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "johndoe", null); in testLookupKeyUsingSourceIdAndNoAccount()
78 long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "john", "dough"); in testLookupKeyUsingSourceIdAndNoAccount()
98 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "Dear", "Doe"); in testLookupKeySameSourceIdDifferentAccounts()
103 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "Deer", "Dough"); in testLookupKeySameSourceIdDifferentAccounts()
129 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyChoosingLargestContact()
132 long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyChoosingLargestContact()
135 long rawContactId3 = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testLookupKeyChoosingLargestContact()
[all …]
DSqlInjectionDetectionTest.java46 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryValid()
54 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryBadProjection()
62 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryBadSelection()
70 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryBadSortOrder()
79 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "Hot", "Tamale"); in testPhoneQueryBadLimit()
DSearchIndexManagerTest.java286 RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testEmptyFilter()
291 RawContactUtil.createRawContactWithName(mResolver, "John Jay", "Doe"); in testSearchByName()
300 RawContactUtil.createRawContactWithName(mResolver, "John Jay", "Doe"); in testSearchByPrefixName()
309 RawContactUtil.createRawContactWithName(mResolver, "Matthäus BJÖRN Bünyamin", "Reißer"); in testGermanUmlautFullameCapitalizationSearch()
397 RawContactUtil.createRawContactWithName(mResolver, "First", "Last-name"); in testNameWithHyphen()
414 RawContactUtil.createRawContactWithName(mResolver, "First", "Last--name"); in testNameWithDoubleHyphens()
427 RawContactUtil.createRawContactWithName(mResolver, "First", "O'Neill"); in testNameWithPunctuations()
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.java967 long rawContactId = RawContactUtil.createRawContactWithName(mResolver); in testDataDirectoryWithLookupUri()
1014 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, account1); in testContactEntitiesWithIdBasedUri()
1036 long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, account1); in testContactEntitiesWithLookupUri()
1128 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsert()
1156 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId()
1213 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertAndUpdateHashId_Photo()
1237 long rawContactId = RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testDataInsertPhoneNumberTooLongIsTrimmed()
1473 final long rawContactId1 = RawContactUtil.createRawContactWithName(mResolver, "Hot", in testPhonesFilterQueryInter()
1477 final long rawContactId2 = RawContactUtil.createRawContactWithName(mResolver, "Chilled", in testPhonesFilterQueryInter()
1564 final long rid1 = RawContactUtil.createRawContactWithName(mResolver, "Dad", null); in testPhonesFilterSearchParams()
[all …]
DVCardTest.java41 RawContactUtil.createRawContactWithName(mResolver, "John", "Doe"); in testCompose()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/testutil/
DRawContactUtil.java110 public static long createRawContactWithName(ContentResolver resolver) { in createRawContactWithName() method in RawContactUtil
111 return createRawContactWithName(resolver, null); in createRawContactWithName()
114 public static long createRawContactWithName(ContentResolver resolver, Account account) { in createRawContactWithName() method in RawContactUtil
115 return createRawContactWithName(resolver, "John", "Doe", account); in createRawContactWithName()
118 public static long createRawContactWithName(ContentResolver resolver, String firstName, in createRawContactWithName() method in RawContactUtil
120 return createRawContactWithName(resolver, firstName, lastName, null); in createRawContactWithName()
123 public static long createRawContactWithName(ContentResolver resolver, String firstName, in createRawContactWithName() method in RawContactUtil
DDatabaseAsserts.java58 long rawContactId = RawContactUtil.createRawContactWithName(resolver); in assertAndCreateContact()
73 long rawContactId = RawContactUtil.createRawContactWithName(resolver, firstName, lastName); in assertAndCreateContactWithName()