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

The following examples show how to use android.os.Parcel#writeString() . 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 check out the related API usage on the sidebar.
Example 1
Source File: ServerRunInfo.java    From AppOpsX with 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
Source File: UserFallback.java    From Capstone-Project with 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 3
Source File: BrightnessDialogPreferenceX.java    From PhoneProfilesPlus with Apache License 2.0 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags)
{
    super.writeToParcel(dest, flags);

    dest.writeString(sValue);
    dest.writeString(defaultValue);
}
 
Example 4
Source File: DMUserListBean.java    From iBeebo with GNU General Public License v3.0 5 votes vote down vote up
@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 5
Source File: SocialComment.java    From edx-app-android with 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 6
Source File: Element.java    From Android-nRF-Mesh-Library with BSD 3-Clause "New" or "Revised" License 5 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(elementAddress);
    dest.writeInt(locationDescriptor);
    dest.writeMap(meshModels);
    dest.writeString(name);
}
 
Example 7
Source File: Event.java    From alpha-wallet-android with 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 8
Source File: TrackListData.java    From Pasta-Music with 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 9
Source File: Nabi.java    From BiodataNabi with 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 10
Source File: BundledFontFamily.java    From FontProvider with 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 11
Source File: BluetoothLeDeviceFilter.java    From android_9.0.0_r45 with Apache License 2.0 5 votes vote down vote up
@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 12
Source File: ResumeEvent.java    From Resume-Builder with 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 13
Source File: AppUpdateStatusManager.java    From fdroidclient with GNU General Public License v3.0 5 votes vote down vote up
@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 14
Source File: Interaction.java    From Loop with 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 15
Source File: EditTextPreference.java    From android_9.0.0_r45 with Apache License 2.0 4 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    super.writeToParcel(dest, flags);
    dest.writeString(text);
}
 
Example 16
Source File: ApplicationInfo.java    From AndroidComponentPlugin with Apache License 2.0 4 votes vote down vote up
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 File: PitchDifference.java    From cythara with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(closest.getName().name());
    dest.writeDouble(deviation);
}
 
Example 18
Source File: RestError.java    From ADP with MIT License 4 votes vote down vote up
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(code);
    dest.writeString(error);
}
 
Example 19
Source File: AlbumInfo.java    From MeetMusic with 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 File: Simple.java    From kernel_adiutor with 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());
}