Searched refs:tunable (Results 1 – 5 of 5) sorted by relevance
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunerServiceImpl.java | 171 public void addTunable(Tunable tunable, String... keys) { in addTunable() argument 173 addTunable(tunable, key); in addTunable() 177 private void addTunable(Tunable tunable, String key) { in addTunable() argument 181 mTunableLookup.get(key).add(tunable); in addTunable() 183 mTunables.add(tunable); in addTunable() 193 tunable.onTuningChanged(key, value); in addTunable() 197 public void removeTunable(Tunable tunable) { in removeTunable() argument 199 list.remove(tunable); in removeTunable() 202 mTunables.remove(tunable); in removeTunable() 223 for (Tunable tunable : tunables) { in reloadSetting() [all …]
|
D | TunerService.java | 47 public abstract void addTunable(Tunable tunable, String... keys); in addTunable() argument 48 public abstract void removeTunable(Tunable tunable); in removeTunable() argument
|
D | NavBarTuner.java | 102 private void addTunable(Tunable tunable, String... keys) { in addTunable() argument 103 mTunables.add(tunable); in addTunable() 104 Dependency.get(TunerService.class).addTunable(tunable, keys); in addTunable()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeTunerService.java | 31 public void addTunable(Tunable tunable, String... keys) { in addTunable() argument 33 tunable.onTuningChanged(key, null); in addTunable() 35 mBaseLeakChecker.addCallback(tunable); in addTunable() 39 public void removeTunable(Tunable tunable) { in removeTunable() argument 40 mBaseLeakChecker.removeCallback(tunable); in removeTunable()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImplTest.java | 176 ArgumentCaptor<Tunable> tunable = ArgumentCaptor.forClass(Tunable.class); in testSortOrder() local 177 verify(mTunerService).addTunable(tunable.capture(), any()); in testSortOrder() 178 tunable.getValue().onTuningChanged(null, null); in testSortOrder()
|