Searched refs:mChangeCallbacks (Results 1 – 5 of 5) sorted by relevance
36 private final ArrayList<AccessibilityStateChangedCallback> mChangeCallbacks = new ArrayList<>(); field in AccessibilityController68 mChangeCallbacks.add(cb); in addStateChangedCallback()73 mChangeCallbacks.remove(cb); in removeStateChangedCallback()77 final int N = mChangeCallbacks.size(); in fireChanged()79 mChangeCallbacks.get(i).onStateChanged(mAccessibilityEnabled, mTouchExplorationEnabled); in fireChanged()
61 …private final ArrayList<BatteryController.BatteryStateChangeCallback> mChangeCallbacks = new Array… field in BatteryControllerImpl122 synchronized (mChangeCallbacks) { in addCallback()123 mChangeCallbacks.add(cb); in addCallback()132 synchronized (mChangeCallbacks) { in removeCallback()133 mChangeCallbacks.remove(cb); in removeCallback()286 synchronized (mChangeCallbacks) { in fireBatteryLevelChanged()287 final int N = mChangeCallbacks.size(); in fireBatteryLevelChanged()289 mChangeCallbacks.get(i).onBatteryLevelChanged(mLevel, mPluggedIn, mCharging); in fireBatteryLevelChanged()295 synchronized (mChangeCallbacks) { in firePowerSaveChanged()296 final int N = mChangeCallbacks.size(); in firePowerSaveChanged()[all …]
40 private final ArrayList<NextAlarmChangeCallback> mChangeCallbacks = new ArrayList<>(); field in NextAlarmControllerImpl63 mChangeCallbacks.add(cb); in addCallback()68 mChangeCallbacks.remove(cb); in removeCallback()85 int n = mChangeCallbacks.size(); in fireNextAlarmChanged()87 mChangeCallbacks.get(i).onNextAlarmChanged(mNextAlarm); in fireNextAlarmChanged()
61 private final ArrayList<BatteryStateChangeCallback> mChangeCallbacks = new ArrayList<>(); field in CarBatteryController106 mChangeCallbacks.add(cb); in addCallback()116 mChangeCallbacks.remove(cb); in removeCallback()261 for (int i = 0, size = mChangeCallbacks.size(); i < size; i++) { in notifyBatteryLevelChanged()262 mChangeCallbacks.get(i) in notifyBatteryLevelChanged()
77 private ArrayList<BrightnessStateChangeCallback> mChangeCallbacks = field in BrightnessController126 for (BrightnessStateChangeCallback cb : mChangeCallbacks) { in onChange()287 mChangeCallbacks.add(cb); in addStateChangedCallback()291 return mChangeCallbacks.remove(cb); in removeStateChangedCallback()380 for (BrightnessStateChangeCallback cb : mChangeCallbacks) { in onChanged()