Lines Matching refs:accounts
17 package com.android.settingslib.accounts;
19 import android.accounts.Account;
20 import android.accounts.AccountManager;
21 import android.accounts.AuthenticatorDescription;
40 * Helper class for monitoring accounts on the device for a given user.
44 * called once accounts get updated. For setting up listening for account
201 void onAccountsUpdated(Account[] accounts) {
203 if (accounts == null) {
204 accounts = AccountManager.get(mContext).getAccountsAsUser(mUserHandle.getIdentifier());
208 for (int i = 0; i < accounts.length; i++) {
209 final Account account = accounts[i];
223 final Account[] accounts = AccountManager.get(mContext)
225 onAccountsUpdated(accounts);
232 // At disk full, certain actions are blocked (such as writing the accounts to storage).