Starting March 27, 2025, we recommend using android-latest-release
instead of aosp-main
to build and contribute to AOSP. For more information, see Changes to AOSP.
TemperatureThrottlingWaiter
public
class
TemperatureThrottlingWaiter
extends BaseTargetPreparer
An ITargetPreparer
that waits until device's temperature gets down to target
Summary
Fields
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
Public constructors
TemperatureThrottlingWaiter
public TemperatureThrottlingWaiter ()
Public methods
public void setUp (TestInformation testInfo)
Parameters |
testInfo |
TestInformation |
Protected methods
getDeviceTemperature
protected int getDeviceTemperature (ITestDevice device)
getRunUtil
protected IRunUtil getRunUtil ()
Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.
Last updated 2023-04-28 UTC.
[null,null,["Last updated 2023-04-28 UTC."],[],[]]