Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DCreateConnectionProcessor.java349 private void adjustAttemptsForEmergencyNoSimRequired(List<PhoneAccount> allAccounts) { in adjustAttemptsForEmergencyNoSimRequired() argument
352 for (PhoneAccount phoneAccount : allAccounts) { in adjustAttemptsForEmergencyNoSimRequired()
373 List<PhoneAccount> allAccounts = mPhoneAccountRegistrar in adjustAttemptsForEmergency() local
376 if (allAccounts.isEmpty()) { in adjustAttemptsForEmergency()
382 allAccounts = new ArrayList<PhoneAccount>(); in adjustAttemptsForEmergency()
383 allAccounts.add(TelephonyUtil.getDefaultEmergencyPhoneAccount()); in adjustAttemptsForEmergency()
390 sortSimPhoneAccountsForEmergency(allAccounts, preferredPA); in adjustAttemptsForEmergency()
392 for (PhoneAccount phoneAccount : allAccounts) { in adjustAttemptsForEmergency()
429 adjustAttemptsForEmergencyNoSimRequired(allAccounts); in adjustAttemptsForEmergency()
DCallsManager.java2216 List<PhoneAccountHandle> allAccounts =
2242 allAccounts.removeAll(simAccounts);
2245 return allAccounts;
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DFolderWatcher.java81 public void updateAccountList(Account[] allAccounts) { in updateAccountList() argument
82 if (allAccounts == null) { in updateAccountList()
86 final List<Uri> newAccounts = new ArrayList<Uri>(allAccounts.length); in updateAccountList()
87 for (final Account account : allAccounts) { in updateAccountList()
DAllAccountObserver.java77 public abstract void onChanged(Account[] allAccounts); in onChanged() argument
DAccount.java539 final Account[] allAccounts = new Account[initialLength]; in getAllAccounts() local
542 allAccounts[i++] = cursor.getModel(); in getAllAccounts()
546 return allAccounts; in getAllAccounts()
/packages/apps/Contacts/src/com/android/contacts/model/
DAccountTypeManager.java233 final List<AccountWithDataSet> allAccounts =
235 if (allAccounts == null || allAccounts.size() == 0) {
238 if (allAccounts.size() > 1) {
241 return !allAccounts.get(0).isNullAccount();
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountPreferenceControllerTest.java380 final Account[] allAccounts = new Account[4]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences() local
381 allAccounts[0] = accountType1[0]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
382 allAccounts[1] = accountType1[1]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
383 allAccounts[2] = accountType2[0]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
384 allAccounts[3] = accountType2[1]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
392 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(allAccounts); in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
/packages/apps/Dialer/java/com/android/contacts/common/model/
DAccountTypeManager.java416 final List<AccountWithDataSet> allAccounts = new ArrayList<>(); in loadAccountsInBackground() local
530 allAccounts.add(accountWithDataSet); in loadAccountsInBackground()
542 Collections.sort(allAccounts, ACCOUNT_COMPARATOR); in loadAccountsInBackground()
550 mAccounts = allAccounts; in loadAccountsInBackground()
554 findAllInvitableAccountTypes(mContext, allAccounts, accountTypesByTypeAndDataSet); in loadAccountsInBackground()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DFolderListFragment.java391 public void onChanged(Account[] allAccounts) { in onActivityCreated()
1348 final Account[] allAccounts = getAllAccounts(); in buildAccountListDrawerItems() local
1349 final List<DrawerItem> accountList = new ArrayList<>(allAccounts.length); in buildAccountListDrawerItems()
1352 for (final Account account : allAccounts) { in buildAccountListDrawerItems()
DAbstractActivityController.java2861 final Account[] allAccounts = Account.getAllAccounts(accounts);
2867 for (final Account account : allAccounts) {
2884 Account newAccount = allAccounts[0];
2899 for (final Account account : allAccounts) {
2914 mAllAccounts = allAccounts;
2916 return (allAccounts.length > 0);
/packages/apps/UnifiedEmail/src/com/android/mail/compose/
DComposeActivity.java787 final Account[] allAccounts = AccountUtils.getAccounts(this); in checkValidAccounts() local
788 if (allAccounts == null || allAccounts.length == 0) { in checkValidAccounts()
797 for (Account a : allAccounts) { in checkValidAccounts()