Home
last modified time | relevance | path

Searched refs:getThermalStatusToThrottle (Results 1 – 5 of 5) sorted by relevance

/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/common/
DFlags.java116 default int getThermalStatusToThrottle() { in getThermalStatusToThrottle() method
DPhFlags.java221 public int getThermalStatusToThrottle() { in getThermalStatusToThrottle() method in PhFlags
/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/training/util/
DTrainingConditionsChecker.java101 return mPowerManager.getCurrentThermalStatus() < mFlags.getThermalStatusToThrottle(); in deviceThermalsOkForTraining()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/training/util/
DTrainingConditionsCheckerTest.java60 when(mFlags.getThermalStatusToThrottle()).thenReturn(PowerManager.THERMAL_STATUS_MODERATE); in setUp()
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/common/
DPhFlagsTest.java370 assertThat(FlagsFactory.getFlags().getThermalStatusToThrottle()) in testGetThermalStatusToThrottle()
382 assertThat(phFlags.getThermalStatusToThrottle()).isEqualTo(overrideValue); in testGetThermalStatusToThrottle()