/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
H A D | AndroidAuthenticator.java | 42 * @param authTokenType Auth token type passed to AccountManager 44 public AndroidAuthenticator(Context context, Account account, String authTokenType) { argument 45 this(context, account, authTokenType, false); 52 * @param authTokenType Auth token type passed to AccountManager 55 public AndroidAuthenticator(Context context, Account account, String authTokenType, argument 57 this(AccountManager.get(context), account, authTokenType, notifyAuthFailure); 62 String authTokenType, boolean notifyAuthFailure) { 65 mAuthTokenType = authTokenType; 61 AndroidAuthenticator(AccountManager accountManager, Account account, String authTokenType, boolean notifyAuthFailure) argument
|
/frameworks/base/core/java/android/accounts/ |
H A D | AbstractAccountAuthenticator.java | 158 String authTokenType, String[] features, Bundle options) 162 + ", authTokenType " + authTokenType 169 accountType, authTokenType, features, options); 211 String authTokenType) 214 Log.v(TAG, "getAuthTokenLabel: authTokenType " + authTokenType); 220 AbstractAccountAuthenticator.this.getAuthTokenLabel(authTokenType)); 230 handleException(response, "getAuthTokenLabel", authTokenType, e); 236 Account account, String authTokenType, Bundl 157 addAccount(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument 210 getAuthTokenLabel(IAccountAuthenticatorResponse response, String authTokenType) argument 235 getAuthToken(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 263 updateCredentials(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 371 startAddAccountSession(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument 401 startUpdateCredentialsSession( IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 563 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument 625 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 634 getAuthTokenLabel(String authTokenType) argument 655 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 788 startAddAccountSession( final AccountAuthenticatorResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle options) argument 846 startUpdateCredentialsSession( final AccountAuthenticatorResponse response, final Account account, final String authTokenType, final Bundle options) argument [all...] |
H A D | AccountManager.java | 575 * @param authTokenType The type of token whose permissions are being modified 580 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { argument 582 mService.updateAppPermission(account, authTokenType, uid, value); 591 * @param authTokenType the token type. must not be null. 598 final String accountType, final String authTokenType, 601 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); 605 mService.getAuthTokenLabel(mResponse, accountType, authTokenType); 1065 * @param authTokenType The type of auth token to fetch. Cannot be {@code null}. 1070 public String peekAuthToken(final Account account, final String authTokenType) { argument 597 getAuthTokenLabel( final String accountType, final String authTokenType, AccountManagerCallback<String> callback, Handler handler) argument 1184 setAuthToken(Account account, final String authTokenType, final String authToken) argument 1218 blockingGetAuthToken(Account account, String authTokenType, boolean notifyAuthFailure) argument 1293 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1381 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1460 getAuthToken( final Account account, final String authTokenType, final Bundle options, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1531 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1555 addAccountAsUser(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler, final UserHandle userHandle) argument 1799 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 2225 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument 2430 getAuthTokenByFeatures( final String accountType, final String authTokenType, final String[] features, final Activity activity, final Bundle addAccountOptions, final Bundle getAuthTokenOptions, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 2728 startAddAccountSession( final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 2810 startUpdateCredentialsSession( final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 147 public String blockingGetAuthToken(Account account, String authTokenType, argument
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 1934 String authTokenType = cursor.getString(2); 1940 authTokenType, 2003 public String peekAuthToken(Account account, String authTokenType) { argument 2007 + ", authTokenType " + authTokenType 2012 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); 2029 return readAuthTokenInternal(accounts, account, authTokenType); 2036 public void setAuthToken(Account account, String authTokenType, String authToken) { argument 2040 + ", authTokenType " 2258 getAuthTokenLabel(IAccountManagerResponse response, final String accountType, final String authTokenType) argument 2308 getAuthToken( IAccountManagerResponse response, final Account account, final String authTokenType, final boolean notifyOnAuthFailure, final boolean expectActivityLaunch, final Bundle loginOptions) argument 2583 newGrantCredentialsPermissionIntent(Account account, String packageName, int uid, AccountAuthenticatorResponse response, String authTokenType, boolean startInNewTask) argument 2605 getCredentialPermissionNotificationId(Account account, String authTokenType, int uid) argument 2635 addAccount(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn) argument 2710 addAccountAsUser(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn, int userId) argument 2793 startAddAccountSession( final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn) argument 3199 updateCredentials(IAccountManagerResponse response, final Account account, final String authTokenType, final boolean expectActivityLaunch, final Bundle loginOptions) argument 3239 startUpdateCredentialsSession( IAccountManagerResponse response, final Account account, final String authTokenType, final boolean expectActivityLaunch, final Bundle loginOptions) argument 5374 permissionIsGranted( Account account, String authTokenType, int callerUid, int userId) argument 5491 hasExplicitlyGrantedPermission(Account account, String authTokenType, int callerUid) argument 5607 updateAppPermission(Account account, String authTokenType, int uid, boolean value) argument 5629 grantAppPermission(Account account, String authTokenType, int uid) argument 5672 revokeAppPermission(Account account, String authTokenType, int uid) argument 5892 readAuthTokenInternal(UserAccounts accounts, Account account, String authTokenType) argument [all...] |