/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/domain/model/ |
D | BatterySaverTileModel.kt | 22 val isPluggedIn: Boolean constant 27 override val isPluggedIn: Boolean, constant in com.android.systemui.qs.tiles.impl.battery.domain.model.BatterySaverTileModel.Standard 36 override val isPluggedIn: 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/ |
D | BatterySaverTileDataInteractorTest.kt | 90 Truth.assertThat(data!!.isPluggedIn).isFalse() in tileData_matchesBatteryControllerIsPluggedIn() 92 batteryController.isPluggedIn = true in tileData_matchesBatteryControllerIsPluggedIn() 94 Truth.assertThat(data!!.isPluggedIn).isTrue() in tileData_matchesBatteryControllerIsPluggedIn() 96 batteryController.isPluggedIn = false in tileData_matchesBatteryControllerIsPluggedIn() 98 Truth.assertThat(data!!.isPluggedIn).isFalse() in tileData_matchesBatteryControllerIsPluggedIn()
|
D | BatterySaverTileUserActionInteractorTest.kt | 47 controller.isPluggedIn = false in handleClickWhenNotPluggedIn_flipsPowerSaverMode() 60 controller.isPluggedIn = true in <lambda>() 64 BatterySaverTileModel.Standard(controller.isPluggedIn, originalPowerSaveMode) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/ |
D | PluggedInConditionTest.kt | 58 whenever(batteryController.isPluggedIn).thenReturn(false) in testCondition_unplugged() 68 whenever(batteryController.isPluggedIn).thenReturn(true) in testCondition_pluggedIn() 78 whenever(batteryController.isPluggedIn).thenReturn(false) in testCondition_invokesRetry()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | BatteryStatus.java | 102 public boolean isPluggedIn() { in isPluggedIn() method in BatteryStatus 103 return isPluggedIn(plugged); in isPluggedIn() 233 public static boolean isPluggedIn(Intent batteryChangedIntent) { in isPluggedIn() method in BatteryStatus 234 return isPluggedIn(getPluggedType(batteryChangedIntent)); in isPluggedIn() 238 public static boolean isPluggedIn(int plugged) { in isPluggedIn() method in BatteryStatus
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/domain/interactor/ |
D | BatterySaverTileDataInteractor.kt | 57 isPluggedIn: Boolean, in <lambda>() method 61 BatterySaverTileModel.Standard(isPluggedIn, isPowerSaverEnabled) in <lambda>()
|
D | BatterySaverTileUserActionInteractor.kt | 41 if (!data.isPluggedIn) { in handleInput()
|
/frameworks/base/core/tests/coretests/src/com/android/internal/os/ |
D | BatteryInputSuspendTest.java | 115 void waitForChargerState(boolean isPluggedIn) { in waitForChargerState() argument 116 mExpectedChargingState = isPluggedIn; in waitForChargerState()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/ |
D | PluggedInCondition.kt | 45 trySend(batteryControllerLazy.get().isPluggedIn) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | BatteryController.java | 75 boolean isPluggedIn(); in isPluggedIn() method
|
D | BatteryControllerImpl.java | 335 public boolean isPluggedIn() { in isPluggedIn() method in BatteryControllerImpl
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/kotlin/ |
D | BatteryControllerExt.kt | 40 .onStart { emit(isPluggedIn) } in BatteryController()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/utils/leaks/ |
D | FakeBatteryController.java | 86 public boolean isPluggedIn() { in isPluggedIn() method in FakeBatteryController
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/battery/ui/ |
D | BatterySaverTileMapper.kt | 48 if (data.isPluggedIn) { in map()
|
/frameworks/base/packages/SettingsLib/tests/unit/src/com/android/settingslib/fuelgague/ |
D | BatteryStatusTest.kt | 163 .that(BatteryStatus.isPluggedIn(plugged)) in isPluggedIn_() 166 .that(BatteryStatus.isPluggedIn(batteryChangedIntent)) in isPluggedIn_()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/ |
D | WiredChargingRippleController.kt | 89 pluggedIn = batteryController.isPluggedIn
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | KeyguardIndicationController.java | 1274 mPowerPluggedIn = status.isPluggedIn() && isChargingOrFull; in onRefreshBatteryInfo() 1282 mEnableBatteryDefender = mBatteryDefender && status.isPluggedIn(); in onRefreshBatteryInfo()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardUpdateMonitor.java | 3493 final boolean nowPluggedIn = current.isPluggedIn(); in isBatteryUpdateInteresting() 3494 final boolean wasPluggedIn = old.isPluggedIn(); in isBatteryUpdateInteresting()
|
/frameworks/base/services/tests/powerservicetests/src/com/android/server/power/ |
D | PowerManagerServiceTest.java | 436 private void setPluggedIn(boolean isPluggedIn) { in setPluggedIn() argument 439 .thenReturn(isPluggedIn); in setPluggedIn()
|