TemperatureThrottlingwaiter

public class TemperatureThrottlingWaiter
extends BaseTargetPreparer

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


ITargetPreparer yang menunggu hingga suhu perangkat turun ke target

Ringkasan

Kolom

public static final String DEVICE_TEMPERATURE_COMMAND_NAME

public static final String DEVICE_TEMPERATURE_FILE_PATH_NAME

Konstruktor publik

TemperatureThrottlingWaiter()

Metode publik

void setUp(TestInformation testInfo)

Metode yang dilindungi

int getDeviceTemperature(ITestDevice device)
IRunUtil getRunUtil()

Kolom

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

Konstruktor publik

TemperatureThrottlingWaiter

public TemperatureThrottlingWaiter ()

Metode publik

penyiapan

public void setUp (TestInformation testInfo)

Parameter
testInfo TestInformation

Menampilkan
BuildError
DeviceNotAvailableException
TargetSetupError

Metode yang dilindungi

getDeviceTemperature

protected int getDeviceTemperature (ITestDevice device)

Hasil
int

Menampilkan
com.android.tradefed.device.DeviceNotAvailableException
DeviceNotAvailableException
TargetSetupError

getRunUtil

protected IRunUtil getRunUtil ()

Hasil
IRunUtil