Searched refs:accountsForUser (Results 1 – 2 of 2) sorted by relevance
396 Account[] accountsForUser = mAccountsCache.get(userId); in isAccountValid() local397 if (accountsForUser == null) { in isAccountValid()398 accountsForUser = mAccountManager.getAccountsAsUser(userId); in isAccountValid()399 mAccountsCache.put(userId, accountsForUser); in isAccountValid()401 return ArrayUtils.contains(accountsForUser, account); in isAccountValid()
378 Account[] accountsForUser = AccountManagerService.getSingleton().getAccounts( in doDatabaseCleanup() local381 mSyncStorageEngine.doDatabaseCleanup(accountsForUser, user.id); in doDatabaseCleanup()