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