Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java158 String authTokenType, String[] features, Bundle options) in addAccount() argument
162 + ", authTokenType " + authTokenType in addAccount()
169 accountType, authTokenType, features, options); in addAccount()
211 String authTokenType) in getAuthTokenLabel() argument
214 Log.v(TAG, "getAuthTokenLabel: authTokenType " + authTokenType); in getAuthTokenLabel()
220 AbstractAccountAuthenticator.this.getAuthTokenLabel(authTokenType)); in getAuthTokenLabel()
230 handleException(response, "getAuthTokenLabel", authTokenType, e); in getAuthTokenLabel()
236 Account account, String authTokenType, Bundle loginOptions) in getAuthToken() argument
240 + ", authTokenType " + authTokenType); in getAuthToken()
246 authTokenType, loginOptions); in getAuthToken()
[all …]
DIAccountManager.aidl50 String peekAuthToken(in Account account, String authTokenType); in peekAuthToken() argument
51 void setAuthToken(in Account account, String authTokenType, String authToken); in setAuthToken() argument
55 void updateAppPermission(in Account account, String authTokenType, int uid, boolean value); in updateAppPermission() argument
58 String authTokenType, boolean notifyOnAuthFailure, boolean expectActivityLaunch, in getAuthToken() argument
61 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, in addAccount() argument
64 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, in addAccountAsUser() argument
67 String authTokenType, boolean expectActivityLaunch, in Bundle options); in updateCredentials() argument
74 String authTokenType); in getAuthTokenLabel() argument
88 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, in startAddAccountSession() argument
93 String authTokenType, boolean expectActivityLaunch, in Bundle options); in startUpdateCredentialsSession() argument
DIAccountAuthenticator.aidl32 String authTokenType, in String[] requiredFeatures, in Bundle options); in addAccount() argument
44 String authTokenType, in Bundle options); in getAuthToken() argument
49 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType); in getAuthTokenLabel() argument
55 String authTokenType, in Bundle options); in updateCredentials() argument
92 String authTokenType, in String[] requiredFeatures, in Bundle options); in startAddAccountSession() argument
98 String authTokenType, in Bundle options); in startUpdateCredentialsSession() argument
DAccountManager.java562 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { in updateAppPermission() argument
564 mService.updateAppPermission(account, authTokenType, uid, value); in updateAppPermission()
580 final String accountType, final String authTokenType, in getAuthTokenLabel() argument
583 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); in getAuthTokenLabel()
587 mService.getAuthTokenLabel(mResponse, accountType, authTokenType); in getAuthTokenLabel()
1051 public String peekAuthToken(final Account account, final String authTokenType) {
1053 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
1055 return mService.peekAuthToken(account, authTokenType);
1165 public void setAuthToken(Account account, final String authTokenType, final String authToken) {
1167 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
[all …]
DChooseTypeAndAccountActivity.java362 final String authTokenType = getIntent().getStringExtra( in runAddAccountForAuthenticator() local
364 AccountManager.get(this).addAccount(type, authTokenType, requiredFeatures, in runAddAccountForAuthenticator()
/frameworks/volley/src/main/java/com/android/volley/toolbox/
DAndroidAuthenticator.java44 public AndroidAuthenticator(Context context, Account account, String authTokenType) { in AndroidAuthenticator() argument
45 this(context, account, authTokenType, false); in AndroidAuthenticator()
55 public AndroidAuthenticator(Context context, Account account, String authTokenType, in AndroidAuthenticator() argument
57 this(AccountManager.get(context), account, authTokenType, notifyAuthFailure); in AndroidAuthenticator()
62 String authTokenType, boolean notifyAuthFailure) { in AndroidAuthenticator() argument
65 mAuthTokenType = authTokenType; in AndroidAuthenticator()
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java1765 String authTokenType = cursor.getString(2); in invalidateAuthTokenLocked() local
1771 authTokenType, in invalidateAuthTokenLocked()
1834 public String peekAuthToken(Account account, String authTokenType) { in peekAuthToken() argument
1838 + ", authTokenType " + authTokenType in peekAuthToken()
1843 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); in peekAuthToken()
1860 return readAuthTokenInternal(accounts, account, authTokenType); in peekAuthToken()
1867 public void setAuthToken(Account account, String authTokenType, String authToken) { in setAuthToken() argument
1871 + ", authTokenType " + authTokenType in setAuthToken()
1876 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); in setAuthToken()
1888 saveAuthTokenToDatabase(accounts, account, authTokenType, authToken); in setAuthToken()
[all …]
/frameworks/base/test-runner/src/android/test/
DIsolatedContext.java147 public String blockingGetAuthToken(Account account, String authTokenType, in blockingGetAuthToken() argument