Home | History | Annotate | Download | only in accounts

Lines Matching defs:Bundle

66 import android.os.Bundle;
961 public boolean addAccountExplicitly(Account account, String password, Bundle extras) {
962 Bundle.setDefusable(extras, true);
1008 Bundle result = new Bundle();
1038 public void onResult(Bundle result) {
1039 Bundle.setDefusable(result, true);
1042 // Create a Session for the target user and pass in the bundle
1111 final Bundle accountCredentials, final Account account, final UserAccounts targetUser,
1113 Bundle.setDefusable(accountCredentials, true);
1142 public void onResult(Bundle result) {
1143 Bundle.setDefusable(result, true);
1164 Bundle extras, int callingUid) {
1165 Bundle.setDefusable(extras, true);
1319 public void onResult(Bundle result) {
1320 Bundle.setDefusable(result, true);
1325 response.onError(AccountManager.ERROR_CODE_INVALID_RESPONSE, "null bundle");
1332 final Bundle newResult = new Bundle();
1375 Bundle result = new Bundle();
1623 public void onResult(Bundle result) {
1624 Bundle.setDefusable(result, true);
1637 Bundle result2 = new Bundle();
2060 private void onResult(IAccountManagerResponse response, Bundle result) {
2111 public void onResult(Bundle result) {
2112 Bundle.setDefusable(result, true);
2115 Bundle bundle = new Bundle();
2116 bundle.putString(AccountManager.KEY_AUTH_TOKEN_LABEL, label);
2117 super.onResult(bundle);
2136 final Bundle loginOptions) {
2137 Bundle.setDefusable(loginOptions, true);
2218 Bundle result = new Bundle();
2243 Bundle result = new Bundle();
2282 public void onResult(Bundle result) {
2283 Bundle.setDefusable(result, true);
2291 Bundle bundle = new Bundle();
2292 bundle.putParcelable(AccountManager.KEY_INTENT, intent);
2293 onResult(bundle);
2454 final boolean expectActivityLaunch, final Bundle optionsIn) {
2455 Bundle.setDefusable(optionsIn, true);
2492 final Bundle options = (optionsIn == null) ? new Bundle() : optionsIn;
2529 final boolean expectActivityLaunch, final Bundle optionsIn, int userId) {
2530 Bundle.setDefusable(optionsIn, true);
2576 final Bundle options = (optionsIn == null) ? new Bundle() : optionsIn;
2616 final Bundle optionsIn) {
2617 Bundle.setDefusable(optionsIn, true);
2665 final Bundle options = (optionsIn == null) ? new Bundle() : optionsIn;
2729 public void onResult(Bundle result) {
2730 Bundle.setDefusable(result, true);
2759 "null bundle returned");
2779 // Get the session bundle created by authenticator. The
2780 // bundle contains data necessary for finishing the session
2781 // later. The session bundle will be encrypted here and
2783 Bundle sessionBundle = result.getBundle(AccountManager.KEY_ACCOUNT_SESSION_BUNDLE);
2788 Log.w(TAG, "Account type in session bundle doesn't match request.");
2790 // Add accountType info to session bundle. This will
2794 // Encrypt session bundle before returning to caller.
2797 Bundle encryptedBundle = cryptoHelper.encryptBundle(sessionBundle);
2801 Log.v(TAG, "Failed to encrypt session bundle!", e);
2804 "failed to encrypt session bundle");
2815 @NonNull Bundle sessionBundle,
2817 Bundle appInfo,
2819 Bundle.setDefusable(sessionBundle, true);
2834 // Session bundle is the encrypted bundle of the original bundle created by authenticator.
2866 final Bundle decryptedBundle;
2868 // First decrypt session bundle to get account type for checking permission.
2876 "failed to decrypt session bundle");
2880 // Account type cannot be null. This should not happen if session bundle was created
2903 Log.v(TAG, "Failed to decrypt session bundle!", e);
2908 "failed to decrypt session bundle");
2972 final Bundle options,
2975 Bundle.setDefusable(options, true);
3018 final Bundle loginOptions) {
3019 Bundle.setDefusable(loginOptions, true);
3061 final Bundle loginOptions) {
3062 Bundle.setDefusable(loginOptions, true);
3176 public void onResult(Bundle result) {
3177 Bundle.setDefusable(result, true);
3187 "null bundle");
3210 final Bundle newResult = new Bundle();
3337 public void onResult(Bundle result) {
3338 Bundle.setDefusable(result, true);
3341 onError(AccountManager.ERROR_CODE_INVALID_RESPONSE, "null bundle");
3363 Bundle result = new Bundle();
3694 Bundle result = new Bundle();
3712 Bundle result = new Bundle();
3971 public void onResult(Bundle result) {
3972 Bundle.setDefusable(result, true);
4040 "null bundle returned");
5550 private void sendResponse(IAccountManagerResponse response, Bundle result) {