Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/
DAutoAddTrackerTest.java43 private AutoAddTracker mAutoTracker; field in AutoAddTrackerTest
54 mAutoTracker = new AutoAddTracker(mContext); in testMigration()
56 assertTrue(mAutoTracker.isAdded(SAVER)); in testMigration()
57 assertTrue(mAutoTracker.isAdded(WORK)); in testMigration()
58 assertFalse(mAutoTracker.isAdded(INVERSION)); in testMigration()
66 mAutoTracker.destroy(); in testMigration()
71 mAutoTracker = new AutoAddTracker(mContext); in testChangeFromBackup()
73 assertFalse(mAutoTracker.isAdded(SAVER)); in testChangeFromBackup()
76 mAutoTracker.mObserver.onChange(false); in testChangeFromBackup()
78 assertTrue(mAutoTracker.isAdded(SAVER)); in testChangeFromBackup()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DAutoTileManager.java52 private final AutoAddTracker mAutoTracker; field in AutoTileManager
67 mAutoTracker = autoAddTracker; in AutoTileManager()
76 if (!mAutoTracker.isAdded(HOTSPOT)) { in AutoTileManager()
79 if (!mAutoTracker.isAdded(SAVER)) { in AutoTileManager()
82 if (!mAutoTracker.isAdded(INVERSION)) { in AutoTileManager()
87 if (mAutoTracker.isAdded(INVERSION)) return; in AutoTileManager()
90 mAutoTracker.setTileAdded(INVERSION); in AutoTileManager()
97 if (!mAutoTracker.isAdded(WORK)) { in AutoTileManager()
100 if (!mAutoTracker.isAdded(NIGHT) in AutoTileManager()
104 if (!mAutoTracker.isAdded(CAST)) { in AutoTileManager()
[all …]