/frameworks/base/core/java/android/accounts/ |
D | AbstractAccountAuthenticator.java | 157 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 …]
|
D | IAccountAuthenticator.aidl | 33 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
|
D | IAccountManager.aidl | 53 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
|
D | AccountManager.java | 862 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { in updateAppPermission() argument 864 mService.updateAppPermission(account, authTokenType, uid, value); in updateAppPermission() 880 final String accountType, final String authTokenType, in getAuthTokenLabel() argument 883 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); in getAuthTokenLabel() 887 mService.getAuthTokenLabel(mResponse, accountType, authTokenType); in getAuthTokenLabel() 1488 public String peekAuthToken(final Account account, final String authTokenType) { 1490 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); 1492 return mService.peekAuthToken(account, authTokenType); 1602 public void setAuthToken(Account account, final String authTokenType, final String authToken) { 1604 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); [all …]
|
D | ChooseTypeAndAccountActivity.java | 388 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/ |
D | TestAccountType2Authenticator.java | 56 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
|
D | TestAccountType1Authenticator.java | 61 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/ |
D | AccountManagerService.java | 2529 String authTokenType = cursor.getString(2); in invalidateAuthTokenLocked() local 2531 results.add(Pair.create(new Account(accountName, accountType), authTokenType)); in invalidateAuthTokenLocked() 2593 public String peekAuthToken(Account account, String authTokenType) { in peekAuthToken() argument 2597 + ", authTokenType " + authTokenType in peekAuthToken() 2602 Objects.requireNonNull(authTokenType, "authTokenType cannot be null"); in peekAuthToken() 2619 return readAuthTokenInternal(accounts, account, authTokenType); in peekAuthToken() 2626 public void setAuthToken(Account account, String authTokenType, String authToken) { in setAuthToken() argument 2630 + ", authTokenType " + authTokenType in setAuthToken() 2635 Objects.requireNonNull(authTokenType, "authTokenType cannot be null"); in setAuthToken() 2647 saveAuthTokenToDatabase(accounts, account, authTokenType, authToken); in setAuthToken() [all …]
|
D | AccountsDb.java | 381 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/ |
D | MockAccountManager.java | 77 public String blockingGetAuthToken(Account account, String authTokenType, in blockingGetAuthToken() argument
|