Build 1.0_r1(from source)

android.content.pm
Class InstrumentationInfo

java.lang.Object
  extended by android.content.pm.PackageItemInfo
      extended by android.content.pm.InstrumentationInfo
All Implemented Interfaces:
Parcelable

public class InstrumentationInfo
extends PackageItemInfo
implements Parcelable

Information you can retrieve about a particular piece of test instrumentation. This corresponds to information collected from the AndroidManifest.xml's <instrumentation> tag.


Nested Class Summary
 
Nested classes/interfaces inherited from class android.content.pm.PackageItemInfo
PackageItemInfo.DisplayNameComparator
 
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.Creator<T>
 
Field Summary
static Parcelable.Creator<InstrumentationInfo> CREATOR
           
 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 location of the publicly available parts of this package (i.e.
 String sourceDir
          Full path to the location of this package.
 String targetPackage
          The name of the application package being instrumented.
 
Fields inherited from class android.content.pm.PackageItemInfo
icon, labelRes, metaData, name, nonLocalizedLabel, packageName
 
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
 
Constructor Summary
InstrumentationInfo()
           
InstrumentationInfo(InstrumentationInfo orig)
           
 
Method Summary
 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 the receiver.
 void writeToParcel(Parcel dest, int parcelableFlags)
          Flatten this object in to a Parcel.
 
Methods inherited from class android.content.pm.PackageItemInfo
dumpBack, dumpFront, loadIcon, loadLabel, loadXmlMetaData
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

targetPackage

public String targetPackage
The name of the application package being instrumented. From the "package" attribute.


sourceDir

public String sourceDir
Full path to the location of this package.


publicSourceDir

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).


dataDir

public String dataDir
Full path to a directory assigned to the package for its persistent data.


handleProfiling

public boolean handleProfiling
Specifies whether or not this instrumentation will handle profiling.


functionalTest

public boolean functionalTest
Specifies whether or not to run this instrumentation as a functional test


CREATOR

public static final Parcelable.Creator<InstrumentationInfo> CREATOR
Constructor Detail

InstrumentationInfo

public InstrumentationInfo()

InstrumentationInfo

public InstrumentationInfo(InstrumentationInfo orig)
Method Detail

toString

public String toString()
Description copied from class: Object
Returns a string containing a concise, human-readable description of the receiver.

Overrides:
toString in class Object
Returns:
String a printable representation for the receiver.

describeContents

public int describeContents()
Description copied from interface: Parcelable
Describe the kinds of special objects contained in this Parcelable's marshalled representation.

Specified by:
describeContents in interface Parcelable
Returns:
a bitmask indicating the set of special object types marshalled by the Parcelable.

writeToParcel

public void writeToParcel(Parcel dest,
                          int parcelableFlags)
Description copied from interface: Parcelable
Flatten this object in to a Parcel.

Specified by:
writeToParcel in interface Parcelable
Overrides:
writeToParcel in class PackageItemInfo
Parameters:
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.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature