Trình xử lý người dùng phụ
public class SecondaryUserHandler
extends Object
implements IModuleParameterHandler
java.lang.Object | |
↳ | com.android.tradefed.testtype.suite.params.SecondaryUserHandler |
Trình xử lý cho ModuleParameters#SECONDARY_USER
.
Bản tóm tắt
Nhà thầu xây dựng công cộng | |
---|---|
SecondaryUserHandler () |
Nhà xây dựng được bảo vệ | |
---|---|
SecondaryUserHandler (boolean startUserVisibleOnBackground) | |
SecondaryUserHandler (boolean startUserVisibleOnBackground, Integer displayId) |
Phương pháp công khai | |
---|---|
final void | addParameterSpecificConfig ( IConfiguration moduleConfiguration) Thêm vào |
final void | applySetup ( IConfiguration moduleConfiguration) Áp dụng cho mô-đun |
String | getParameterIdentifier () Trả về tên mà mô-đun tham số hóa sẽ được xác định. |
Nhà thầu xây dựng công cộng
Trình xử lý người dùng phụ
public SecondaryUserHandler ()
Nhà xây dựng được bảo vệ
Trình xử lý người dùng phụ
protected SecondaryUserHandler (boolean startUserVisibleOnBackground)
Thông số | |
---|---|
startUserVisibleOnBackground | boolean |
Trình xử lý người dùng phụ
protected SecondaryUserHandler (boolean startUserVisibleOnBackground, Integer displayId)
Thông số | |
---|---|
startUserVisibleOnBackground | boolean |
displayId | Integer |
Phương pháp công khai
addParameterSpecificConfig
public final void addParameterSpecificConfig (IConfiguration moduleConfiguration)
Thêm vào IConfiguration
với các nhu cầu cụ thể về tham số. Ví dụ: chèn hoặc xóa trình chuẩn bị mục tiêu khỏi cấu hình.
Thông số | |
---|---|
moduleConfiguration | IConfiguration : IConfiguration của mô-đun |
áp dụngCài đặt
public final void applySetup (IConfiguration moduleConfiguration)
Áp dụng cho mô-đun IConfiguration
thiết lập mô-đun tham số cụ thể. Ví dụ: đây có thể là lựa chọn bổ sung cho người chuẩn bị hoặc bài kiểm tra.
Thông số | |
---|---|
moduleConfiguration | IConfiguration |
getParameterIdentifier
public String getParameterIdentifier ()
Trả về tên mà mô-đun tham số hóa sẽ được xác định.
Trả lại | |
---|---|
String |