TemperaturaThrottlingGering
public
class
TemperatureThrottlingWaiter
extends BaseTargetPreparer
java.lang.Object | ||
↳ | com.android.tradefed.targetprep.BaseTargetPreparer | |
↳ | com.android.tradefed.targetprep.TemperatureThrottlingWaiter |
Um ITargetPreparer
que espera até que a temperatura do dispositivo chegue à meta
Resumo
Campos | |
---|---|
public
static
final
String |
DEVICE_TEMPERATURE_COMMAND_NAME
|
public
static
final
String |
DEVICE_TEMPERATURE_FILE_PATH_NAME
|
Construtores 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
Construtores públicos
TemperatureThrottlingWaiter
public TemperatureThrottlingWaiter ()
Métodos públicos
Configuração
public void setUp (TestInformation testInfo)
Parâmetros | |
---|---|
testInfo |
TestInformation |
Gera | |
---|---|
BuildError |
|
DeviceNotAvailableException |
|
TargetSetupError |
Métodos protegidos
getDeviceTemperatura
protected int getDeviceTemperature (ITestDevice device)
Retorna | |
---|---|
int |
Gera | |
---|---|
|
com.android.tradefed.device.DeviceNotAvailableException |
DeviceNotAvailableException |
|
TargetSetupError |