Searched refs:LowPowerModeListener (Results 1 – 8 of 8) sorted by relevance
154 public abstract void registerLowPowerModeObserver(LowPowerModeListener listener); in registerLowPowerModeObserver()160 registerLowPowerModeObserver(new LowPowerModeListener() { in registerLowPowerModeObserver()173 public interface LowPowerModeListener { interface in PowerManagerInternal
31 import android.os.PowerManagerInternal.LowPowerModeListener;74 private final ArrayList<LowPowerModeListener> mListeners = new ArrayList<>();168 public void addListener(LowPowerModeListener listener) { in addListener()297 final LowPowerModeListener[] listeners; in handleBatterySaverStateChanged()312 listeners = mListeners.toArray(new LowPowerModeListener[mListeners.size()]); in handleBatterySaverStateChanged()364 for (LowPowerModeListener listener : listeners) { in handleBatterySaverStateChanged()
376 new PowerManagerInternal.LowPowerModeListener() { in systemReady()
83 implements PowerManagerInternal.LowPowerModeListener,
726 new PowerManagerInternal.LowPowerModeListener() { in initService()766 new PowerManagerInternal.LowPowerModeListener() { in initService()
4681 public void registerLowPowerModeObserver(LowPowerModeListener listener) { in registerLowPowerModeObserver()
980 new PowerManagerInternal.LowPowerModeListener() { in WindowManagerService()
28351 …gerInternal;->registerLowPowerModeObserver(Landroid/os/PowerManagerInternal$LowPowerModeListener;)V57223 Landroid/os/PowerManagerInternal$LowPowerModeListener;