@Override public void writeToParcel(Parcel dest, int flags) { dest.writeByteArray(wapData); dest.writeInt(dataIndex); dest.writeString(contentType); dest.writeInt(binaryContentType); dest.writeString(applicationId); dest.writeInt(binaryApplicationId); dest.writeString(mailBox); dest.writeByteArray(timestamp); dest.writeString(serviceName); }
@Override public void writeToParcel(final Parcel dest, final int flags) { dest.writeSerializable(address.getParameters()); dest.writeByteArray(address.getHash160()); dest.writeString(label); }
@Test public void testWriteAndCreateByteArray_lengthZero() { byte[] bytes = new byte[] {}; parcel.writeByteArray(bytes); byte[] actualBytes = parcel.createByteArray(); assertTrue(Arrays.equals(bytes, actualBytes)); }
/** * Writes the contents of this object to a parcel * * @param parcel The parcel to write the data to. * @param flags this parameter is ignored */ @Override public void writeToParcel(Parcel parcel, int flags) { parcel.writeByteArray(getPayload()); parcel.writeInt(getQos()); parcel.writeBooleanArray(new boolean[] {isRetained(), isDuplicate()}); parcel.writeString(messageId); }
@Override public void writeToParcel(Parcel out, int arg1) { out.writeLong(timeStamp); out.writeInt(frameSize); out.writeByteArray(frameBytesData); out.writeString(cachePath); }
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeInt(statusCode); dest.writeSerializable(headers); dest.writeString(response); dest.writeByteArray(rawResponse); }
public void writeToParcel(Parcel dest, int flags) { dest.writeByteArray(mBytes); dest.writeString(mExpectedFingerprint); dest.writeString(mKeyIdHex); dest.writeString(mKeybaseName); dest.writeString(mFbUsername); }
@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); }
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_readFile: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); byte[] _result = this.readFile(_arg0); reply.writeNoException(); reply.writeByteArray(_result); return true; } case TRANSACTION_writeFile: { data.enforceInterface(DESCRIPTOR); int _arg0; _arg0 = data.readInt(); byte[] _arg1; _arg1 = data.createByteArray(); int _result = this.writeFile(_arg0, _arg1); reply.writeNoException(); reply.writeInt(_result); return true; } } return super.onTransact(code, data, reply, flags); }
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.name); dest.writeString(this.gender); dest.writeString(this.storageOfBook); dest.writeByteArray(this.imageId); }
public static void keep_writeByteArray(Parcel paramParcel, Field paramField, Object paramObject) { try { paramParcel.writeByteArray((byte[]) paramField.get(paramObject)); return; } catch (Exception paramParcel) { v.e("MicroMsg.MCacheItem", "exception:%s", new Object[] {be.f(paramParcel)}); } }
@Override public void writeToParcel(final Parcel dest, final int flags) { dest.writeSerializable(amount); final byte[] program = script.getProgram(); dest.writeInt(program.length); dest.writeByteArray(program); }
public void writeToParcel(Parcel dest, int flags) { try { byte[] data = BinaryPropertyListWriter.writeToArray(array); dest.writeInt(data.length); dest.writeByteArray(data); } catch (Exception e) { e.printStackTrace(); } }
public void writeToParcel(Parcel dest, int flags) { dest.writeInt(mStatus); dest.writeString(mStatusText); dest.writeByteArray(mAvatarData); dest.writeString(mAvatarType); dest.writeInt(mClientType); dest.writeMap(mExtendedInfo); dest.writeString(mResource); }
@Override public void writeToParcel(Parcel dest, int flags) { if (mDevice != null) { dest.writeInt(1); mDevice.writeToParcel(dest, flags); } else { dest.writeInt(0); } if (mScanRecord != null) { dest.writeInt(1); dest.writeByteArray(mScanRecord.getBytes()); } else { dest.writeInt(0); } dest.writeInt(mRssi); dest.writeLong(mTimestampNanos); }
public int writeFile(int file_lid, byte[] buff) throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); int _result; try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeInt(file_lid); _data.writeByteArray(buff); mRemote.transact(Stub.TRANSACTION_writeFile, _data, _reply, 0); _reply.readException(); _result = _reply.readInt(); } finally { _reply.recycle(); _data.recycle(); } return _result; }
/** Implement the Parcelable interface */ @DSGenerator( tool_name = "Doppelganger", tool_version = "2.0", generated_on = "2013-12-30 12:36:02.379 -0500", hash_original_method = "FB185B7C2F06925C4BFCD27CA8D3CCFA", hash_generated_method = "54EA4035BADA299A0CB903894C3D5048") public void writeToParcel(Parcel dest, int flags) { dest.writeByte(groupFormed ? (byte) 1 : (byte) 0); dest.writeByte(isGroupOwner ? (byte) 1 : (byte) 0); if (groupOwnerAddress != null) { dest.writeByte((byte) 1); dest.writeByteArray(groupOwnerAddress.getAddress()); } else { dest.writeByte((byte) 0); } }
@Override public void sendImageAsBitmapByteArray(int id, int x, int y, byte[] bitmapByteArray) throws android.os.RemoteException { android.os.Parcel _data = android.os.Parcel.obtain(); android.os.Parcel _reply = android.os.Parcel.obtain(); try { _data.writeInterfaceToken(DESCRIPTOR); _data.writeInt(id); _data.writeInt(x); _data.writeInt(y); _data.writeByteArray(bitmapByteArray); mRemote.transact(Stub.TRANSACTION_sendImageAsBitmapByteArray, _data, _reply, 0); _reply.readException(); } finally { _reply.recycle(); _data.recycle(); } }
public void onResponseReceived(long l, Map map, byte abyte0[]) throws RemoteException { Parcel parcel; Parcel parcel1; parcel = Parcel.obtain(); parcel1 = Parcel.obtain(); parcel.writeInterfaceToken("com.amazon.dcp.sso.IWebserviceCallback"); parcel.writeLong(l); parcel.writeMap(map); parcel.writeByteArray(abyte0); mRemote.transact(1, parcel, parcel1, 0); parcel1.readException(); parcel1.recycle(); parcel.recycle(); return; map; parcel1.recycle(); parcel.recycle(); throw map; }
/** {@hide} */ public void writeToParcel(Parcel out, int flags) { out.writeString(mUsername); out.writeString(mEncryptedPassword); out.writeString(mPassword); out.writeString(mService); out.writeString(mCaptchaToken); if (mCaptchaData == null) { out.writeInt(-1); } else { out.writeInt(mCaptchaData.length); out.writeByteArray(mCaptchaData); } out.writeString(mCaptchaMimeType); out.writeString(mCaptchaAnswer); out.writeInt(mFlags); if (mStatus == null) { out.writeString(null); } else { out.writeString(mStatus.name()); } out.writeString(mJsonString); out.writeString(mSid); out.writeString(mAuthtoken); }
/** * Flatten this object in to a Parcel. * * @param dest The Parcel in which the object should be written. * @param flags Additional flags about how the object should be written. May be 0 or {@link * #PARCELABLE_WRITE_RETURN_VALUE}. */ @Override public void writeToParcel(Parcel dest, int flags) { Log.d(TAG, "in writeToParcel"); dest.writeInt(_byte.length); dest.writeByteArray(_byte); }
@Override public void writeToParcel(Parcel out, int flags) { out.writeByteArray(content_); }
public void writeToParcel(Parcel parcel, int i) { parcel.writeString(wA); parcel.writeByteArray(wB); parcel.writeInt(wC); }
@Override public final void writeToParcel(Parcel dest, int flags) { dest.writeByteArray(encode()); }
/** Implement the Parcelable interface {@hide} */ public void writeToParcel(Parcel dest, int flags) { dest.writeInt(octets.size()); dest.writeByteArray(octets.toByteArray()); }
public void writeToParcel(Parcel parcel, int i) { parcel.writeString(zzayl); parcel.writeByteArray(zzaym); parcel.writeInt(zzayn); }
public final void writeToParcel(Parcel paramParcel, int paramInt) { paramParcel.writeString(this.a); obf localobf = new obf(); localobf.a = this.b; paramParcel.writeByteArray(qat.a(localobf)); }
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeByteArray(fileContent); }
@Override public void writeToParcel(Parcel dest, int flags) { dest.writeString(this.clazz); dest.writeByteArray(this.baseCommandBytes); }
public void writeToParcel(Parcel dest, int parcelableFlags) { dest.writeByteArray(mSignature); }