List of usage examples for android.os Parcel writeLong
public final void writeLong(long val)
From source file:edu.vuum.mocca.orm.StoryData.java
@Override /**/*from w w w. j av a2s . c o m*/ * Used for writing a copy of this object to a Parcel, do not manually call. */ public void writeToParcel(Parcel dest, int flags) { dest.writeLong(KEY_ID); dest.writeLong(loginId); dest.writeLong(storyId); dest.writeString(title); dest.writeString(body); dest.writeString(audioLink); dest.writeString(videoLink); dest.writeString(imageName); dest.writeString(imageLink); dest.writeString(tags); dest.writeLong(creationTime); dest.writeLong(storyTime); dest.writeDouble(latitude); dest.writeDouble(longitude); dest.writeString(key); dest.writeString(href); }
From source file:saphion.batterycaster.providers.Alarm.java
public void writeToParcel(Parcel p, int flags) { p.writeLong(id); p.writeInt(enabled ? 1 : 0);/*from ww w. jav a 2 s .c o m*/ p.writeInt(battery); p.writeInt(charge); p.writeInt(daysOfWeek.getBitSet()); p.writeInt(vibrate ? 1 : 0); p.writeString(label); p.writeParcelable(alert, flags); p.writeInt(deleteAfterUse ? 1 : 0); }
From source file:com.mobiperf_library.measurements.HttpTask.java
@Override public void writeToParcel(Parcel dest, int flags) { super.writeToParcel(dest, flags); dest.writeLong(duration); }
From source file:istat.android.telephony.sms.Sms.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(_id);//w w w .jav a 2 s. c om dest.writeString(thread_id); dest.writeString(address); dest.writeString(person); dest.writeLong(date); dest.writeString(protocol); dest.writeString(read); dest.writeString(status); dest.writeString(type); dest.writeString(reply_path_present); dest.writeString(subject); dest.writeString(body); dest.writeString(service_center); dest.writeString(locked); }
From source file:com.codebutler.farebot.transit.suica.SuicaTrip.java
@Override public void writeToParcel(Parcel parcel, int flags) { parcel.writeLong(mBalance); parcel.writeInt(mConsoleType);//from ww w . ja va 2s . com parcel.writeInt(mProcessType); parcel.writeInt(mIsProductSale ? 1 : 0); parcel.writeInt(mIsBus ? 1 : 0); parcel.writeInt(mIsCharge ? 1 : 0); parcel.writeLong(mFare); parcel.writeLong(mTimestamp.getTime()); parcel.writeInt(mRegionCode); parcel.writeInt(mRailEntranceLineCode); parcel.writeInt(mRailEntranceStationCode); parcel.writeInt(mRailExitLineCode); parcel.writeInt(mRailExitStationCode); parcel.writeInt(mBusLineCode); parcel.writeInt(mBusStopCode); if (mStartStation != null) { parcel.writeInt(1); parcel.writeParcelable(mStartStation, flags); } else { parcel.writeInt(0); } if (mEndStation != null) { parcel.writeInt(1); parcel.writeParcelable(mEndStation, flags); } else { parcel.writeInt(0); } }
From source file:com.fanfou.app.opensource.api.bean.User.java
@Override public void writeToParcel(final Parcel dest, final int flags) { dest.writeString(this.id); dest.writeString(this.ownerId); dest.writeLong(this.createdAt.getTime()); dest.writeInt(this.type); dest.writeString(this.screenName); dest.writeString(this.location); dest.writeString(this.gender); dest.writeString(this.birthday); dest.writeString(this.description); dest.writeString(this.profileImageUrl); dest.writeString(this.url); dest.writeInt(this.protect ? 1 : 0); dest.writeInt(this.followersCount); dest.writeInt(this.friendsCount); dest.writeInt(this.favouritesCount); dest.writeInt(this.statusesCount); dest.writeInt(this.following ? 1 : 0); }
From source file:jp.alessandro.android.iab.Item.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(mOriginalJson);/*from w w w. ja va 2 s . c o m*/ dest.writeString(mSku); dest.writeString(mType); dest.writeString(mTitle); dest.writeString(mDescription); dest.writeString(mCurrency); dest.writeString(mPrice); dest.writeLong(mPriceMicros); dest.writeString(mSubscriptionPeriod); dest.writeString(mFreeTrialPeriod); dest.writeString(mIntroductoryPrice); dest.writeLong(mIntroductoryPriceAmountMicros); dest.writeString(mIntroductoryPricePeriod); dest.writeInt(mIntroductoryPriceCycles); }
From source file:com.mobilyzer.measurements.HttpTask.java
@Override public void writeToParcel(Parcel dest, int flags) { super.writeToParcel(dest, flags); dest.writeLong(duration); dest.writeLong(dataConsumed);//from w w w .jav a 2 s . c o m }
From source file:fr.free.nrw.commons.contributions.Contribution.java
@Override public void writeToParcel(Parcel parcel, int flags) { super.writeToParcel(parcel, flags); parcel.writeParcelable(contentUri, flags); parcel.writeString(source);// w w w. j a va 2s . c o m parcel.writeInt(state); parcel.writeLong(transferred); parcel.writeInt(isMultiple ? 1 : 0); }
From source file:com.example.testmoodle.util.Document.java
public void writeToParcel(Parcel dest, int flags) { dest.writeString(type);//from w w w. j a v a2 s. c om dest.writeString(fileName); dest.writeString(filePath); dest.writeInt(fileSize); dest.writeString(fileURL); dest.writeString(content); dest.writeLong(timeCreated); dest.writeLong(timeModified); dest.writeInt(sortedOrder); dest.writeInt(userID); dest.writeString(author); dest.writeString(license); }