Lines Matching defs:bundle

213      * The Android package of the caller will be set in the options bundle by the
540 public String bundleToResult(Bundle bundle) throws AuthenticatorException {
541 if (!bundle.containsKey(KEY_AUTH_TOKEN_LABEL)) {
544 return bundle.getString(KEY_AUTH_TOKEN_LABEL);
581 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
582 if (!bundle.containsKey(KEY_BOOLEAN_RESULT)) {
585 return bundle.getBoolean(KEY_BOOLEAN_RESULT);
625 public Account[] bundleToResult(Bundle bundle) throws AuthenticatorException {
626 if (!bundle.containsKey(KEY_ACCOUNTS)) {
629 final Parcelable[] parcelables = bundle.getParcelableArray(KEY_ACCOUNTS);
701 public Account bundleToResult(Bundle bundle) throws AuthenticatorException {
702 String name = bundle.getString(KEY_ACCOUNT_NAME);
703 String type = bundle.getString(KEY_ACCOUNT_TYPE);
762 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
763 if (!bundle.containsKey(KEY_BOOLEAN_RESULT)) {
766 return bundle.getBoolean(KEY_BOOLEAN_RESULT);
835 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
836 if (!bundle.containsKey(KEY_BOOLEAN_RESULT)) {
839 return bundle.getBoolean(KEY_BOOLEAN_RESULT);
1076 Bundle bundle = getAuthToken(account, authTokenType, notifyAuthFailure, null /* callback */,
1078 if (bundle == null) {
1081 // TODO: remove this when the bug is found that sometimes causes a null bundle to be
1087 return bundle.getString(KEY_AUTHTOKEN);
1470 public Boolean bundleToResult(Bundle bundle) throws AuthenticatorException {
1471 if (!bundle.containsKey(KEY_BOOLEAN_RESULT)) {
1474 return bundle.getBoolean(KEY_BOOLEAN_RESULT);
1772 protected void set(Bundle bundle) {
1776 if (bundle == null) {
1777 Log.e(TAG, "the bundle must not be null", new Exception());
1779 super.set(bundle);
1840 public void onResult(Bundle bundle) {
1841 Intent intent = bundle.getParcelable(KEY_INTENT);
1847 } else if (bundle.getBoolean("retry")) {
1855 set(bundle);
1889 public abstract T bundleToResult(Bundle bundle) throws AuthenticatorException;
1905 public void onResult(Bundle bundle) {
1907 T result = bundleToResult(bundle);