TemperatureThrottlingWaiter

public class TemperatureThrottlingWaiter
extends BaseTargetPreparer

java.lang.Object
com.android.tradefed.targetprep.BaseTargetPreparer
com.android.tradefed.targetprep.TemperatureThrottlingWaiter


ITargetPreparer等待设备温度降至目标值

概括

字段

public static final String DEVICE_TEMPERATURE_COMMAND_NAME

public static final String DEVICE_TEMPERATURE_FILE_PATH_NAME

公共构造函数

TemperatureThrottlingWaiter ()

公共方法

void setUp ( TestInformation testInfo)

受保护的方法

int getDeviceTemperature ( ITestDevice device)
IRunUtil getRunUtil ()

字段

DEVICE_TEMPERATURE_COMMAND_NAME

public static final String DEVICE_TEMPERATURE_COMMAND_NAME

DEVICE_TEMPERATURE_FILE_PATH_NAME

public static final String DEVICE_TEMPERATURE_FILE_PATH_NAME

公共构造函数

TemperatureThrottlingWaiter

public TemperatureThrottlingWaiter ()

公共方法

设置

public void setUp (TestInformation testInfo)

参数
testInfo TestInformation

投掷
BuildError
DeviceNotAvailableException
TargetSetupError

受保护的方法

获取设备温度

protected int getDeviceTemperature (ITestDevice device)

退货
int

投掷
com.android.tradefed.device.DeviceNotAvailableException
DeviceNotAvailableException
TargetSetupError

getRunUtil

protected IRunUtil getRunUtil ()

退货
IRunUtil