DeviceFailedToBootError

public class DeviceFailedToBootError
extends BuildError

java.lang.Object
   ↳ com.android.tradefed.error.HarnessException
     ↳ com.android.tradefed.targetprep.BuildError
       ↳ com.android.tradefed.targetprep.DeviceFailedToBootError


Được gửi nếu thiết bị không khởi động được sau khi cài đặt ROM bằng một bản dựng.

Tóm tắt

Hàm khởi tạo công khai

DeviceFailedToBootError(String reason, DeviceDescriptor descriptor)

Hàm khởi tạo này không còn được dùng nữa. Thay vào đó, hãy sử dụng DeviceFailedToBootError(String, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier)

DeviceFailedToBootError(String reason, DeviceDescriptor descriptor, ErrorIdentifier errorId)

Tạo một (@link DeviceFailedToBootError} mới với thông báo lỗi chi tiết.

DeviceFailedToBootError(String reason, DeviceDescriptor descriptor, Throwable cause, ErrorIdentifier errorId)

Tạo một (@link DeviceFailedToBootError} mới với thông báo lỗi chi tiết.

Hàm khởi tạo công khai

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor)

Hàm khởi tạo này không còn được dùng nữa.
Hãy sử dụng DeviceFailedToBootError(String, com.android.tradefed.command.remote.DeviceDescriptor, com.android.tradefed.result.error.ErrorIdentifier)

Tạo một (@link DeviceFailedToBootError} mới với thông báo lỗi chi tiết.

Tham số
reason String: thông báo lỗi cung cấp thêm thông tin chi tiết về lỗi khởi động

descriptor DeviceDescriptor: chỉ số mô tả của thiết bị liên quan đến ngoại lệ

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor, 
                ErrorIdentifier errorId)

Tạo một (@link DeviceFailedToBootError} mới với thông báo lỗi chi tiết.

Tham số
reason String: thông báo lỗi cung cấp thêm thông tin chi tiết về lỗi khởi động

descriptor DeviceDescriptor: chỉ số mô tả của thiết bị liên quan đến ngoại lệ

errorId ErrorIdentifier: giá trị nhận dạng lỗi cho lỗi này.

DeviceFailedToBootError

public DeviceFailedToBootError (String reason, 
                DeviceDescriptor descriptor, 
                Throwable cause, 
                ErrorIdentifier errorId)

Tạo một (@link DeviceFailedToBootError} mới với thông báo lỗi chi tiết.

Tham số
reason String: thông báo lỗi cung cấp thêm thông tin chi tiết về lỗi khởi động

descriptor DeviceDescriptor: chỉ số mô tả của thiết bị liên quan đến ngoại lệ

cause Throwable: Nguyên nhân ban đầu của ngoại lệ

errorId ErrorIdentifier: giá trị nhận dạng lỗi cho lỗi này.