Home
last modified time | relevance | path

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

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DAccountTypeManager.java123 public abstract AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet); in getAccountType() argument
615 public AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet) { in getAccountType() argument
618 AccountType type = mAccountTypesWithDataSets.get(accountTypeWithDataSet); in getAccountType()
675 AccountTypeWithDataSet accountTypeWithDataSet = account.getAccountTypeWithDataSet(); in findAllInvitableAccountTypes() local
676 AccountType type = accountTypesByTypeAndDataSet.get(accountTypeWithDataSet); in findAllInvitableAccountTypes()
678 if (result.containsKey(accountTypeWithDataSet)) continue; in findAllInvitableAccountTypes()
681 Log.d(TAG, "Type " + accountTypeWithDataSet in findAllInvitableAccountTypes()
685 result.put(accountTypeWithDataSet, type); in findAllInvitableAccountTypes()
711 for (AccountTypeWithDataSet accountTypeWithDataSet : allInvitables.keySet()) { in findUsableInvitableAccountTypes()
712 AccountType accountType = allInvitables.get(accountTypeWithDataSet); in findUsableInvitableAccountTypes()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLookupKey.java57 public static int getAccountHashCode(String accountTypeWithDataSet, String accountName) { in getAccountHashCode() argument
58 if (accountTypeWithDataSet == null || accountName == null) { in getAccountHashCode()
62 return (accountTypeWithDataSet.hashCode() ^ accountName.hashCode()) & 0xFFF; in getAccountHashCode()
65 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, in appendToLookupKey() argument
76 lookupKey.append(getAccountHashCode(accountTypeWithDataSet, accountName)); in appendToLookupKey()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockAccountTypeManager.java45 public AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet) { in getAccountType() argument
55 if (Objects.equal(accountTypeWithDataSet.accountType, type.accountType) in getAccountType()
56 && Objects.equal(accountTypeWithDataSet.dataSet, type.dataSet)) { in getAccountType()
/packages/providers/ContactsProvider/src/com/android/providers/contacts/aggregation/
DProfileAggregator.java53 protected void appendLookupKey(StringBuilder sb, String accountTypeWithDataSet, in appendLookupKey() argument
DAbstractContactAggregator.java1546 protected void appendLookupKey(StringBuilder sb, String accountTypeWithDataSet, in appendLookupKey() argument
1548 ContactLookupKey.appendToLookupKey(sb, accountTypeWithDataSet, accountName, rawContactId, in appendLookupKey()