FileDocCategorySizeDatePackage
PackageStats.javaAPI DocAndroid 1.5 API1644Wed May 06 22:41:54 BST 2009android.content.pm

PackageStats

public class PackageStats extends Object implements android.os.Parcelable
implementation of PackageStats associated with a application package.

Fields Summary
public String
packageName
public long
codeSize
public long
dataSize
public long
cacheSize
public static final Parcelable.Creator
CREATOR
Constructors Summary
public PackageStats(String pkgName)

        packageName = pkgName;
    
public PackageStats(android.os.Parcel source)

        packageName = source.readString();
        codeSize = source.readLong();
        dataSize = source.readLong();
        cacheSize = source.readLong();
    
public PackageStats(PackageStats pStats)

        packageName = pStats.packageName;
        codeSize = pStats.codeSize;
        dataSize = pStats.dataSize;
        cacheSize = pStats.cacheSize;
    
Methods Summary
public intdescribeContents()

        return 0;
    
public java.lang.StringtoString()

    
       
        return "PackageStats{"
        + Integer.toHexString(System.identityHashCode(this))
        + " " + packageName + "}";
    
public voidwriteToParcel(android.os.Parcel dest, int parcelableFlags)

        dest.writeString(packageName);
        dest.writeLong(codeSize);
        dest.writeLong(dataSize);
        dest.writeLong(cacheSize);