HsumHelper

public final class HsumHelper
extends Object

java.lang.Object
com.android.tradefed.device.HsumHelper


Cung cấp các tiện ích cho tác vụ HSUM (Chế độ người dùng hệ thống không có giao diện người dùng)

Tóm tắt

Hằng số

String BOOT_STRATEGY_PROPERTY

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

HsumHelper(ITestDevice device)

Phương thức công khai

HsumHelper.HsumBootStrategy getHsumBootStrategy()

Nhận HsumBootStrategy của thiết bị.

void setHsumBootStrategy(HsumHelper.HsumBootStrategy strategy)

Đặt HsumBootStrategy của thiết bị

Hằng số

BOOT_STRATEGY_PROPERTY

public static final String BOOT_STRATEGY_PROPERTY

Giá trị không đổi: "persist.user.hsum_boot_strategy"

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

HsumHelper

public HsumHelper (ITestDevice device)

Tham số
device ITestDevice

Phương thức công khai

getHsumBootStrategy

public HsumHelper.HsumBootStrategy getHsumBootStrategy ()

Nhận HsumBootStrategy của thiết bị.

Giá trị trả về
HsumHelper.HsumBootStrategy

Gửi
IllegalStateException nếu chiến lược hiện tại được đặt thành một giá trị không hợp lệ.
DeviceNotAvailableException

setHsumBootStrategy

public void setHsumBootStrategy (HsumHelper.HsumBootStrategy strategy)

Đặt HsumBootStrategy của thiết bị

Tham số
strategy HsumHelper.HsumBootStrategy

Gửi
DeviceNotAvailableException