Home
last modified time | relevance | path

Searched refs:AccountTypeWithDataSet (Results 1 – 7 of 7) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DAccountTypeManager.java47 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
123 public abstract AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet); in getAccountType()
126 return getAccountType(AccountTypeWithDataSet.get(accountType, dataSet)); in getAccountType()
149 public abstract Map<AccountTypeWithDataSet, AccountType> getUsableInvitableAccountTypes(); in getUsableInvitableAccountTypes()
184 private static final Map<AccountTypeWithDataSet, AccountType>
186 Collections.unmodifiableMap(new HashMap<AccountTypeWithDataSet, AccountType>());
205 private Map<AccountTypeWithDataSet, AccountType> mAccountTypesWithDataSets = Maps.newHashMap();
206 private Map<AccountTypeWithDataSet, AccountType> mInvitableAccountTypes =
378 final Map<AccountTypeWithDataSet, AccountType> accountTypesByTypeAndDataSet = in loadAccountsInBackground()
540 Map<AccountTypeWithDataSet, AccountType> accountTypesByTypeAndDataSet, in addAccountType() argument
[all …]
DContactLoader.java44 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
595 Map<AccountTypeWithDataSet, AccountType> invitables = in loadInvitableAccountTypes()
598 final Map<AccountTypeWithDataSet, AccountType> resultMap = in loadInvitableAccountTypes()
603 final AccountTypeWithDataSet type = AccountTypeWithDataSet.get( in loadInvitableAccountTypes()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DAccountTypeWithDataSet.java33 public class AccountTypeWithDataSet { class
45 private AccountTypeWithDataSet(String accountType, String dataSet) { in AccountTypeWithDataSet() method in AccountTypeWithDataSet
50 public static AccountTypeWithDataSet get(String accountType, String dataSet) { in get()
51 return new AccountTypeWithDataSet(accountType, dataSet); in get()
82 if (!(o instanceof AccountTypeWithDataSet)) return false; in equals()
84 AccountTypeWithDataSet other = (AccountTypeWithDataSet) o; in equals()
DAccountWithDataSet.java52 private final AccountTypeWithDataSet mAccountTypeWithDataSet;
63 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); in AccountWithDataSet()
74 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet); in AccountWithDataSet()
109 public AccountTypeWithDataSet getAccountTypeWithDataSet() { in getAccountTypeWithDataSet()
DAccountType.java222 public AccountTypeWithDataSet getAccountTypeAndDataSet() { in getAccountTypeAndDataSet()
223 return AccountTypeWithDataSet.get(accountType, dataSet); in getAccountTypeAndDataSet()
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/model/
DAccountTypeManagerTest.java24 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
58 Map<AccountTypeWithDataSet, AccountType> types = in testFindAllInvitableAccountTypes()
136 … private static Map<AccountTypeWithDataSet, AccountType> buildAccountTypes(AccountType... types) { in buildAccountTypes()
137 final HashMap<AccountTypeWithDataSet, AccountType> result = Maps.newHashMap(); in buildAccountTypes()
161 Map<AccountTypeWithDataSet, AccountType> types, in verifyAccountTypes() argument
164 Map<AccountTypeWithDataSet, AccountType> result = in verifyAccountTypes()
/packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
DMockAccountTypeManager.java20 import com.android.contacts.common.model.account.AccountTypeWithDataSet;
45 public AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet) { in getAccountType()
74 public Map<AccountTypeWithDataSet, AccountType> getUsableInvitableAccountTypes() { in getUsableInvitableAccountTypes()