Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DTileServices.java187 CustomTile customTile = getTileForComponent(component); in requestListening() local
188 if (customTile == null) { in requestListening()
192 TileServiceManager service = mServices.get(customTile); in requestListening()
197 + customTile.getTileSpec()); in requestListening()
213 CustomTile customTile = getTileForToken(token); in updateQsTile() local
214 if (customTile != null) { in updateQsTile()
215 verifyCaller(customTile); in updateQsTile()
217 final TileServiceManager tileServiceManager = mServices.get(customTile); in updateQsTile()
219 Log.e(TAG, "TileServiceManager not started for " + customTile.getComponent(), in updateQsTile()
226 customTile.updateTileState(tile); in updateQsTile()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DCustomTileTest.kt93 private lateinit var customTile: CustomTile variable in com.android.systemui.qs.external.CustomTileTest
130 customTile = CustomTile.create(customTileBuilder, TILE_SPEC, mContext) in setUp()
131 customTile.initialize() in setUp()
137 assertEquals(0, customTile.user) in testCorrectUser()
153 customTile = CustomTile.create(customTileBuilder, TILE_SPEC, mContext) in testToggleableTileHasBooleanState()
154 customTile.initialize() in testToggleableTileHasBooleanState()
157 assertTrue(customTile.state is QSTile.BooleanState) in testToggleableTileHasBooleanState()
158 assertTrue(customTile.newTileState() is QSTile.BooleanState) in testToggleableTileHasBooleanState()
163 assertFalse(customTile.state is QSTile.BooleanState) in testRegularTileHasNotBooleanState()
164 assertFalse(customTile.newTileState() is QSTile.BooleanState) in testRegularTileHasNotBooleanState()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
DQSFactoryImplTest.kt102 @Mock private lateinit var customTile: CustomTile in <lambda>() variable in com.android.systemui.qs.tileimpl.QSFactoryImplTest
142 whenever(customTileBuilder.build()).thenReturn(customTile) in <lambda>()