TemperatureThrottlingWaiter

public class TemperatureThrottlingWaiter
extends BaseTargetPreparer

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


An ITargetPreparer that waits until device's temperature gets down to target

Summary

Public constructors

TemperatureThrottlingWaiter()

Public methods

void setUp(ITestDevice device, IBuildInfo buildInfo)

Protected methods

int getDeviceTemperature(ITestDevice device, String fileName)

Public constructors

TemperatureThrottlingWaiter

TemperatureThrottlingWaiter ()

Public methods

setUp

void setUp (ITestDevice device, 
                IBuildInfo buildInfo)

Parameters
device ITestDevice

buildInfo IBuildInfo

Throws
TargetSetupError
BuildError
DeviceNotAvailableException

Protected methods

getDeviceTemperature

int getDeviceTemperature (ITestDevice device, 
                String fileName)

Parameters
fileName String: : filename where device temperature is stored

Returns
int

Throws
DeviceNotAvailableException
TargetSetupError