Home
last modified time | relevance | path

Searched refs:type1 (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/editor/
DRawContactDeltaComparator.java50 final AccountType type1 = accountTypes.getAccountType(accountType1, dataSet1); in compare() local
56 if (!type1.areContactsWritable() && type2.areContactsWritable()) { in compare()
58 } else if (type1.areContactsWritable() && !type2.areContactsWritable()) { in compare()
64 boolean isGoogleAccount1 = type1 instanceof GoogleAccountType; in compare()
77 if (type1.accountType != null && type2.accountType == null) { in compare()
79 } else if (type1.accountType == null && type2.accountType != null) { in compare()
83 if (type1.accountType != null && type2.accountType != null) { in compare()
84 value = type1.accountType.compareTo(type2.accountType); in compare()
92 if (type1.dataSet != null && type2.dataSet == null) { in compare()
94 } else if (type1.dataSet == null && type2.dataSet != null) { in compare()
[all …]
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DLegacyContactsProviderTest.java561 int type1, String label1, String data1, String auxData1, boolean primary1, in assertContactMethodUpdate() argument
571 values.put(ContactMethods.TYPE, type1); in assertContactMethodUpdate()