HomeSort by relevance Sort by last modified time
    Searched refs:AccountTypeWithDataSet (Results 1 - 7 of 7) sorted by null

  /packages/apps/Contacts/src/com/android/contacts/model/
AccountTypeWithDataSet.java 33 public class AccountTypeWithDataSet {
45 private AccountTypeWithDataSet(String accountType, String dataSet) {
50 public static AccountTypeWithDataSet get(String accountType, String dataSet) {
51 return new AccountTypeWithDataSet(accountType, dataSet);
82 if (!(o instanceof AccountTypeWithDataSet)) return false;
84 AccountTypeWithDataSet other = (AccountTypeWithDataSet) o;
AccountTypeManager.java 105 public abstract AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet);
108 return getAccountType(AccountTypeWithDataSet.get(accountType, dataSet));
116 * @return Unmodifiable map from {@link AccountTypeWithDataSet}s to {@link AccountType}s
128 public abstract Map<AccountTypeWithDataSet, AccountType> getUsableInvitableAccountTypes();
151 private static final Map<AccountTypeWithDataSet, AccountType>
153 Collections.unmodifiableMap(new HashMap<AccountTypeWithDataSet, AccountType>());
172 private Map<AccountTypeWithDataSet, AccountType> mAccountTypesWithDataSets = Maps.newHashMap();
173 private Map<AccountTypeWithDataSet, AccountType> mInvitableAccountTypes =
345 final Map<AccountTypeWithDataSet, AccountType> accountTypesByTypeAndDataSet
    [all...]
AccountWithDataSet.java 50 private final AccountTypeWithDataSet mAccountTypeWithDataSet;
60 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet);
66 mAccountTypeWithDataSet = AccountTypeWithDataSet.get(type, dataSet);
86 public AccountTypeWithDataSet getAccountTypeWithDataSet() {
AccountType.java 164 * Returns {@link AccountTypeWithDataSet} for this type.
166 public AccountTypeWithDataSet getAccountTypeAndDataSet() {
167 return AccountTypeWithDataSet.get(accountType, dataSet);
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/mocks/
MockAccountTypeManager.java 20 import com.android.contacts.model.AccountTypeWithDataSet;
46 public AccountType getAccountType(AccountTypeWithDataSet accountTypeWithDataSet) {
48 if (Objects.equal(accountTypeWithDataSet.accountType, type.accountType)
49 && Objects.equal(accountTypeWithDataSet.dataSet, type.dataSet)) {
67 public Map<AccountTypeWithDataSet, AccountType> getUsableInvitableAccountTypes() {
  /packages/apps/Contacts/tests/src/com/android/contacts/model/
AccountTypeManagerTest.java 55 Map<AccountTypeWithDataSet, AccountType> types =
133 private static Map<AccountTypeWithDataSet, AccountType> buildAccountTypes(AccountType... types) {
134 final HashMap<AccountTypeWithDataSet, AccountType> result = Maps.newHashMap();
158 Map<AccountTypeWithDataSet, AccountType> types,
161 Map<AccountTypeWithDataSet, AccountType> result =
  /packages/apps/Contacts/src/com/android/contacts/
ContactLoader.java 21 import com.android.contacts.model.AccountTypeWithDataSet;
855 Map<AccountTypeWithDataSet, AccountType> invitables =
861 HashMap<AccountTypeWithDataSet, AccountType> result = Maps.newHashMap(invitables);
    [all...]

Completed in 1610 milliseconds