List of usage examples for android.os Parcel writeInt
public final void writeInt(int val)
From source file:com.codebutler.farebot.transit.SuicaTransitData.java
public void writeToParcel(Parcel parcel, int flags) { parcel.writeInt(mTrips.length); parcel.writeTypedArray(mTrips, flags); }
From source file:com.facebook.login.LoginClient.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeParcelableArray(handlersToTry, flags); dest.writeInt(currentHandler); dest.writeParcelable(pendingRequest, flags); Utility.writeStringMapToParcel(dest, loggingExtras); }
From source file:de.azapps.mirakel.model.list.ListMirakel.java
@Override public void writeToParcel(final Parcel dest, final int flags) { dest.writeInt(this.sortBy.ordinal()); dest.writeString(this.createdAt); dest.writeString(this.updatedAt); dest.writeInt(this.syncState.ordinal()); dest.writeInt(this.lft); dest.writeInt(this.rgt); dest.writeInt(this.color); dest.writeLong(this.accountID); dest.writeByte(isSpecial ? (byte) 1 : (byte) 0); dest.writeLong(this.getId()); dest.writeString(this.getName()); }
From source file:com.citrus.sdk.TransactionResponse.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeParcelable(this.balanceAmount, 0); dest.writeParcelable(this.transactionAmount, 0); dest.writeString(this.message); dest.writeString(this.responseCode); dest.writeInt(this.transactionStatus == null ? -1 : this.transactionStatus.ordinal()); dest.writeParcelable(this.transactionDetails, 0); dest.writeParcelable(this.citrusUser, 0); dest.writeInt(this.paymentMode == null ? -1 : this.paymentMode.ordinal()); dest.writeString(this.issuerCode); dest.writeString(this.impsMobileNumber); dest.writeString(this.impsMmid); dest.writeString(this.authIdCode); dest.writeString(this.signature); dest.writeString(this.maskedCardNumber); dest.writeByte(COD ? (byte) 1 : (byte) 0); dest.writeMap(this.customParamsMap); dest.writeString(this.jsonResponse); }
From source file:com.android.mail.providers.Attachment.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(name);/*from w ww . ja v a 2s . c o m*/ dest.writeInt(size); dest.writeParcelable(uri, flags); dest.writeString(contentType); dest.writeInt(state); dest.writeInt(destination); dest.writeInt(downloadedSize); dest.writeParcelable(contentUri, flags); dest.writeParcelable(thumbnailUri, flags); dest.writeParcelable(previewIntentUri, flags); dest.writeString(providerData); dest.writeInt(supportsDownloadAgain ? 1 : 0); dest.writeInt(type); dest.writeInt(flags); }
From source file:org.mozilla.mozstumbler.service.datahandling.StumblerBundle.java
@Override public void writeToParcel(Parcel out, int flags) { Bundle wifiBundle = new Bundle(ScanResult.class.getClassLoader()); Collection<String> scans = mWifiData.keySet(); for (String s : scans) { wifiBundle.putParcelable(s, mWifiData.get(s)); }//w ww . j ava 2 s . co m Bundle cellBundle = new Bundle(CellInfo.class.getClassLoader()); Collection<String> cells = mCellData.keySet(); for (String c : cells) { cellBundle.putParcelable(c, mCellData.get(c)); } out.writeBundle(wifiBundle); out.writeBundle(cellBundle); out.writeParcelable(mGpsPosition, 0); out.writeInt(mPhoneType); }
From source file:com.amossys.hooker.common.InterceptEvent.java
/** * Write to the parcel to build the class. *///from w w w.j av a2 s . c o m @Override public void writeToParcel(Parcel out, int flags) { out.writeString(idEvent.toString()); out.writeString(IDXP); out.writeLong(timestamp); out.writeLong(relativeTimestamp); out.writeString(hookerName); out.writeInt(intrusiveLevel); out.writeInt(instanceID); out.writeString(packageName); out.writeString(className); out.writeString(methodName); writeParametersList(out); writeReturnsEntry(out); writeDataMap(out); }
From source file:com.aokyu.dev.pocket.content.Page.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(getUID());// www . j ava 2 s .c o m dest.writeString(mResolvedId); dest.writeString(mGivenUrl); dest.writeString(mResolvedUrl); dest.writeString(mGivenTitle); dest.writeString(mResolvedTitle); dest.writeInt(mIsFavorited ? 1 : 0); dest.writeInt(mState.intValue()); dest.writeString(mExcerpt); dest.writeInt(mIsArticle ? 1 : 0); dest.writeInt(mImageState.intValue()); dest.writeInt(mVideoState.intValue()); dest.writeInt(mWordCount); dest.writeStringArray(mTags); dest.writeStringArray(mAuthors); dest.writeParcelableArray(mImages, 0); dest.writeParcelableArray(mVideos, 0); }
From source file:com.rc.droid_stalker.components.NetworkStats.java
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeLong(elapsedRealtime);//from ww w.ja va 2s . c o m dest.writeInt(size); dest.writeStringArray(iface); dest.writeIntArray(uid); dest.writeIntArray(set); dest.writeIntArray(tag); dest.writeLongArray(rxBytes); dest.writeLongArray(rxPackets); dest.writeLongArray(txBytes); dest.writeLongArray(txPackets); dest.writeLongArray(operations); }
From source file:com.adrguides.model.Guide.java
@Override public void writeToParcel(Parcel parcel, int i) { parcel.writeString(getAddress());//from ww w .j ava 2 s. co m parcel.writeString(getTitle()); parcel.writeString(getDescription()); parcel.writeString(getAuthor()); parcel.writeString(getKeywords()); parcel.writeString(getLanguage()); parcel.writeString(getCountry()); parcel.writeString(getVariant()); parcel.writeTypedList(getPlaces()); parcel.writeInt(isStored() ? 1 : 0); }