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()

I/O overuse stats for the package. If the package didn't opt-in to receive I/O overuse stats or the package doesn't have I/O overuse stats, this value will be null.

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.

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