Home
last modified time | relevance | path

Searched refs:THREE_HOURS_IN_MILLIS (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java194 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testShouldShowLowBatteryWarning_showHybridOnly_returnsShow()
210 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testShouldShowLowBatteryWarning_showHybrid_showStandard_returnsShow()
226 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testShouldShowLowBatteryWarning_showStandardOnly_returnsShow()
242 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testShouldShowLowBatteryWarning_deviceHighBattery_returnsNoShow()
257 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testShouldShowLowBatteryWarning_devicePlugged_returnsNoShow()
272 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testShouldShowLowBatteryWarning_deviceBatteryStatusUnknown_returnsNoShow()
288 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testShouldShowLowBatteryWarning_batterySaverEnabled_returnsNoShow()
304 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testShouldShowLowBatteryWarning_onlyShowsOncePerChargeCycle()
326 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testShouldDismissLowBatteryWarning_dismissWhenPowerSaverEnabled()
340 when(mEnhancedEstimates.getLowWarningThreshold()).thenReturn(PowerUI.THREE_HOURS_IN_MILLIS); in testShouldDismissLowBatteryWarning_dismissWhenPlugged()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerUI.java64 static final long THREE_HOURS_IN_MILLIS = DateUtils.HOUR_IN_MILLIS * 3; field in PowerUI