Home
last modified time | relevance | path

Searched refs:mTunerService (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DTunablePadding.java41 private final TunerService mTunerService; field in TunablePadding
51 mTunerService = tunerService; in TunablePadding()
52 mTunerService.addTunable(this, key); in TunablePadding()
74 mTunerService.removeTunable(this); in destroy()
83 private final TunerService mTunerService; field in TunablePadding.TunablePaddingService
89 mTunerService = tunerService; in TunablePaddingService()
96 return new TunablePadding(key, defaultSize, flags, view, mTunerService); in add()
DShortcutPicker.java45 private TunerService mTunerService; field in ShortcutPicker
101 mTunerService = Dependency.get(TunerService.class); in onCreatePreferences()
102 mTunerService.addTunable(this, mKey); in onCreatePreferences()
107 mTunerService.setValue(mKey, preference.toString()); in onPreferenceTreeClick()
125 mTunerService.removeTunable(this); in onDestroy()
DLockscreenFragment.java69 private TunerService mTunerService; field in LockscreenFragment
74 mTunerService = Dependency.get(TunerService.class); in onCreatePreferences()
84 mTunables.forEach(t -> mTunerService.removeTunable(t)); in onDestroy()
105 mTunerService.setValue(buttonSetting, item.getSettingValue()); in showSelectDialog()
131 mTunerService.addTunable(t, keys); in addTunable()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/tuner/
DTunablePaddingTest.java43 private TunerService mTunerService; field in TunablePaddingTest
51 mTunerService = mock(TunerService.class); in setup()
53 new TunablePadding.TunablePaddingService(mTunerService)); in setup()
58 }).when(mTunerService).addTunable(any(), any()); in setup()
62 }).when(mTunerService).removeTunable(any()); in setup()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DExtensionControllerImplTest.java57 private TunerService mTunerService; field in ExtensionControllerImplTest
64 mTunerService = mDependency.injectMockDependency(TunerService.class); in setup()
67 mock(LeakDetector.class), mPluginManager, mTunerService, mConfigurationController); in setup()
105 verify(mTunerService).addTunable(any(), eq(keys[0]), eq(keys[1])); in testTuner()
108 verify(mTunerService).removeTunable(any()); in testTuner()
177 verify(mTunerService).addTunable(tunable.capture(), any()); in testSortOrder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DScreenDecorationsTest.java83 private TunerService mTunerService; field in ScreenDecorationsTest
94 mTunerService = mDependency.injectMockDependency(TunerService.class); in setup()
139 reset(mTunerService); in setup()
163 verify(mTunerService, never()).addTunable(any(), any()); in testNoRounding_NoCutout()
184 verify(mTunerService, times(1)).addTunable(any(), any()); in testRounding()
231 verify(mTunerService, times(1)).addTunable(any(), any()); in testRoundingMultipleRadius()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSTileHost.java80 private final TunerService mTunerService; field in QSTileHost
103 mTunerService = tunerService; in QSTileHost()
131 mTunerService.removeTunable(this); in destroy()
141 String value = mTunerService.getValue(TILES_SETTING); in onPluginConnected()
151 String value = mTunerService.getValue(TILES_SETTING); in onPluginDisconnected()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DExtensionControllerImpl.java53 private final TunerService mTunerService; field in ExtensionControllerImpl
67 mTunerService = tunerService; in ExtensionControllerImpl()
274 mTunerService.addTunable(this, setting); in TunerItem()
284 mTunerService.removeTunable(this); in destroy()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DQSTileHostTest.java80 private TunerService mTunerService; field in QSTileHostTest
98 mPluginManager, mTunerService, mAutoTiles, mDumpController); in setUp()
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DDependency.java222 @Inject Lazy<TunerService> mTunerService; field in Dependency
379 mProviders.put(TunerService.class, mTunerService::get); in start()