Home
last modified time | relevance | path

Searched refs:onBatteryLevelChanged (Results 1 – 19 of 19) 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_estimateAndOverheated()
107 mBatteryMeterView.onBatteryLevelChanged(90, false) in contentDescription_overheated()
117 mBatteryMeterView.onBatteryLevelChanged(45, true) in contentDescription_charging()
126 mBatteryMeterView.onBatteryLevelChanged(45, false) in contentDescription_notCharging()
135 mBatteryMeterView.onBatteryLevelChanged(15, false) in changesFromEstimateToPercent_textAndContentDescriptionChanges()
159 mBatteryMeterView.onBatteryLevelChanged(90, false) in contentDescription_manyUpdates_alwaysUpdated()
194 mBatteryMeterView.onBatteryLevelChanged(90, true) in contentDescription_manyUpdates_alwaysUpdated()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DClockEventControllerTest.kt182 batteryCaptor.value.onBatteryLevelChanged(10, false, true) in <lambda>()
195 batteryCaptor.value.onBatteryLevelChanged(10, false, true) in batteryCallback_keyguardShowingCharging_Duplicate_verifyChargeAnimation()
196 batteryCaptor.value.onBatteryLevelChanged(10, false, true) in batteryCallback_keyguardShowingCharging_Duplicate_verifyChargeAnimation()
208 batteryCaptor.value.onBatteryLevelChanged(10, false, true) in batteryCallback_keyguardHiddenCharging_verifyChargeAnimation()
221 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/battery/
DBatteryMeterViewController.java79 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
80 mView.onBatteryLevelChanged(level, pluggedIn);
DBatteryMeterView.java204 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/policy/
DBatteryController.java141 default void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() method
DBatteryControllerImpl.java193 cb.onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in addCallback()
405 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/statusbar/
DBatteryStatusChip.kt56 batteryMeterView.onBatteryLevelChanged(batteryLevel, true) in setBatteryLevel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/events/
DSystemEventCoordinator.kt86 override fun onBatteryLevelChanged(level: Int, pluggedIn: Boolean, charging: Boolean) { in onBatteryLevelChanged() method in com.android.systemui.statusbar.events.SystemEventCoordinator
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DBatterySaverTile.java160 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) { in onBatteryLevelChanged() method in BatterySaverTile
/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.java162 public void onBatteryLevelChanged(int level, boolean pluggedIn, boolean charging) {
163 mView.onBatteryLevelChanged(charging);
DKeyguardStatusBarView.java356 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.kt233 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.java170 onBatteryLevelChanged();
377 void onBatteryLevelChanged() { in onBatteryLevelChanged() method in InternalResourceService
/frameworks/base/services/
Dart-profile45616 HPLcom/android/server/tare/InternalResourceService;->onBatteryLevelChanged()V