Home
last modified time | relevance | path

Searched refs:rawContact2 (Results 1 – 8 of 8) sorted by relevance

/cts/tests/tests/provider/src/android/provider/cts/
DContactsContract_StructuredPhoneticName.java94 TestRawContact rawContact2 = mBuilder.newRawContact() in testPhoneticStructuredName_phoneticPriority1() local
98 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticStructuredName_phoneticPriority1()
101 rawContact2.load(); in testPhoneticStructuredName_phoneticPriority1()
106 rawContact1.getId(), rawContact2.getId()); in testPhoneticStructuredName_phoneticPriority1()
110 rawContact2.load(); in testPhoneticStructuredName_phoneticPriority1()
111 Assert.assertEquals(rawContact1.getContactId(), rawContact2.getContactId()); in testPhoneticStructuredName_phoneticPriority1()
114 TestContact contact = rawContact2.getContact().load(); in testPhoneticStructuredName_phoneticPriority1()
121 TestRawContact rawContact2 = mBuilder.newRawContact() in testPhoneticStructuredName_phoneticPriority2() local
125 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticStructuredName_phoneticPriority2()
128 rawContact2.load(); in testPhoneticStructuredName_phoneticPriority2()
[all …]
DContactsContract_IsSuperPrimaryName.java83 TestRawContact rawContact2 = mBuilder.newRawContact() in testInner_displayNameFromIsSuperPrimary() local
87 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testInner_displayNameFromIsSuperPrimary()
91 rawContact2.load(); in testInner_displayNameFromIsSuperPrimary()
95 setAggregationException(rawContact1.getId(), rawContact2.getId()); in testInner_displayNameFromIsSuperPrimary()
99 rawContact2.load(); in testInner_displayNameFromIsSuperPrimary()
100 Assert.assertEquals(rawContact1.getContactId(), rawContact2.getContactId()); in testInner_displayNameFromIsSuperPrimary()
107 TestContact contact = rawContact2.getContact().load(); in testInner_displayNameFromIsSuperPrimary()
144 TestRawContact rawContact2 = mBuilder.newRawContact() in testIsSuperPrimaryName_mergeBothSuperPrimary() local
148 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testIsSuperPrimaryName_mergeBothSuperPrimary()
152 rawContact2.load(); in testIsSuperPrimaryName_mergeBothSuperPrimary()
[all …]
DContactsContract_PhoneLookup.java89 TestRawContact rawContact2 = mBuilder.newRawContact() in setupTestData() local
93 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupTestData()
96 long dataId2 = rawContact2.newDataRow(Phone.CONTENT_ITEM_TYPE) in setupTestData()
100 rawContact2.load(); in setupTestData()
101 TestContact contact2 = rawContact2.getContact().load(); in setupTestData()
111 long dataId3 = rawContact2.newDataRow(SipAddress.CONTENT_ITEM_TYPE) in setupTestData()
116 TestContact contact3 = rawContact2.getContact().load(); in setupTestData()
DContactsContract_SearchSnippetsTest.java231 TestRawContact rawContact2 = mBuilder.newRawContact() in setupTestData() local
235 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupTestData()
238 rawContact2.newDataRow(Email.CONTENT_ITEM_TYPE) in setupTestData()
242 rawContact2.newDataRow(Phone.CONTENT_ITEM_TYPE) in setupTestData()
247 rawContact2.load(); in setupTestData()
248 TestContact contact2 = rawContact2.getContact().load(); in setupTestData()
DContactsContract_AggregationSuggestionsTest.java171 TestRawContact rawContact2 = mBuilder.newRawContact() in setupThreeContacts() local
175 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupThreeContacts()
179 rawContact2.load(); in setupThreeContacts()
192 rawContact2.getContactId(), rawContact3.getContactId()}; in setupThreeContacts()
DContactsContract_ContactCountsTest.java127 TestRawContact rawContact2 = mBuilder.newRawContact() in setupTestData() local
131 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupTestData()
134 rawContact2.load(); in setupTestData()
135 TestContact contact2 = rawContact2.getContact().load(); in setupTestData()
DContactsContract_FrequentsStrequentsTest.java450 TestRawContact rawContact2 = mBuilder.newRawContact() in setupTestData() local
454 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupTestData()
457 mDataIds[1] = rawContact2.newDataRow(Email.CONTENT_ITEM_TYPE) in setupTestData()
461 rawContact2.load(); in setupTestData()
462 TestContact contact2 = rawContact2.getContact().load(); in setupTestData()
DContactsContract_DataTest.java697 TestRawContact rawContact2 = mBuilder.newRawContact() in setupContactablesTestData() local
701 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupContactablesTestData()
704 rawContact2.newDataRow(Email.CONTENT_ITEM_TYPE) in setupContactablesTestData()
708 rawContact2.newDataRow(SipAddress.CONTENT_ITEM_TYPE) in setupContactablesTestData()
712 rawContact2.newDataRow(Organization.CONTENT_ITEM_TYPE) in setupContactablesTestData()
715 mRawContacts[1] = rawContact2; in setupContactablesTestData()
736 return new long[] {rawContact.getId(), rawContact2.getId(), rawContact3.getId()}; in setupContactablesTestData()