Home
last modified time | relevance | path

Searched refs:AccountAndUser (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/accounts/
DAccountAndUser.java24 public class AccountAndUser { class
28 public AccountAndUser(Account account, int userId) { in AccountAndUser() method in AccountAndUser
35 if (!(o instanceof AccountAndUser)) return false; in equals()
36 final AccountAndUser other = (AccountAndUser) o; in equals()
/frameworks/base/services/core/java/com/android/server/content/
DSyncManager.java20 import android.accounts.AccountAndUser;
199 private static final AccountAndUser[] INITIAL_ACCOUNTS_ARRAY = new AccountAndUser[0];
202 private volatile AccountAndUser[] mRunningAccounts = INITIAL_ACCOUNTS_ARRAY;
317 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { in containsAccountAndUser()
752 AccountAndUser[] accounts; in scheduleSync()
754 accounts = new AccountAndUser[] { new AccountAndUser(requestedAccount, userId) }; in scheduleSync()
787 for (AccountAndUser account : accounts) { in scheduleSync()
1655 final AccountAndUser[] accounts = AccountManagerService.getSingleton().getAllAccounts(); in dumpSyncState()
1691 for (AccountAndUser account : accounts) { in dumpSyncState()
2554 AccountAndUser[] oldAccounts = mRunningAccounts; in updateRunningAccountsH()
[all …]
DSyncStorageEngine.java20 import android.accounts.AccountAndUser;
152 final AccountAndUser accountAndUser;
156 AccountInfo(AccountAndUser accountAndUser) { in AccountInfo()
345 private final HashMap<AccountAndUser, AccountInfo> mAccounts
346 = new HashMap<AccountAndUser, AccountInfo>();
1299 AccountAndUser au = new AccountAndUser(info.account, info.userId); in getAuthorityLocked()
1330 AccountAndUser au = new AccountAndUser(info.account, info.userId); in getOrCreateAuthorityLocked()
1375 AccountInfo accountInfo = mAccounts.get(new AccountAndUser(account, userId)); in removeAuthorityLocked()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java22 import android.accounts.AccountAndUser;
3270 AccountAndUser[] allAccounts = getAllAccounts(); in someUserHasAccount()
3414 public AccountAndUser[] getRunningAccounts() { in getRunningAccounts()
3427 public AccountAndUser[] getAllAccounts() { in getAllAccounts()
3437 private AccountAndUser[] getAccounts(int[] userIds) { in getAccounts()
3438 final ArrayList<AccountAndUser> runningAccounts = Lists.newArrayList(); in getAccounts()
3446 runningAccounts.add(new AccountAndUser(accounts[a], userId)); in getAccounts()
3451 AccountAndUser[] accountsArray = new AccountAndUser[runningAccounts.size()]; in getAccounts()
/frameworks/base/
Dcompiled-classes-phone42 android.accounts.AccountAndUser