Home
last modified time | relevance | path

Searched refs:onBatteryLevelChanged (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/battery/
DBatteryMeterViewTest.kt74 mBatteryMeterView.onBatteryLevelChanged(15, false) in contentDescription_estimate()
89 mBatteryMeterView.onBatteryLevelChanged(17, false) in contentDescription_estimateAndBatteryDefender()
107 mBatteryMeterView.onBatteryLevelChanged(90, false) in contentDescription_batteryDefender()
117 mBatteryMeterView.onBatteryLevelChanged(45, true) in contentDescription_charging()
126 mBatteryMeterView.onBatteryLevelChanged(45, false) in contentDescription_notCharging()
135 mBatteryMeterView.onBatteryLevelChanged(45, true) in contentDescription_isIncompatibleCharging_notCharging()
145 mBatteryMeterView.onBatteryLevelChanged(15, false) in changesFromEstimateToPercent_textAndContentDescriptionChanges()
169 mBatteryMeterView.onBatteryLevelChanged(90, false) in contentDescription_manyUpdates_alwaysUpdated()
204 mBatteryMeterView.onBatteryLevelChanged(90, true) in contentDescription_manyUpdates_alwaysUpdated()
246 mBatteryMeterView.onBatteryLevelChanged(45, true) in isIncompatibleChargingChanged_true_drawableGetsChargingFalse()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DClockEventControllerTest.kt202 batteryCaptor.value.onBatteryLevelChanged(10, false, true) in <lambda>()
215 batteryCaptor.value.onBatteryLevelChanged(10, false, true) in batteryCallback_keyguardShowingCharging_Duplicate_verifyChargeAnimation()
216 batteryCaptor.value.onBatteryLevelChanged(10, false, true) in batteryCallback_keyguardShowingCharging_Duplicate_verifyChargeAnimation()
228 batteryCaptor.value.onBatteryLevelChanged(10, false, true) in batteryCallback_keyguardHiddenCharging_verifyChargeAnimation()
241 batteryCaptor.value.onBatteryLevelChanged(10, false, false) in batteryCallback_keyguardShowingNotCharging_verifyChargeAnimation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DPluggedInCondition.kt34 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in onBatteryLevelChanged() method in com.android.systemui.flags.PluggedInCondition
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/charging/
DWiredChargingRippleControllerTest.kt87 captor.value.onBatteryLevelChanged( in testTriggerRipple_UnlockedState()
166 captor.value.onBatteryLevelChanged( in testRipple_whenDocked_doesNotPlayRipple()
189 captor.value.onBatteryLevelChanged( in testRipple_layoutsCorrectly()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DBatteryController.java144 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() method
DBatteryControllerImpl.java217 cb.onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in addCallback()
444 mChangeCallbacks.get(i).onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in fireBatteryLevelChanged()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DPluggedInConditionTest.kt73 captor.value.onBatteryLevelChanged(0, true, true) in testCondition_invokesRetry()
/frameworks/base/packages/SystemUI/src/com/android/systemui/battery/
DBatteryMeterViewController.java85 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
86 mView.onBatteryLevelChanged(level, pluggedIn);
DBatteryMeterView.java205 public void onBatteryLevelChanged(@IntRange(from = 0, to = 100) int level, boolean pluggedIn) { in onBatteryLevelChanged() method in BatteryMeterView
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DBatteryStatusChip.kt56 batteryMeterView.onBatteryLevelChanged(batteryLevel, true) in setBatteryLevel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java161 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() method in BatterySaverTile
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemEventCoordinator.kt112 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in onBatteryLevelChanged() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWiredChargingRippleController.kt96 override fun onBatteryLevelChanged( in registerCallbacks() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DKeyguardStatusBarViewController.java168 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
169 mView.onBatteryLevelChanged(charging);
DKeyguardStatusBarView.java371 void onBatteryLevelChanged(boolean charging) { in onBatteryLevelChanged() method in KeyguardStatusBarView
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingCollectorImpl.java106 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DClockEventController.kt280 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in <lambda>() method in com.android.keyguard.ClockEventController
/frameworks/base/apex/jobscheduler/service/java/com/android/server/tare/
DInternalResourceService.java271 onBatteryLevelChanged();
566 void onBatteryLevelChanged() { in onBatteryLevelChanged() method in InternalResourceService