Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java175 CustomTile customTile = getTileForComponent(component); in requestListening() local
176 if (customTile == null) { in requestListening()
180 TileServiceManager service = mServices.get(customTile); in requestListening()
194 CustomTile customTile = getTileForToken(token); in updateQsTile() local
195 if (customTile != null) { in updateQsTile()
196 verifyCaller(customTile); in updateQsTile()
198 final TileServiceManager tileServiceManager = mServices.get(customTile); in updateQsTile()
200 Log.e(TAG, "TileServiceManager not started for " + customTile.getComponent(), in updateQsTile()
207 customTile.updateTileState(tile); in updateQsTile()
208 customTile.refreshState(); in updateQsTile()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DCustomTileTest.kt83 private lateinit var customTile: CustomTile variable in com.android.systemui.qs.external.CustomTileTest
118 customTile = CustomTile.create(customTileBuilder, TILE_SPEC, mContext) in setUp()
119 customTile.initialize() in setUp()
125 assertEquals(0, customTile.user) in testCorrectUser()
141 customTile = CustomTile.create(customTileBuilder, TILE_SPEC, mContext) in testToggleableTileHasBooleanState()
142 customTile.initialize() in testToggleableTileHasBooleanState()
145 assertTrue(customTile.state is QSTile.BooleanState) in testToggleableTileHasBooleanState()
146 assertTrue(customTile.newTileState() is QSTile.BooleanState) in testToggleableTileHasBooleanState()
151 assertFalse(customTile.state is QSTile.BooleanState) in testRegularTileHasNotBooleanState()
152 assertFalse(customTile.newTileState() is QSTile.BooleanState) in testRegularTileHasNotBooleanState()
[all …]