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.
Summary
Constants
Fields
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 location of the publicly available parts of this package (i.e. |
public |
|
|
String |
sourceDir |
Full path to the location of this package. |
public |
|
|
String |
targetPackage |
The name of the application package being instrumented. |
public |
|
|
int |
icon |
A drawable resource identifier (in the package's resources) of this
component's icon. |
public |
|
|
int |
labelRes |
A string resource identifier (in the package's resources) of this
component's label. |
public |
|
|
Bundle |
metaData |
Additional meta-data associated with this component. |
public |
|
|
String |
name |
Public name of this item. |
public |
|
|
CharSequence |
nonLocalizedLabel |
The string provided in the AndroidManifest file, if any. |
public |
|
|
String |
packageName |
Name of the package that this item is in. |
Public Constructors
Public Methods
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
Details
Constants
Fields
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 location of the publicly available parts of this package (i.e. the resources
and manifest). For non-forward-locked apps this will be the same as {@link #sourceDir).
public
String
sourceDir
Full path to the location of this package.
public
String
targetPackage
The name of the application package being instrumented. From the
"package" attribute.
Public Constructors
public
InstrumentationInfo()
Public Methods
public
int
describeContents()
Describe the kinds of special objects contained in this Parcelable's
marshalled representation.
public
String
toString()
Returns a string containing a concise, human-readable description of the
receiver.
Returns
- String a printable representation for the receiver.
public
void
writeToParcel(Parcel dest, int parcelableFlags)