public class InstrumentationInfo extends PackageItemInfo implements Parcelable
PackageItemInfo.DisplayNameComparator
Parcelable.ClassLoaderCreator<T>, Parcelable.Creator<T>
Modifier and Type | Field and Description |
---|---|
static Parcelable.Creator<InstrumentationInfo> |
CREATOR |
String |
credentialProtectedDataDir |
String |
dataDir
Full path to a directory assigned to the package for its persistent data.
|
String |
deviceProtectedDataDir |
boolean |
functionalTest
Specifies whether or not to run this instrumentation as a functional test
|
boolean |
handleProfiling
Specifies whether or not this instrumentation will handle profiling.
|
String |
nativeLibraryDir
Full path to the directory containing primary ABI native libraries.
|
String |
publicSourceDir
Full path to the publicly available parts of
sourceDir ,
including resources and manifest. |
String |
secondaryNativeLibraryDir
Full path to the directory containing secondary ABI native libraries.
|
String |
sourceDir
Full path to the base APK for this application.
|
String[] |
splitPublicSourceDirs
Full path to the publicly available parts of
splitSourceDirs ,
including resources and manifest. |
String[] |
splitSourceDirs
Full paths to zero or more split APKs that, when combined with the base
APK defined in
sourceDir , form a complete application. |
String |
targetPackage
The name of the application package being instrumented.
|
banner, DUMP_FLAG_ALL, DUMP_FLAG_APPLICATION, DUMP_FLAG_DETAILS, icon, labelRes, logo, metaData, name, nonLocalizedLabel, packageName, showUserIcon
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_ELIDE_DUPLICATES, PARCELABLE_WRITE_RETURN_VALUE
Constructor and Description |
---|
InstrumentationInfo() |
InstrumentationInfo(InstrumentationInfo orig) |
Modifier and Type | Method and Description |
---|---|
void |
copyTo(ApplicationInfo ai) |
int |
describeContents()
Describe the kinds of special objects contained in this Parcelable
instance's marshaled representation.
|
String |
toString()
Returns a string representation of the object.
|
void |
writeToParcel(Parcel dest,
int parcelableFlags)
Flatten this object in to a Parcel.
|
dumpBack, dumpFront, getApplicationInfo, loadBanner, loadDefaultBanner, loadDefaultIcon, loadDefaultLogo, loadIcon, loadLabel, loadLogo, loadSafeLabel, loadUnbadgedIcon, loadXmlMetaData
public String targetPackage
public String sourceDir
public String publicSourceDir
public String[] splitSourceDirs
sourceDir
, form a complete application.public String[] splitPublicSourceDirs
splitSourceDirs
,
including resources and manifest. This may be different from
splitSourceDirs
if an application is forward locked.public String dataDir
public String deviceProtectedDataDir
public String credentialProtectedDataDir
public String nativeLibraryDir
public String secondaryNativeLibraryDir
public boolean handleProfiling
public boolean functionalTest
public static final Parcelable.Creator<InstrumentationInfo> CREATOR
public InstrumentationInfo()
public InstrumentationInfo(InstrumentationInfo orig)
public String toString()
Object
toString
method returns a string that
"textually represents" this object. The result should
be a concise but informative representation that is easy for a
person to read.
It is recommended that all subclasses override this method.
The toString
method for class Object
returns a string consisting of the name of the class of which the
object is an instance, the at-sign character `@
', and
the unsigned hexadecimal representation of the hash code of the
object. In other words, this method returns a string equal to the
value of:
getClass().getName() + '@' + Integer.toHexString(hashCode())
public int describeContents()
Parcelable
Parcelable.writeToParcel(Parcel, int)
,
the return value of this method must include the
Parcelable.CONTENTS_FILE_DESCRIPTOR
bit.describeContents
in interface Parcelable
Parcelable.CONTENTS_FILE_DESCRIPTOR
public void writeToParcel(Parcel dest, int parcelableFlags)
Parcelable
writeToParcel
in interface Parcelable
writeToParcel
in class PackageItemInfo
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
.public void copyTo(ApplicationInfo ai)