Searched refs:accountsForUser (Results 1 – 2 of 2) sorted by relevance
422 Account[] accountsForUser = mAccountsCache.get(userId); in isAccountValid() local423 if (accountsForUser == null) { in isAccountValid()424 accountsForUser = mAccountManager.getAccountsAsUser(userId); in isAccountValid()425 mAccountsCache.put(userId, accountsForUser); in isAccountValid()427 return ArrayUtils.contains(accountsForUser, account); in isAccountValid()
358 Account[] accountsForUser = AccountManagerService.getSingleton().getAccounts( in removeStaleAccounts() local361 mSyncStorageEngine.removeStaleAccounts(accountsForUser, user.id); in removeStaleAccounts()