Searched refs:authTokenType (Results 1 - 8 of 8) sorted by relevance

/frameworks/base/core/java/android/accounts/
H A DIAccountAuthenticator.aidl32 String authTokenType, in String[] requiredFeatures, in Bundle options);
44 String authTokenType, in Bundle options);
49 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType);
55 String authTokenType, in Bundle options);
H A DIAccountManager.aidl42 String peekAuthToken(in Account account, String authTokenType);
43 void setAuthToken(in Account account, String authTokenType, String authToken);
47 void updateAppPermission(in Account account, String authTokenType, int uid, boolean value);
50 String authTokenType, boolean notifyOnAuthFailure, boolean expectActivityLaunch,
53 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch,
56 String authTokenType, boolean expectActivityLaunch, in Bundle options);
62 String authTokenType);
H A DAbstractAccountAuthenticator.java119 String authTokenType, String[] features, Bundle options)
123 + ", authTokenType " + authTokenType
130 accountType, authTokenType, features, options);
166 String authTokenType)
169 Log.v(TAG, "getAuthTokenLabel: authTokenType " + authTokenType);
175 AbstractAccountAuthenticator.this.getAuthTokenLabel(authTokenType));
183 handleException(response, "getAuthTokenLabel", authTokenType, e);
188 Account account, String authTokenType, Bundl
118 addAccount(IAccountAuthenticatorResponse response, String accountType, String authTokenType, String[] features, Bundle options) argument
165 getAuthTokenLabel(IAccountAuthenticatorResponse response, String authTokenType) argument
187 getAuthToken(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument
212 updateCredentials(IAccountAuthenticatorResponse response, Account account, String authTokenType, Bundle loginOptions) argument
390 addAccount(AccountAuthenticatorResponse response, String accountType, String authTokenType, String[] requiredFeatures, Bundle options) argument
431 getAuthToken(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
440 getAuthTokenLabel(String authTokenType) argument
461 updateCredentials(AccountAuthenticatorResponse response, Account account, String authTokenType, Bundle options) argument
[all...]
H A DAccountManager.java460 * @param authTokenType The type of token whose permissions are being modified
465 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { argument
467 mService.updateAppPermission(account, authTokenType, uid, value);
477 * @param authTokenType the token type. must not be null.
484 final String accountType, final String authTokenType,
487 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
490 mService.getAuthTokenLabel(mResponse, accountType, authTokenType);
697 * @param authTokenType The type of auth token to fetch, see {#getAuthToken}
701 public String peekAuthToken(final Account account, final String authTokenType) { argument
483 getAuthTokenLabel( final String accountType, final String authTokenType, AccountManagerCallback<String> callback, Handler handler) argument
803 setAuthToken(Account account, final String authTokenType, final String authToken) argument
837 blockingGetAuthToken(Account account, String authTokenType, boolean notifyAuthFailure) argument
911 getAuthToken( final Account account, final String authTokenType, final Bundle options, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1001 getAuthToken( final Account account, final String authTokenType, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
1079 getAuthToken( final Account account, final String authTokenType, final Bundle options, final boolean notifyAuthFailure, AccountManagerCallback<Bundle> callback, Handler handler) argument
1147 addAccount(final String accountType, final String authTokenType, final String[] requiredFeatures, final Bundle addAccountOptions, final Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) argument
1347 updateCredentials(final Account account, final String authTokenType, final Bundle options, final Activity activity, final AccountManagerCallback<Bundle> callback, final Handler handler) argument
1731 GetAuthTokenByTypeAndFeaturesTask(final String accountType, final String authTokenType, final String[] features, Activity activityForPrompting, final Bundle addAccountOptions, final Bundle loginOptions, AccountManagerCallback<Bundle> callback, Handler handler) argument
1926 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...]
H A DChooseTypeAndAccountActivity.java79 * This is passed as the authTokenType string in AccountManager.addAccount()
82 public static final String EXTRA_ADD_ACCOUNT_AUTH_TOKEN_TYPE_STRING = "authTokenType";
370 final String authTokenType = getIntent().getStringExtra(
372 AccountManager.get(this).addAccount(type, authTokenType, requiredFeatures,
/frameworks/volley/src/com/android/volley/toolbox/
H A DAndroidAuthenticator.java42 * @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
59 mAuthTokenType = authTokenType;
/frameworks/base/services/java/com/android/server/accounts/
H A DAccountManagerService.java982 String authTokenType = cursor.getString(2);
985 authTokenType, null);
1026 public String peekAuthToken(Account account, String authTokenType) { argument
1029 + ", authTokenType " + authTokenType
1034 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
1039 return readAuthTokenInternal(accounts, account, authTokenType);
1045 public void setAuthToken(Account account, String authTokenType, String authToken) { argument
1048 + ", authTokenType "
1202 getAuthTokenLabel(IAccountManagerResponse response, final String accountType, final String authTokenType) argument
1245 getAuthToken(IAccountManagerResponse response, final Account account, final String authTokenType, final boolean notifyOnAuthFailure, final boolean expectActivityLaunch, Bundle loginOptionsIn) argument
1395 newGrantCredentialsPermissionIntent(Account account, int uid, AccountAuthenticatorResponse response, String authTokenType, String authTokenLabel) argument
1414 getCredentialPermissionNotificationId(Account account, String authTokenType, int uid) argument
1443 addAccount(final IAccountManagerResponse response, final String accountType, final String authTokenType, final String[] requiredFeatures, final boolean expectActivityLaunch, final Bundle optionsIn) argument
1546 updateCredentials(IAccountManagerResponse response, final Account account, final String authTokenType, final boolean expectActivityLaunch, final Bundle loginOptions) argument
2566 permissionIsGranted(Account account, String authTokenType, int callerUid) argument
2594 hasExplicitlyGrantedPermission(Account account, String authTokenType, int callerUid) argument
2659 updateAppPermission(Account account, String authTokenType, int uid, boolean value) argument
2681 grantAppPermission(Account account, String authTokenType, int uid) argument
2716 revokeAppPermission(Account account, String authTokenType, int uid) argument
2909 readAuthTokenInternal(UserAccounts accounts, Account account, String authTokenType) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DIsolatedContext.java145 public String blockingGetAuthToken(Account account, String authTokenType, argument

Completed in 1412 milliseconds