Searched refs:PowerUI (Results 1 – 5 of 5) sorted by relevance
44 import com.android.systemui.power.PowerUI.WarningsUI;71 private PowerUI mPowerUI;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 …]
60 public class PowerNotificationWarnings implements PowerUI.WarningsUI {61 private static final String TAG = PowerUI.TAG + ".Notification";62 private static final boolean DEBUG = PowerUI.DEBUG;
58 public class PowerUI extends SystemUI { class
48 import com.android.systemui.power.PowerUI;311 mProviders.put(PowerUI.WarningsUI.class, () -> new PowerNotificationWarnings(mContext)); in start()
124 ### [com.android.systemui.power.PowerUI](/packages/SystemUI/src/com/android/systemui/power/PowerUI.…