IT. Expert System.

Android Reference

PackageStats


android.content.pm

Class PackageStats

  • All Implemented Interfaces:
    Parcelable


    public class PackageStats
    extends Object
    implements Parcelable
    implementation of PackageStats associated with a application package.
    • Field Detail

      • packageName

        public String packageName
        Name of the package to which this stats applies.
      • userHandle

        public int userHandle
      • codeSize

        public long codeSize
        Size of the code (e.g., APK)
      • dataSize

        public long dataSize
        Size of the internal data size for the application. (e.g., /data/data/)
      • cacheSize

        public long cacheSize
        Size of cache used by the application. (e.g., /data/data//cache)
      • externalCodeSize

        public long externalCodeSize
        Size of the secure container on external storage holding the application's code.
      • externalDataSize

        public long externalDataSize
        Size of the external data used by the application (e.g., /Android/data/)
      • externalCacheSize

        public long externalCacheSize
        Size of the external cache used by the application (i.e., on the SD card). If this is a subdirectory of the data directory, this size will be subtracted out of the external data size.
      • externalMediaSize

        public long externalMediaSize
        Size of the external media size used by the application.
      • externalObbSize

        public long externalObbSize
        Size of the package's OBBs placed on external media.
    • Constructor Detail

      • PackageStats

        public PackageStats(String pkgName)
      • PackageStats

        public PackageStats(String pkgName,
                    int userHandle)
      • PackageStats

        public PackageStats(Parcel source)
    • Method Detail

      • toString

        public String toString()
        Description copied from class: Object
        Returns a string containing a concise, human-readable description of this object. Subclasses are encouraged to override this method and provide an implementation that takes into account the object's type and data. The default implementation is equivalent to the following expression:
           getClass().getName() + '@' + Integer.toHexString(hashCode())

        See Writing a useful toString method if you intend implementing your own toString method.

        Overrides:
        toString in class Object
        Returns:
        a printable representation of this object.
      • describeContents

        public int describeContents()
        Description copied from interface: Parcelable
        Describe the kinds of special objects contained in this Parcelable's marshalled representation.
        Specified by:
        describeContents in interface Parcelable
        Returns:
        a bitmask indicating the set of special object types marshalled by the Parcelable.
      • writeToParcel

        public void writeToParcel(Parcel dest,
                         int parcelableFlags)
        Description copied from interface: Parcelable
        Flatten this object in to a Parcel.
        Specified by:
        writeToParcel in interface Parcelable
        Parameters:
        dest - The Parcel in which the object should be written.
        parcelableFlags - Additional flags about how the object should be written. May be 0 or Parcelable.PARCELABLE_WRITE_RETURN_VALUE.


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 700 / 158857763. Delta: 0.04109 с