Home
last modified time | relevance | path

Searched refs:CarPowerPolicyListener (Results 1 – 4 of 4) sorted by relevance

/packages/services/Car/car-lib/src/android/car/hardware/power/
DCarPowerManager.java55 private final ArrayMap<CarPowerPolicyListener, Pair<Executor, CarPowerPolicyFilter>>
186 public interface CarPowerPolicyListener { interface in CarPowerManager
413 @NonNull CarPowerPolicyFilter filter, @NonNull CarPowerPolicyListener listener) { in addPowerPolicyListener()
452 public void removePowerPolicyListener(@NonNull CarPowerPolicyListener listener) { in removePowerPolicyListener()
585 ArrayList<Pair<CarPowerPolicyListener, Executor>> listeners = new ArrayList<>(); in notifyPowerPolicyListeners()
588 CarPowerPolicyListener listener = mPolicyListenerMap.keyAt(i); in notifyPowerPolicyListeners()
592 new Pair<CarPowerPolicyListener, Executor>(listener, pair.first)); in notifyPowerPolicyListeners()
597 Pair<CarPowerPolicyListener, Executor> pair = listeners.get(i); in notifyPowerPolicyListeners()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DPowerPolicyListener.java43 private final CarPowerManager.CarPowerPolicyListener mPolicyListener =
44 new CarPowerManager.CarPowerPolicyListener() {
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/hardware/power/
DCarPowerManagerUnitTest.java615 CarPowerManager.CarPowerPolicyListener {
/packages/services/Car/car-lib/api/
Dcurrent.txt560 ….CarPowerPolicyFilter, @NonNull android.car.hardware.power.CarPowerManager.CarPowerPolicyListener);
562 …ovePowerPolicyListener(@NonNull android.car.hardware.power.CarPowerManager.CarPowerPolicyListener);
565 public static interface CarPowerManager.CarPowerPolicyListener {