二級用戶處理器
public class SecondaryUserHandler
extends Object
implements IModuleParameterHandler
java.lang.Object | |
↳ | com.android.tradefed.testtype.suite.params.SecondaryUserHandler |
ModuleParameters#SECONDARY_USER
的處理程序。
概括
公共構造函數 | |
---|---|
SecondaryUserHandler () |
受保護的構造函數 | |
---|---|
SecondaryUserHandler (boolean startUserVisibleOnBackground) | |
SecondaryUserHandler (boolean startUserVisibleOnBackground, Integer displayId) |
公共方法 | |
---|---|
final void | addParameterSpecificConfig ( IConfiguration moduleConfiguration) 添加到具有參數特定需求的 |
final void | applySetup ( IConfiguration moduleConfiguration) 將參數特定模塊設置應用於模塊 |
String | getParameterIdentifier () 返回參數化模塊將被標識為的名稱。 |
公共構造函數
二級用戶處理器
public SecondaryUserHandler ()
受保護的構造函數
二級用戶處理器
protected SecondaryUserHandler (boolean startUserVisibleOnBackground)
參數 | |
---|---|
startUserVisibleOnBackground | boolean |
二級用戶處理器
protected SecondaryUserHandler (boolean startUserVisibleOnBackground, Integer displayId)
參數 | |
---|---|
startUserVisibleOnBackground | boolean |
displayId | Integer |
公共方法
添加參數特定配置
public final void addParameterSpecificConfig (IConfiguration moduleConfiguration)
添加到具有參數特定需求的IConfiguration
。例如,從配置中插入或刪除目標準備器。
參數 | |
---|---|
moduleConfiguration | IConfiguration : 模塊的IConfiguration |
應用設置
public final void applySetup (IConfiguration moduleConfiguration)
將參數特定模塊設置應用於模塊IConfiguration
。例如,這可能是準備者或測試的額外選項。
參數 | |
---|---|
moduleConfiguration | IConfiguration |
獲取參數標識符
public String getParameterIdentifier ()
返回參數化模塊將被標識為的名稱。
退貨 | |
---|---|
String |