com.android.tradefed.testtype.suite.module

Interfaces

IModuleController Interface for controlling if a module should be executed or not. 

Classes

ArchModuleController Module controller to not run tests when it doesn't match any given architectures. 
BaseModuleController Basic implementation of IModuleController that should be implemented for checking if a module should run or not. 
CarModuleController This controller prevents execution of tests cases on non-automotive devices. 
CommandSuccessModuleController Base class for a module controller to skip test module based on shell command failure. 
DeviceFeatureModuleController A module controller to not run tests when it doesn't support certain feature. 
KernelTestModuleController Base class for a module controller to not run tests when it doesn't match the architecture . 
MainlineTestModuleController Base class for a module controller to run tests based on the preloaded mainline modules on the device under test. 
MaxSdkModuleController Base class for a module controller to not run tests on versions above a specified SDK version number. 
MinApiLevelModuleController Base class for a module controller to not run tests when it below a specified API Level. 
MinSdkModuleController Base class for a module controller to not run tests on versions below a specified SDK version number. 
NativeBridgeModuleController A module controller to check if a device support native bridge. 
PackageInstalledModuleController Module controller to not run tests when the device has not got the given packages installed. 
Sdk28ModuleController A module controller to check if a device is on SDK 28 (Android 9) or above. 
Sdk29ModuleController Only run tests if the device under test is SDK version 29 or above. 
Sdk30ModuleController Only run tests if the device under test is SDK version 30 or above. 
Sdk31ModuleController Only run tests if the device under test is SDK version 31 or above. 
Sdk32ModuleController Only run tests if the device under test is SDK version 32 or above. 
Sdk33ModuleController Only run tests if the device under test is SDK version 33 or above. 
Sdk34ModuleController Only run tests if the device under test is SDK version 34 or above. 
Sdk35ModuleController Only run tests if the device under test is SDK version 35 or above. 
ShippingApiLevelModuleController Run tests if the device meets the following conditions:
  • If min-api-level is defined:
    • The device shipped with the min-api-level or later. 
SkipHWASanModuleController Base class for a module controller to not run tests on HWASan builds. 
TestFailureModuleController Controller for module that simply want to tune how the tests failures log collected are behaving. 

Enums

IModuleController.RunStrategy Enum describing how the module should be executed.