Exemple #1
0
 public override void writeToParcel(android.os.Parcel dest, int parcelableFlags)
 {
     base.writeToParcel(dest, parcelableFlags);
     dest.writeString(taskAffinity);
     dest.writeString(permission);
     dest.writeString(processName);
     dest.writeString(className);
     dest.writeInt(theme);
     dest.writeInt(flags);
     dest.writeInt(requiresSmallestWidthDp);
     dest.writeInt(compatibleWidthLimitDp);
     dest.writeInt(largestWidthLimitDp);
     dest.writeString(sourceDir);
     dest.writeString(publicSourceDir);
     dest.writeString(nativeLibraryDir);
     dest.writeStringArray(resourceDirs);
     dest.writeStringArray(sharedLibraryFiles);
     dest.writeString(dataDir);
     dest.writeInt(uid);
     dest.writeInt(targetSdkVersion);
     dest.writeInt(enabled ? 1 : 0);
     dest.writeInt(enabledSetting);
     dest.writeInt(installLocation);
     dest.writeString(manageSpaceActivityName);
     dest.writeString(backupAgentName);
     dest.writeInt(descriptionRes);
     dest.writeInt(uiOptions);
 }
Exemple #2
0
 public virtual void writeToParcel(android.os.Parcel dest, int parcelableFlags)
 {
     dest.writeString(packageName);
     dest.writeInt(versionCode);
     dest.writeString(versionName);
     dest.writeString(sharedUserId);
     dest.writeInt(sharedUserLabel);
     if (applicationInfo != null)
     {
         dest.writeInt(1);
         applicationInfo.writeToParcel(dest, parcelableFlags);
     }
     else
     {
         dest.writeInt(0);
     }
     dest.writeLong(firstInstallTime);
     dest.writeLong(lastUpdateTime);
     dest.writeIntArray(gids);
     dest.writeTypedArray(activities, parcelableFlags);
     dest.writeTypedArray(receivers, parcelableFlags);
     dest.writeTypedArray(services, parcelableFlags);
     dest.writeTypedArray(providers, parcelableFlags);
     dest.writeTypedArray(instrumentation, parcelableFlags);
     dest.writeTypedArray(permissions, parcelableFlags);
     dest.writeStringArray(requestedPermissions);
     dest.writeTypedArray(signatures, parcelableFlags);
     dest.writeTypedArray(configPreferences, parcelableFlags);
     dest.writeTypedArray(reqFeatures, parcelableFlags);
     dest.writeInt(installLocation);
 }
Exemple #3
0
 public virtual void writeToParcel(android.os.Parcel dest, int flags)
 {
     dest.writeString(pArtistName);
     string[] mbids = Sharpen.Collections.ToArray(pMBIDs, new string[pMBIDs.Count]);
     dest.writeStringArray(mbids);
     dest.writeByte(mImageFetching ? unchecked ((byte)1) : unchecked ((byte)0));
 }
Exemple #4
0
 public virtual void writeToParcel(android.os.Parcel @out, int flags)
 {
     @out.writeStringArray(mSlots);
     if (mIcons == null)
     {
         @out.writeInt(-1);
     }
     else
     {
         int N = mIcons.Length;
         @out.writeInt(N);
         {
             for (int i = 0; i < N; i++)
             {
                 [email protected] ic = mIcons[i];
                 if (ic == null)
                 {
                     @out.writeInt(0);
                 }
                 else
                 {
                     @out.writeInt(1);
                     ic.writeToParcel(@out, flags);
                 }
             }
         }
     }
 }