Trình xử lý người dùng thứ cấp
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 công cộng | |
---|---|
SecondaryUserHandler () |
Các nhà xây dựng được bảo vệ | |
---|---|
SecondaryUserHandler (boolean startUserVisibleOnBackground) | |
SecondaryUserHandler (boolean startUserVisibleOnBackground, Integer displayId) |
Phương thức 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 được tham số hóa sẽ được xác định là. |
nhà thầu công cộng
Trình xử lý người dùng thứ cấp
public SecondaryUserHandler ()
Các nhà xây dựng được bảo vệ
Trình xử lý người dùng thứ cấp
protected SecondaryUserHandler (boolean startUserVisibleOnBackground)
Thông số | |
---|---|
startUserVisibleOnBackground | boolean |
Trình xử lý người dùng thứ cấp
protected SecondaryUserHandler (boolean startUserVisibleOnBackground, Integer displayId)
Thông số | |
---|---|
startUserVisibleOnBackground | boolean |
displayId | Integer |
Phương thức 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ụngSetup
public final void applySetup (IConfiguration moduleConfiguration)
Áp dụng cho mô-đun IConfiguration
thiết lập mô-đun cụ thể của tham số. Ví dụ: đây có thể là các tùy 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 được tham số hóa sẽ được xác định là.
trả lại | |
---|---|
String |