Searched refs:allAccounts (Results 1 – 6 of 6) sorted by relevance
364 private void adjustAttemptsForEmergencyNoSimRequired(List<PhoneAccount> allAccounts) { in adjustAttemptsForEmergencyNoSimRequired() argument367 for (PhoneAccount phoneAccount : allAccounts) { in adjustAttemptsForEmergencyNoSimRequired()388 List<PhoneAccount> allAccounts = mPhoneAccountRegistrar in adjustAttemptsForEmergency() local391 if (allAccounts.isEmpty()) { in adjustAttemptsForEmergency()397 allAccounts = new ArrayList<PhoneAccount>(); in adjustAttemptsForEmergency()398 allAccounts.add(TelephonyUtil.getDefaultEmergencyPhoneAccount()); in adjustAttemptsForEmergency()404 allAccounts = mPhoneAccountRegistrar.filterRestrictedPhoneAccounts(allAccounts); in adjustAttemptsForEmergency()411 sortSimPhoneAccountsForEmergency(allAccounts, preferredPA); in adjustAttemptsForEmergency()413 for (PhoneAccount phoneAccount : allAccounts) { in adjustAttemptsForEmergency()453 adjustAttemptsForEmergencyNoSimRequired(allAccounts); in adjustAttemptsForEmergency()
2685 List<PhoneAccountHandle> allAccounts =2709 allAccounts.removeAll(simAccounts);2712 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()
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()
234 final List<AccountWithDataSet> allAccounts =236 if (allAccounts == null || allAccounts.size() == 0) {239 if (allAccounts.size() > 1) {242 return !allAccounts.get(0).isNullAccount();