Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/domain/model/
DBatterySaverTileModel.kt23 val isPowerSaving: Boolean constant
28 override val isPowerSaving: Boolean, constant in com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel.Standard
37 override val isPowerSaving: Boolean, constant in com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel.Extreme
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/battery/doman/interactor/
DBatterySaverTileDataInteractorTest.kt70 Truth.assertThat(data!!.isPowerSaving).isFalse() in tileData_matchesBatteryControllerPowerSaving()
74 Truth.assertThat(data!!.isPowerSaving).isTrue() in tileData_matchesBatteryControllerPowerSaving()
78 Truth.assertThat(data!!.isPowerSaving).isFalse() in tileData_matchesBatteryControllerPowerSaving()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/ui/
DBatterySaverTileMapper.kt42 if (data.isPowerSaving) R.drawable.qs_battery_saver_icon_on in map()
52 } else if (data.isPowerSaving) { in map()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/domain/interactor/
DBatterySaverTileUserActionInteractor.kt42 batteryController.setPowerSaveMode(!data.isPowerSaving, action.expandable) in handleInput()
/frameworks/libs/systemui/toruslib/torus-utils/src/main/java/com/google/android/torus/utils/broadcast/
DPowerSaveController.kt73 fun isPowerSaving(): Boolean = powerSaving?.get() ?: false in isPowerSaving() method