InstrumentationInfo
open class InstrumentationInfo : PackageItemInfo, Parcelable
| kotlin.Any | ||
| ↳ | 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.
Summary
| Inherited constants | |
|---|---|
| Public constructors | |
|---|---|
| Public methods | |
|---|---|
| open Int | |
| open String |
toString() |
| open Unit |
writeToParcel(dest: Parcel, parcelableFlags: Int) |
| Inherited functions | |
|---|---|
| Properties | |
|---|---|
| static Parcelable.Creator<InstrumentationInfo!> | |
| String! |
Full path to a directory assigned to the package for its persistent data. |
| Boolean |
Specifies whether or not to run this instrumentation as a functional test |
| Boolean |
Specifies whether or not this instrumentation will handle profiling. |
| String! |
Full path to the publicly available parts of |
| String! |
Full path to the base APK for this application. |
| Array<String!>! |
The names of all installed split APKs, ordered lexicographically. |
| Array<String!>! |
Full path to the publicly available parts of |
| Array<String!>! |
Full paths to zero or more split APKs, indexed by the same order as |
| String! |
The name of the application package being instrumented. |
| String! |
Names of the process(es) this instrumentation will run in. |
| Inherited properties | |
|---|---|
Public constructors
Public methods
describeContents
open fun describeContents(): Int
| Return | |
|---|---|
Int |
a bitmask indicating the set of special object types marshaled by this Parcelable object instance. Value is either 0 or android.os.Parcelable#CONTENTS_FILE_DESCRIPTOR |
toString
open fun toString(): String
| Return | |
|---|---|
String |
a string representation of the object. |
writeToParcel
open fun writeToParcel(
dest: Parcel,
parcelableFlags: Int
): Unit
| Parameters | |
|---|---|
dest |
Parcel: The Parcel in which the object should be written. This value cannot be null. |
flags |
Additional flags about how the object should be written. May be 0 or PARCELABLE_WRITE_RETURN_VALUE. Value is either 0 or a combination of android.os.Parcelable#PARCELABLE_WRITE_RETURN_VALUE, and android.os.Parcelable.PARCELABLE_ELIDE_DUPLICATES |
Properties
dataDir
var dataDir: String!
Full path to a directory assigned to the package for its persistent data.
functionalTest
var functionalTest: Boolean
Specifies whether or not to run this instrumentation as a functional test
handleProfiling
var handleProfiling: Boolean
Specifies whether or not this instrumentation will handle profiling.
publicSourceDir
var publicSourceDir: String!
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.
sourceDir
var sourceDir: String!
Full path to the base APK for this application.
splitNames
var splitNames: Array<String!>!
The names of all installed split APKs, ordered lexicographically.
splitPublicSourceDirs
var splitPublicSourceDirs: Array<String!>!
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.
See Also
splitSourceDirs
var splitSourceDirs: Array<String!>!
Full paths to zero or more split APKs, indexed by the same order as splitNames.
targetPackage
var targetPackage: String!
The name of the application package being instrumented. From the "package" attribute.
targetProcesses
var targetProcesses: String!
Names of the process(es) this instrumentation will run in. If not specified, only runs in the main process of the targetPackage. Can either be a comma-separated list of process names or '*' for any process that launches to run targetPackage code.