Home
last modified time | relevance | path

Searched refs:accountsForType (Results 1 – 2 of 2) sorted by relevance

/aosp12/packages/apps/Dialer/java/com/android/contacts/common/model/
H A DAccountTypeManager.java592 List<AccountType> accountsForType = accountTypesByType.get(accountType.accountType); in addAccountType() local
593 if (accountsForType == null) { in addAccountType()
594 accountsForType = new ArrayList<>(); in addAccountType()
596 accountsForType.add(accountType); in addAccountType()
597 accountTypesByType.put(accountType.accountType, accountsForType); in addAccountType()
/aosp12/frameworks/base/services/core/java/com/android/server/accounts/
H A DAccountManagerService.java1243 final Account[] accountsForType = new Account[accountNames.size()]; in validateAccountsInternal() local
1244 for (int i = 0; i < accountsForType.length; i++) { in validateAccountsInternal()
1245 accountsForType[i] = new Account(accountNames.get(i), accountType, in validateAccountsInternal()
1248 accounts.accountCache.put(accountType, accountsForType); in validateAccountsInternal()
4462 Account[] accountsForType = getAccountsFromCache(
4465 if (accountsForType != null) {
4466 visibleAccounts.addAll(Arrays.asList(accountsForType));
5950 Account[] accountsForType = accounts.accountCache.get(account.type);
5951 int oldLength = (accountsForType != null) ? accountsForType.length : 0;
5953 if (accountsForType != null) {
[all …]