Searched refs:mChangeCallbacks (Results 1 – 5 of 5) sorted by relevance
48 …private final ArrayList<BatteryController.BatteryStateChangeCallback> mChangeCallbacks = new Array… field in BatteryControllerImpl102 synchronized (mChangeCallbacks) { in addCallback()103 mChangeCallbacks.add(cb); in addCallback()112 synchronized (mChangeCallbacks) { in removeCallback()113 mChangeCallbacks.remove(cb); in removeCallback()200 synchronized (mChangeCallbacks) { in fireBatteryLevelChanged()201 final int N = mChangeCallbacks.size(); in fireBatteryLevelChanged()203 mChangeCallbacks.get(i).onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in fireBatteryLevelChanged()209 synchronized (mChangeCallbacks) { in firePowerSaveChanged()210 final int N = mChangeCallbacks.size(); in firePowerSaveChanged()[all …]
30 private final ArrayList<AccessibilityStateChangedCallback> mChangeCallbacks = new ArrayList<>(); field in AccessibilityController59 mChangeCallbacks.add(cb); in addStateChangedCallback()64 mChangeCallbacks.remove(cb); in removeStateChangedCallback()68 final int N = mChangeCallbacks.size(); in fireChanged()70 mChangeCallbacks.get(i).onStateChanged(mAccessibilityEnabled, mTouchExplorationEnabled); in fireChanged()
35 private final ArrayList<NextAlarmChangeCallback> mChangeCallbacks = new ArrayList<>(); field in NextAlarmControllerImpl55 mChangeCallbacks.add(cb); in addCallback()60 mChangeCallbacks.remove(cb); in removeCallback()77 int n = mChangeCallbacks.size(); in fireNextAlarmChanged()79 mChangeCallbacks.get(i).onNextAlarmChanged(mNextAlarm); in fireNextAlarmChanged()
63 private final ArrayList<BatteryStateChangeCallback> mChangeCallbacks = new ArrayList<>(); field in CarBatteryController103 mChangeCallbacks.add(cb); in addCallback()113 mChangeCallbacks.remove(cb); in removeCallback()258 for (int i = 0, size = mChangeCallbacks.size(); i < size; i++) { in notifyBatteryLevelChanged()259 mChangeCallbacks.get(i) in notifyBatteryLevelChanged()
82 private ArrayList<BrightnessStateChangeCallback> mChangeCallbacks = field in BrightnessController131 for (BrightnessStateChangeCallback cb : mChangeCallbacks) { in onChange()298 mChangeCallbacks.add(cb); in addStateChangedCallback()302 return mChangeCallbacks.remove(cb); in removeStateChangedCallback()392 for (BrightnessStateChangeCallback cb : mChangeCallbacks) { in onChanged()