public
class
InstrumentationInfo
extends PackageItemInfo
implements
Parcelable
| java.lang.Object | ||
| ↳ | android.content.pm.PackageItemInfo | |
| ↳ | android.content.pm.InstrumentationInfo | |
Information you can retrieve about a particular piece of test instrumentation. This corresponds to information collected from the AndroidManifest.xml's <instrumentation> tag.
Inherited constants |
|---|
android.os.Parcelable
|
Fields | |
|---|---|
public
static
final
Creator<InstrumentationInfo> |
CREATOR
|
public
String |
dataDir
Full path to a directory assigned to the package for its persistent data. |
public
boolean |
functionalTest
Specifies whether or not to run this instrumentation as a functional test |
public
boolean |
handleProfiling
Specifies whether or not this instrumentation will handle profiling. |
public
String |
publicSourceDir
Full path to the publicly available parts of |
public
String |
sourceDir
Full path to the base APK for this application. |
public
String[] |
splitPublicSourceDirs
Full path to the publicly available parts of |
public
String[] |
splitSourceDirs
Full paths to zero or more split APKs that, when combined with the base
APK defined in |
public
String |
targetPackage
The name of the application package being instrumented. |
Inherited fields |
|---|
android.content.pm.PackageItemInfo
|
Public constructors | |
|---|---|
InstrumentationInfo()
|
|
InstrumentationInfo(InstrumentationInfo orig)
|
|
Public methods | |
|---|---|
int
|
describeContents()
Describe the kinds of special objects contained in this Parcelable's marshalled representation. |
String
|
toString()
Returns a string containing a concise, human-readable description of this object. |
void
|
writeToParcel(Parcel dest, int parcelableFlags)
|
Inherited methods | |
|---|---|
android.content.pm.PackageItemInfo
| |
java.lang.Object
| |
android.os.Parcelable
| |
String dataDir
Full path to a directory assigned to the package for its persistent data.
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 publicSourceDir
Full path to the publicly available parts of sourceDir,
including resources and manifest. This may be different from
sourceDir if an application is forward locked.
String[] splitPublicSourceDirs
Full path to the publicly available parts of splitSourceDirs,
including resources and manifest. This may be different from
splitSourceDirs if an application is forward locked.
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. From the "package" attribute.
InstrumentationInfo (InstrumentationInfo orig)
| Parameters | |
|---|---|
orig |
InstrumentationInfo
|
int describeContents ()
Describe the kinds of special objects contained in this Parcelable's marshalled representation.
| Returns | |
|---|---|
int |
a bitmask indicating the set of special object types marshalled by the Parcelable. |
String toString ()
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.
| Returns | |
|---|---|
String |
a printable representation of this object. |
void writeToParcel (Parcel dest, int parcelableFlags)
| Parameters | |
|---|---|
dest |
Parcel
|
parcelableFlags |
int
|