Lines Matching refs:AccountManager
21 import android.accounts.AccountManager;
49 result.putString(AccountManager.KEY_ACCOUNT_NAME,
51 result.putString(AccountManager.KEY_ACCOUNT_TYPE,
54 AccountManager.KEY_AUTHTOKEN,
78 result.putString(AccountManager.KEY_ACCOUNT_NAME, accountName);
79 result.putString(AccountManager.KEY_ACCOUNT_TYPE, mAccountType);
80 result.putString(AccountManager.KEY_AUTHTOKEN,
87 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, accountName);
88 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_TYPE, accountType);
94 result.putParcelable(AccountManager.KEY_INTENT, intent);
98 AccountManager.ERROR_CODE_INVALID_RESPONSE,
116 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true);
117 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
118 result.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
122 eventualActivityResultData.putExtra(AccountManager.KEY_BOOLEAN_RESULT, true);
123 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, account.name);
124 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_TYPE, account.type);
132 result.putParcelable(AccountManager.KEY_INTENT, intent);
137 AccountManager.ERROR_CODE_INVALID_RESPONSE,
159 AccountManager.KEY_AUTHTOKEN, AccountManagerServiceTestFixtures.AUTH_TOKEN);
163 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
164 result.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
169 AccountManager.KEY_AUTHTOKEN, AccountManagerServiceTestFixtures.AUTH_TOKEN);
173 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, account.name);
174 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_TYPE, account.type);
182 result.putParcelable(AccountManager.KEY_INTENT, intent);
187 AccountManager.ERROR_CODE_INVALID_RESPONSE,
211 result.putString(AccountManager.KEY_ACCOUNT_NAME, account.name);
212 result.putString(AccountManager.KEY_ACCOUNT_TYPE, account.type);
216 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME, account.name);
217 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_TYPE, account.type);
225 result.putParcelable(AccountManager.KEY_INTENT, intent);
230 AccountManager.ERROR_CODE_INVALID_RESPONSE,
244 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true);
246 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true);
249 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, false);
283 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle);
284 result.putString(AccountManager.KEY_ACCOUNT_STATUS_TOKEN,
286 result.putString(AccountManager.KEY_PASSWORD, password);
287 result.putString(AccountManager.KEY_AUTHTOKEN,
293 eventualActivityResultData.putExtra(AccountManager.KEY_AUTHTOKEN,
295 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_STATUS_TOKEN,
297 eventualActivityResultData.putExtra(AccountManager.KEY_PASSWORD, password);
298 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE,
306 result.putParcelable(AccountManager.KEY_INTENT, intent);
338 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle);
339 result.putString(AccountManager.KEY_ACCOUNT_STATUS_TOKEN,
341 result.putString(AccountManager.KEY_PASSWORD,
343 result.putString(AccountManager.KEY_AUTHTOKEN,
349 eventualActivityResultData.putExtra(AccountManager.KEY_AUTHTOKEN,
351 AccountManager.KEY_ACCOUNT_STATUS_TOKEN,
353 eventualActivityResultData.putExtra(AccountManager.KEY_PASSWORD,
355 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE,
363 result.putParcelable(AccountManager.KEY_INTENT, intent);
389 result.putBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE, sessionBundle);
391 result.putString(AccountManager.KEY_ACCOUNT_NAME,
393 result.putString(AccountManager.KEY_ACCOUNT_TYPE,
395 result.putString(AccountManager.KEY_AUTHTOKEN,
401 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_NAME,
403 eventualActivityResultData.putExtra(AccountManager.KEY_ACCOUNT_TYPE,
405 eventualActivityResultData.putExtra(AccountManager.KEY_AUTHTOKEN,
414 result.putParcelable(AccountManager.KEY_INTENT, intent);
431 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true);
436 AccountManager.ERROR_CODE_INVALID_RESPONSE,
449 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, true);
453 result.putParcelable(AccountManager.KEY_INTENT, intent);
455 result.putBoolean(AccountManager.KEY_BOOLEAN_RESULT, false);
461 int errorCode = AccountManager.ERROR_CODE_INVALID_RESPONSE;
464 errorCode = options.getInt(AccountManager.KEY_ERROR_CODE);
465 errorMsg = options.getString(AccountManager.KEY_ERROR_MESSAGE);
471 result.putInt(AccountManager.KEY_ERROR_CODE, errorCode);
472 result.putString(AccountManager.KEY_ERROR_MESSAGE, errorMsg);