Home | History | Annotate | Download | only in account

Lines Matching refs:accounts

30  * Provides methods to get AccountDisplayInfo instances for available accounts.
32 * For most accounts the account name will be used for the label but device accounts and
33 * SIM accounts have friendly names associated with them unless there is more than one of these
34 * types of accounts present in the list.
46 public AccountDisplayInfoFactory(Context context, List<AccountWithDataSet> accounts) {
48 ObjectFactory.getDeviceLocalAccountTypeFactory(context), accounts);
53 List<AccountWithDataSet> accounts) {
58 mSimAccountCount = countOfType(DeviceLocalAccountTypeFactory.TYPE_SIM, accounts);
59 mDeviceAccountCount = countOfType(DeviceLocalAccountTypeFactory.TYPE_DEVICE, accounts);
85 final List<AccountWithDataSet> accounts = new ArrayList<>(filters.size());
87 accounts.add(filter.toAccountWithDataSet());
89 return new AccountDisplayInfoFactory(context, accounts);
101 List<AccountWithDataSet> accounts) {
103 for (AccountWithDataSet account : accounts) {