Lines Matching defs:account

49  * <account-authenticator xmlns:android="http://schemas.android.com/apk/res/android"
122 * Bundle key used for the {@link String} account type in session bundle.
143 * Bundle key used for the {@link Account} account in session bundle. This is used
186 Account account, Bundle options) throws RemoteException {
188 Log.v(TAG, "confirmCredentials: " + account);
193 new AccountAuthenticatorResponse(response), account, options);
205 handleException(response, "confirmCredentials", account.toString(), e);
236 Account account, String authTokenType, Bundle loginOptions)
239 Log.v(TAG, "getAuthToken: " + account
245 new AccountAuthenticatorResponse(response), account,
258 account.toString() + "," + authTokenType, e);
263 public void updateCredentials(IAccountAuthenticatorResponse response, Account account,
266 Log.v(TAG, "updateCredentials: " + account
272 new AccountAuthenticatorResponse(response), account,
287 account.toString() + "," + authTokenType, e);
308 Account account, String[] features) throws RemoteException {
312 new AccountAuthenticatorResponse(response), account, features);
317 handleException(response, "hasFeatures", account.toString(), e);
323 Account account) throws RemoteException {
327 new AccountAuthenticatorResponse(response), account);
332 handleException(response, "getAccountRemovalAllowed", account.toString(), e);
338 Account account) throws RemoteException {
343 new AccountAuthenticatorResponse(response), account);
348 handleException(response, "getAccountCredentialsForCloning", account.toString(), e);
354 Account account,
360 new AccountAuthenticatorResponse(response), account,
366 handleException(response, "addAccountFromCredentials", account.toString(), e);
403 Account account,
408 + account
417 account,
434 account.toString() + "," + authTokenType, e);
469 Account account,
475 new AccountAuthenticatorResponse(response), account, statusToken);
480 handleException(response, "isCredentialsUpdateSuggested", account.toString(), e);
544 * Adds an account of the specified accountType.
546 * @param accountType the type of account to add, will never be null
547 * @param authTokenType the type of auth token to retrieve after adding the account, may be null
549 * account must support, may be null
556 * the account that was added, or
568 * Checks that the user knows the credentials of an account.
570 * @param account the account whose credentials are to be checked, will never be null
584 Account account, Bundle options)
588 * Gets an authtoken for an account.
602 * account associated with the token as well as the {@link AccountManager#KEY_AUTHTOKEN}. In
608 * Implementers should assume that tokens will be cached on the basis of account and
618 * @param account the account whose credentials are to be retrieved, will never be null
626 Account account, String authTokenType, Bundle options)
637 * Update the locally stored credentials for an account.
639 * @param account the account whose credentials are to be updated, will never be null
648 * the account whose credentials were updated, or
656 Account account, String authTokenType, Bundle options) throws NetworkErrorException;
659 * Checks if the account supports all the specified authenticator specific features.
661 * @param account the account to check, will never be null
667 * <li> {@link AccountManager#KEY_BOOLEAN_RESULT}, true if the account has all the features,
676 Account account, String[] features) throws NetworkErrorException;
679 * Checks if the removal of this account is allowed.
681 * @param account the account to check, will never be null
686 * <li> {@link AccountManager#KEY_BOOLEAN_RESULT}, true if the removal of the account is
695 Account account) throws NetworkErrorException {
702 * Returns a Bundle that contains whatever is required to clone the account on a different
707 * @param account the account to clone, will never be null
713 final Account account) throws NetworkErrorException {
726 * Creates an account based on credentials provided by the authenticator instance of another
727 * user on the device, who has chosen to share the account with this user.
729 * @param account the account to clone, will never be null
731 * account. Contents of the Bundle are only meaningful to the authenticator. This Bundle is
738 Account account,
752 * Starts the add account session to authenticate user to an account of the
763 * @param accountType the type of account to authenticate with, will never
766 * authenticating with the account, may be null
768 * that the account authenticated with must support, may be null
775 * the account to device later, and if account is authenticated,
778 * status of the account, or
812 * Asks user to re-authenticate for an account but defers updating the
823 * @param account the account whose credentials are to be updated, will
833 * updating the locally stored credentials later, and if account is
836 * the status of the account later, or
848 final Account account,
856 sessionBundle.putParcelable(KEY_ACCOUNT, account);
869 * #startUpdateCredentials by installing the account to device with
879 * @param accountType the type of account to authenticate with, will never
882 * {@link #startAddAccountSession} used for adding account to
890 * {@link AccountManager#KEY_ACCOUNT_TYPE} of the account that was
938 Account account = sessionBundle.getParcelable(KEY_ACCOUNT);
941 // Actual options passed to add account or update credentials flow.
952 // AccountManager.KEY_ANDROID_PACKAGE_NAME required by the add account flow or update
962 return updateCredentials(response, account, authTokenType, options);
969 * Checks if update of the account credentials is suggested.
972 * @param account the account to check, will never be null
977 * <li>{@link AccountManager#KEY_BOOLEAN_RESULT}, true if update of account's
989 Account account,