Searched refs:accountsForUser (Results 1 – 2 of 2) sorted by relevance
417 Account[] accountsForUser = mAccountsCache.get(userId); in isAccountValid() local418 if (accountsForUser == null) { in isAccountValid()419 accountsForUser = mAccountManager.getAccountsAsUser(userId); in isAccountValid()420 mAccountsCache.put(userId, accountsForUser); in isAccountValid()422 return ArrayUtils.contains(accountsForUser, account); in isAccountValid()
355 Account[] accountsForUser = AccountManagerService.getSingleton().getAccounts( in removeStaleAccounts() local358 mSyncStorageEngine.removeStaleAccounts(accountsForUser, user.id); in removeStaleAccounts()