Home
last modified time | relevance | path

Searched refs:isHybridNotificationEnabled (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java159 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_showHybridOnly_overrideThresholdHigh_returnsNoShow()
176 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_showHybridOnly_overrideThresholdHigh_returnsShow()
193 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_showHybridOnly_returnsShow()
209 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_showHybrid_showStandard_returnsShow()
225 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_showStandardOnly_returnsShow()
241 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_deviceHighBattery_returnsNoShow()
256 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_devicePlugged_returnsNoShow()
271 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_deviceBatteryStatusUnknown_returnsNoShow()
287 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_batterySaverEnabled_returnsNoShow()
303 when(mEnhancedEstimates.isHybridNotificationEnabled()).thenReturn(true); in testShouldShowLowBatteryWarning_onlyShowsOncePerChargeCycle()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DEnhancedEstimates.java8 boolean isHybridNotificationEnabled(); in isHybridNotificationEnabled() method
DEnhancedEstimatesImpl.java8 public boolean isHybridNotificationEnabled() { in isHybridNotificationEnabled() method in EnhancedEstimatesImpl
DPowerUI.java270 final boolean hybridEnabled = mEnhancedEstimates.isHybridNotificationEnabled(); in maybeShowBatteryWarning()
316 if (mEnhancedEstimates.isHybridNotificationEnabled()) { in shouldShowLowBatteryWarning()
330 final boolean hybridWouldDismiss = mEnhancedEstimates.isHybridNotificationEnabled() in shouldDismissLowBatteryWarning()
335 || (standardWouldDismiss && (!mEnhancedEstimates.isHybridNotificationEnabled() in shouldDismissLowBatteryWarning()