NativeBridgeModuleController
public
class
NativeBridgeModuleController
extends BaseModuleController
| java.lang.Object | ||
| ↳ | com.android.tradefed.testtype.suite.module.BaseModuleController | |
| ↳ | com.android.tradefed.testtype.suite.module.NativeBridgeModuleController | |
A module controller to check if a device support native bridge. If it does support it and we detect a native bridge situation the module will be skipped.
Summary
Constants | |
|---|---|
String |
NATIVE_BRIDGE_PROP
|
Public constructors | |
|---|---|
NativeBridgeModuleController()
|
|
Public methods | |
|---|---|
IModuleController.RunStrategy
|
shouldRun(IInvocationContext context)
Method to decide if the module should run or not. |
Constants
NATIVE_BRIDGE_PROP
public static final String NATIVE_BRIDGE_PROP
Constant Value: "ro.dalvik.vm.native.bridge"
Public constructors
NativeBridgeModuleController
public NativeBridgeModuleController ()
Public methods
shouldRun
public IModuleController.RunStrategy shouldRun (IInvocationContext context)
Method to decide if the module should run or not.
| Parameters | |
|---|---|
context |
IInvocationContext: the IInvocationContext of the module |
| Returns | |
|---|---|
IModuleController.RunStrategy |
True if the module should run, false otherwise. |