Exemplo n.º 1
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);
 }
Exemplo n.º 2
0
 public override void writeToParcel(android.os.Parcel @out, int parcelableFlags)
 {
     base.writeToParcel(@out, parcelableFlags);
     @out.writeString(authority);
     @out.writeString(readPermission);
     @out.writeString(writePermission);
     @out.writeInt(grantUriPermissions ? 1 : 0);
     @out.writeTypedArray(uriPermissionPatterns, parcelableFlags);
     @out.writeTypedArray(pathPermissions, parcelableFlags);
     @out.writeInt(multiprocess ? 1 : 0);
     @out.writeInt(initOrder);
     @out.writeInt(isSyncable ? 1 : 0);
 }
Exemplo n.º 3
0
 public virtual void writeToParcel(android.os.Parcel dest, int parcelableFlags)
 {
     dest.writeString(packageName);
     dest.writeInt(recommendedInstallLocation);
     dest.writeInt(installLocation);
     if (verifiers == null || verifiers.Length == 0)
     {
         dest.writeInt(0);
     }
     else
     {
         dest.writeInt(verifiers.Length);
         dest.writeTypedArray(verifiers, parcelableFlags);
     }
 }