Tiempo de espera de regulación de la temperatura
public
class
TemperatureThrottlingWaiter
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TemperatureThrottlingWaiter |
Un ITargetPreparer
que espera hasta que la temperatura del dispositivo baje a la temperatura objetivo
Resumen
Campos | |
---|---|
public
static
final
String |
DEVICE_TEMPERATURE_COMMAND_NAME
|
public
static
final
String |
DEVICE_TEMPERATURE_FILE_PATH_NAME
|
Constructores públicos | |
---|---|
TemperatureThrottlingWaiter()
|
Métodos públicos | |
---|---|
void
|
setUp(TestInformation testInfo)
|
Métodos protegidos | |
---|---|
int
|
getDeviceTemperature(ITestDevice device)
|
IRunUtil
|
getRunUtil()
|
Campos
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
Constructores públicos
TemperatureThrottlingWaiter
public TemperatureThrottlingWaiter ()
Métodos públicos
setUp
public void setUp (TestInformation testInfo)
Parámetros | |
---|---|
testInfo |
TestInformation |
Arroja | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
Métodos protegidos
getDeviceTemperature
protected int getDeviceTemperature (ITestDevice device)
Muestra | |
---|---|
int |
Arroja | |
---|---|
|
com.android.tradefed.device.DeviceNotAvailableException |
DeviceNotAvailableException |
|
TargetSetupError |