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 |
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
public
static
final
Creator
CREATOR
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
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
String
toString()
Answers a string containing a concise, human-readable description of the
receiver.
public
void
writeToParcel(Parcel dest)