Ejemplo n.º 1
1
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(key);
   dest.writeString(lineKey);
   dest.writeInt(numVotes);
   dest.writeString(text);
 }
Ejemplo n.º 2
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(bookName);
   dest.writeInt(chapterNum);
   dest.writeString(verseNum);
   dest.writeInt(id);
 }
Ejemplo n.º 3
0
 @Override
 public void writeToParcel(Parcel parcel, int arg1) {
   // TODO Auto-generated method stub
   parcel.writeString(name);
   parcel.writeString(desc);
   parcel.writeString(uid);
 }
Ejemplo n.º 4
0
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(event_id);
   dest.writeInt(duration);
   dest.writeString(summary);
   dest.writeString(url);
   dest.writeLong(start_time);
 }
Ejemplo n.º 5
0
 @Override
 public boolean onTransact(int code, android.os.Parcel data, android.os.Parcel reply, int flags)
     throws android.os.RemoteException {
   switch (code) {
     case INTERFACE_TRANSACTION:
       {
         reply.writeString(DESCRIPTOR);
         return true;
       }
     case TRANSACTION_getName:
       {
         data.enforceInterface(DESCRIPTOR);
         java.lang.String _result = this.getName();
         reply.writeNoException();
         reply.writeString(_result);
         return true;
       }
     case TRANSACTION_getAge:
       {
         data.enforceInterface(DESCRIPTOR);
         int _result = this.getAge();
         reply.writeNoException();
         reply.writeInt(_result);
         return true;
       }
   }
   return super.onTransact(code, data, reply, flags);
 }
  @Override
  public void writeToParcel(final Parcel dest, final int flags) {
    dest.writeSerializable(standard);

    dest.writeString(payeeName);
    dest.writeString(payeeVerifiedBy);

    if (outputs != null) {
      dest.writeInt(outputs.length);
      dest.writeTypedArray(outputs, 0);
    } else {
      dest.writeInt(0);
    }

    dest.writeString(memo);

    dest.writeString(paymentUrl);

    if (payeeData != null) {
      dest.writeInt(payeeData.length);
      dest.writeByteArray(payeeData);
    } else {
      dest.writeInt(0);
    }

    dest.writeString(paymentRequestUrl);
  }
Ejemplo n.º 7
0
 @Override
 public void writeToParcel(Parcel parcel, int i) {
   parcel.writeString(mValue);
   parcel.writeString(mValuePercent);
   parcel.writeString(mTitle);
   parcel.writeString(mStatsUrl);
 }
Ejemplo n.º 8
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(this.deviceId);
   dest.writeString(this.dataPayload);
   dest.writeValue(this.publishedAt);
   dest.writeValue(this.timeToLive);
 }
Ejemplo n.º 9
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(cover_id);
   dest.writeString(source);
   dest.writeInt(offset_x);
   dest.writeInt(offset_y);
 }
Ejemplo n.º 10
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeInt(this.artistId);
   dest.writeString(this.artistName);
   dest.writeString(this.artistAvatar);
   dest.writeString(this.area);
 }
Ejemplo n.º 11
0
 @Override
 public void writeToParcel(Parcel parcel, int flags) {
   parcel.writeString(Title);
   parcel.writeString(Url);
   parcel.writeString(Price);
   parcel.writeString(Description);
 }
Ejemplo n.º 12
0
 /**
  * Returns the current SKUs owned by the user of the type and package name specified along
  * with purchase information and a signature of the data to be validated. This will return all
  * SKUs that have been purchased in V3 and managed items purchased using V1 and V2 that have
  * not been consumed.
  *
  * @param apiVersion billing API version that the app is using
  * @param packageName package name of the calling app
  * @param type the type of the in-app items being requested ("inapp" for one-time purchases
  *     and "subs" for subscription).
  * @param continuationToken to be set as null for the first call, if the number of owned skus
  *     are too many, a continuationToken is returned in the response bundle. This method can
  *     be called again with the continuation token to get the next set of owned skus.
  * @return Bundle containing the following key-value pairs "RESPONSE_CODE" with int value,
  *     RESULT_OK(0) if success, other response codes on failure as listed above.
  *     "INAPP_PURCHASE_ITEM_LIST" - StringArrayList containing the list of SKUs
  *     "INAPP_PURCHASE_DATA_LIST" - StringArrayList containing the purchase information
  *     "INAPP_DATA_SIGNATURE_LIST"- StringArrayList containing the signatures of the purchase
  *     information "INAPP_CONTINUATION_TOKEN" - String containing a continuation token for the
  *     next set of in-app purchases. Only set if the user has more owned skus than the current
  *     list.
  */
 @Override
 public android.os.Bundle getPurchases(
     int apiVersion,
     java.lang.String packageName,
     java.lang.String type,
     java.lang.String continuationToken)
     throws android.os.RemoteException {
   android.os.Parcel _data = android.os.Parcel.obtain();
   android.os.Parcel _reply = android.os.Parcel.obtain();
   android.os.Bundle _result;
   try {
     _data.writeInterfaceToken(DESCRIPTOR);
     _data.writeInt(apiVersion);
     _data.writeString(packageName);
     _data.writeString(type);
     _data.writeString(continuationToken);
     mRemote.transact(Stub.TRANSACTION_getPurchases, _data, _reply, 0);
     _reply.readException();
     if ((0 != _reply.readInt())) {
       _result = android.os.Bundle.CREATOR.createFromParcel(_reply);
     } else {
       _result = null;
     }
   } finally {
     _reply.recycle();
     _data.recycle();
   }
   return _result;
 }
Ejemplo n.º 13
0
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(avatar);
   dest.writeString(account);
   dest.writeString(name);
   dest.writeString(sort);
   dest.writeString(index);
 }
Ejemplo n.º 14
0
  /**
   * Write parcelable object
   *
   * @param dest The Parcel in which the object should be written
   * @param flags Additional flags about how the object should be written
   */
  public void writeToParcel(Parcel dest, int flags) {
    dest.writeLong(timestamp);
    dest.writeString(status);
    dest.writeString(freetext);

    if (favoriteLink != null) {
      dest.writeByte((byte) 1);
      favoriteLink.writeToParcel(dest, flags);
    } else {
      dest.writeByte((byte) 0);
    }

    if (photo != null) {
      dest.writeByte((byte) 1);
      photo.writeToParcel(dest, flags);
    } else {
      dest.writeByte((byte) 0);
    }

    if (geoloc != null) {
      dest.writeByte((byte) 1);
      geoloc.writeToParcel(dest, flags);
    } else {
      dest.writeByte((byte) 0);
    }
  }
Ejemplo n.º 15
0
 public void writeToParcel(Parcel dest, int parcelableFlags) {
   dest.writeString(packageName);
   dest.writeInt(versionCode);
   dest.writeString(versionName);
   dest.writeString(sharedUserId);
   // M
   // Theme feature
   dest.writeInt(isThemePackage);
   dest.writeInt(themeNameId);
   // M
   dest.writeInt(sharedUserLabel);
   if (applicationInfo != null) {
     dest.writeInt(1);
     applicationInfo.writeToParcel(dest, parcelableFlags);
   } else {
     dest.writeInt(0);
   }
   dest.writeLong(firstInstallTime);
   dest.writeLong(lastUpdateTime);
   dest.writeIntArray(gids);
   dest.writeTypedArray(activities, parcelableFlags);
   dest.writeTypedArray(receivers, parcelableFlags);
   dest.writeTypedArray(services, parcelableFlags);
   dest.writeTypedArray(providers, parcelableFlags);
   dest.writeTypedArray(instrumentation, parcelableFlags);
   dest.writeTypedArray(permissions, parcelableFlags);
   dest.writeStringArray(requestedPermissions);
   dest.writeTypedArray(signatures, parcelableFlags);
   dest.writeTypedArray(configPreferences, parcelableFlags);
   dest.writeTypedArray(reqFeatures, parcelableFlags);
   dest.writeInt(installLocation);
 }
 public final void writeToParcel(Parcel paramParcel, int paramInt) {
   paramParcel.writeInt(this.a);
   paramParcel.writeString(this.b);
   paramParcel.writeValue(this.c);
   paramParcel.writeString(this.d);
   paramParcel.writeString(this.f);
 }
Ejemplo n.º 17
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeInt(this.id);
   dest.writeString(this.category);
   dest.writeString(this.name);
   dest.writeByte(enabled ? (byte) 1 : (byte) 0);
 }
Ejemplo n.º 18
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeInt(_id);
   dest.writeInt(news_id);
   dest.writeString(type);
   dest.writeString(url);
 }
Ejemplo n.º 19
0
 @Override
 public void writeToParcel(Parcel parcel, int i) {
   parcel.writeString(mId);
   parcel.writeString(mAuthor);
   parcel.writeString(mContent);
   parcel.writeString(mUrl);
 }
Ejemplo n.º 20
0
 public Bundle m2330a(String str, String str2, Bundle bundle) throws RemoteException {
   Parcel obtain = Parcel.obtain();
   Parcel obtain2 = Parcel.obtain();
   try {
     obtain.writeInterfaceToken("com.google.android.auth.IAuthManagerService");
     obtain.writeString(str);
     obtain.writeString(str2);
     if (bundle != null) {
       obtain.writeInt(1);
       bundle.writeToParcel(obtain, 0);
     } else {
       obtain.writeInt(0);
     }
     this.kn.transact(1, obtain, obtain2, 0);
     obtain2.readException();
     Bundle bundle2 =
         obtain2.readInt() != 0 ? (Bundle) Bundle.CREATOR.createFromParcel(obtain2) : null;
     obtain2.recycle();
     obtain.recycle();
     return bundle2;
   } catch (Throwable th) {
     obtain2.recycle();
     obtain.recycle();
   }
 }
 /** @hide */
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(mId);
   dest.writeString(mReason);
   dest.writeInt(mResInstanceState);
   dest.writeString(mPresentityUri);
   dest.writeParcelableArray(mTupleInfoArray, flags);
 }
Ejemplo n.º 22
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(this.name);
   dest.writeString(this.age);
   dest.writeInt(this.photoId);
   dest.writeByte(selected ? (byte) 1 : (byte) 0);
 }
Ejemplo n.º 23
0
 @Override
 public void writeToParcel(final Parcel out, final int flags) {
   out.writeLong(position);
   out.writeLong(account_id);
   out.writeLong(id);
   out.writeLong(created_at);
   out.writeInt(is_protected ? 1 : 0);
   out.writeInt(is_verified ? 1 : 0);
   out.writeString(name);
   out.writeString(screen_name);
   out.writeString(description_plain);
   out.writeString(location);
   out.writeString(profile_image_url);
   out.writeString(profile_banner_url);
   out.writeString(url);
   out.writeInt(is_follow_request_sent ? 1 : 0);
   out.writeInt(followers_count);
   out.writeInt(friends_count);
   out.writeInt(statuses_count);
   out.writeInt(favorites_count);
   out.writeInt(is_cache ? 1 : 0);
   out.writeString(description_html);
   out.writeString(description_expanded);
   out.writeString(url_expanded);
   out.writeInt(is_following ? 1 : 0);
 }
 @Override
 public void writeToParcel(Parcel parcel, int arg1) {
   super.writeToParcel(parcel, arg1);
   parcel.writeString(paramName);
   parcel.writeString(contentType);
   parcel.writeString(fileName);
 }
Ejemplo n.º 25
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeString(isbn);
   dest.writeString(title);
   dest.writeString(price);
   dest.writeString(cover);
 }
Ejemplo n.º 26
0
 @Override
 public void writeToParcel(Parcel dest, int flags) {
   dest.writeLong(id);
   dest.writeString(content);
   dest.writeString(title);
   dest.writeInt(imageResId);
 }
Ejemplo n.º 27
0
 /**
  * Required for making object Parcelable. If you override this class, you must override this
  * method if you add any additional fields.
  */
 public void writeToParcel(Parcel out, int flags) {
   out.writeInt(mIdentifiers.size());
   LogManager.d(TAG, "serializing identifiers of size %s", mIdentifiers.size());
   for (Identifier identifier : mIdentifiers) {
     out.writeString(identifier == null ? null : identifier.toString());
   }
   out.writeDouble(getDistance());
   out.writeInt(mRssi);
   out.writeInt(mTxPower);
   out.writeString(mBluetoothAddress);
   out.writeInt(mBeaconTypeCode);
   out.writeInt(mServiceUuid);
   out.writeInt(mDataFields.size());
   for (Long dataField : mDataFields) {
     out.writeLong(dataField);
   }
   if (LogManager.isVerboseLoggingEnabled()) {
     LogManager.d(TAG, "writing " + mExtraDataFields.size() + " extra data fields to parcel");
   }
   out.writeInt(mExtraDataFields.size());
   for (Long dataField : mExtraDataFields) {
     out.writeLong(dataField);
   }
   out.writeInt(mManufacturer);
   out.writeString(mBluetoothName);
 }
Ejemplo n.º 28
0
  @Override
  public void writeToParcel(Parcel dest, int flags) {

    dest.writeInt(_exerciseid);
    dest.writeString(_exercisename);
    dest.writeString(_groupname);
  }
Ejemplo n.º 29
0
 @Override
 public void writeToParcel(Parcel out, int flags) {
   out.writeInt(_id);
   out.writeString(_name);
   out.writeString(_time);
   out.writeString(_amt);
 }
Ejemplo n.º 30
0
 public void writeToParcel(Parcel paramParcel, int paramInt)
 {
   int i = 1;
   paramParcel.writeString(this.mClassName);
   paramParcel.writeInt(this.mIndex);
   int j;
   label28: int k;
   if (this.mFromLayout)
   {
     j = i;
     paramParcel.writeInt(j);
     paramParcel.writeInt(this.mFragmentId);
     paramParcel.writeInt(this.mContainerId);
     paramParcel.writeString(this.mTag);
     if (!this.mRetainInstance)
       break label109;
     k = i;
     label68: paramParcel.writeInt(k);
     if (!this.mDetached)
       break label115;
   }
   while (true)
   {
     paramParcel.writeInt(i);
     paramParcel.writeBundle(this.mArguments);
     paramParcel.writeBundle(this.mSavedFragmentState);
     return;
     j = 0;
     break label28:
     label109: k = 0;
     break label68:
     label115: i = 0;
   }
 }