private void readFromParcel(Parcel in) { // fieldToAccept = in.readInt(); title.append(in.readString()); date.append(in.readString()); description.append(in.readString()); setImageURL(in.readString()); }
private DtoRSVP(Parcel in) { this.eventId = in.readInt(); this.cwid = in.readString(); this.firstName = in.readString(); this.lastName = in.readString(); this.email = in.readString(); }
private TxtMessage(Parcel in) { mSender = in.readString(); mMessage = in.readString(); mTimestamp = in.readLong(); mIsFavourite = in.readInt() == 1; mContact = in.readParcelable(null); }
/** * Required for making Beacon parcelable * * @param in parcel */ protected Beacon(Parcel in) { int size = in.readInt(); this.mIdentifiers = new ArrayList<Identifier>(size); for (int i = 0; i < size; i++) { mIdentifiers.add(Identifier.parse(in.readString())); } mDistance = in.readDouble(); mRssi = in.readInt(); mTxPower = in.readInt(); mBluetoothAddress = in.readString(); mBeaconTypeCode = in.readInt(); mServiceUuid = in.readInt(); int dataSize = in.readInt(); this.mDataFields = new ArrayList<Long>(dataSize); for (int i = 0; i < dataSize; i++) { mDataFields.add(in.readLong()); } int extraDataSize = in.readInt(); if (LogManager.isVerboseLoggingEnabled()) { LogManager.d(TAG, "reading " + extraDataSize + " extra data fields from parcel"); } this.mExtraDataFields = new ArrayList<Long>(extraDataSize); for (int i = 0; i < extraDataSize; i++) { mExtraDataFields.add(in.readLong()); } mManufacturer = in.readInt(); mBluetoothName = in.readString(); }
public BatchResponse createFromParcel(Parcel source) { BatchResponse field = new BatchResponse(); field.result = source.readString(); field.message = source.readString(); field.itemBeansList = source.readArrayList(BatchBean.class.getClassLoader()); return field; }
private SmokeCOAlarm(Parcel in) { super(in); mBatteryHealth = in.readString(); mCOAlarmState = in.readString(); mSmokeAlarmState = in.readString(); mUIColorState = in.readString(); }
private PaymentIntent(final Parcel in) { standard = (Standard) in.readSerializable(); payeeName = in.readString(); payeeVerifiedBy = in.readString(); final int outputsLength = in.readInt(); if (outputsLength > 0) { outputs = new Output[outputsLength]; in.readTypedArray(outputs, Output.CREATOR); } else { outputs = null; } memo = in.readString(); paymentUrl = in.readString(); final int payeeDataLength = in.readInt(); if (payeeDataLength > 0) { payeeData = new byte[payeeDataLength]; in.readByteArray(payeeData); } else { payeeData = null; } paymentRequestUrl = in.readString(); }
protected TopStoriesEntity(Parcel in) { this.image = in.readString(); this.type = in.readInt(); this.id = in.readInt(); this.ga_prefix = in.readString(); this.title = in.readString(); }
public ServerStatus(Parcel parcel) { uploadType = parcel.readString(); status = parcel.readString(); title = parcel.readString(); staticTimelineUrl = parcel.readString(); message = parcel.readString(); }
protected People(Parcel in) { this.name = in.readString(); this.about = in.readString(); this.facebook = in.readString(); this.twitter = in.readString(); this.image = in.readString(); }
protected void readFromParcel(Parcel in) { mUrl = in.readString(); mSize = in.readLong(); mDownloaded = in.readLong(); mStatus = in.readInt(); mTitle = in.readString(); }
private SocialPerson(Parcel in) { id = in.readString(); name = in.readString(); avatarURL = in.readString(); profileURL = in.readString(); email = in.readString(); }
protected SpotifySong(Parcel in) { trackName = in.readString(); albumName = in.readString(); imageUrl = in.readString(); id = in.readString(); preview_url = in.readString(); }
protected Contact(Parcel in) { this.id = (Long) in.readValue(Long.class.getClassLoader()); this.name = in.readString(); this.surname = in.readString(); this.age = in.readString(); this.phoneNumber = in.readString(); }
@DSSafe(DSCat.SAFE_OTHERS) @DSGenerator( tool_name = "Doppelganger", tool_version = "2.0", generated_on = "2013-12-30 12:33:32.766 -0500", hash_original_method = "A58EACE4A3F53740E5D628758A64E4CC", hash_generated_method = "9073D982142882D66A8936FA7C8E980E") public StorageVolume createFromParcel(Parcel in) { String path = in.readString(); String description = in.readString(); int removable = in.readInt(); int emulated = in.readInt(); int storageId = in.readInt(); int mtpReserveSpace = in.readInt(); int allowMassStorage = in.readInt(); long maxFileSize = in.readLong(); return new StorageVolume( path, description, removable == 1, emulated == 1, mtpReserveSpace, storageId, allowMassStorage == 1, maxFileSize); }
/** * Constructor * * @param source Parcelable source */ public PresenceInfo(Parcel source) { this.timestamp = source.readLong(); this.status = source.readString(); this.freetext = source.readString(); byte flag = source.readByte(); if (flag > 0) { this.favoriteLink = FavoriteLink.CREATOR.createFromParcel(source); } else { this.favoriteLink = null; } flag = source.readByte(); if (flag > 0) { this.photo = PhotoIcon.CREATOR.createFromParcel(source); } else { this.photo = null; } flag = source.readByte(); if (flag > 0) { this.geoloc = Geoloc.CREATOR.createFromParcel(source); } else { this.geoloc = null; } }
aph(Parcel paramParcel) { this.a = paramParcel.readInt(); this.b = paramParcel.readString(); this.c = ((Integer) paramParcel.readValue(null)); this.d = paramParcel.readString(); this.f = paramParcel.readString(); }
public Layoutelements(Parcel im) { try { Bitmap bitmap = (Bitmap) im.readParcelable(getClass().getClassLoader()); // Convert Bitmap to Drawable: imageId = new BitmapDrawable(bitmap); title = im.readString(); desc = im.readString(); permissions = im.readString(); symlink = im.readString(); int j = im.readInt(); date = im.readLong(); int i = im.readInt(); if (i == 0) { header = false; } else { header = true; } if (j == 0) { isDirectory = false; } else { isDirectory = true; } } catch (Exception e) { e.printStackTrace(); } date1 = im.readString(); longSize = im.readLong(); }
private PackageInfo(Parcel source) { packageName = source.readString(); versionCode = source.readInt(); versionName = source.readString(); sharedUserId = source.readString(); // M // Theme feature isThemePackage = source.readInt(); themeNameId = source.readInt(); // M sharedUserLabel = source.readInt(); int hasApp = source.readInt(); if (hasApp != 0) { applicationInfo = ApplicationInfo.CREATOR.createFromParcel(source); } firstInstallTime = source.readLong(); lastUpdateTime = source.readLong(); gids = source.createIntArray(); activities = source.createTypedArray(ActivityInfo.CREATOR); receivers = source.createTypedArray(ActivityInfo.CREATOR); services = source.createTypedArray(ServiceInfo.CREATOR); providers = source.createTypedArray(ProviderInfo.CREATOR); instrumentation = source.createTypedArray(InstrumentationInfo.CREATOR); permissions = source.createTypedArray(PermissionInfo.CREATOR); requestedPermissions = source.createStringArray(); signatures = source.createTypedArray(Signature.CREATOR); configPreferences = source.createTypedArray(ConfigurationInfo.CREATOR); reqFeatures = source.createTypedArray(FeatureInfo.CREATOR); installLocation = source.readInt(); }
private HourWeather(Parcel in) { time = in.readLong(); summary = in.readString(); temperature = in.readDouble(); icon = in.readString(); timezone = in.readString(); }
public GameBadgeEntity bh(Parcel parcel) { if (GameBadgeEntity.b(GameBadgeEntity.gM()) || GameBadgeEntity.aQ( com / google / android / gms / games / internal / game / GameBadgeEntity.getCanonicalName())) { return super.bh(parcel); } int i = parcel.readInt(); String s = parcel.readString(); String s1 = parcel.readString(); String s2 = parcel.readString(); Uri uri; if (s2 == null) { uri = null; } else { uri = Uri.parse(s2); } return new GameBadgeEntity(1, i, s, s1, uri); }
private Hour(Parcel in) { mTime = in.readLong(); mTemperature = in.readDouble(); mSummary = in.readString(); mIcon = in.readString(); mTimezone = in.readString(); }
public ParcelableUser(final Parcel in) { position = in.readLong(); account_id = in.readLong(); id = in.readLong(); created_at = in.readLong(); is_protected = in.readInt() == 1; is_verified = in.readInt() == 1; name = in.readString(); screen_name = in.readString(); description_plain = in.readString(); location = in.readString(); profile_image_url = in.readString(); profile_banner_url = in.readString(); url = in.readString(); is_follow_request_sent = in.readInt() == 1; followers_count = in.readInt(); friends_count = in.readInt(); statuses_count = in.readInt(); favorites_count = in.readInt(); is_cache = in.readInt() == 1; description_html = in.readString(); description_expanded = in.readString(); url_expanded = in.readString(); is_following = in.readInt() == 1; description_unescaped = toPlainText(description_html); }
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_getSupportedDigestSchema: { data.enforceInterface(DESCRIPTOR); java.lang.String[] _result = this.getSupportedDigestSchema(); reply.writeNoException(); reply.writeStringArray(_result); return true; } case TRANSACTION_digest: { data.enforceInterface(DESCRIPTOR); java.lang.String _arg0; _arg0 = data.readString(); java.lang.String _arg1; _arg1 = data.readString(); java.lang.String _arg2; _arg2 = data.readString(); java.lang.String _result = this.digest(_arg0, _arg1, _arg2); reply.writeNoException(); reply.writeString(_result); return true; } } return super.onTransact(code, data, reply, flags); }
protected Event(Parcel in) { event_id = in.readString(); duration = in.readInt(); summary = in.readString(); url = in.readString(); start_time = in.readLong(); }
public ParcelXmlCommandResult createFromParcel(Parcel parcel) { int type = parcel.readInt(); String statusMessage = parcel.readString(); String serialNumber = parcel.readString(); int batteryStatus = parcel.readInt(); int batteryMv = parcel.readInt(); boolean batteryCharging = parcel.readByte() == 1; boolean externalPower = parcel.readByte() == 1; BluetoothInformation btInfo = new BluetoothInformation(); btInfo.bTReconnectRequired = parcel.readByte() == 1; btInfo.bluetoothName = parcel.readString(); btInfo.oldBluetoothName = parcel.readString(); XMLCommandResult result = new XMLCommandResult( type, btInfo, statusMessage, serialNumber, batteryStatus, batteryMv, batteryCharging, externalPower); return new ParcelXmlCommandResult(result); }
public WpsInfo createFromParcel(Parcel in) { WpsInfo config = new WpsInfo(); config.setup = in.readInt(); config.BSSID = in.readString(); config.pin = in.readString(); return config; }
public Style(Parcel parcel) { mType = Type.values()[parcel.readInt()]; if (mType == Type.BUTTON) { mButtonText = parcel.readString(); mButtonTextSize = parcel.readFloat(); mButtonTextColor = parcel.readInt(); mButtonResource = parcel.readInt(); mButtonDividerResource = parcel.readInt(); mButtonTypeface = parcel.readInt(); mClickListenerTag = parcel.readString(); } boolean hasIcon = parcel.readByte() != 0; if (hasIcon) { mIconResource = parcel.readInt(); mIconPosition = IconPosition.values()[parcel.readInt()]; } mDismissListenerTag = parcel.readString(); mAnimations = Animations.values()[parcel.readInt()]; mText = parcel.readString(); mTypeface = parcel.readInt(); mDuration = parcel.readInt(); mTextColor = parcel.readInt(); mTextSize = parcel.readFloat(); isIndeterminate = parcel.readByte() != 0; mBackgroundResource = parcel.readInt(); isTouchDismissable = parcel.readByte() != 0; isSwipeDismissable = parcel.readByte() != 0; }
public FragmentState(Parcel paramParcel) { this.mClassName = paramParcel.readString(); this.mIndex = paramParcel.readInt(); int j; label31: int k; if (paramParcel.readInt() != 0) { j = i; this.mFromLayout = j; this.mFragmentId = paramParcel.readInt(); this.mContainerId = paramParcel.readInt(); this.mTag = paramParcel.readString(); if (paramParcel.readInt() == 0) break label110; k = i; label70: this.mRetainInstance = k; if (paramParcel.readInt() == 0) break label116; } while (true) { this.mDetached = i; this.mArguments = paramParcel.readBundle(); this.mSavedFragmentState = paramParcel.readBundle(); return; j = 0; break label31: label110: k = 0; break label70: label116: i = 0; } }
private Movie(Parcel parcel) { originalTitle = parcel.readString(); synopsis = parcel.readString(); userRating = parcel.readString(); releaseDate = parcel.readString(); posterPath = parcel.readString(); }