OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:onBatteryChanged
(Results
1 - 8
of
8
) sorted by null
/packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryBroadcastReceiver.java
37
void
onBatteryChanged
();
80
mBatteryListener.
onBatteryChanged
();
BatterySaverReceiver.java
50
mBatterySaverListener.
onBatteryChanged
(pluggedIn);
74
void
onBatteryChanged
(boolean pluggedIn);
BatterySaverController.java
142
public void
onBatteryChanged
(boolean pluggedIn) {
BatterySaverSettings.java
194
public void
onBatteryChanged
(boolean pluggedIn) {
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
BatterySaverSettingsTest.java
50
mBatterySaverSettings.
onBatteryChanged
(true /* pluggedIn */);
57
mBatterySaverSettings.
onBatteryChanged
(false /* pluggedIn */);
BatterySaverReceiverTest.java
59
verify(mBatterySaverListener).
onBatteryChanged
(true);
69
verify(mBatterySaverListener).
onBatteryChanged
(false);
BatteryBroadcastReceiverTest.java
82
verify(mBatteryListener).
onBatteryChanged
();
97
verify(mBatteryListener, never()).
onBatteryChanged
();
112
verify(mBatteryListener, times(2)).
onBatteryChanged
();
BatterySaverControllerTest.java
84
mBatterySaverController.
onBatteryChanged
(true /* pluggedIn */);
91
mBatterySaverController.
onBatteryChanged
(false /* pluggedIn */);
Completed in 278 milliseconds