CompanionRunCommandTargetPreparer

public class CompanionRunCommandTargetPreparer
extends RunCommandTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.RunCommandTargetPreparer
       ↳ com.android.tradefed.targetprep.companion.CompanionRunCommandTargetPreparer


A ITargetPreparer that runs specified commands on the allocated companion device

Summary

Public constructors

CompanionRunCommandTargetPreparer()

Protected methods

ITestDevice getDevice(TestInformation testInfo)

Returns the device to apply the preparer on.

Public constructors

CompanionRunCommandTargetPreparer

public CompanionRunCommandTargetPreparer ()

Protected methods

getDevice

protected ITestDevice getDevice (TestInformation testInfo)

Returns the device to apply the preparer on.

Returns
ITestDevice The device to apply the preparer on.

Throws
TargetSetupError