Fields Summary |
---|
public String | packageNameThe name of this package. From the <manifest> tag's "name"
attribute. |
public String[] | splitNamesThe names of any installed split APKs for this package. |
public int | versionCodeThe version number of this package, as specified by the <manifest>
tag's {@link android.R.styleable#AndroidManifest_versionCode versionCode}
attribute. |
public String | versionNameThe version name of this package, as specified by the <manifest>
tag's {@link android.R.styleable#AndroidManifest_versionName versionName}
attribute. |
public int | baseRevisionCodeThe revision number of the base APK for this package, as specified by the
<manifest> tag's
{@link android.R.styleable#AndroidManifest_revisionCode revisionCode}
attribute. |
public int[] | splitRevisionCodesThe revision number of any split APKs for this package, as specified by
the <manifest> tag's
{@link android.R.styleable#AndroidManifest_revisionCode revisionCode}
attribute. Indexes are a 1:1 mapping against {@link #splitNames}. |
public String | sharedUserIdThe shared user ID name of this package, as specified by the <manifest>
tag's {@link android.R.styleable#AndroidManifest_sharedUserId sharedUserId}
attribute. |
public int | sharedUserLabelThe shared user ID label of this package, as specified by the <manifest>
tag's {@link android.R.styleable#AndroidManifest_sharedUserLabel sharedUserLabel}
attribute. |
public ApplicationInfo | applicationInfoInformation collected from the <application> tag, or null if
there was none. |
public long | firstInstallTimeThe time at which the app was first installed. Units are as
per {@link System#currentTimeMillis()}. |
public long | lastUpdateTimeThe time at which the app was last updated. Units are as
per {@link System#currentTimeMillis()}. |
public int[] | gidsAll kernel group-IDs that have been assigned to this package.
This is only filled in if the flag {@link PackageManager#GET_GIDS} was set. |
public ActivityInfo[] | activitiesArray of all {@link android.R.styleable#AndroidManifestActivity
<activity>} tags included under <application>,
or null if there were none. This is only filled in if the flag
{@link PackageManager#GET_ACTIVITIES} was set. |
public ActivityInfo[] | receiversArray of all {@link android.R.styleable#AndroidManifestReceiver
<receiver>} tags included under <application>,
or null if there were none. This is only filled in if the flag
{@link PackageManager#GET_RECEIVERS} was set. |
public ServiceInfo[] | servicesArray of all {@link android.R.styleable#AndroidManifestService
<service>} tags included under <application>,
or null if there were none. This is only filled in if the flag
{@link PackageManager#GET_SERVICES} was set. |
public ProviderInfo[] | providersArray of all {@link android.R.styleable#AndroidManifestProvider
<provider>} tags included under <application>,
or null if there were none. This is only filled in if the flag
{@link PackageManager#GET_PROVIDERS} was set. |
public InstrumentationInfo[] | instrumentationArray of all {@link android.R.styleable#AndroidManifestInstrumentation
<instrumentation>} tags included under <manifest>,
or null if there were none. This is only filled in if the flag
{@link PackageManager#GET_INSTRUMENTATION} was set. |
public PermissionInfo[] | permissionsArray of all {@link android.R.styleable#AndroidManifestPermission
<permission>} tags included under <manifest>,
or null if there were none. This is only filled in if the flag
{@link PackageManager#GET_PERMISSIONS} was set. |
public String[] | requestedPermissionsArray of all {@link android.R.styleable#AndroidManifestUsesPermission
<uses-permission>} tags included under <manifest>,
or null if there were none. This is only filled in if the flag
{@link PackageManager#GET_PERMISSIONS} was set. This list includes
all permissions requested, even those that were not granted or known
by the system at install time. |
public int[] | requestedPermissionsFlagsArray of flags of all {@link android.R.styleable#AndroidManifestUsesPermission
<uses-permission>} tags included under <manifest>,
or null if there were none. This is only filled in if the flag
{@link PackageManager#GET_PERMISSIONS} was set. Each value matches
the corresponding entry in {@link #requestedPermissions}, and will have
the flags {@link #REQUESTED_PERMISSION_REQUIRED} and
{@link #REQUESTED_PERMISSION_GRANTED} set as appropriate. |
public static final int | REQUESTED_PERMISSION_REQUIREDFlag for {@link #requestedPermissionsFlags}: the requested permission
is required for the application to run; the user can not optionally
disable it. Currently all permissions are required. |
public static final int | REQUESTED_PERMISSION_GRANTEDFlag for {@link #requestedPermissionsFlags}: the requested permission
is currently granted to the application. |
public Signature[] | signaturesArray of all signatures read from the package file. This is only filled
in if the flag {@link PackageManager#GET_SIGNATURES} was set. |
public ConfigurationInfo[] | configPreferencesApplication specified preferred configuration
{@link android.R.styleable#AndroidManifestUsesConfiguration
<uses-configuration>} tags included under <manifest>,
or null if there were none. This is only filled in if the flag
{@link PackageManager#GET_CONFIGURATIONS} was set. |
public FeatureInfo[] | reqFeaturesFeatures that this application has requested. |
public FeatureGroupInfo[] | featureGroupsGroups of features that this application has requested.
Each group contains a set of features that are required.
A device must match the features listed in {@link #reqFeatures} and one
or more FeatureGroups in order to have satisfied the feature requirement. |
public static final int | INSTALL_LOCATION_UNSPECIFIEDConstant corresponding to auto in
the {@link android.R.attr#installLocation} attribute. |
public static final int | INSTALL_LOCATION_AUTOConstant corresponding to auto in the
{@link android.R.attr#installLocation} attribute. |
public static final int | INSTALL_LOCATION_INTERNAL_ONLYConstant corresponding to internalOnly in the
{@link android.R.attr#installLocation} attribute. |
public static final int | INSTALL_LOCATION_PREFER_EXTERNALConstant corresponding to preferExternal in the
{@link android.R.attr#installLocation} attribute. |
public int | installLocationThe install location requested by the package. From the
{@link android.R.attr#installLocation} attribute, one of
{@link #INSTALL_LOCATION_AUTO}, {@link #INSTALL_LOCATION_INTERNAL_ONLY},
{@link #INSTALL_LOCATION_PREFER_EXTERNAL} |
public boolean | coreApp |
public boolean | requiredForAllUsers |
public String | restrictedAccountType |
public String | requiredAccountType |
public String | overlayTargetWhat package, if any, this package will overlay.
Package name of target package, or null. |
public static final Parcelable.Creator | CREATOR |