Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java157 String authTokenType, String[] features, Bundle options) in addAccount() argument
161 + ", authTokenType " + authTokenType in addAccount()
168 accountType, authTokenType, features, options); in addAccount()
213 String authTokenType) in getAuthTokenLabel() argument
216 Log.v(TAG, "getAuthTokenLabel: authTokenType " + authTokenType); in getAuthTokenLabel()
222 AbstractAccountAuthenticator.this.getAuthTokenLabel(authTokenType)); in getAuthTokenLabel()
232 handleException(response, "getAuthTokenLabel", authTokenType, e); in getAuthTokenLabel()
238 Account account, String authTokenType, Bundle loginOptions) in getAuthToken() argument
242 + ", authTokenType " + authTokenType); in getAuthToken()
248 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
94 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, in startAddAccountSession() argument
99 String authTokenType, boolean expectActivityLaunch, in Bundle options); in startUpdateCredentialsSession() argument
DAccountManager.java708 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { in updateAppPermission() argument
710 mService.updateAppPermission(account, authTokenType, uid, value); in updateAppPermission()
726 final String accountType, final String authTokenType, in getAuthTokenLabel() argument
729 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); in getAuthTokenLabel()
733 mService.getAuthTokenLabel(mResponse, accountType, authTokenType); in getAuthTokenLabel()
1350 public String peekAuthToken(final Account account, final String authTokenType) {
1352 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
1354 return mService.peekAuthToken(account, authTokenType);
1464 public void setAuthToken(Account account, final String authTokenType, final String authToken) {
1466 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.java2417 String authTokenType = cursor.getString(2); in invalidateAuthTokenLocked() local
2419 results.add(Pair.create(new Account(accountName, accountType), authTokenType)); in invalidateAuthTokenLocked()
2481 public String peekAuthToken(Account account, String authTokenType) { in peekAuthToken() argument
2485 + ", authTokenType " + authTokenType in peekAuthToken()
2490 Preconditions.checkNotNull(authTokenType, "authTokenType cannot be null"); in peekAuthToken()
2507 return readAuthTokenInternal(accounts, account, authTokenType); in peekAuthToken()
2514 public void setAuthToken(Account account, String authTokenType, String authToken) { in setAuthToken() argument
2518 + ", authTokenType " + authTokenType in setAuthToken()
2523 Preconditions.checkNotNull(authTokenType, "authTokenType cannot be null"); in setAuthToken()
2535 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
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...