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/contacts/
DContactsContract_StructuredPhoneticName.java93 TestRawContact rawContact2 = mBuilder.newRawContact() in testPhoneticStructuredName_phoneticPriority1() local
97 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticStructuredName_phoneticPriority1()
100 rawContact2.load(); in testPhoneticStructuredName_phoneticPriority1()
105 rawContact1.getId(), rawContact2.getId()); in testPhoneticStructuredName_phoneticPriority1()
109 rawContact2.load(); in testPhoneticStructuredName_phoneticPriority1()
110 Assert.assertEquals(rawContact1.getContactId(), rawContact2.getContactId()); in testPhoneticStructuredName_phoneticPriority1()
113 TestContact contact = rawContact2.getContact().load(); in testPhoneticStructuredName_phoneticPriority1()
120 TestRawContact rawContact2 = mBuilder.newRawContact() in testPhoneticStructuredName_phoneticPriority2() local
124 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticStructuredName_phoneticPriority2()
127 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.java88 TestRawContact rawContact2 = mBuilder.newRawContact() in setupTestData() local
92 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupTestData()
95 long dataId2 = rawContact2.newDataRow(Phone.CONTENT_ITEM_TYPE) in setupTestData()
99 rawContact2.load(); in setupTestData()
100 TestContact contact2 = rawContact2.getContact().load(); in setupTestData()
110 long dataId3 = rawContact2.newDataRow(SipAddress.CONTENT_ITEM_TYPE) in setupTestData()
115 TestContact contact3 = rawContact2.getContact().load(); in setupTestData()
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_AggregationSuggestionsTest.java170 TestRawContact rawContact2 = mBuilder.newRawContact() in setupThreeContacts() local
174 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupThreeContacts()
178 rawContact2.load(); in setupThreeContacts()
191 rawContact2.getContactId(), rawContact3.getContactId()}; in setupThreeContacts()
DContactsContract_SearchSnippetsTest.java343 TestRawContact rawContact2 = mBuilder.newRawContact() in setupTestData() local
347 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupTestData()
350 rawContact2.newDataRow(Email.CONTENT_ITEM_TYPE) in setupTestData()
354 rawContact2.newDataRow(Phone.CONTENT_ITEM_TYPE) in setupTestData()
359 rawContact2.load(); in setupTestData()
360 TestContact contact2 = rawContact2.getContact().load(); in setupTestData()
DContactsContract_FrequentsStrequentsTest.java438 TestRawContact rawContact2 = mBuilder.newRawContact() in setupTestData() local
442 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupTestData()
445 mDataIds[1] = rawContact2.newDataRow(Email.CONTENT_ITEM_TYPE) in setupTestData()
449 rawContact2.load(); in setupTestData()
450 TestContact contact2 = rawContact2.getContact().load(); in setupTestData()
DContactsContract_DataTest.java731 TestRawContact rawContact2 = mBuilder.newRawContact() in setupContactablesTestData() local
735 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupContactablesTestData()
738 rawContact2.newDataRow(Email.CONTENT_ITEM_TYPE) in setupContactablesTestData()
742 rawContact2.newDataRow(SipAddress.CONTENT_ITEM_TYPE) in setupContactablesTestData()
746 rawContact2.newDataRow(Organization.CONTENT_ITEM_TYPE) in setupContactablesTestData()
749 mRawContacts[1] = rawContact2; in setupContactablesTestData()
770 return new long[] {rawContact.getId(), rawContact2.getId(), rawContact3.getId()}; in setupContactablesTestData()