TemperatureThrottlingWaiter
public
class
TemperatureThrottlingWaiter
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TemperatureThrottlingWaiter, |
ITargetPreparer
, który czeka, aż temperatura urządzenia spadnie do wartości docelowej
Podsumowanie
Fieldsem | |
---|---|
public
static
final
String |
DEVICE_TEMPERATURE_COMMAND_NAME
|
public
static
final
String |
DEVICE_TEMPERATURE_FILE_PATH_NAME
|
Konstruktory publiczne | |
---|---|
TemperatureThrottlingWaiter()
|
Metody publiczne | |
---|---|
void
|
setUp(TestInformation testInfo)
|
Metody chronione | |
---|---|
int
|
getDeviceTemperature(ITestDevice device)
|
IRunUtil
|
getRunUtil()
|
Fieldsem
DEVICE_TEMPERATURE_Command_NAME
public static final String DEVICE_TEMPERATURE_COMMAND_NAME
NAZWA_ŚCIEŻKI_PLIKU_URZĄDZENIA_TEMPERATURE
public static final String DEVICE_TEMPERATURE_FILE_PATH_NAME
Konstruktory publiczne
TemperatureThrottlingWaiter
public TemperatureThrottlingWaiter ()
Metody publiczne
Konfiguracja
public void setUp (TestInformation testInfo)
Parametry | |
---|---|
testInfo |
TestInformation |
Rzuty | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
Metody chronione
getDeviceTemperature
protected int getDeviceTemperature (ITestDevice device)
Zwroty | |
---|---|
int |
Rzuty | |
---|---|
|
com.android.tradefed.device.DeviceNotAvailableException |
DeviceNotAvailableException |
|
TargetSetupError |