/packages/apps/Settings/tests/robotests/src/com/android/settings/display/ |
D | DarkUIPreferenceControllerTest.java | 54 doReturn(true).when(mController).isPowerSaveMode(); in batterySaverToggles_disabledStateUpdates() 58 doReturn(false).when(mController).isPowerSaveMode(); in batterySaverToggles_disabledStateUpdates() 62 doReturn(true).when(mController).isPowerSaveMode(); in batterySaverToggles_disabledStateUpdates()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatterySaverControllerTest.java | 77 when(mPowerManager.isPowerSaveMode()).thenReturn(true); in getSummary_batterySaverOn_showSummaryOn() 84 when(mPowerManager.isPowerSaveMode()).thenReturn(false); in getSummary_batterySaverOffButScheduled_showSummaryScheduled() 93 when(mPowerManager.isPowerSaveMode()).thenReturn(false); in getSummary_batterySaverOff_showSummaryOff()
|
/packages/apps/Settings/src/com/android/settings/display/ |
D | DarkUIPreferenceController.java | 110 boolean isBatterySaver = isPowerSaveMode(); in updateEnabledStateIfNeeded() 121 boolean isPowerSaveMode() { in isPowerSaveMode() method in DarkUIPreferenceController 122 return mPowerManager.isPowerSaveMode(); in isPowerSaveMode()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceControllerTest.java | 77 when(mPowerManager.isPowerSaveMode()).thenReturn(true); in updateState_lowPowerOn_preferenceIsChecked() 86 when(mPowerManager.isPowerSaveMode()).thenReturn(false); in testUpdateState_lowPowerOff_preferenceIsUnchecked()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryHeaderPreferenceController.java | 118 mBatteryMeterView.setPowerSave(mPowerManager.isPowerSaveMode()); in updateHeaderPreference() 131 mBatteryMeterView.setPowerSave(mPowerManager.isPowerSaveMode()); in quickUpdateHeaderPreference()
|
D | BatterySaverController.java | 89 final boolean isPowerSaveOn = mPowerManager.isPowerSaveMode(); in getSummary()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryHeaderPreferenceController.java | 124 mBatteryMeterView.setPowerSave(mPowerManager.isPowerSaveMode()); in updateHeaderPreference() 137 mBatteryMeterView.setPowerSave(mPowerManager.isPowerSaveMode()); in quickUpdateHeaderPreference()
|
D | BatterySaverController.java | 89 final boolean isPowerSaveOn = mPowerManager.isPowerSaveMode(); in getSummary()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | DarkThemeSliceTest.java | 67 when(mPowerManager.isPowerSaveMode()).thenReturn(false); in setUp() 105 when(mPowerManager.isPowerSaveMode()).thenReturn(true); in getSlice_batterySaver_returnErrorSlice()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/ |
D | DarkThemeSlice.java | 82 if (mPowerManager.isPowerSaveMode() || (!sKeepSliceShow && !isAvailable(mContext))) { in getSlice() 158 if (mContext.getSystemService(PowerManager.class).isPowerSaveMode()) {
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | EarlyWarningDetector.java | 54 final boolean powerSaveModeOn = mPowerManager.isPowerSaveMode(); in detect()
|
D | LowBatteryDetector.java | 48 final boolean powerSaveModeOn = mPowerManager.isPowerSaveMode(); in detect()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/detectors/ |
D | EarlyWarningDetector.java | 54 final boolean powerSaveModeOn = mPowerManager.isPowerSaveMode(); in detect()
|
D | LowBatteryDetector.java | 48 final boolean powerSaveModeOn = mPowerManager.isPowerSaveMode(); in detect()
|
/packages/apps/Settings/src/com/android/settings/display/darkmode/ |
D | DarkModeScheduleSelectorController.java | 58 final boolean batterySaver = mPowerManager.isPowerSaveMode(); in updateState()
|
D | DarkModePreference.java | 40 final boolean batterySaver = mPowerManager.isPowerSaveMode(); in DarkModePreference()
|
D | DarkModeActivationPreferenceController.java | 48 final boolean batterySaver = mPowerManager.isPowerSaveMode(); in updateState()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceController.java | 80 return mPowerManager.isPowerSaveMode(); in isChecked()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceController.java | 80 return mPowerManager.isPowerSaveMode(); in isChecked()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/ |
D | BatterySaverConditionController.java | 56 return mPowerManager.isPowerSaveMode(); in isDisplayable()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | BatterySaverConditionController.java | 56 return mPowerManager.isPowerSaveMode(); in isDisplayable()
|
/packages/apps/Dialer/java/com/android/dialer/util/ |
D | ViewUtil.java | 140 || powerManager.isPowerSaveMode(); in areAnimationsDisabled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batterytip/detectors/ |
D | EarlyWarningDetectorTest.java | 90 doReturn(true).when(mPowerManager).isPowerSaveMode(); in testDetect_batterySaverOn_tipHandled()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/display/darkmode/ |
D | DarkModeScheduleSelectorControllerTest.java | 98 when(mPM.isPowerSaveMode()).thenReturn(true); in batterySaver_dropDown_disabledSelector()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/ |
D | RecentAppStatsMixin.java | 118 final List<UsageStats> mStats = mPowerManager.isPowerSaveMode() in loadDisplayableRecentApps()
|