Searched refs:allAccounts (Results 1 – 6 of 6) sorted by relevance
/packages/services/Telecomm/src/com/android/server/telecom/ |
D | CreateConnectionProcessor.java | 406 private void adjustAttemptsForEmergencyNoSimRequired(List<PhoneAccount> allAccounts) { in adjustAttemptsForEmergencyNoSimRequired() argument 409 for (PhoneAccount phoneAccount : allAccounts) { in adjustAttemptsForEmergencyNoSimRequired() 433 List<PhoneAccount> allAccounts = mPhoneAccountRegistrar in adjustAttemptsForEmergency() local 439 if (allAccounts.isEmpty()) { in adjustAttemptsForEmergency() 443 allAccounts = mPhoneAccountRegistrar.getAllPhoneAccounts(userFromCall, true) in adjustAttemptsForEmergency() 449 if (allAccounts.isEmpty() && mContext.getPackageManager().hasSystemFeature( in adjustAttemptsForEmergency() 456 allAccounts = new ArrayList<PhoneAccount>(); in adjustAttemptsForEmergency() 457 allAccounts.add(TelephonyUtil.getDefaultEmergencyPhoneAccount()); in adjustAttemptsForEmergency() 464 allAccounts = mPhoneAccountRegistrar.filterRestrictedPhoneAccounts(allAccounts); in adjustAttemptsForEmergency() 476 sortSimPhoneAccountsForEmergency(allAccounts, preferredPA); in adjustAttemptsForEmergency() [all …]
|
D | CallsManager.java | 3532 List<PhoneAccountHandle> allAccounts = 3556 allAccounts.removeAll(simAccounts); 3559 return allAccounts; 3578 List<PhoneAccountHandle> allAccounts = 3583 Log.v(this, "constructPossiblePhoneAccountsNew: allAccounts=" + allAccounts); 3591 if (activeCallAccounts.isEmpty()) return allAccounts; 3598 allAccounts.removeIf(h -> { 3613 allAccounts.removeIf(candidateHandle -> { 3635 return allAccounts;
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accounts/ |
D | AccountPreferenceControllerTest.java | 385 final Account[] allAccounts = new Account[4]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences() local 386 allAccounts[0] = accountType1[0]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences() 387 allAccounts[1] = accountType1[1]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences() 388 allAccounts[2] = accountType2[0]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences() 389 allAccounts[3] = accountType2[1]; in onResume_twoAccountsOfSameName_shouldAddFivePreferences() 397 when(mAccountManager.getAccountsAsUser(anyInt())).thenReturn(allAccounts); in onResume_twoAccountsOfSameName_shouldAddFivePreferences()
|
/packages/apps/Dialer/java/com/android/contacts/common/model/ |
D | AccountTypeManager.java | 416 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/apps/Contacts/src/com/android/contacts/model/ |
D | AccountTypeManager.java | 240 final List<AccountWithDataSet> allAccounts = 242 if (allAccounts == null || allAccounts.size() == 0) { 245 if (allAccounts.size() > 1) { 248 return !allAccounts.get(0).isNullAccount();
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 346 List<PhoneAccount> allAccounts = new ArrayList<>(); in testFilterPhoneAccountForTest() local 347 allAccounts.addAll(accountAList); in testFilterPhoneAccountForTest() 348 allAccounts.addAll(accountBList); in testFilterPhoneAccountForTest() 349 allAccounts.addAll(accountCList); in testFilterPhoneAccountForTest() 351 assertEquals(allAccounts, mRegistrar.filterRestrictedPhoneAccounts(allAccounts)); in testFilterPhoneAccountForTest() 354 assertEquals(accountAList, mRegistrar.filterRestrictedPhoneAccounts(allAccounts)); in testFilterPhoneAccountForTest() 357 assertEquals(accountBList, mRegistrar.filterRestrictedPhoneAccounts(allAccounts)); in testFilterPhoneAccountForTest() 360 assertEquals(accountCList, mRegistrar.filterRestrictedPhoneAccounts(allAccounts)); in testFilterPhoneAccountForTest() 363 assertEquals(allAccounts, mRegistrar.filterRestrictedPhoneAccounts(allAccounts)); in testFilterPhoneAccountForTest()
|