Searched refs:accountsForUser (Results 1 – 2 of 2) sorted by relevance
406 Account[] accountsForUser = mAccountsCache.get(userId); in isAccountValid() local407 if (accountsForUser == null) { in isAccountValid()408 accountsForUser = mAccountManager.getAccountsAsUser(userId); in isAccountValid()409 mAccountsCache.put(userId, accountsForUser); in isAccountValid()411 return ArrayUtils.contains(accountsForUser, account); in isAccountValid()
369 Account[] accountsForUser = AccountManagerService.getSingleton().getAccounts( in removeStaleAccounts() local372 mSyncStorageEngine.removeStaleAccounts(accountsForUser, user.id); in removeStaleAccounts()