SecondaryUserHandler
public class SecondaryUserHandler
extends Object
implements IModuleParameterHandler
java.lang.object | |
↳ | com.android.tradefed.testtype.suite.params.SecondaryUserHandler |
Handler for ModuleParameters#SECONDARY_USER
.
خلاصه
سازندگان عمومی | |
---|---|
SecondaryUserHandler () |
سازندگان محافظت شده | |
---|---|
SecondaryUserHandler (boolean startUserVisibleOnBackground) | |
SecondaryUserHandler (boolean startUserVisibleOnBackground, Integer displayId) |
روش های عمومی | |
---|---|
final void | addParameterSpecificConfig ( IConfiguration moduleConfiguration) به |
final void | applySetup ( IConfiguration moduleConfiguration) تنظیمات ماژول خاص پارامتر را روی |
String | getParameterIdentifier () نامی را که ماژول پارامتری شده با آن مشخص می شود، برمی گرداند. |
سازندگان عمومی
SecondaryUserHandler
public SecondaryUserHandler ()
سازندگان محافظت شده
SecondaryUserHandler
protected SecondaryUserHandler (boolean startUserVisibleOnBackground)
مولفه های | |
---|---|
startUserVisibleOnBackground | boolean |
SecondaryUserHandler
protected SecondaryUserHandler (boolean startUserVisibleOnBackground, Integer displayId)
مولفه های | |
---|---|
startUserVisibleOnBackground | boolean |
displayId | Integer |
روش های عمومی
addParameterSpecificConfig
public final void addParameterSpecificConfig (IConfiguration moduleConfiguration)
به IConfiguration
با نیازهای خاص پارامتر اضافه می کند. برای مثال، آمادهکنندههای هدف را از پیکربندی درج یا حذف کنید.
مولفه های | |
---|---|
moduleConfiguration | IConfiguration : IConfiguration IC ماژول |
applicationSetup
public final void applySetup (IConfiguration moduleConfiguration)
تنظیمات ماژول خاص پارامتر را روی IConfiguration
ماژول اعمال کنید. برای مثال، این میتواند گزینههای اضافی برای آمادهکنندگان یا آزمونها باشد.
مولفه های | |
---|---|
moduleConfiguration | IConfiguration |
getParameterIdentifier
public String getParameterIdentifier ()
نامی را که ماژول پارامتری شده با آن مشخص می شود، برمی گرداند.
برمی گرداند | |
---|---|
String |