Searched refs:currentWritableAccounts (Results 1 – 2 of 2) sorted by relevance
109 List<AccountWithDataSet> currentWritableAccounts) { in getOnlyOrDefaultAccount() argument110 if (currentWritableAccounts.size() == 1) { in getOnlyOrDefaultAccount()111 return currentWritableAccounts.get(0); in getOnlyOrDefaultAccount()124 public void maybeUpdateDefaultAccount(List<AccountWithDataSet> currentWritableAccounts) { in maybeUpdateDefaultAccount() argument125 if (currentWritableAccounts.size() == 1) { in maybeUpdateDefaultAccount()126 final AccountWithDataSet onlyAccount = currentWritableAccounts.get(0); in maybeUpdateDefaultAccount()
305 currentWritableAccounts) { in shouldShowAccountChangedNotification() argument312 if (currentWritableAccounts.isEmpty()) { in shouldShowAccountChangedNotification()316 if (currentWritableAccounts.size() == 1 in shouldShowAccountChangedNotification()317 && !currentWritableAccounts.get(0).equals(localAccount)) { in shouldShowAccountChangedNotification()325 if (!currentWritableAccounts.contains(defaultAccount)) { in shouldShowAccountChangedNotification()