Home
last modified time | relevance | path

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

/packages/services/Telecomm/src/com/android/server/telecom/
DCreateConnectionProcessor.java306 List<PhoneAccount> allAccounts = mPhoneAccountRegistrar in adjustAttemptsForEmergency() local
309 if (allAccounts.isEmpty()) { in adjustAttemptsForEmergency()
315 allAccounts = new ArrayList<PhoneAccount>(); in adjustAttemptsForEmergency()
316 allAccounts.add(TelephonyUtil.getDefaultEmergencyPhoneAccount()); in adjustAttemptsForEmergency()
331 TelephonyUtil.sortSimPhoneAccounts(mContext, allAccounts); in adjustAttemptsForEmergency()
332 for (PhoneAccount phoneAccount : allAccounts) { in adjustAttemptsForEmergency()
DCallsManager.java1495 List<PhoneAccountHandle> allAccounts = in constructPossiblePhoneAccounts() local
1520 allAccounts.removeAll(simAccounts); in constructPossiblePhoneAccounts()
1523 return allAccounts; in constructPossiblePhoneAccounts()
/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()
DAccount.java539 final Account[] allAccounts = new Account[initialLength]; in getAllAccounts() local
542 allAccounts[i++] = cursor.getModel(); in getAllAccounts()
546 return allAccounts; in getAllAccounts()
DAllAccountObserver.java77 public abstract void onChanged(Account[] allAccounts); in onChanged() argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/
DAccountPreferenceControllerTest.java383 final Account[] allAccounts = new Account[4]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences() local
384 allAccounts[0] = accountType1[0]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
385 allAccounts[1] = accountType1[1]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
386 allAccounts[2] = accountType2[0]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
387 allAccounts[3] = accountType2[1]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
395 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(allAccounts); in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
/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/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/services/Telephony/src/com/android/phone/settings/
DPhoneAccountSettingsFragment.java145 Preference allAccounts = getPreferenceScreen().findPreference(ALL_CALLING_ACCOUNTS_KEY); in onResume() local
147 if (allNonSimAccounts.isEmpty() && allAccounts != null) { in onResume()
148 mAccountList.removePreference(allAccounts); in onResume()
/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.java768 final Account[] allAccounts = AccountUtils.getAccounts(this); in checkValidAccounts() local
769 if (allAccounts == null || allAccounts.length == 0) { in checkValidAccounts()
778 for (Account a : allAccounts) { in checkValidAccounts()