Searched refs:AccountAndUser (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/core/java/android/accounts/ |
D | AccountAndUser.java | 24 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/ |
D | SyncManager.java | 20 import android.accounts.AccountAndUser; 170 private static final AccountAndUser[] INITIAL_ACCOUNTS_ARRAY = new AccountAndUser[0]; 173 private volatile AccountAndUser[] mRunningAccounts = INITIAL_ACCOUNTS_ARRAY; 256 private boolean containsAccountAndUser(AccountAndUser[] accounts, Account account, int userId) { in containsAccountAndUser() 275 AccountAndUser[] accounts = mRunningAccounts; in updateRunningAccounts() 669 AccountAndUser[] accounts; in scheduleSync() 671 accounts = new AccountAndUser[] { new AccountAndUser(requestedAccount, userId) }; in scheduleSync() 704 for (AccountAndUser account : accounts) { in scheduleSync() 1311 final AccountAndUser[] accounts = AccountManagerService.getSingleton().getAllAccounts(); in dumpSyncState() 1371 for (AccountAndUser account : accounts) { in dumpSyncState() [all …]
|
D | SyncStorageEngine.java | 20 import android.accounts.AccountAndUser; 214 final AccountAndUser accountAndUser; 218 AccountInfo(AccountAndUser accountAndUser) { in AccountInfo() 410 private final HashMap<AccountAndUser, AccountInfo> mAccounts 411 = new HashMap<AccountAndUser, AccountInfo>(); 1613 AccountAndUser au = new AccountAndUser(info.account, info.userId); in getAuthorityLocked() 1660 AccountAndUser au = new AccountAndUser(info.account, info.userId); in getOrCreateAuthorityLocked() 1718 AccountInfo accountInfo = mAccounts.get(new AccountAndUser(account, userId)); in removeAuthorityLocked()
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
D | AccountManagerService.java | 21 import android.accounts.AccountAndUser; 2186 public AccountAndUser[] getRunningAccounts() { in getRunningAccounts() 2198 public AccountAndUser[] getAllAccounts() { in getAllAccounts() 2207 private AccountAndUser[] getAccounts(int[] userIds) { in getAccounts() 2208 final ArrayList<AccountAndUser> runningAccounts = Lists.newArrayList(); in getAccounts() 2216 runningAccounts.add(new AccountAndUser(accounts[a], userId)); in getAccounts() 2221 AccountAndUser[] accountsArray = new AccountAndUser[runningAccounts.size()]; in getAccounts()
|