輔助用戶處理程序
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 |