/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
D | TunablePadding.java | 22 import com.android.systemui.tuner.TunerService.Tunable; 41 private final TunerService mTunerService; 43 private TunablePadding(String key, int def, int flags, View view, TunerService tunerService) { in TunablePadding() 83 private final TunerService mTunerService; 88 public TunablePaddingService(TunerService tunerService) { in TunablePaddingService()
|
D | ClockPreference.java | 27 public class ClockPreference extends DropDownPreference implements TunerService.Tunable { 50 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_BLACKLIST, in onAttached() 56 Dependency.get(TunerService.class).removeTunable(this); in onDetached() 87 Dependency.get(TunerService.class).setValue(Clock.CLOCK_SECONDS, SECONDS.equals(value) ? 1 in persistString() 94 Dependency.get(TunerService.class).setValue(StatusBarIconController.ICON_BLACKLIST, in persistString()
|
D | TunerSwitch.java | 13 import com.android.systemui.tuner.TunerService.Tunable; 31 Dependency.get(TunerService.class).addTunable(this, getKey().split(",")); in onAttached() 36 Dependency.get(TunerService.class).removeTunable(this); in onDetached() 42 setChecked(TunerService.parseIntegerSwitch(newValue, mDefault)); in onTuningChanged()
|
D | BatteryPreference.java | 32 public class BatteryPreference extends DropDownPreference implements TunerService.Tunable { 55 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_BLACKLIST); in onAttached() 60 Dependency.get(TunerService.class).removeTunable(this); in onDetached() 95 Dependency.get(TunerService.class).setValue(StatusBarIconController.ICON_BLACKLIST, in persistString()
|
D | TunerService.java | 33 public abstract class TunerService { class 81 Dependency.get(TunerService.class).clearAll(); in onReceive() 97 context.sendBroadcast(new Intent(TunerService.ACTION_CLEAR)); in showResetRequest() 99 TunerService.setTunerEnabled(context, false); in showResetRequest()
|
D | StatusBarSwitch.java | 31 import com.android.systemui.tuner.TunerService.Tunable; 46 Dependency.get(TunerService.class).addTunable(this, StatusBarIconController.ICON_BLACKLIST); in onAttached() 51 Dependency.get(TunerService.class).removeTunable(this); in onDetached()
|
D | NavBarTuner.java | 50 import com.android.systemui.tuner.TunerService.Tunable; 99 mTunables.forEach(t -> Dependency.get(TunerService.class).removeTunable(t)); in onDestroy() 104 Dependency.get(TunerService.class).addTunable(tunable, keys); in addTunable() 118 Dependency.get(TunerService.class).setValue(NAV_BAR_VIEWS, val); in bindLayout() 215 Dependency.get(TunerService.class).setValue(setting, button); in setValue()
|
D | ShortcutPicker.java | 35 import com.android.systemui.tuner.TunerService.Tunable; 45 private TunerService mTunerService; 101 mTunerService = Dependency.get(TunerService.class); in onCreatePreferences()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
D | VolumeDialogComponent.java | 38 import com.android.systemui.tuner.TunerService; 46 public class VolumeDialogComponent implements VolumeComponent, TunerService.Tunable, 90 Dependency.get(TunerService.class).addTunable(this, VOLUME_DOWN_SILENT, VOLUME_UP_SILENT, in VolumeDialogComponent() 110 TunerService.parseIntegerSwitch(newValue, DEFAULT_VOLUME_DOWN_TO_ENTER_SILENT); in onTuningChanged() 113 TunerService.parseIntegerSwitch(newValue, DEFAULT_VOLUME_UP_TO_EXIT_SILENT); in onTuningChanged() 116 TunerService.parseIntegerSwitch(newValue, DEFAULT_DO_NOT_DISTURB_WHEN_SILENT); in onTuningChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | OperatorNameView.java | 38 import com.android.systemui.tuner.TunerService; 39 import com.android.systemui.tuner.TunerService.Tunable; 77 Dependency.get(TunerService.class).addTunable(this, KEY_SHOW_OPERATOR_NAME); in onAttachedToWindow() 86 Dependency.get(TunerService.class).removeTunable(this); in onDetachedFromWindow() 117 boolean showOperatorName = Dependency.get(TunerService.class) in update()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | BypassHeadsUpNotifier.kt | 30 import com.android.systemui.tuner.TunerService in <lambda>() 46 tunerService: TunerService) : StatusBarStateController.StateListener, in <lambda>() 64 TunerService.Tunable { _, _ -> in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBypassController.kt | 26 import com.android.systemui.tuner.TunerService 67 tunerService: TunerService, 89 tunerService.addTunable(object : TunerService.Tunable {
|
D | DozeParameters.java | 32 import com.android.systemui.tuner.TunerService; 39 public class DozeParameters implements TunerService.Tunable, 75 Dependency.get(TunerService.class).addTunable(this, Settings.Secure.DOZE_ALWAYS_ON, in DozeParameters()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QuickQSPanel.java | 36 import com.android.systemui.tuner.TunerService; 37 import com.android.systemui.tuner.TunerService.Tunable; 90 Dependency.get(TunerService.class).addTunable(mNumTiles, NUM_QUICK_TILES); in onAttachedToWindow() 96 Dependency.get(TunerService.class).removeTunable(mNumTiles); in onDetachedFromWindow() 162 return Dependency.get(TunerService.class).getValue(NUM_QUICK_TILES, mDefaultMaxTiles); in getNumQuickTiles()
|
D | QSAnimator.java | 31 import com.android.systemui.tuner.TunerService; 32 import com.android.systemui.tuner.TunerService.Tunable; 136 Dependency.get(TunerService.class).addTunable(this, ALLOW_FANCY_ANIMATION, in onViewAttachedToWindow() 145 Dependency.get(TunerService.class).removeTunable(this); in onViewDetachedFromWindow() 151 mAllowFancy = TunerService.parseIntegerSwitch(newValue, true); in onTuningChanged() 156 mFullRows = TunerService.parseIntegerSwitch(newValue, true); in onTuningChanged()
|
D | QSFooterImpl.java | 65 import com.android.systemui.tuner.TunerService; 320 TunerService.isTunerEnabled(mContext) ? View.VISIBLE : View.INVISIBLE); in updateVisibilities() 367 if (TunerService.isTunerEnabled(mContext)) { in onClick() 368 TunerService.showResetRequest(mContext, () -> { in onClick() 375 TunerService.setTunerEnabled(mContext, true); in onClick()
|
D | QSPanel.java | 54 import com.android.systemui.tuner.TunerService; 55 import com.android.systemui.tuner.TunerService.Tunable; 181 final TunerService tunerService = Dependency.get(TunerService.class); in onAttachedToWindow() 195 Dependency.get(TunerService.class).removeTunable(this); in onDetachedFromWindow() 222 view.setVisibility(TunerService.parseIntegerSwitch(newValue, true) ? VISIBLE : GONE); in updateViewVisibilityForTuningValue()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/utils/leaks/ |
D | FakeTunerService.java | 20 import com.android.systemui.tuner.TunerService; 22 public class FakeTunerService extends TunerService {
|
D | LeakCheckedTest.java | 40 import com.android.systemui.tuner.TunerService; 70 TunerService.class, 135 } else if (cls == TunerService.class) { in getLeakChecker()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImplTest.java | 40 import com.android.systemui.tuner.TunerService; 41 import com.android.systemui.tuner.TunerService.Tunable; 57 private TunerService mTunerService; 64 mTunerService = mDependency.injectMockDependency(TunerService.class); in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | CollapsedStatusBarFragmentTest.java | 38 import com.android.systemui.tuner.TunerService; 64 mSysuiContext.putComponent(TunerService.class, mock(TunerService.class)); in setup()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | QSTileHostTest.java | 51 import com.android.systemui.tuner.TunerService; 80 private TunerService mTunerService; 167 PluginManager pluginManager, TunerService tunerService, in TestQSTileHost()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | ExtensionControllerImpl.java | 26 import com.android.systemui.tuner.TunerService; 27 import com.android.systemui.tuner.TunerService.Tunable; 53 private final TunerService mTunerService; 62 TunerService tunerService, in ExtensionControllerImpl()
|
D | Clock.java | 55 import com.android.systemui.tuner.TunerService; 56 import com.android.systemui.tuner.TunerService.Tunable; 190 Dependency.get(TunerService.class).addTunable(this, CLOCK_SECONDS, in onAttachedToWindow() 218 Dependency.get(TunerService.class).removeTunable(this); in onDetachedFromWindow() 301 mShowSeconds = TunerService.parseIntegerSwitch(newValue, false); in onTuningChanged()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/ |
D | TunablePaddingTest.java | 43 private TunerService mTunerService; 51 mTunerService = mock(TunerService.class); in setup()
|