CompatTargetPreparer

public class CompatTargetPreparer
extends TestAppInstallSetup

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.TestAppInstallSetup
       ↳ com.android.tradefed.targetprep.CompatTargetPreparer


A ITargetPreparer that prepares the device for running compat tests.

Summary

Public constructors

CompatTargetPreparer()

Public methods

void tearDown(TestInformation testInfo, Throwable e)

Protected methods

void installer(TestInformation testInfo, Map<File, String> appFilesAndPackages)

Attempt to install an package or split package on the device.

Public constructors

CompatTargetPreparer

public CompatTargetPreparer ()

Public methods

tearDown

public void tearDown (TestInformation testInfo, 
                Throwable e)

Parameters
testInfo TestInformation

e Throwable

Throws
DeviceNotAvailableException

Protected methods

installer

protected void installer (TestInformation testInfo, 
                Map<File, String> appFilesAndPackages)

Attempt to install an package or split package on the device.

Parameters
testInfo TestInformation: the TestInformation for the invocation

appFilesAndPackages Map: The apks and their package to be installed.

Throws
DeviceNotAvailableException
TargetSetupError