Home
last modified time | relevance | path

Searched refs:accountList (Results 1 – 11 of 11) sorted by relevance

/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/
DSelectAccountActivity.java61 final List<AccountWithDataSet> accountList = accountTypes.getAccounts(true); in onCreate() local
62 if (accountList.size() == 0) { in onCreate()
66 } else if (accountList.size() == 1) { in onCreate()
67 final AccountWithDataSet account = accountList.get(0); in onCreate()
77 Log.i(LOG_TAG, "The number of available accounts: " + accountList.size()); in onCreate()
82 this, accountList, resId) { in onCreate()
DNfcImportVCardActivity.java178 final List<AccountWithDataSet> accountList = accountTypes.getAccounts(true); in onCreate() local
179 if (accountList.size() == 0) { in onCreate()
181 } else if (accountList.size() == 1) { in onCreate()
182 mAccount = accountList.get(0); in onCreate()
DImportVCardActivity.java592 final List<AccountWithDataSet> accountList = accountTypes.getAccounts(true); in onCreate() local
593 if (accountList.size() == 0) { in onCreate()
595 } else if (accountList.size() == 1) { in onCreate()
596 mAccount = accountList.get(0); in onCreate()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DMailAppProvider.java204 final List<AccountCacheEntry> accountList; in query() local
206 accountList = Lists.newArrayList(mAccountCache.values()); in query()
212 Collections.sort(accountList, mAccountComparator); in query()
215 new MatrixCursorWithExtra(resultProjection, accountList.size(), extras); in query()
217 for (AccountCacheEntry accountEntry : accountList) { in query()
401 final List<AccountCacheEntry> accountList; in cacheAccountList() local
404 accountList = ImmutableList.copyOf(mAccountCache.values()); in cacheAccountList()
408 for (AccountCacheEntry accountEntry : accountList) { in cacheAccountList()
453 final List<AccountCacheEntry> accountList; in onLoadComplete() local
455 accountList = ImmutableList.copyOf(mAccountCache.values()); in onLoadComplete()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/
DAccountSelectionUtil.java62 public AccountSelectedListener(Context context, List<AccountWithDataSet> accountList, in AccountSelectedListener() argument
64 if (accountList == null || accountList.size() == 0) { in AccountSelectedListener()
68 mAccountList = accountList; in AccountSelectedListener()
73 public AccountSelectedListener(Context context, List<AccountWithDataSet> accountList, in AccountSelectedListener() argument
77 this(context, accountList, resId, /* subscriptionId = */ -1); in AccountSelectedListener()
/packages/apps/Email/tests/src/com/android/email/
DAccountTestCase.java71 ArrayList<Account> accountList = new ArrayList<Account>(); in makeExchangeServiceAccountList() local
78 accountList.add(account); in makeExchangeServiceAccountList()
83 return accountList; in makeExchangeServiceAccountList()
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
DBluetoothMapAppObserver.java320 ArrayList<BluetoothMapAccountItem> accountList = mFullList.get(app); in getEnabledAccountItems() local
321 if (accountList != null) { in getEnabledAccountItems()
322 for (BluetoothMapAccountItem acc: accountList) { in getEnabledAccountItems()
345 ArrayList<BluetoothMapAccountItem> accountList = mFullList.get(app); in getAllAccountItems() local
346 list.addAll(accountList); in getAllAccountItems()
/packages/apps/UnifiedEmail/src/com/android/mail/providers/protos/mock/
DMockUiProvider.java163 List<Map<String, Object>> accountList = resultMap.get(getAccountsUri().toString()); in initializeAccount() local
164 if (accountList == null) { in initializeAccount()
165 accountList = Lists.newArrayList(); in initializeAccount()
166 resultMap.put(getAccountsUri().toString(), accountList); in initializeAccount() local
168 accountList.add(accountDetailsMap); in initializeAccount()
/packages/apps/ContactsCommon/src/com/android/contacts/common/interactions/
DImportExportDialogFragment.java287 final List<AccountWithDataSet> accountList = accountTypes.getAccounts(true); in handleImportRequest() local
288 final int size = accountList.size(); in handleImportRequest()
306 (size == 1 ? accountList.get(0) : null), in handleImportRequest()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderListFragment.java1349 final List<DrawerItem> accountList = new ArrayList<>(allAccounts.length); in buildAccountListDrawerItems() local
1354 accountList.add(DrawerItem.ofAccount(mActivity, account, unreadCount, in buildAccountListDrawerItems()
1360 return accountList; in buildAccountListDrawerItems()
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/tests/
DBluetoothMapContentTest.java118 ArrayList<BluetoothMapAccountItem> accountList = mFullList.get(app); in getEnabledAccount() local
119 for(BluetoothMapAccountItem acc: accountList){ in getEnabledAccount()