Searched refs:allAccounts (Results 1 – 12 of 12) sorted by relevance
306 List<PhoneAccount> allAccounts = mPhoneAccountRegistrar in adjustAttemptsForEmergency() local309 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()
1495 List<PhoneAccountHandle> allAccounts = in constructPossiblePhoneAccounts() local1520 allAccounts.removeAll(simAccounts); in constructPossiblePhoneAccounts()1523 return allAccounts; in constructPossiblePhoneAccounts()
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()
539 final Account[] allAccounts = new Account[initialLength]; in getAllAccounts() local542 allAccounts[i++] = cursor.getModel(); in getAllAccounts()546 return allAccounts; in getAllAccounts()
77 public abstract void onChanged(Account[] allAccounts); in onChanged() argument
383 final Account[] allAccounts = new Account[4]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences() local384 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()
233 final List<AccountWithDataSet> allAccounts =235 if (allAccounts == null || allAccounts.size() == 0) {238 if (allAccounts.size() > 1) {241 return !allAccounts.get(0).isNullAccount();
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()
145 Preference allAccounts = getPreferenceScreen().findPreference(ALL_CALLING_ACCOUNTS_KEY); in onResume() local147 if (allNonSimAccounts.isEmpty() && allAccounts != null) { in onResume()148 mAccountList.removePreference(allAccounts); in onResume()
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);
768 final Account[] allAccounts = AccountUtils.getAccounts(this); in checkValidAccounts() local769 if (allAccounts == null || allAccounts.length == 0) { in checkValidAccounts()778 for (Account a : allAccounts) { in checkValidAccounts()