/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/aggregation/ |
H A D | ContactAggregatorTest.java | 151 long rawContactId = RawContactUtil.createRawContact(mResolver); in testAggregationCreatesNewAggregate() 261 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationOfNormalizedFullNameMatchWithReadOnlyAccount() 967 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName() 971 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName() 977 long rawContactId3 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName() 981 long rawContactId4 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName() 994 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnPhoneNumber() 998 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnPhoneNumber() 1012 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnEmailAddress() 1307 long rawContactId = RawContactUtil.createRawContact(mResolver); in testDisplayNameSources() [all …]
|
H A D | ContactAggregator2Test.java | 151 long rawContactId = RawContactUtil.createRawContact(mResolver); in testAggregationCreatesNewAggregate() 261 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationOfNormalizedFullNameMatchWithReadOnlyAccount() 971 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName() 976 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName() 981 long rawContactId3 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName() 985 long rawContactId4 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName() 988 long rawContactId5 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnName() 1002 long rawContactId1 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnPhoneNumber() 1006 long rawContactId2 = RawContactUtil.createRawContact(mResolver); in testAggregationSuggestionsBasedOnPhoneNumber() 1315 long rawContactId = RawContactUtil.createRawContact(mResolver); in testDisplayNameSources() [all …]
|
/aosp12/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | SearchIndexManagerTest.java | 52 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForStructuredName() 73 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForStructuredName_phoneticOnly() 98 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForChineseName() 115 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByChineseName() 134 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForKoreanName() 150 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByKoreanName() 174 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchByKoreanNameWithTwoCharactersFamilyName() 198 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForOrganization() 216 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForPhoneNumber() 225 long rawContactId = RawContactUtil.createRawContact(mResolver); in testSearchIndexForEmail() [all …]
|
H A D | GroupsTest.java | 82 long contactAlpha = mActor.createRawContact(PERSON_ALPHA); in testGroupSummary() 83 long contactBravo = mActor.createRawContact(PERSON_BRAVO); in testGroupSummary() 84 long contactCharlie = mActor.createRawContact(PERSON_CHARLIE); in testGroupSummary() 85 long contactCharlieDupe = mActor.createRawContact(PERSON_CHARLIE); in testGroupSummary() 88 long contactDelta = mActor.createRawContact(PERSON_DELTA); in testGroupSummary() 259 final long rawContactId = RawContactUtil.createRawContact(this.mResolver, sTestAccount); in testDelayVisibleTransaction() 282 final long rawContactId = RawContactUtil.createRawContact(this.mResolver); in testLocalSingleVisible() 290 final long rawContactId1 = RawContactUtil.createRawContact(this.mResolver); in testLocalMixedVisible() 291 final long rawContactId2 = RawContactUtil.createRawContact(this.mResolver, sTestAccount); in testLocalMixedVisible() 313 final long rawContactId = RawContactUtil.createRawContact(this.mResolver, sTestAccount); in testUngroupedVisible() [all …]
|
H A D | ContactsProvider2Test.java | 3140 long rawContactId = createRawContact(values, "18004664411", in testQueryContactFilterByName() 3180 long rawContactId = createRawContact(values, "18004664411", in testQueryContactFilterByEmailAddress() 3207 long rawContactId = createRawContact(values, "18004664411", in testQueryContactFilterByPhoneNumber() 3292 final long rid1 = RawContactUtil.createRawContact(mResolver); in testQueryContactStrequentFrequentOrder() 5733 long rawContactId = createRawContact(values, "18004664411", in testStreamItemInsertedOnStatusUpdate() 5752 long rawContactId = createRawContact(values, "18004664411", in testStreamItemInsertedOnStatusUpdate_HtmlQuoting() 5776 long rawContactId = createRawContact(values, "18004664411", in testStreamItemUpdatedOnSecondStatusUpdate() 7599 RawContactUtil.createRawContact(mResolver); in testContactCounts() 7905 long r3 = RawContactUtil.createRawContact(mResolver, null); in testAutoGroupMembership() 7934 long r6 = RawContactUtil.createRawContact(mResolver, null); in testNoAutoAddMembershipAfterGroupCreation() [all …]
|
H A D | ContactsActor.java | 638 public long createRawContact(String name) { in createRawContact() method in ContactsActor 640 long rawContactId = createRawContact(); in createRawContact() 645 public long createRawContact() { in createRawContact() method in ContactsActor 655 final long rawContactId = createRawContact(name); in createRawContactWithStatus()
|
H A D | GlobalSearchSupportTest.java | 53 long rawContactId = RawContactUtil.createRawContact(mResolver, account); in testSearchSuggestionsNotInDefaultDirectory()
|
H A D | BaseContactsProvider2Test.java | 1618 long rawContactId = RawContactUtil.createRawContact(mResolver); in build()
|
/aosp12/packages/providers/ContactsProvider/test_common/src/com/android/providers/contacts/testutil/ |
H A D | RawContactUtil.java | 76 public static long createRawContact(ContentResolver resolver, Account account, in createRawContact() method in RawContactUtil 111 long rawContactId = createRawContact(resolver, account); in createRawContactWithName() 116 public static long createRawContact(ContentResolver resolver) { in createRawContact() method in RawContactUtil 117 return createRawContact(resolver, null); in createRawContact()
|
/aosp12/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | GroupsDaoIntegrationTests.java | 108 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId); in test_deleteNonEmptyGroup_removesGroupAndMembers() 109 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId); in test_deleteNonEmptyGroup_removesGroupAndMembers() 134 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId); in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers() 135 addMemberToGroup(ContentUris.parseId(createRawContact()), groupId); in test_undoDeleteNonEmptyGroup_restoresGroupAndMembers() 233 private Uri createRawContact() { in createRawContact() method in GroupsDaoIntegrationTests
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactSaveService.java | 324 createRawContact(intent); in onHandleIntent() 392 private void createRawContact(Intent intent) { in createRawContact() method in ContactSaveService
|