Home
last modified time | relevance | path

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

/packages/modules/OnDevicePersonalization/federatedcompute/src/com/android/federatedcompute/services/common/
DBatteryInfo.java63 float minBatteryLevel = mFlags.getTrainingMinBatteryLevel() / 100.0f; in batteryOkForTraining()
DFlags.java98 default int getTrainingMinBatteryLevel() { in getTrainingMinBatteryLevel() method
DPhFlags.java213 public int getTrainingMinBatteryLevel() { in getTrainingMinBatteryLevel() method in PhFlags
/packages/modules/OnDevicePersonalization/tests/federatedcomputetests/src/com/android/federatedcompute/services/common/
DBatteryInfoTest.java47 when(mFlags.getTrainingMinBatteryLevel()).thenReturn(20); in setUp()
DPhFlagsTest.java347 assertThat(FlagsFactory.getFlags().getTrainingMinBatteryLevel()) in testGetTrainingMinBatteryLevel()
359 assertThat(phFlags.getTrainingMinBatteryLevel()).isEqualTo(overrideValue); in testGetTrainingMinBatteryLevel()