PkgUsageStatspublic class PkgUsageStats extends Object implements android.os.Parcelableimplementation of PkgUsageStats associated with an
application package. |
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 int | describeContents()
return 0;
| public java.lang.String | toString()
return "PkgUsageStats{"
+ Integer.toHexString(System.identityHashCode(this))
+ " " + packageName + "}";
| public void | writeToParcel(android.os.Parcel dest, int parcelableFlags)
dest.writeString(packageName);
dest.writeInt(launchCount);
dest.writeLong(usageTime);
|
|