TemperatureThrottlingWaiter

public class TemperatureThrottlingWaiter
extends BaseTargetPreparer

java.lang.Object
   ↳ com.android.tradefed.targetprep.BaseTargetPreparer
     ↳ com.android.tradefed.targetprep.TemperatureThrottlingWaiter


ITargetPreparer, która czeka, aż temperatura urządzenia spadnie do docelowej wartości.

Podsumowanie

Stałe

String DEVICE_TEMPERATURE_COMMAND_NAME

String DEVICE_TEMPERATURE_FILE_PATH_NAME

Publiczne konstruktory

TemperatureThrottlingWaiter()

Metody publiczne

void setUp(TestInformation testInfo)

Metody chronione

int getDeviceTemperature(ITestDevice device)
IRunUtil getRunUtil()

Stałe

DEVICE_TEMPERATURE_COMMAND_NAME

public static final String DEVICE_TEMPERATURE_COMMAND_NAME

Wartość stała: "device-temperature-command"

DEVICE_TEMPERATURE_FILE_PATH_NAME

public static final String DEVICE_TEMPERATURE_FILE_PATH_NAME

Stała wartość: "device-temperature-file-path"

Publiczne konstruktory

TemperatureThrottlingWaiter

public TemperatureThrottlingWaiter ()

Metody publiczne

setUp

public void setUp (TestInformation testInfo)

Parametry
testInfo TestInformation

Zgłasza
BuildError
DeviceNotAvailableException
TargetSetupError

Metody chronione

getDeviceTemperature

protected int getDeviceTemperature (ITestDevice device)

Zwroty
int

Zgłasza
com.android.tradefed.device.DeviceNotAvailableException
DeviceNotAvailableException
TargetSetupError

getRunUtil

protected IRunUtil getRunUtil ()

Zwroty
IRunUtil