Android
android.content.pm
public class

android.content.pm.InstrumentationInfo

java.lang.Object
android.content.pm.PackageItemInfo
android.content.pm.InstrumentationInfo Parcelable

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

      Value  
Creator<InstrumentationInfo CREATOR       
Constants inherited from interface android.os.Parcelable

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. 
Fields inherited from class 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 the receiver.
          void  writeToParcel(Parcel dest, int parcelableFlags)
Methods inherited from class android.content.pm.PackageItemInfo
Methods inherited from class java.lang.Object
Methods inherited from interface android.os.Parcelable

Details

Constants

public static final Creator<InstrumentationInfo> 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 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 InstrumentationInfo(InstrumentationInfo orig)

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)

Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56