Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/accounts/
DAbstractAccountAuthenticator.java152 String authTokenType, String[] features, Bundle options) in addAccount() argument
158 + ", authTokenType " + authTokenType in addAccount()
164 accountType, authTokenType, features, options); in addAccount()
212 String authTokenType) in getAuthTokenLabel() argument
217 Log.v(TAG, "getAuthTokenLabel: authTokenType " + authTokenType); in getAuthTokenLabel()
222 AbstractAccountAuthenticator.this.getAuthTokenLabel(authTokenType)); in getAuthTokenLabel()
232 handleException(response, "getAuthTokenLabel", authTokenType, e); in getAuthTokenLabel()
239 Account account, String authTokenType, Bundle loginOptions) in getAuthToken() argument
245 + ", authTokenType " + authTokenType); in getAuthToken()
250 authTokenType, loginOptions); in getAuthToken()
[all …]
DIAccountAuthenticator.aidl34 String authTokenType, in String[] requiredFeatures, in Bundle options); in addAccount() argument
50 String authTokenType, in Bundle options); in getAuthToken() argument
57 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType); in getAuthTokenLabel() argument
65 String authTokenType, in Bundle options); in updateCredentials() argument
111 String authTokenType, in String[] requiredFeatures, in Bundle options); in startAddAccountSession() argument
118 String authTokenType, in Bundle options); in startUpdateCredentialsSession() argument
DIAccountManager.aidl53 String peekAuthToken(in Account account, String authTokenType); in peekAuthToken() argument
54 void setAuthToken(in Account account, String authTokenType, String authToken); in setAuthToken() argument
58 void updateAppPermission(in Account account, String authTokenType, int uid, boolean value); in updateAppPermission() argument
61 String authTokenType, boolean notifyOnAuthFailure, boolean expectActivityLaunch, in getAuthToken() argument
64 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, in addAccount() argument
67 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, in addAccountAsUser() argument
70 String authTokenType, boolean expectActivityLaunch, in Bundle options); in updateCredentials() argument
77 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
DAccountManager.java835 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { in updateAppPermission() argument
837 mService.updateAppPermission(account, authTokenType, uid, value); in updateAppPermission()
853 final String accountType, final String authTokenType, in getAuthTokenLabel() argument
856 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); in getAuthTokenLabel()
860 mService.getAuthTokenLabel(mResponse, accountType, authTokenType); in getAuthTokenLabel()
1476 public String peekAuthToken(final Account account, final String authTokenType) {
1478 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
1480 return mService.peekAuthToken(account, authTokenType);
1590 public void setAuthToken(Account account, final String authTokenType, final String authToken) {
1592 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null");
[all …]
DChooseTypeAndAccountActivity.java388 final String authTokenType = getIntent().getStringExtra( in runAddAccountForAuthenticator() local
390 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.java61 String authTokenType, in addAccount() argument
145 String authTokenType, in getAuthToken() argument
192 public String getAuthTokenLabel(String authTokenType) { in getAuthTokenLabel() argument
200 String authTokenType, in updateCredentials() argument
261 String authTokenType, in startAddAccountSession() argument
320 String authTokenType, in startUpdateCredentialsSession() argument
/frameworks/base/services/core/java/com/android/server/accounts/
DAccountManagerService.java2647 String authTokenType = cursor.getString(2); in invalidateAuthTokenLocked() local
2649 results.add(Pair.create(new Account(accountName, accountType), authTokenType)); in invalidateAuthTokenLocked()
2709 public String peekAuthToken(Account account, String authTokenType) { in peekAuthToken() argument
2713 + ", authTokenType " + authTokenType in peekAuthToken()
2718 Objects.requireNonNull(authTokenType, "authTokenType cannot be null"); in peekAuthToken()
2735 return readAuthTokenInternal(accounts, account, authTokenType); in peekAuthToken()
2742 public void setAuthToken(Account account, String authTokenType, String authToken) { in setAuthToken() argument
2746 + ", authTokenType " + authTokenType in setAuthToken()
2751 Objects.requireNonNull(authTokenType, "authTokenType cannot be null"); in setAuthToken()
2763 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-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...