Java Code Examples for android.os.Parcel#writeString()

The following examples show how to use android.os.Parcel#writeString() . These examples are extracted from open source projects. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may want to check out the right sidebar which shows the related API usage.
Example 1
Source Project: AppOpsX   File: ServerRunInfo.java    License: MIT License 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
  dest.writeString(this.protocolVersion);
  dest.writeString(this.startArgs);
  dest.writeLong(this.startTime);
  dest.writeLong(this.startRealTime);
  dest.writeLong(this.recvBytes);
  dest.writeLong(this.sentBytes);
  dest.writeLong(this.successCount);
  dest.writeLong(this.errorCount);
}
 
Example 2
@Override
public void writeToParcel(@NonNull Parcel dest, int flags) {
    dest.writeParcelable(app, 0);
    dest.writeParcelable(apk, 0);
    dest.writeParcelable(intent, 0);
    dest.writeSerializable(status);
    dest.writeLong(progressCurrent);
    dest.writeLong(progressMax);
    dest.writeString(errorText);
}
 
Example 3
Source Project: Resume-Builder   File: ResumeEvent.java    License: MIT License 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(title);
    dest.writeString(detail);
    dest.writeString(subtitle);
    dest.writeString(description);
    dest.writeSerializable(fromDate);
    dest.writeSerializable(toDate);
}
 
Example 4
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(patternToString(getNamePattern()));
    dest.writeParcelable(mScanFilter, flags);
    dest.writeByteArray(mRawDataFilter);
    dest.writeByteArray(mRawDataFilterMask);
    dest.writeString(mRenamePrefix);
    dest.writeString(mRenameSuffix);
    dest.writeInt(mRenameBytesFrom);
    dest.writeInt(mRenameBytesLength);
    dest.writeInt(mRenameNameFrom);
    dest.writeInt(mRenameNameLength);
    dest.writeBoolean(mRenameBytesReverseOrder);
}
 
Example 5
Source Project: FontProvider   File: BundledFontFamily.java    License: MIT License 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeTypedArray(this.families, flags);
    dest.writeInt(this.fd.size());
    for (Map.Entry<String, ParcelFileDescriptor> entry : this.fd.entrySet()) {
        dest.writeString(entry.getKey());
        dest.writeParcelable(entry.getValue(), flags);
    }
}
 
Example 6
Source Project: BiodataNabi   File: Nabi.java    License: MIT License 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.nama);
    dest.writeString(this.alias);
    dest.writeString(this.usia);
    dest.writeString(this.periode);
    dest.writeString(this.tempatDiUtus);
    dest.writeString(this.tempatWafat);
    dest.writeString(this.disebutDalamAlquran);
    dest.writeString(this.sebutanKaum);
    dest.writeString(this.jumlahKeturunan);
    dest.writeStringList(this.garisKeturunan);
}
 
Example 7
Source Project: Pasta-Music   File: TrackListData.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void writeToParcel(Parcel out, int flags) {
    out.writeString(trackName);
    out.writeString(albumName);
    out.writeString(albumId);
    out.writeString(trackImage);
    out.writeString(trackImageLarge);
    out.writeString(trackDuration);
    out.writeList(artists);
    out.writeString(trackUri);
    out.writeString(trackId);
}
 
Example 8
Source Project: alpha-wallet-android   File: Event.java    License: MIT License 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags)
{
    dest.writeString(eventText);
    dest.writeLong(timeStamp);
    dest.writeInt(chainId);
}
 
Example 9
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(elementAddress);
    dest.writeInt(locationDescriptor);
    dest.writeMap(meshModels);
    dest.writeString(name);
}
 
Example 10
Source Project: edx-app-android   File: SocialComment.java    License: Apache License 2.0 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeLong(this.id);
    dest.writeString(this.message);
    dest.writeParcelable(this.author, 0);
    dest.writeInt(this.numApprovals);
}
 
Example 11
@Override
public void writeToParcel(Parcel dest, int flags) {

    dest.writeInt(total_number);
    dest.writeString(previous_cursor);
    dest.writeString(next_cursor);

    dest.writeTypedList(user_list);
}
 
Example 12
@Override
public void writeToParcel(Parcel dest, int flags)
{
    super.writeToParcel(dest, flags);

    dest.writeString(sValue);
    dest.writeString(defaultValue);
}
 
Example 13
Source Project: Capstone-Project   File: UserFallback.java    License: MIT License 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(name);
    dest.writeString(username);
    dest.writeString(headline);
    dest.writeString(websiteUrl);
    dest.writeString(thumbnail);
    dest.writeString(image);
}
 
Example 14
Source Project: ADP   File: RestError.java    License: MIT License 4 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(code);
    dest.writeString(error);
}
 
Example 15
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(closest.getName().name());
    dest.writeDouble(deviation);
}
 
Example 16
public void writeToParcel(Parcel dest, int parcelableFlags) {
    super.writeToParcel(dest, parcelableFlags);
    dest.writeString(taskAffinity);
    dest.writeString(permission);
    dest.writeString(processName);
    dest.writeString(className);
    dest.writeInt(theme);
    dest.writeInt(flags);
    dest.writeInt(privateFlags);
    dest.writeInt(requiresSmallestWidthDp);
    dest.writeInt(compatibleWidthLimitDp);
    dest.writeInt(largestWidthLimitDp);
    dest.writeString(volumeUuid);
    dest.writeString(scanSourceDir);
    dest.writeString(scanPublicSourceDir);
    dest.writeString(sourceDir);
    dest.writeString(publicSourceDir);
    dest.writeStringArray(splitSourceDirs);
    dest.writeStringArray(splitPublicSourceDirs);
    dest.writeString(nativeLibraryDir);
    dest.writeString(secondaryNativeLibraryDir);
    dest.writeString(nativeLibraryRootDir);
    dest.writeInt(nativeLibraryRootRequiresIsa ? 1 : 0);
    dest.writeString(primaryCpuAbi);
    dest.writeString(secondaryCpuAbi);
    dest.writeStringArray(resourceDirs);
    dest.writeString(seinfo);
    dest.writeStringArray(sharedLibraryFiles);
    dest.writeString(dataDir);
    dest.writeInt(uid);
    dest.writeInt(targetSdkVersion);
    dest.writeInt(versionCode);
    dest.writeInt(enabled ? 1 : 0);
    dest.writeInt(enabledSetting);
    dest.writeInt(installLocation);
    dest.writeString(manageSpaceActivityName);
    dest.writeString(backupAgentName);
    dest.writeInt(descriptionRes);
    dest.writeInt(uiOptions);
    dest.writeInt(fullBackupContent);
}
 
Example 17
Source Project: Loop   File: Interaction.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeByte(this.added ? (byte) 1 : (byte) 0);
    dest.writeString(this.addedTime);
    dest.writeString(this.uri);
}
 
Example 18
@Override
public void writeToParcel(Parcel dest, int flags) {
    super.writeToParcel(dest, flags);
    dest.writeString(text);
}
 
Example 19
Source Project: MeetMusic   File: AlbumInfo.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.name);
    dest.writeString(this.singer);
    dest.writeInt(this.count);
}
 
Example 20
Source Project: kernel_adiutor   File: Simple.java    License: Apache License 2.0 4 votes vote down vote up
@Override
public void writeToParcel(Parcel parcel, int i) {
    Item.writeToParcel(parcel, i, this);
    parcel.writeString(getTitle());
    parcel.writeString(getDescription());
}