Home
last modified time | relevance | path

Searched refs:mAutoTracker (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java84 protected final AutoAddTracker mAutoTracker; field in AutoTileManager
116 mAutoTracker = autoAddTrackerBuilder.setUserId(mCurrentUser.getIdentifier()).build(); in AutoTileManager()
151 mAutoTracker.initialize(); in init()
158 if (!mAutoTracker.isAdded(HOTSPOT)) { in startControllersAndSettingsListeners()
161 if (!mAutoTracker.isAdded(SAVER)) { in startControllersAndSettingsListeners()
169 if (!mAutoTracker.isAdded(NIGHT) in startControllersAndSettingsListeners()
173 if (!mAutoTracker.isAdded(CAST)) { in startControllersAndSettingsListeners()
176 if (!mAutoTracker.isAdded(BRIGHTNESS) && mIsReduceBrightColorsAvailable) { in startControllersAndSettingsListeners()
183 if (!mAutoTracker.isAdded(WALLET)) { in startControllersAndSettingsListeners()
187 if (!mAutoTracker.isAdded(mSafetySpec)) { in startControllersAndSettingsListeners()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DAutoAddTrackerTest.java77 private AutoAddTracker mAutoTracker; field in AutoAddTrackerTest
88 mAutoTracker = createAutoAddTracker(USER); in setUp()
89 mAutoTracker.initialize(); in setUp()
94 assertFalse(mAutoTracker.isAdded(SAVER)); in testChangeFromBackup()
98 assertTrue(mAutoTracker.isAdded(SAVER)); in testChangeFromBackup()
100 mAutoTracker.destroy(); in testChangeFromBackup()
105 assertFalse(mAutoTracker.isAdded(SAVER)); in testSetAdded()
106 mAutoTracker.setTileAdded(SAVER); in testSetAdded()
108 assertTrue(mAutoTracker.isAdded(SAVER)); in testSetAdded()
110 mAutoTracker.destroy(); in testSetAdded()
[all …]