Home
last modified time | relevance | path

Searched refs:RawContactInfo (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/
DSplitAggregateView.java94 final List<RawContactInfo> list = loadData(); in SplitAggregateView()
115 private static class RawContactInfo implements Comparable<RawContactInfo> { class in SplitAggregateView
124 public RawContactInfo(long rawContactId) { in RawContactInfo() method in SplitAggregateView.RawContactInfo
144 public int compareTo(RawContactInfo another) { in compareTo()
155 private List<RawContactInfo> loadData() { in loadData()
156 HashMap<Long, RawContactInfo> rawContactInfos = new HashMap<Long, RawContactInfo>(); in loadData()
166 RawContactInfo info = rawContactInfos.get(rawContactId); in loadData()
168 info = new RawContactInfo(rawContactId); in loadData()
189 List<RawContactInfo> list = new ArrayList<RawContactInfo>(rawContactInfos.values()); in loadData()
194 private void loadStructuredName(Cursor cursor, RawContactInfo info) { in loadStructuredName()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DMetadataEntryParser.java100 public static class RawContactInfo { class in MetadataEntryParser
111 public RawContactInfo(String backupId, String accountType, String accountName, in RawContactInfo() method in MetadataEntryParser.RawContactInfo
123 final RawContactInfo mRawContactInfo1;
125 final RawContactInfo mRawContactInfo2;
130 public AggregationData(RawContactInfo rawContactInfo1, RawContactInfo rawContactInfo2, in AggregationData()
141 final RawContactInfo mRawContactInfo;
154 public MetadataEntry(RawContactInfo rawContactInfo, in MetadataEntry()
177 final RawContactInfo rawContactInfo = parseUniqueContact(uniqueContactJSON); in parseDataToMetaDataEntry()
201 final RawContactInfo aggregationContact1 = parseUniqueContact(rawContact1); in parseDataToMetaDataEntry()
203 final RawContactInfo aggregationContact2 = parseUniqueContact(rawContact2); in parseDataToMetaDataEntry()
[all …]
DContactsProvider2.java158 import com.android.providers.contacts.MetadataEntryParser.RawContactInfo;
4871 RawContactInfo rawContactInfo) { in searchRawContactIdForRawContactInfo()
4932 final RawContactInfo rawContactInfo = metadataEntry.mRawContactInfo; in updateFromMetaDataEntry()
4968 final RawContactInfo aggregationContact1 = aggregationData.mRawContactInfo1; in updateFromMetaDataEntry()
4969 final RawContactInfo aggregationContact2 = aggregationData.mRawContactInfo2; in updateFromMetaDataEntry()
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DMetadataEntryParserTest.java24 import com.android.providers.contacts.MetadataEntryParser.RawContactInfo;
83 RawContactInfo rawContactInfo = new RawContactInfo( in testParseDataToMetadataEntry()
85 RawContactInfo aggregationContact1 = new RawContactInfo(aggregationContactBackupId1, in testParseDataToMetadataEntry()
87 RawContactInfo aggregationContact2 = new RawContactInfo(aggregationContactBackupId2, in testParseDataToMetadataEntry()
252 private void assertRawContactInfoEquals(RawContactInfo contact1, RawContactInfo contact2) { in assertRawContactInfoEquals()
DContactsProvider2Test.java92 import com.android.providers.contacts.MetadataEntryParser.RawContactInfo;
2948 RawContactInfo rawContactInfo = new RawContactInfo( in testUpdateFromMetadataEntry()
2992 RawContactInfo aggregationContact = new RawContactInfo( in testUpdateFromMetadataEntry()