Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java155 String authTokenType, String[] features, Bundle options) in addAccount() argument
159 + ", authTokenType " + authTokenType in addAccount()
166 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 …]
DIAccountAuthenticator.aidl33 String authTokenType, in String[] requiredFeatures, in Bundle options); in addAccount() argument
47 String authTokenType, in Bundle options); in getAuthToken() argument
53 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType); in getAuthTokenLabel() argument
60 String authTokenType, in Bundle options); in updateCredentials() argument
100 String authTokenType, in String[] requiredFeatures, in Bundle options); in startAddAccountSession() argument
106 String authTokenType, in Bundle options); in startUpdateCredentialsSession() argument
DIAccountManager.aidl56 String peekAuthToken(in Account account, String authTokenType); in peekAuthToken() argument
57 void setAuthToken(in Account account, String authTokenType, String authToken); in setAuthToken() argument
61 void updateAppPermission(in Account account, String authTokenType, int uid, boolean value); in updateAppPermission() argument
64 String authTokenType, boolean notifyOnAuthFailure, boolean expectActivityLaunch, in getAuthToken() argument
67 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, in addAccount() argument
70 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, in addAccountAsUser() argument
73 String authTokenType, boolean expectActivityLaunch, in Bundle options); in updateCredentials() argument
80 String authTokenType); in getAuthTokenLabel() argument
91 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, in startAddAccountSession() argument
96 String authTokenType, boolean expectActivityLaunch, in Bundle options); in startUpdateCredentialsSession() argument
DAccountManager.java739 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { in updateAppPermission() argument
741 mService.updateAppPermission(account, authTokenType, uid, value); in updateAppPermission()
757 final String accountType, final String authTokenType, in getAuthTokenLabel() argument
760 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); in getAuthTokenLabel()
764 mService.getAuthTokenLabel(mResponse, accountType, authTokenType); in getAuthTokenLabel()
1381 public String peekAuthToken(final Account account, final String authTokenType) {
1383 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
1385 return mService.peekAuthToken(account, authTokenType);
1495 public void setAuthToken(Account account, final String authTokenType, final String authToken) {
1497 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
[all …]
DChooseTypeAndAccountActivity.java392 final String authTokenType = getIntent().getStringExtra( in runAddAccountForAuthenticator() local
394 AccountManager.get(this).addAccount(type, authTokenType, requiredFeatures, in runAddAccountForAuthenticator()
/frameworks/base/services/tests/servicestests/src/com/android/server/accounts/
DTestAccountType2Authenticator.java56 String authTokenType, in addAccount() argument
76 String authTokenType, in getAuthToken() argument
83 public String getAuthTokenLabel(String authTokenType) { in getAuthTokenLabel() argument
92 String authTokenType, in updateCredentials() argument
111 String authTokenType, in startAddAccountSession() argument
122 String authTokenType, in startUpdateCredentialsSession() argument
DTestAccountType1Authenticator.java63 String authTokenType, in addAccount() argument
147 String authTokenType, in getAuthToken() argument
194 public String getAuthTokenLabel(String authTokenType) { in getAuthTokenLabel() argument
202 String authTokenType, in updateCredentials() argument
263 String authTokenType, in startAddAccountSession() argument
319 String authTokenType, in startUpdateCredentialsSession() argument
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2444 String authTokenType = cursor.getString(2); in invalidateAuthTokenLocked() local
2446 results.add(Pair.create(new Account(accountName, accountType), authTokenType)); in invalidateAuthTokenLocked()
2508 public String peekAuthToken(Account account, String authTokenType) { in peekAuthToken() argument
2512 + ", authTokenType " + authTokenType in peekAuthToken()
2517 Preconditions.checkNotNull(authTokenType, "authTokenType cannot be null"); in peekAuthToken()
2534 return readAuthTokenInternal(accounts, account, authTokenType); in peekAuthToken()
2541 public void setAuthToken(Account account, String authTokenType, String authToken) { in setAuthToken() argument
2545 + ", authTokenType " + authTokenType in setAuthToken()
2550 Preconditions.checkNotNull(authTokenType, "authTokenType cannot be null"); in setAuthToken()
2562 saveAuthTokenToDatabase(accounts, account, authTokenType, authToken); in setAuthToken()
[all …]
DAccountsDb.java381 long insertAuthToken(long accountId, String authTokenType, String authToken) { in insertAuthToken() argument
385 values.put(AUTHTOKENS_TYPE, authTokenType); in insertAuthToken()
869 String authTokenType, long uid) { in deleteGrantsByAccountIdAuthTokenTypeAndUid() argument
874 new String[] {String.valueOf(accountId), authTokenType, String.valueOf(uid)}) > 0; in deleteGrantsByAccountIdAuthTokenTypeAndUid()
894 long findMatchingGrantsCount(int uid, String authTokenType, Account account) { in findMatchingGrantsCount() argument
896 String[] args = {String.valueOf(uid), authTokenType, account.name, account.type}; in findMatchingGrantsCount()
906 long insertGrant(long accountId, String authTokenType, int uid) { in insertGrant() argument
910 values.put(GRANTS_AUTH_TOKEN_TYPE, authTokenType); in insertGrant()
/frameworks/base/test-mock/src/android/test/mock/
DMockAccountManager.java77 public String blockingGetAuthToken(Account account, String authTokenType, in blockingGetAuthToken() argument