FileDocCategorySizeDatePackage
PkgUsageStats.javaAPI DocAndroid 1.5 API1602Wed May 06 22:41:56 BST 2009com.android.internal.os

PkgUsageStats

public class PkgUsageStats extends Object implements android.os.Parcelable
implementation of PkgUsageStats associated with an application package.
hide

Fields Summary
public String
packageName
public int
launchCount
public long
usageTime
public static final Parcelable.Creator
CREATOR
Constructors Summary
public PkgUsageStats(String pkgName, int count, long time)

        packageName = pkgName;
        launchCount = count;
        usageTime = time;
    
public PkgUsageStats(android.os.Parcel source)

        packageName = source.readString();
        launchCount = source.readInt();
        usageTime = source.readLong();
    
public PkgUsageStats(PkgUsageStats pStats)

        packageName = pStats.packageName;
        launchCount = pStats.launchCount;
        usageTime = pStats.usageTime;
    
Methods Summary
public intdescribeContents()

        return 0;
    
public java.lang.StringtoString()

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

        dest.writeString(packageName);
        dest.writeInt(launchCount);
        dest.writeLong(usageTime);