Searched refs:BatterySaverReceiver (Results 1 – 6 of 6) sorted by relevance
27 import com.android.settings.fuelgauge.BatterySaverReceiver;35 BatterySaverReceiver.BatterySaverListener {40 private final BatterySaverReceiver mReceiver;47 mReceiver = new BatterySaverReceiver(appContext); in BatterySaverConditionController()
33 import com.android.settings.fuelgauge.BatterySaverReceiver;42 implements LifecycleObserver, OnStart, OnStop, BatterySaverReceiver.BatterySaverListener {45 private final BatterySaverReceiver mBatterySaverReceiver;54 mBatterySaverReceiver = new BatterySaverReceiver(context); in BatterySaverButtonPreferenceController()
35 @Mock private BatterySaverReceiver.BatterySaverListener mBatterySaverListener;37 private BatterySaverReceiver mBatterySaverReceiver;43 mBatterySaverReceiver = new BatterySaverReceiver(mContext); in setUp()
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()
40 implements LifecycleObserver, OnStart, OnStop, BatterySaverReceiver.BatterySaverListener {42 private final BatterySaverReceiver mBatteryStateChangeReceiver;57 mBatteryStateChangeReceiver = new BatterySaverReceiver(context); in BatterySaverController()
27 public class BatterySaverReceiver extends BroadcastReceiver { class34 public BatterySaverReceiver(Context context) { in BatterySaverReceiver() method in BatterySaverReceiver