Searched refs:currentWritableAccounts (Results 1 – 2 of 2) sorted by relevance
107 List<AccountWithDataSet> currentWritableAccounts) { in getOnlyOrDefaultAccount() argument108 if (currentWritableAccounts.size() == 1) { in getOnlyOrDefaultAccount()109 return currentWritableAccounts.get(0); in getOnlyOrDefaultAccount()122 public void maybeUpdateDefaultAccount(List<AccountWithDataSet> currentWritableAccounts) { in maybeUpdateDefaultAccount() argument123 if (currentWritableAccounts.size() == 1) { in maybeUpdateDefaultAccount()124 final AccountWithDataSet onlyAccount = currentWritableAccounts.get(0); in maybeUpdateDefaultAccount()
256 currentWritableAccounts) { in shouldShowAccountChangedNotification() argument262 if (currentWritableAccounts.isEmpty()) { in shouldShowAccountChangedNotification()266 if (currentWritableAccounts.size() == 1 in shouldShowAccountChangedNotification()267 && !currentWritableAccounts.get(0).isNullAccount()) { in shouldShowAccountChangedNotification()275 if (!currentWritableAccounts.contains(defaultAccount)) { in shouldShowAccountChangedNotification()