Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/power/
DPowerUITest.java44 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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/
DPowerNotificationWarnings.java60 public class PowerNotificationWarnings implements PowerUI.WarningsUI {
61 private static final String TAG = PowerUI.TAG + ".Notification";
62 private static final boolean DEBUG = PowerUI.DEBUG;
DPowerUI.java58 public class PowerUI extends SystemUI { class
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java48 import com.android.systemui.power.PowerUI;
311 mProviders.put(PowerUI.WarningsUI.class, () -> new PowerNotificationWarnings(mContext)); in start()
/frameworks/base/packages/SystemUI/
DREADME.md124 ### [com.android.systemui.power.PowerUI](/packages/SystemUI/src/com/android/systemui/power/PowerUI.…