Searched refs:getLowWarningThreshold (Results 1 – 4 of 4) sorted by relevance
160 when(mEnhancedEstimates.getLowWarningThreshold()) in testShouldShowLowBatteryWarning_showHybridOnly_overrideThresholdHigh_returnsNoShow()177 when(mEnhancedEstimates.getLowWarningThreshold()) in testShouldShowLowBatteryWarning_showHybridOnly_overrideThresholdHigh_returnsShow()194 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()[all …]
19 long getLowWarningThreshold(); in getLowWarningThreshold() method
18 public long getLowWarningThreshold() { in getLowWarningThreshold() method in EnhancedEstimatesImpl
278 mWarnings.updateThresholds(mEnhancedEstimates.getLowWarningThreshold(), in maybeShowBatteryWarning()331 && timeRemaining > mEnhancedEstimates.getLowWarningThreshold(); in shouldDismissLowBatteryWarning()349 && (timeRemaining < mEnhancedEstimates.getLowWarningThreshold() in isEnhancedTrigger()