Searched refs:mBrightnessCallbacks (Results 1 – 1 of 1) sorted by relevance
60 private final List<DisplayTrackerCallbackData> mBrightnessCallbacks = new ArrayList<>(); field in CarDisplayTrackerImpl114 synchronized (mBrightnessCallbacks) {115 callbacks = List.copyOf(mBrightnessCallbacks);174 synchronized (mBrightnessCallbacks) { in addBrightnessChangeCallback()175 if (mBrightnessCallbacks.isEmpty()) { in addBrightnessChangeCallback()179 mBrightnessCallbacks.add(new DisplayTrackerCallbackData(callback, executor)); in addBrightnessChangeCallback()192 synchronized (mBrightnessCallbacks) { in removeCallback()193 boolean changed = mBrightnessCallbacks.removeIf(it -> it.sameOrEmpty(callback)); in removeCallback()194 if (changed && mBrightnessCallbacks.isEmpty()) { in removeCallback()