/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerService.java | 23 import android.accounts.AccountManager; 101 * instead one uses an instance of {@link AccountManager}, which can be accessed as follows: 102 * AccountManager accountManager = AccountManager.get(context); 230 ACCOUNTS_CHANGED_INTENT = new Intent(AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION); 685 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, false); 715 && result.getBoolean(AccountManager.KEY_BOOLEAN_RESULT, false)) { [all...] |
/external/chromium_org/sync/test/android/javatests/src/org/chromium/sync/test/util/ |
MockAccountManager.java | 8 import android.accounts.AccountManager; 51 * The MockAccountManager helps out if you want to mock out all calls to the Android AccountManager. 185 String password = bundle.getString(AccountManager.KEY_PASSWORD); 196 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountHolder.getAccount().name); 198 AccountManager.KEY_ACCOUNT_TYPE, AccountManagerHelper.GOOGLE_ACCOUNT_TYPE); 199 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, correctPassword); 260 result.putParcelable(AccountManager.KEY_INTENT, intent); 269 result.putString(AccountManager.KEY_AUTHTOKEN, authToken); 270 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name); 271 result.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type) [all...] |
/frameworks/base/core/java/android/accounts/ |
AccountAuthenticatorResponse.java | 26 * Object used to communicate responses back to the AccountManager 49 + AccountManager.sanitizeResult(result));
|
ChooseAccountTypeActivity.java | 89 bundle.putString(AccountManager.KEY_ERROR_MESSAGE, "no allowable account types"); 117 bundle.putString(AccountManager.KEY_ACCOUNT_TYPE, type); 127 for(AuthenticatorDescription desc : AccountManager.get(this).getAuthenticatorTypes()) {
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
ContactEditorUtils.java | 20 import android.accounts.AccountManager; 259 return AccountManager.newChooseAccountIntent( 286 final String accountType = resultData.getStringExtra(AccountManager.KEY_ACCOUNT_TYPE); 287 final String accountName = resultData.getStringExtra(AccountManager.KEY_ACCOUNT_NAME);
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/ |
Sources.java | 25 import android.accounts.AccountManager; 56 private AccountManager mAccountManager; 68 * with {@link AccountManager} is finished, so don't call from a UI thread. 85 mAccountManager = AccountManager.get(mApplicationContext); 183 * {@link AccountManager} on the system. 189 final AccountManager am = mAccountManager; 250 final AccountManager am = mAccountManager;
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
Chromoting.java | 8 import android.accounts.AccountManager; 100 * Flag to track whether a call to AccountManager.getAuthToken() is currently pending. 194 mAccounts = AccountManager.get(this).getAccountsByType(ACCOUNT_TYPE); 314 AccountManager.get(this).getAuthToken(mAccount, TOKEN_SCOPE, null, this, this, null); 344 mToken = result.getString(AccountManager.KEY_AUTHTOKEN); 403 AccountManager authenticator = AccountManager.get(this);
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
AccountSyncSettings.java | 27 import android.accounts.AccountManager; 65 private AccountManager mAccountManager; 94 mAccountManager = AccountManager.get(this); 120 AccountManager.get(this).addOnAccountsUpdatedListener(this, null, false); 122 onAccountsUpdated(AccountManager.get(this).getAccounts()); 132 AccountManager.get(this).removeOnAccountsUpdatedListener(this);
|
/frameworks/base/test-runner/src/android/test/ |
IsolatedContext.java | 21 import android.accounts.AccountManager; 123 private class MockAccountManager extends AccountManager {
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/util/ |
AccountImageChangeObserver.java | 20 import android.accounts.AccountManager; 131 for (Account account : AccountManager.get(context).
|
/cts/tests/tests/content/src/android/content/cts/ |
ContentResolverSyncTestCase.java | 20 import android.accounts.AccountManager; 44 private static AccountManager sAccountManager; 50 sAccountManager = AccountManager.get(getContext()); 79 private boolean removeAccount(AccountManager am, Account account,
|
/external/chromium_org/sync/android/java/src/org/chromium/sync/signin/ |
AccountManagerHelper.java | 9 import android.accounts.AccountManager; 34 * AccountManagerHelper wraps our access of AccountManager in Android. 56 * Invoked on the UI thread once a token has been provided by the AccountManager. 65 * @param accountManager the account manager to use as a backend service 68 AccountManagerDelegate accountManager) { 70 mAccountManager = accountManager; 76 * It is possible to override the AccountManager to use in tests for the instance of the 95 AccountManagerDelegate accountManager) { 97 sAccountManagerHelper = new AccountManagerHelper(context, accountManager); 222 if (result.containsKey(AccountManager.KEY_INTENT)) [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
AccountReconciler.java | 19 import android.accounts.AccountManager; 52 * Get all AccountManager accounts for all email types. 57 final AccountManager am = AccountManager.get(context); 101 * AccountManager. If there are any orphans (an account in one list without a corresponding 105 * incomplete integration with AccountManager. 119 * Check if the AccountManager accounts list contains a specific account. 178 // AccountManager account 198 // This account has been deleted in the AccountManager! 200 "Account deleted in AccountManager; deleting from provider: " [all...] |
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/ |
ProfileOwnerProvisioningActivity.java | 22 import android.accounts.AccountManager; 86 private AccountManager mAccountManager; 92 mAccountManager = (AccountManager) getSystemService(Context.ACCOUNT_SERVICE); 306 if (bundle.getResult().getBoolean(AccountManager.KEY_BOOLEAN_RESULT, false)) {
|
ProfileOwnerProvisioningService.java | 26 import android.accounts.AccountManager; 96 private AccountManager mAccountManager; 122 mAccountManager = (AccountManager) getSystemService(Context.ACCOUNT_SERVICE);
|
/packages/apps/Settings/src/com/android/settings/ |
MasterClear.java | 20 import android.accounts.AccountManager; 191 AccountManager mgr = AccountManager.get(context); 208 AuthenticatorDescription[] descs = AccountManager.get(context)
|
/cts/tests/tests/provider/src/android/provider/cts/ |
ContactsProvider2_AccountRemovalTest.java | 22 import android.accounts.AccountManager; 57 private AccountManager mAccountManager; 63 mAccountManager = AccountManager.get(getContext());
|
/frameworks/base/packages/Shell/src/com/android/shell/ |
BugreportReceiver.java | 23 import android.accounts.AccountManager; 147 final AccountManager am = (AccountManager) context.getSystemService(
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
AddAccountSettings.java | 19 import android.accounts.AccountManager; 48 * account setup specified by AccountManager. 93 Intent intent = (Intent) bundle.get(AccountManager.KEY_INTENT); 217 AccountManager.get(this).addAccountAsUser(
|
/development/apps/Development/src/com/android/development/ |
AccountsTester.java | 20 import android.accounts.AccountManager; 61 private AccountManager mAccountManager; 79 mAccountManager = AccountManager.get(this); 410 Parcelable[] accounts = result.getParcelableArray(AccountManager.KEY_ACCOUNTS); 459 String authToken = result.getString(AccountManager.KEY_AUTHTOKEN); 513 if (AccountManager.KEY_AUTHTOKEN.equals(key)) {
|
/external/smack/src/org/jivesoftware/smack/ |
Connection.java.orig | 166 * The AccountManager allows creation and management of accounts on an XMPP server. 168 private AccountManager accountManager = null; 426 public AccountManager getAccountManager() { 427 if (accountManager == null) { 428 accountManager = new AccountManager(this); 430 return accountManager; [all...] |
Connection.java | 166 * The AccountManager allows creation and management of accounts on an XMPP server. 168 private AccountManager accountManager = null; 426 public AccountManager getAccountManager() { 427 if (accountManager == null) { 428 accountManager = new AccountManager(this); 430 return accountManager; [all...] |
AccountManager.java | 45 public class AccountManager { 59 * Creates a new AccountManager instance. 63 public AccountManager(Connection connection) {
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 20 import android.accounts.AccountManager; 137 AccountManager.get(this).addOnAccountsUpdatedListener(this, null, true); 235 // Remove AccountManager callback 236 AccountManager.get(this).removeOnAccountsUpdatedListener(this); 250 AuthenticatorDescription[] accountTypes = AccountManager.get(this).getAuthenticatorTypes(); 270 * @param dictionary An array of AuthenticatorDescriptions, as returned by AccountManager. 305 * type of account returned, and can be obtained from the system AccountManager.
|
/packages/apps/Email/provider_src/com/android/email/service/ |
EmailBroadcastProcessorService.java | 19 import android.accounts.AccountManager; 131 } else if (AccountManager.LOGIN_ACCOUNTS_CHANGED_ACTION.equals(broadcastAction)) { 159 AccountManager.get(this).getAccountsByType(amAccountType); 188 AccountManager.get(this).getAccountsByType(amAccountType);
|