/cts/tests/tests/accounts/common/src/android/accounts/cts/common/tx/ |
GetAuthTokenLabelTx.java | 22 public final String authTokenType; 26 authTokenType = in.readString(); 31 String authTokenType, 33 this.authTokenType = authTokenType; 44 out.writeString(authTokenType);
|
AddAccountTx.java | 27 public final String authTokenType; 34 authTokenType = in.readString(); 42 String authTokenType, 47 this.authTokenType = authTokenType; 65 out.writeString(authTokenType);
|
GetAuthTokenTx.java | 25 public final String authTokenType; 31 authTokenType = in.readString(); 38 String authTokenType, 42 this.authTokenType = authTokenType; 55 out.writeString(authTokenType);
|
UpdateCredentialsTx.java | 25 public final String authTokenType; 31 authTokenType = in.readString(); 38 String authTokenType, 42 this.authTokenType = authTokenType; 55 out.writeString(authTokenType);
|
/frameworks/base/core/java/android/accounts/ |
IAccountAuthenticator.aidl | 32 String authTokenType, in String[] requiredFeatures, in Bundle options); 44 String authTokenType, in Bundle options); 49 void getAuthTokenLabel(in IAccountAuthenticatorResponse response, String authTokenType); 55 String authTokenType, in Bundle options); 92 String authTokenType, in String[] requiredFeatures, in Bundle options); 98 String authTokenType, in Bundle options);
|
AbstractAccountAuthenticator.java | 158 String authTokenType, String[] features, Bundle options) 162 + ", authTokenType " + authTokenType 169 accountType, authTokenType, features, options); 211 String authTokenType) 214 Log.v(TAG, "getAuthTokenLabel: authTokenType " + authTokenType); 220 AbstractAccountAuthenticator.this.getAuthTokenLabel(authTokenType)); 230 handleException(response, "getAuthTokenLabel", authTokenType, e); 236 Account account, String authTokenType, Bundle loginOptions [all...] |
IAccountManager.aidl | 52 String peekAuthToken(in Account account, String authTokenType); 53 void setAuthToken(in Account account, String authTokenType, String authToken); 57 void updateAppPermission(in Account account, String authTokenType, int uid, boolean value); 60 String authTokenType, boolean notifyOnAuthFailure, boolean expectActivityLaunch, 63 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, 66 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, 69 String authTokenType, boolean expectActivityLaunch, in Bundle options); 76 String authTokenType); 90 String authTokenType, in String[] requiredFeatures, boolean expectActivityLaunch, 95 String authTokenType, boolean expectActivityLaunch, in Bundle options) [all...] |
AccountManager.java | 575 * @param authTokenType The type of token whose permissions are being modified 580 public void updateAppPermission(Account account, String authTokenType, int uid, boolean value) { 582 mService.updateAppPermission(account, authTokenType, uid, value); 591 * @param authTokenType the token type. must not be null. 598 final String accountType, final String authTokenType, 601 if (authTokenType == null) throw new IllegalArgumentException("authTokenType is null"); 605 mService.getAuthTokenLabel(mResponse, accountType, authTokenType); [all...] |
/frameworks/volley/src/main/java/com/android/volley/toolbox/ |
AndroidAuthenticator.java | 42 * @param authTokenType Auth token type passed to AccountManager 44 public AndroidAuthenticator(Context context, Account account, String authTokenType) { 45 this(context, account, authTokenType, false); 52 * @param authTokenType Auth token type passed to AccountManager 55 public AndroidAuthenticator(Context context, Account account, String authTokenType, 57 this(AccountManager.get(context), account, authTokenType, notifyAuthFailure); 62 String authTokenType, boolean notifyAuthFailure) { 65 mAuthTokenType = authTokenType;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/accounts/ |
AuthUtils.java | 53 final String authTokenType, final Bundle options, final boolean notifyAuthFailure, 55 return mAccountManager.getAuthToken(account, authTokenType, options, notifyAuthFailure, 62 public String blockingGetAuthToken(final Account account, final String authTokenType, 65 return mAccountManager.blockingGetAuthToken(account, authTokenType, notifyAuthFailure);
|
/cts/hostsidetests/devicepolicy/app/AccountManagement/src/com/android/cts/devicepolicy/accountmanagement/ |
MockAccountAuthenticator.java | 51 String authTokenType, String[] requiredFeatures, Bundle options) 63 String authTokenType, Bundle options) throws NetworkErrorException { 78 String authTokenType, Bundle options) throws NetworkErrorException { 83 public String getAuthTokenLabel(String authTokenType) {
|
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/ |
AccountAuthenticator.java | 49 String authTokenType, String[] requiredFeatures, Bundle options) 61 String authTokenType, Bundle options) throws NetworkErrorException { 76 String authTokenType, Bundle options) throws NetworkErrorException { 81 public String getAuthTokenLabel(String authTokenType) {
|
/cts/tests/tests/content/src/android/content/cts/ |
MockAccountAuthenticator.java | 51 String authTokenType, String[] requiredFeatures, Bundle options) 63 String authTokenType, Bundle options) throws NetworkErrorException { 78 String authTokenType, Bundle options) throws NetworkErrorException { 83 public String getAuthTokenLabel(String authTokenType) {
|
/cts/tests/tests/provider/src/android/provider/cts/contacts/account/ |
StaticAccountAuthenticator.java | 64 String authTokenType, String[] requiredFeatures, Bundle options) 79 String authTokenType, Bundle options) throws NetworkErrorException { 84 public String getAuthTokenLabel(String authTokenType) { 90 String authTokenType, Bundle options) throws NetworkErrorException {
|
/external/robolectric/v1/src/test/java/com/xtremelabs/robolectric/shadows/ |
AccountManagerTest.java | 30 private String authTokenType; 39 authTokenType = "authTokenType"; 46 accountManager.getAuthTokenByFeatures(accountType, authTokenType, features, activity, null, null, null, null); 56 accountManager.getAuthTokenByFeatures(accountType, authTokenType, features, activity, null, null, null, null); 66 accountManager.getAuthTokenByFeatures(accountType, authTokenType, features, activity, null, null, null, null); 82 accountManager.getAuthTokenByFeatures(accountType, authTokenType, features, activity, null, null, null, null); 93 accountManager.getAuthToken(ACCOUNT, authTokenType, null, activity, null, null); 132 shadowOf(accountManager).setCachedAuthToken(ACCOUNT, authTokenType, "myToken"); 134 String authToken = accountManager.peekAuthToken(ACCOUNT, authTokenType); [all...] |
/development/samples/SampleSyncAdapter/src/com/example/android/samplesync/authenticator/ |
Authenticator.java | 65 String authTokenType, String[] requiredFeatures, Bundle options) { 89 String authTokenType, Bundle loginOptions) throws NetworkErrorException { 94 if (!authTokenType.equals(Constants.AUTHTOKEN_TYPE)) { 96 result.putString(AccountManager.KEY_ERROR_MESSAGE, "invalid authTokenType"); 120 intent.putExtra(AuthenticatorActivity.PARAM_AUTHTOKEN_TYPE, authTokenType); 128 public String getAuthTokenLabel(String authTokenType) { 148 String authTokenType, Bundle loginOptions) {
|
/cts/hostsidetests/devicepolicy/app/AccountCheck/Auth/src/com/android/cts/devicepolicy/accountcheck/ |
TestAuthenticator.java | 60 String authTokenType, String[] requiredFeatures, Bundle options) 93 String authTokenType, Bundle options) throws NetworkErrorException { 105 String authTokenType, Bundle options) throws NetworkErrorException { 110 public String getAuthTokenLabel(String authTokenType) {
|
/cts/tests/tests/accounts/src/android/accounts/cts/ |
MockAccountAuthenticator.java | 148 String authTokenType, String[] requiredFeatures, Bundle options) 152 this.mAuthTokenType = authTokenType; 165 String authTokenType, Bundle options) throws NetworkErrorException { 168 this.mAuthTokenType = authTokenType; 213 String authTokenType, 219 this.mAuthTokenType = authTokenType; 226 if (AccountManagerTest.AUTH_EXPIRING_TOKEN_TYPE.equals(authTokenType)) { 242 * Ask the authenticator for a localized label for the given authTokenType. 245 public String getAuthTokenLabel(String authTokenType) { 246 this.mAuthTokenType = authTokenType; [all...] |
/packages/apps/ContactsCommon/tests/src/com/android/contacts/common/tests/testauth/ |
TestAuthenticator.java | 63 String authTokenType, String[] requiredFeatures, Bundle options) { 83 String authTokenType, Bundle loginOptions) { 107 public String getAuthTokenLabel(String authTokenType) { 127 String authTokenType, Bundle loginOptions) {
|
/packages/apps/Email/provider_src/com/android/email/service/ |
EasTestAuthenticatorService.java | 49 String authTokenType, String[] requiredFeatures, Bundle options) 91 String authTokenType, Bundle loginOptions) throws NetworkErrorException { 96 public String getAuthTokenLabel(String authTokenType) { 109 String authTokenType, Bundle loginOptions) {
|
AuthenticatorService.java | 57 String authTokenType, String[] requiredFeatures, Bundle options) 133 String authTokenType, Bundle loginOptions) throws NetworkErrorException { 138 public String getAuthTokenLabel(String authTokenType) { 151 String authTokenType, Bundle loginOptions) {
|
/external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowAccountManager.java | 50 public AccountManagerFuture<Bundle> getAuthToken(Account account, String authTokenType, Bundle options, Activity activity, AccountManagerCallback<Bundle> callback, Handler handler) { 108 public AccountManagerFuture<Bundle> getAuthTokenByFeatures(String accountType, String authTokenType, String[] features, Activity activity, Bundle addAccountOptions, Bundle getAuthTokenOptions, AccountManagerCallback<Bundle> callback, Handler handler) { 191 public String peekAuthToken(Account account, String authTokenType) { 193 return (tokens != null) ? tokens.get(authTokenType) : null; 196 public void setCachedAuthToken(Account account, String authTokenType, String authTokenValue) { 200 cachedAuthTokenValues.get(account).put(authTokenType, authTokenValue);
|
/development/apps/Development/src/com/android/development/ |
AccountsTester.java | 213 String authTokenType = mDesiredAuthTokenTypeEditText.getText().toString(); 214 if (TextUtils.isEmpty(authTokenType)) { 215 authTokenType = null; 223 authTokenType, requiredFeatures, null /* options */, 316 String authTokenType = value.getText().toString(); 320 authTokenType, 327 mAccountManager.getAuthToken(account, authTokenType, false, 330 String[] features = TextUtils.split(authTokenType, ","); 336 authTokenType, null /* loginOptions */, 357 String authTokenType = value.getText().toString() [all...] |
/cts/tests/tests/accounts/common/src/android/accounts/cts/common/ |
TestAccountAuthenticator.java | 58 String authTokenType, 72 new AddAccountTx(accountType, authTokenType, requiredFeatures, options, result)); 167 String authTokenType, 174 new GetAuthTokenTx(account, authTokenType, options, result)); 227 public String getAuthTokenLabel(String authTokenType) { 228 String result = "Label:" + authTokenType; 230 new GetAuthTokenLabelTx(authTokenType, result)); 238 String authTokenType, 245 new UpdateCredentialsTx(account, authTokenType, options, result));
|
/frameworks/base/services/core/java/com/android/server/accounts/ |
AccountManagerService.java | [all...] |