ThrottlingWaiter
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
公共构造函数
ThrottlingWaiter
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 |
|