溫度節流服務員
public class TemperatureThrottlingWaiter
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TemperatureThrotdlingWaiter |
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
公共構造函數
溫度節流服務員
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 |