MainlineModuleHandler

public final class MainlineModuleHandler
extends Object

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


A simple handler class for Mainline Modules that creates a InstallApexModuleTargetPreparer and injects the dynamic link into it based on the given mainline modules to automatically retrieve those modules.

Summary

Public constructors

MainlineModuleHandler(String name, IAbi abi, IInvocationContext context, boolean optimize)
MainlineModuleHandler(String name, IAbi abi, IInvocationContext context, boolean optimize, boolean ignoreNonPreloadedMainlineModule)

Public methods

void applySetup(IConfiguration moduleConfiguration)

Apply to the module IConfiguration the parameter specific mainline module setup.

Public constructors

MainlineModuleHandler

public MainlineModuleHandler (String name, 
                IAbi abi, 
                IInvocationContext context, 
                boolean optimize)

Parameters
name String

abi IAbi

context IInvocationContext

optimize boolean

MainlineModuleHandler

public MainlineModuleHandler (String name, 
                IAbi abi, 
                IInvocationContext context, 
                boolean optimize, 
                boolean ignoreNonPreloadedMainlineModule)

Parameters
name String

abi IAbi

context IInvocationContext

optimize boolean

ignoreNonPreloadedMainlineModule boolean

Public methods

applySetup

public void applySetup (IConfiguration moduleConfiguration)

Apply to the module IConfiguration the parameter specific mainline module setup.

Parameters
moduleConfiguration IConfiguration