Searched refs:allAccounts (Results 1 – 11 of 11) sorted by relevance
349 private void adjustAttemptsForEmergencyNoSimRequired(List<PhoneAccount> allAccounts) { in adjustAttemptsForEmergencyNoSimRequired() argument352 for (PhoneAccount phoneAccount : allAccounts) { in adjustAttemptsForEmergencyNoSimRequired()373 List<PhoneAccount> allAccounts = mPhoneAccountRegistrar in adjustAttemptsForEmergency() local376 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()
2216 List<PhoneAccountHandle> allAccounts =2242 allAccounts.removeAll(simAccounts);2245 return allAccounts;
81 public void updateAccountList(Account[] allAccounts) { in updateAccountList() argument82 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()
77 public abstract void onChanged(Account[] allAccounts); in onChanged() argument
539 final Account[] allAccounts = new Account[initialLength]; in getAllAccounts() local542 allAccounts[i++] = cursor.getModel(); in getAllAccounts()546 return allAccounts; in getAllAccounts()
233 final List<AccountWithDataSet> allAccounts =235 if (allAccounts == null || allAccounts.size() == 0) {238 if (allAccounts.size() > 1) {241 return !allAccounts.get(0).isNullAccount();
380 final Account[] allAccounts = new Account[4]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences() local381 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()
416 final List<AccountWithDataSet> allAccounts = new ArrayList<>(); in loadAccountsInBackground() local530 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()
391 public void onChanged(Account[] allAccounts) { in onActivityCreated()1348 final Account[] allAccounts = getAllAccounts(); in buildAccountListDrawerItems() local1349 final List<DrawerItem> accountList = new ArrayList<>(allAccounts.length); in buildAccountListDrawerItems()1352 for (final Account account : allAccounts) { in buildAccountListDrawerItems()
2861 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);
787 final Account[] allAccounts = AccountUtils.getAccounts(this); in checkValidAccounts() local788 if (allAccounts == null || allAccounts.length == 0) { in checkValidAccounts()797 for (Account a : allAccounts) { in checkValidAccounts()