/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 | 128 String authTokenType, String[] features, Bundle options) 132 + ", authTokenType " + authTokenType 139 accountType, authTokenType, features, options); 181 String authTokenType) 184 Log.v(TAG, "getAuthTokenLabel: authTokenType " + authTokenType); 190 AbstractAccountAuthenticator.this.getAuthTokenLabel(authTokenType)); 200 handleException(response, "getAuthTokenLabel", authTokenType, e); 206 Account account, String authTokenType, Bundl 127 addAccount(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument 180 getAuthTokenLabel(IAccountAuthenticatorResponse response, String authTokenType) argument 205 getAuthToken(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 233 updateCredentials(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument 419 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument 481 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument 490 getAuthTokenLabel(String authTokenType) argument 511 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument [all...] |
H A D | AccountManager.java | 540 * @param authTokenType The type of token whose permissions are being modified 545 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { argument 547 mService.updateAppPermission(account, authTokenType, uid, value); 557 * @param authTokenType the token type. must not be null. 564 final String accountType, final String authTokenType, 567 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); 570 mService.getAuthTokenLabel(mResponse, accountType, authTokenType); 1028 * @param authTokenType The type of auth token to fetch. Cannot be {@code null}. 1033 public String peekAuthToken(final Account account, final String authTokenType) { argument 563 getAuthTokenLabel( final String accountType, final String authTokenType, AccountManagerCallback<String> callback, Handler handler) argument 1151 setAuthToken(Account account, final String authTokenType, final String authToken) argument 1186 blockingGetAuthToken(Account account, String authTokenType, boolean notifyAuthFailure) argument 1261 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1348 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1427 getAuthToken( final Account account, final String authTokenType, final Bundle options, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument 1497 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument 1520 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 1762 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument 2155 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument 2351 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 [all...] |
/frameworks/base/test-runner/src/android/test/ |
H A D | IsolatedContext.java | 143 public String blockingGetAuthToken(Account account, String authTokenType, argument
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
H A D | AccountManagerService.java | 1464 String authTokenType = cursor.getString(2); 1470 authTokenType, 1533 public String peekAuthToken(Account account, String authTokenType) { argument 1537 + ", authTokenType " + authTokenType 1542 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); 1554 return readAuthTokenInternal(accounts, account, authTokenType); 1561 public void setAuthToken(Account account, String authTokenType, String authToken) { argument 1565 + ", authTokenType " 1761 getAuthTokenLabel(IAccountManagerResponse response, final String accountType, final String authTokenType) argument 1810 getAuthToken( IAccountManagerResponse response, final Account account, final String authTokenType, final boolean notifyOnAuthFailure, final boolean expectActivityLaunch, final Bundle loginOptions) argument 2067 newGrantCredentialsPermissionIntent(Account account, int uid, AccountAuthenticatorResponse response, String authTokenType) argument 2086 getCredentialPermissionNotificationId(Account account, String authTokenType, int uid) argument 2116 addAccount(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn) argument 2190 addAccountAsUser(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn, int userId) argument 2330 updateCredentials(IAccountManagerResponse response, final Account account, final String authTokenType, final boolean expectActivityLaunch, final Bundle loginOptions) argument 3755 permissionIsGranted( Account account, String authTokenType, int callerUid, int userId) argument 3832 hasExplicitlyGrantedPermission(Account account, String authTokenType, int callerUid) argument 3923 updateAppPermission(Account account, String authTokenType, int uid, boolean value) argument 3945 grantAppPermission(Account account, String authTokenType, int uid) argument 3980 revokeAppPermission(Account account, String authTokenType, int uid) argument 4187 readAuthTokenInternal(UserAccounts accounts, Account account, String authTokenType) argument [all...] |