Stay organized with collections
    
    
      
      Save and categorize content based on your preferences.
    
  
  
    
  
  
  
  
    
  
  
    
    
  
  
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 | 
|---|
  
  | 
      From interface
        android.os.Parcelable
        
    
    
        | int | CONTENTS_FILE_DESCRIPTOR
          
    
 |  
        | int | PARCELABLE_ELIDE_DUPLICATES
          
    
 |  
        | int | PARCELABLE_STABILITY_LOCAL
          
    
 |  
        | int | PARCELABLE_STABILITY_VINTF
          
    
 |  
        | int | PARCELABLE_WRITE_RETURN_VALUE
          
    
 |  | 
| Inherited methods | 
|---|
| 
    From class
      
        
          java.lang.Object
        
      
      
  
  
  
    | 
        
        
        
        
        
        Object | 
      clone()
       |  
  
  
    | 
        
        
        
        
        
        boolean | 
      equals(Object arg0)
       |  
  
  
    | 
        
        
        
        
        
        void | 
      finalize()
       |  
  
  
    | 
        
        
        
        final
        
        Class<?> | 
      getClass()
       |  
  
  
    | 
        
        
        
        
        
        int | 
      hashCode()
       |  
  
  
    | 
        
        
        
        final
        
        void | 
      notify()
       |  
  
  
    | 
        
        
        
        final
        
        void | 
      notifyAll()
       |  
  
  
    | 
        
        
        
        
        
        String | 
      toString()
       |  
  
  
    | 
        
        
        
        final
        
        void | 
      wait(long arg0, int arg1)
       |  
  
  
    | 
        
        
        
        final
        
        void | 
      wait(long arg0)
       |  
  
  
    | 
        
        
        
        final
        
        void | 
      wait()
       |  | 
| 
    From interface
      
        
          android.os.Parcelable
        
      
      
  
  
  
    | 
        abstract
        
        
        
        
        int | 
      describeContents()
       |  
  
  
    | 
        
        default
        
        
        
        int | 
      getStability()
       |  
  
  
    | 
        abstract
        
        
        
        
        void | 
      writeToParcel(Parcel arg0, int arg1)
       |  | 
Fields
Public methods
    describeContents
    
public int describeContents ()
    
    
    
  
    
 
    getIoOveruseStats
    
public 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.
    
 
    getPackageName
    
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.
    
 
    getUserHandle
    
public UserHandle getUserHandle ()
    
    
    
  User handle, whose stats are recorded in the below fields.
    
 
    toString
    
public String toString ()
    
    
    
  
    
 
    writeToParcel
    
public void writeToParcel (Parcel dest, 
                int flags)
    
    
    
  
    
    | Parameters | 
|---|
      
        | dest | Parcel | 
      
        | flags | int | 
    
 
 
 
  
  
    
  
 
  
    
    
      
       
    
    
  
  
  Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
  Last updated 2025-02-17 UTC.
  
  
  
    
      [null,null,["Last updated 2025-02-17 UTC."],[],[]]