Searched refs:BatterySaverTileModel (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/battery/ui/ |
D | BatterySaverTileMapperTest.kt | 26 import com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel 58 val inputModel = BatterySaverTileModel.Standard(false, false) in map_standard_notPluggedInNotPowerSaving() 74 val inputModel = BatterySaverTileModel.Standard(false, true) in map_standard_notPluggedInPowerSaving() 90 val inputModel = BatterySaverTileModel.Standard(true, true) in map_standard_pluggedInPowerSaving() 106 val inputModel = BatterySaverTileModel.Standard(true, false) in map_standard_pluggedInNotPowerSaving() 122 val inputModel = BatterySaverTileModel.Extreme(false, false, false) in map_extremeSaverDisabledNotPluggedInNotPowerSaving() 138 val inputModel = BatterySaverTileModel.Extreme(false, true, false) in map_extremeSaverDisabledNotPluggedInPowerSaving() 154 val inputModel = BatterySaverTileModel.Extreme(true, true, false) in map_extremeSaverDisabledPluggedInPowerSaving() 170 val inputModel = BatterySaverTileModel.Extreme(true, false, false) in map_extremeSaverDisabledPluggedInNotPowerSaving() 186 val inputModel = BatterySaverTileModel.Extreme(false, false, true) in map_extremeSaverEnabledNotPluggedInNotPowerSaving() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/domain/model/ |
D | BatterySaverTileModel.kt | 20 sealed interface BatterySaverTileModel { interface 29 ) : BatterySaverTileModel 39 ) : BatterySaverTileModel
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/domain/interactor/ |
D | BatterySaverTileDataInteractor.kt | 23 import com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel in <lambda>() 43 ) : QSTileDataInteractor<BatterySaverTileModel> { in <lambda>() 48 ): Flow<BatterySaverTileModel> = in <lambda>() 61 BatterySaverTileModel.Standard(isPluggedIn, isPowerSaverEnabled) in <lambda>()
|
D | BatterySaverTileUserActionInteractor.kt | 24 import com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel 35 ) : QSTileUserActionInteractor<BatterySaverTileModel> { 37 override suspend fun handleInput(input: QSTileInput<BatterySaverTileModel>) = in handleInput()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/ui/ |
D | BatterySaverTileMapper.kt | 23 import com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel 35 ) : QSTileDataToStateMapper<BatterySaverTileModel> { 37 override fun map(config: QSTileConfig, data: BatterySaverTileModel): QSTileState = in map() 57 if (data is BatterySaverTileModel.Extreme) { in map()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/battery/doman/interactor/ |
D | BatterySaverTileUserActionInteractorTest.kt | 29 import com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel 50 QSTileInputTestKtx.click(BatterySaverTileModel.Standard(false, originalPowerSaveMode)) in handleClickWhenNotPluggedIn_flipsPowerSaverMode() 64 BatterySaverTileModel.Standard(controller.isPluggedIn, originalPowerSaveMode) in <lambda>() 74 QSTileInputTestKtx.longClick(BatterySaverTileModel.Standard(false, false)) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/ |
D | BatterySaverModule.kt | 11 import com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel 61 factory: QSTileViewModelFactory.Static<BatterySaverTileModel>, in bindBatterySaverTile()
|