Searched refs:allAccounts (Results 1 – 6 of 6) sorted by relevance
365 private void adjustAttemptsForEmergencyNoSimRequired(List<PhoneAccount> allAccounts) { in adjustAttemptsForEmergencyNoSimRequired() argument368 for (PhoneAccount phoneAccount : allAccounts) { in adjustAttemptsForEmergencyNoSimRequired()389 List<PhoneAccount> allAccounts = mPhoneAccountRegistrar in adjustAttemptsForEmergency() local392 if (allAccounts.isEmpty() && mContext.getPackageManager().hasSystemFeature( in adjustAttemptsForEmergency()399 allAccounts = new ArrayList<PhoneAccount>(); in adjustAttemptsForEmergency()400 allAccounts.add(TelephonyUtil.getDefaultEmergencyPhoneAccount()); in adjustAttemptsForEmergency()406 allAccounts = mPhoneAccountRegistrar.filterRestrictedPhoneAccounts(allAccounts); in adjustAttemptsForEmergency()413 sortSimPhoneAccountsForEmergency(allAccounts, preferredPA); in adjustAttemptsForEmergency()415 for (PhoneAccount phoneAccount : allAccounts) { in adjustAttemptsForEmergency()452 adjustAttemptsForEmergencyNoSimRequired(allAccounts); in adjustAttemptsForEmergency()
2705 List<PhoneAccountHandle> allAccounts =2729 allAccounts.removeAll(simAccounts);2732 return allAccounts;
200 List<PhoneAccount> allAccounts = new ArrayList<>(); in testFilterPhoneAccountForTest() local201 allAccounts.addAll(accountAList); in testFilterPhoneAccountForTest()202 allAccounts.addAll(accountBList); in testFilterPhoneAccountForTest()203 allAccounts.addAll(accountCList); in testFilterPhoneAccountForTest()205 assertEquals(allAccounts, mRegistrar.filterRestrictedPhoneAccounts(allAccounts)); in testFilterPhoneAccountForTest()208 assertEquals(accountAList, mRegistrar.filterRestrictedPhoneAccounts(allAccounts)); in testFilterPhoneAccountForTest()211 assertEquals(accountBList, mRegistrar.filterRestrictedPhoneAccounts(allAccounts)); in testFilterPhoneAccountForTest()214 assertEquals(accountCList, mRegistrar.filterRestrictedPhoneAccounts(allAccounts)); in testFilterPhoneAccountForTest()217 assertEquals(allAccounts, mRegistrar.filterRestrictedPhoneAccounts(allAccounts)); in testFilterPhoneAccountForTest()
384 final Account[] allAccounts = new Account[4]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences() local385 allAccounts[0] = accountType1[0]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()386 allAccounts[1] = accountType1[1]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()387 allAccounts[2] = accountType2[0]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()388 allAccounts[3] = accountType2[1]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences()396 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(allAccounts); in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
234 final List<AccountWithDataSet> allAccounts =236 if (allAccounts == null || allAccounts.size() == 0) {239 if (allAccounts.size() > 1) {242 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()