/cts/tests/tests/accounts/src/android/accounts/cts/ |
MockCustomTokenAccountService.java | 1 package android.accounts.cts;
|
/frameworks/base/core/java/android/accounts/ |
AccountManagerFuture.java | 16 package android.accounts; 86 * @throws android.accounts.OperationCanceledException if the request was canceled for any 89 * @throws android.accounts.AuthenticatorException if there was an error communicating with 106 * @throws android.accounts.OperationCanceledException if the request was canceled for any 108 * @throws android.accounts.AuthenticatorException if there was an error communicating with
|
IAccountAuthenticator.aidl | 17 package android.accounts; 19 import android.accounts.IAccountAuthenticatorResponse; 20 import android.accounts.Account;
|
/frameworks/base/telecomm/java/android/telecom/ |
AuthenticatorService.java | 18 import android.accounts.AbstractAccountAuthenticator; 19 import android.accounts.Account; 20 import android.accounts.AccountAuthenticatorResponse; 21 import android.accounts.NetworkErrorException; 30 * involve accounts.
|
/packages/apps/Camera2/src_pd/com/android/camera/util/ |
GoogleHelpHelper.java | 19 import android.accounts.Account;
|
/packages/apps/Exchange/src/com/android/exchange/ |
ExchangeBroadcastReceiver.java | 5 import android.accounts.Account; 6 import android.accounts.AccountManager; 24 final Account[] accounts = AccountManager.get(context) local 26 LogUtils.i(Eas.LOG_TAG, "Accounts changed - requesting FolderSync for unsynced accounts"); 27 for (final Account account : accounts) { 28 // Only do a sync for accounts that are not configured to sync any types, since the
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/ |
AccountsChangedReceiver.java | 17 package com.android.inputmethod.latin.accounts; 19 import android.accounts.AccountManager; 64 * in the list of current accounts. 67 final String[] accounts, final String currentAccount) { 71 for (final String account : accounts) {
|
/packages/inputmethods/LatinIME/java-overridable/src/com/android/inputmethod/latin/accounts/ |
LoginAccountUtils.java | 17 package com.android.inputmethod.latin.accounts; 24 * Utility class for retrieving accounts that may be used for login. 29 * This account type is used when listing the accounts available on the device for login. 38 * Get the accounts available for login. 40 * @return an array of accounts. Empty (never null) if no accounts are available for login.
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/ |
RemoveAccountDialog.java | 17 package com.android.tv.settings.accounts; 26 import android.accounts.Account; 27 import android.accounts.AccountManager; 28 import android.accounts.AccountManagerCallback; 29 import android.accounts.AccountManagerFuture; 30 import android.accounts.AuthenticatorException; 31 import android.accounts.OperationCanceledException; 66 // Don't let the monkey remove accounts.
|
/packages/apps/Calendar/src/com/android/calendar/ |
CalendarSettingsActivity.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 46 Account[] accounts = AccountManager.get(this).getAccounts(); local 47 if (accounts != null) { 48 int length = accounts.length; 50 Account acct = accounts[i]; 64 mAccounts = accounts; 124 Account[] accounts = AccountManager.get(CalendarSettingsActivity.this).getAccounts(); 125 if (accounts != null && !accounts.equals(mAccounts)) [all...] |
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/ |
MockAccountAuthenticator.java | 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException;
|
AccountManagementTest.java | 19 import android.accounts.Account; 20 import android.accounts.AccountManager; 21 import android.accounts.AccountManagerFuture; 22 import android.accounts.AuthenticatorException; 23 import android.accounts.OperationCanceledException; 34 * accounts from it to verify the enforcement is in place. 65 // Some local tests: adding and removing disabled accounts and make sure 109 // an intent to start the authenticator activity for adding new accounts. 124 // First prepare some accounts by manually adding them, 146 Account[] accounts = mAccountManager.getAccountsByType(ACCOUNT_TYPE_1) local [all...] |
/cts/tests/tests/content/src/android/content/cts/ |
MockAccountAuthenticator.java | 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException;
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
StaticAccountAuthenticator.java | 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.AccountManager; 23 import android.accounts.NetworkErrorException;
|
/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/common/accounts/ |
GenericAccountService.java | 17 package com.example.android.common.accounts; 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.NetworkErrorException; 36 * Obtain a handle to the {@link android.accounts.Account} used for sync in this application. 39 * configuration XML file for android.accounts.AccountAuthenticator (often saved in 44 * android.accounts.AccountAuthenticator (e.g. res/xml/syncadapter.xml). 50 // address). However, since we aren't actually using any user accounts, it makes more sense 54 // able to locate the old account, and may erroneously register multiple accounts [all...] |
/developers/samples/android/common/src/java/com/example/android/common/accounts/ |
GenericAccountService.java | 17 package com.example.android.common.accounts; 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.NetworkErrorException; 36 * Obtain a handle to the {@link android.accounts.Account} used for sync in this application. 39 * configuration XML file for android.accounts.AccountAuthenticator (often saved in 44 * android.accounts.AccountAuthenticator (e.g. res/xml/syncadapter.xml). 50 // address). However, since we aren't actually using any user accounts, it makes more sense 54 // able to locate the old account, and may erroneously register multiple accounts [all...] |
/development/samples/browseable/BasicSyncAdapter/src/com.example.android.common/accounts/ |
GenericAccountService.java | 17 package com.example.android.common.accounts; 19 import android.accounts.AbstractAccountAuthenticator; 20 import android.accounts.Account; 21 import android.accounts.AccountAuthenticatorResponse; 22 import android.accounts.NetworkErrorException; 36 * Obtain a handle to the {@link android.accounts.Account} used for sync in this application. 39 * configuration XML file for android.accounts.AccountAuthenticator (often saved in 44 * android.accounts.AccountAuthenticator (e.g. res/xml/syncadapter.xml). 50 // address). However, since we aren't actually using any user accounts, it makes more sense 54 // able to locate the old account, and may erroneously register multiple accounts [all...] |
/packages/apps/Email/provider_src/com/android/email/provider/ |
AccountReconciler.java | 19 import android.accounts.AccountManager; 20 import android.accounts.AccountManagerFuture; 21 import android.accounts.AuthenticatorException; 22 import android.accounts.OperationCanceledException; 52 * Get all AccountManager accounts for all email types. 54 * @return A list of all {@link android.accounts.Account}s created by our app. 56 private static List<android.accounts.Account> getAllAmAccounts(final Context context) { 60 // Some Accounts types can be identical, the set de-duplicates. 66 final ImmutableList.Builder<android.accounts.Account> builder = ImmutableList.builder(); 68 final android.accounts.Account[] accounts = am.getAccountsByType(type) local [all...] |
/packages/apps/Browser/src/com/android/browser/ |
AccountsChangedReceiver.java | 18 import android.accounts.Account; 19 import android.accounts.AccountManager; 27 import android.provider.BrowserContract.Accounts; 34 Accounts.ACCOUNT_NAME, 35 Accounts.ACCOUNT_TYPE, 37 private static final String SELECTION = Accounts.ACCOUNT_NAME + " IS NOT NULL"; 38 private static final String DELETE_SELECTION = Accounts.ACCOUNT_NAME + "=? AND " 39 + Accounts.ACCOUNT_TYPE + "=?"; 54 Account[] accounts = AccountManager.get(mContext).getAccounts(); local 56 Cursor c = cr.query(Accounts.CONTENT_URI, PROJECTION [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
AccountPromptUtils.java | 19 import android.accounts.AccountManager; 20 import android.accounts.AccountManagerCallback; 21 import android.accounts.AccountManagerFuture; 22 import android.accounts.AuthenticatorDescription; 23 import android.accounts.AuthenticatorException; 24 import android.accounts.OperationCanceledException;
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAccountManager.java | 3 import android.accounts.Account; 4 import android.accounts.AccountManager; 5 import android.accounts.AccountManagerCallback; 6 import android.accounts.AccountManagerFuture; 7 import android.accounts.AuthenticatorException; 8 import android.accounts.OperationCanceledException; 27 * Shadows the {@code android.accounts.AccountManager} class. 37 private Account[] accounts; field in class:ShadowAccountManager 176 return accounts; 180 if (accounts != null) [all...] |
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
Fixtures.java | 17 package android.accounts.cts.common; 19 import android.accounts.Account; 29 public static final String TYPE_CUSTOM = "android.accounts.test.custom"; 30 public static final String TYPE_STANDARD = "android.accounts.test.standard"; 33 "android.accounts.test.standard.unaffiliated";
|
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
GetAccountRemovalAllowedTx.java | 1 package android.accounts.cts.common.tx; 3 import android.accounts.Account;
|
/frameworks/base/core/java/android/content/ |
ISyncAdapter.aidl | 19 import android.accounts.Account;
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
IAccountAuthenticatorCache.java | 17 package com.android.server.accounts; 19 import android.accounts.AuthenticatorDescription; 36 * matched the specified {@link android.accounts.AuthenticatorDescription} or null
|