SecondaryUserHandler

public class SecondaryUserHandler
extends Object implements IModuleParameterHandler

java.lang.Object
   ↳ com.android.tradefed.testtype.suite.params.SecondaryUserHandler


Handler for ModuleParameters#SECONDARY_USER.

Summary

Public constructors

SecondaryUserHandler()

Protected constructors

SecondaryUserHandler(boolean startUserVisibleOnBackground)
SecondaryUserHandler(boolean startUserVisibleOnBackground, Integer displayId)

Public methods

final void addParameterSpecificConfig(IConfiguration moduleConfiguration)

Adds to IConfiguration with the parameter specific needs.

final void applySetup(IConfiguration moduleConfiguration)

Apply to the module IConfiguration the parameter specific module setup.

String getParameterIdentifier()

Returns the name the parameterized module will be identified as.

Public constructors

SecondaryUserHandler

public SecondaryUserHandler ()

Protected constructors

SecondaryUserHandler

protected SecondaryUserHandler (boolean startUserVisibleOnBackground)

Parameters
startUserVisibleOnBackground boolean

SecondaryUserHandler

protected SecondaryUserHandler (boolean startUserVisibleOnBackground, 
                Integer displayId)

Parameters
startUserVisibleOnBackground boolean

displayId Integer

Public methods

addParameterSpecificConfig

public final void addParameterSpecificConfig (IConfiguration moduleConfiguration)

Adds to IConfiguration with the parameter specific needs. For example, insert or remove target preparers from configuration.

Parameters
moduleConfiguration IConfiguration: the IConfiguration of the module

applySetup

public final void applySetup (IConfiguration moduleConfiguration)

Apply to the module IConfiguration the parameter specific module setup. For example, this could be extra options for the preparers or the tests.

Parameters
moduleConfiguration IConfiguration

getParameterIdentifier

public String getParameterIdentifier ()

Returns the name the parameterized module will be identified as.

Returns
String