FoldableModePreparer

public class FoldableModePreparer
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.suite.FoldableModePreparer


A target preparer that can switch the foldable state of a device.

Summary

Public constructors

FoldableModePreparer()
FoldableModePreparer(long stateIdentifier)

Public methods

void setUp(TestInformation testInformation)
void tearDown(TestInformation testInformation, Throwable e)

Public constructors

FoldableModePreparer

public FoldableModePreparer ()

FoldableModePreparer

public FoldableModePreparer (long stateIdentifier)

Parameters
stateIdentifier long

Public methods

setUp

public void setUp (TestInformation testInformation)

Parameters
testInformation TestInformation

Throws
BuildError
DeviceNotAvailableException
TargetSetupError

tearDown

public void tearDown (TestInformation testInformation, 
                Throwable e)

Parameters
testInformation TestInformation

e Throwable

Throws
DeviceNotAvailableException