Home
last modified time | relevance | path

Searched refs:mAccountTypes (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DContactEditorUtilsTest.java39 private MockAccountTypeManager mAccountTypes; field in ContactEditorUtilsTest
65 mAccountTypes = new MockAccountTypeManager(new AccountType[] {}, in setUp()
67 mTarget = new ContactEditorUtils(getContext(), mAccountTypes); in setUp()
74 mAccountTypes.mTypes = types; in setAccountTypes()
78 mAccountTypes.mAccounts = accounts; in setAccounts()
126 mAccountTypes.mAccounts = new AccountWithDataSet[]{}; in testSaveDefaultAndAllAccounts()
130 Sets.newHashSet(mAccountTypes.mAccounts), in testSaveDefaultAndAllAccounts()
134 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A}; in testSaveDefaultAndAllAccounts()
138 Sets.newHashSet(mAccountTypes.mAccounts), in testSaveDefaultAndAllAccounts()
142 mAccountTypes.mAccounts = new AccountWithDataSet[]{ACCOUNT_1_A, ACCOUNT_1_B}; in testSaveDefaultAndAllAccounts()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DAccountsListAdapter.java42 private final AccountTypeManager mAccountTypes; field in AccountsListAdapter
66 mAccountTypes = AccountTypeManager.getInstance(context); in AccountsListAdapter()
79 return new ArrayList<AccountWithDataSet>(mAccountTypes.getGroupWritableAccounts()); in getAccounts()
81 return new ArrayList<AccountWithDataSet>(mAccountTypes.getAccounts( in getAccounts()
100 final AccountType accountType = mAccountTypes.getAccountType(account.type, account.dataSet); in getView()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorUtils.java56 private final AccountTypeManager mAccountTypes; field in ContactEditorUtils
69 mAccountTypes = accountTypes; in ContactEditorUtils()
103 return mAccountTypes.getAccounts(true); in getWritableAccounts()
248 for (AccountType type : mAccountTypes.getAccountTypes(true)) { in getWritableAccountTypeStrings()
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
DAccountFilterActivity.java224 private final AccountTypeManager mAccountTypes; field in AccountFilterActivity.FilterListAdapter
233 mAccountTypes = AccountTypeManager.getInstance(context); in FilterListAdapter()
262 view.bindView(mAccountTypes); in getView()
DCustomContactListFilterActivity.java548 private AccountTypeManager mAccountTypes; field in CustomContactListFilterActivity.DisplayAdapter
556 mAccountTypes = AccountTypeManager.getInstance(context); in DisplayAdapter()
585 final AccountType accountType = mAccountTypes.getAccountType( in getGroupView()
/packages/apps/Contacts/src/com/android/contacts/
DSplitAggregateView.java75 private AccountTypeManager mAccountTypes; field in SplitAggregateView
92 mAccountTypes = AccountTypeManager.getInstance(context); in SplitAggregateView()
254 AccountType accountType = mAccountTypes.getAccountType(info.accountType, info.dataSet); in getView()