ResourceOveruseStats

public final class ResourceOveruseStats
extends Object implements Parcelable

java.lang.Object
   ↳ android.car.watchdog.ResourceOveruseStats


Resource overuse stats for a package.

Summary

Inherited constants

Fields

public static final Creator<ResourceOveruseStats> CREATOR

Public methods

int describeContents()
IoOveruseStats getIoOveruseStats()
String getPackageName()

Name of the package, whose stats are recorded in the below fields.

UserHandle getUserHandle()

User handle, whose stats are recorded in the below fields.

String toString()
void writeToParcel(Parcel dest, int flags)

Inherited methods

Fields

CREATOR

Added in API level 31
public static final Creator<ResourceOveruseStats> CREATOR

Public methods

describeContents

Added in API level 31
public int describeContents ()

Returns
int

getIoOveruseStats

Added in API level 31
public IoOveruseStats getIoOveruseStats ()

Returns
IoOveruseStats

getPackageName

Added in API level 31
public String getPackageName ()

Name of the package, whose stats are recorded in the below fields. NOTE: For packages that share a UID, the package name will be the shared package name because the stats are aggregated for all packages under the shared UID.

Returns
String

getUserHandle

Added in API level 31
public UserHandle getUserHandle ()

User handle, whose stats are recorded in the below fields.

Returns
UserHandle

toString

Added in API level 31
public String toString ()

Returns
String

writeToParcel

Added in API level 31
public void writeToParcel (Parcel dest, 
                int flags)

Parameters
dest Parcel

flags int