Searched refs:rawContact2 (Results 1 – 8 of 8) sorted by relevance
93 TestRawContact rawContact2 = mBuilder.newRawContact() in testPhoneticStructuredName_phoneticPriority1() local97 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() local124 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testPhoneticStructuredName_phoneticPriority2()127 rawContact2.load(); in testPhoneticStructuredName_phoneticPriority2()[all …]
83 TestRawContact rawContact2 = mBuilder.newRawContact() in testInner_displayNameFromIsSuperPrimary() local87 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() local148 TestData name2 = rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in testIsSuperPrimaryName_mergeBothSuperPrimary()152 rawContact2.load(); in testIsSuperPrimaryName_mergeBothSuperPrimary()[all …]
88 TestRawContact rawContact2 = mBuilder.newRawContact() in setupTestData() local92 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()
127 TestRawContact rawContact2 = mBuilder.newRawContact() in setupTestData() local131 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupTestData()134 rawContact2.load(); in setupTestData()135 TestContact contact2 = rawContact2.getContact().load(); in setupTestData()
170 TestRawContact rawContact2 = mBuilder.newRawContact() in setupThreeContacts() local174 rawContact2.newDataRow(StructuredName.CONTENT_ITEM_TYPE) in setupThreeContacts()178 rawContact2.load(); in setupThreeContacts()191 rawContact2.getContactId(), rawContact3.getContactId()}; in setupThreeContacts()
343 TestRawContact rawContact2 = mBuilder.newRawContact() in setupTestData() local347 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()
438 TestRawContact rawContact2 = mBuilder.newRawContact() in setupTestData() local442 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()
731 TestRawContact rawContact2 = mBuilder.newRawContact() in setupContactablesTestData() local735 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()