/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatteryBroadcastReceiver.java | 52 void onBatteryChanged(@BatteryUpdateType int type); in onBatteryChanged() method 107 mBatteryListener.onBatteryChanged(BatteryUpdateType.MANUAL); in updateBatteryStatus() 109 mBatteryListener.onBatteryChanged(BatteryUpdateType.BATTERY_LEVEL); in updateBatteryStatus() 111 mBatteryListener.onBatteryChanged(BatteryUpdateType.BATTERY_STATUS); in updateBatteryStatus() 116 mBatteryListener.onBatteryChanged(BatteryUpdateType.BATTERY_SAVER); in updateBatteryStatus()
|
D | BatterySaverReceiver.java | 50 mBatterySaverListener.onBatteryChanged(pluggedIn); in onReceive() 74 void onBatteryChanged(boolean pluggedIn); in onBatteryChanged() method
|
D | BatterySaverController.java | 126 public void onBatteryChanged(boolean pluggedIn) { in onBatteryChanged() method in BatterySaverController
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatteryBroadcastReceiver.java | 52 void onBatteryChanged(@BatteryUpdateType int type); in onBatteryChanged() method 107 mBatteryListener.onBatteryChanged(BatteryUpdateType.MANUAL); in updateBatteryStatus() 109 mBatteryListener.onBatteryChanged(BatteryUpdateType.BATTERY_LEVEL); in updateBatteryStatus() 111 mBatteryListener.onBatteryChanged(BatteryUpdateType.BATTERY_STATUS); in updateBatteryStatus() 116 mBatteryListener.onBatteryChanged(BatteryUpdateType.BATTERY_SAVER); in updateBatteryStatus()
|
D | BatterySaverReceiver.java | 50 mBatterySaverListener.onBatteryChanged(pluggedIn); in onReceive() 74 void onBatteryChanged(boolean pluggedIn); in onBatteryChanged() method
|
D | BatterySaverController.java | 126 public void onBatteryChanged(boolean pluggedIn) { in onBatteryChanged() method in BatterySaverController
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatteryBroadcastReceiverTest.java | 91 verify(mBatteryListener).onBatteryChanged(BatteryUpdateType.BATTERY_LEVEL); in testOnReceive_batteryLevelChanged_dataUpdated() 103 verify(mBatteryListener).onBatteryChanged(BatteryUpdateType.BATTERY_SAVER); in testOnReceive_powerSaveModeChanged_listenerInvoked() 122 verify(mBatteryListener, never()).onBatteryChanged(anyInt()); in testOnReceive_batteryDataNotChanged_listenerNotInvoked() 141 verify(mBatteryListener, times(2)).onBatteryChanged(BatteryUpdateType.MANUAL); in testRegister_updateBatteryStatus()
|
D | BatterySaverReceiverTest.java | 56 verify(mBatterySaverListener).onBatteryChanged(true); in testOnReceive_devicePluggedIn_pluggedInTrue() 66 verify(mBatterySaverListener).onBatteryChanged(false); in testOnReceive_deviceNotPluggedIn_pluggedInFalse()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceController.java | 107 public void onBatteryChanged(boolean pluggedIn) { in onBatteryChanged() method in BatterySaverButtonPreferenceController
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceController.java | 107 public void onBatteryChanged(boolean pluggedIn) { in onBatteryChanged() method in BatterySaverButtonPreferenceController
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/ |
D | BatterySaverConditionController.java | 105 public void onBatteryChanged(boolean pluggedIn) { in onBatteryChanged() method in BatterySaverConditionController
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | BatterySaverConditionController.java | 105 public void onBatteryChanged(boolean pluggedIn) { in onBatteryChanged() method in BatterySaverConditionController
|