Home
last modified time | relevance | path

Searched refs:BatterySaverPolicyListener (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/batterysaver/
DBatterySaverPolicy.java230 private final List<BatterySaverPolicyListener> mListeners = new ArrayList<>();
232 public interface BatterySaverPolicyListener { interface in BatterySaverPolicy
276 public void addListener(BatterySaverPolicyListener listener) { in addListener()
299 final BatterySaverPolicyListener[] listeners; in refreshSettings()
329 listeners = mListeners.toArray(new BatterySaverPolicyListener[0]); in refreshSettings()
334 for (BatterySaverPolicyListener listener : listeners) { in refreshSettings()
DBatterySaverController.java45 import com.android.server.power.batterysaver.BatterySaverPolicy.BatterySaverPolicyListener;
59 public class BatterySaverController implements BatterySaverPolicyListener {
/frameworks/base/services/
Dart-profile12664 …addListener(Lcom/android/server/power/batterysaver/BatterySaverPolicy$BatterySaverPolicyListener;)V
20142 Lcom/android/server/power/batterysaver/BatterySaverPolicy$BatterySaverPolicyListener;