Searched refs:BatterySaverReceiver (Results 1 – 10 of 10) sorted by relevance
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceController.java | 26 import com.android.car.developeroptions.fuelgauge.BatterySaverReceiver; 38 LifecycleObserver, OnStart, OnStop, BatterySaverReceiver.BatterySaverListener { 40 private final BatterySaverReceiver mBatterySaverReceiver; 48 mBatterySaverReceiver = new BatterySaverReceiver(context); in BatterySaverButtonPreferenceController()
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterysaver/ |
D | BatterySaverButtonPreferenceController.java | 26 import com.android.settings.fuelgauge.BatterySaverReceiver; 38 LifecycleObserver, OnStart, OnStop, BatterySaverReceiver.BatterySaverListener { 40 private final BatterySaverReceiver mBatterySaverReceiver; 48 mBatterySaverReceiver = new BatterySaverReceiver(context); in BatterySaverButtonPreferenceController()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/ |
D | BatterySaverConditionController.java | 25 import com.android.car.developeroptions.fuelgauge.BatterySaverReceiver; 33 BatterySaverReceiver.BatterySaverListener { 38 private final BatterySaverReceiver mReceiver; 45 mReceiver = new BatterySaverReceiver(appContext); in BatterySaverConditionController()
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | BatterySaverConditionController.java | 25 import com.android.settings.fuelgauge.BatterySaverReceiver; 33 BatterySaverReceiver.BatterySaverListener { 38 private final BatterySaverReceiver mReceiver; 45 mReceiver = new BatterySaverReceiver(appContext); in BatterySaverConditionController()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/ |
D | BatterySaverReceiverTest.java | 36 private BatterySaverReceiver.BatterySaverListener mBatterySaverListener; 39 private BatterySaverReceiver mBatterySaverReceiver; 45 mBatterySaverReceiver = new BatterySaverReceiver(mContext); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/ |
D | BatterySaverConditionControllerTest.java | 29 import com.android.settings.fuelgauge.BatterySaverReceiver; 62 verify(mContext).registerReceiver(any(BatterySaverReceiver.class), any(IntentFilter.class)); in startMonitor_shouldRegisterReceiver() 70 verify(mContext).unregisterReceiver(any(BatterySaverReceiver.class)); in stopMonitor_shouldUnregisterReceiver()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/ |
D | BatterySaverController.java | 39 implements LifecycleObserver, OnStart, OnStop, BatterySaverReceiver.BatterySaverListener { 41 private final BatterySaverReceiver mBatteryStateChangeReceiver; 49 mBatteryStateChangeReceiver = new BatterySaverReceiver(context); in BatterySaverController()
|
D | BatterySaverReceiver.java | 27 public class BatterySaverReceiver extends BroadcastReceiver { class 34 public BatterySaverReceiver(Context context) { in BatterySaverReceiver() method in BatterySaverReceiver
|
/packages/apps/Settings/src/com/android/settings/fuelgauge/ |
D | BatterySaverController.java | 39 implements LifecycleObserver, OnStart, OnStop, BatterySaverReceiver.BatterySaverListener { 41 private final BatterySaverReceiver mBatteryStateChangeReceiver; 49 mBatteryStateChangeReceiver = new BatterySaverReceiver(context); in BatterySaverController()
|
D | BatterySaverReceiver.java | 27 public class BatterySaverReceiver extends BroadcastReceiver { class 34 public BatterySaverReceiver(Context context) { in BatterySaverReceiver() method in BatterySaverReceiver
|