Home
last modified time | relevance | path

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

/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java107 public abstract AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet); in getAccountType() argument
612 public AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet) { in getAccountType() argument
615 AccountType type = mAccountTypesWithDataSets.get(accountTypeWithDataSet); in getAccountType()
672 AccountTypeWithDataSet accountTypeWithDataSet = account.getAccountTypeWithDataSet(); in findAllInvitableAccountTypes() local
673 AccountType type = accountTypesByTypeAndDataSet.get(accountTypeWithDataSet); in findAllInvitableAccountTypes()
675 if (result.containsKey(accountTypeWithDataSet)) continue; in findAllInvitableAccountTypes()
678 Log.d(TAG, "Type " + accountTypeWithDataSet in findAllInvitableAccountTypes()
682 result.put(accountTypeWithDataSet, type); in findAllInvitableAccountTypes()
708 for (AccountTypeWithDataSet accountTypeWithDataSet : allInvitables.keySet()) { in findUsableInvitableAccountTypes()
709 AccountType accountType = allInvitables.get(accountTypeWithDataSet); in findUsableInvitableAccountTypes()
[all …]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DContactLookupKey.java59 public static int getAccountHashCode(String accountTypeWithDataSet, String accountName) { in getAccountHashCode() argument
60 if (accountTypeWithDataSet == null || accountName == null) { in getAccountHashCode()
64 return (accountTypeWithDataSet.hashCode() ^ accountName.hashCode()) & 0xFFF; in getAccountHashCode()
67 public static void appendToLookupKey(StringBuilder lookupKey, String accountTypeWithDataSet, in appendToLookupKey() argument
78 lookupKey.append(getAccountHashCode(accountTypeWithDataSet, accountName)); in appendToLookupKey()
/packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
DMockAccountTypeManager.java46 public AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet) { in getAccountType() argument
48 if (Objects.equal(accountTypeWithDataSet.accountType, type.accountType) in getAccountType()
49 && 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
DContactAggregator.java1958 protected void appendLookupKey(StringBuilder sb, String accountTypeWithDataSet, in appendLookupKey() argument
1960 ContactLookupKey.appendToLookupKey(sb, accountTypeWithDataSet, accountName, rawContactId, in appendLookupKey()