Searched refs:CarPowerPolicyListener (Results 1 – 4 of 4) sorted by relevance
55 private final ArrayMap<CarPowerPolicyListener, Pair<Executor, CarPowerPolicyFilter>>186 public interface CarPowerPolicyListener { interface in CarPowerManager413 @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()
43 private final CarPowerManager.CarPowerPolicyListener mPolicyListener =44 new CarPowerManager.CarPowerPolicyListener() {
615 CarPowerManager.CarPowerPolicyListener {
560 ….CarPowerPolicyFilter, @NonNull android.car.hardware.power.CarPowerManager.CarPowerPolicyListener);562 …ovePowerPolicyListener(@NonNull android.car.hardware.power.CarPowerManager.CarPowerPolicyListener);565 public static interface CarPowerManager.CarPowerPolicyListener {