Home
last modified time | relevance | path

Searched refs:TileModel (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractor.kt40 import com.android.systemui.qs.pipeline.domain.model.TileModel in <lambda>()
77 val currentTiles: StateFlow<List<TileModel>> in <lambda>()
87 get() = currentTiles.value.map(TileModel::spec) in <lambda>()
91 get() = currentTiles.value.map(TileModel::tile) in <lambda>()
155 private val _currentSpecsAndTiles: MutableStateFlow<List<TileModel>> =
158 override val currentTiles: StateFlow<List<TileModel>> = _currentSpecsAndTiles.asStateFlow()
278 TileModel(it.key, (it.value as TileOrNotInstalled.Tile).tile) in startTileCollection()
DAccessibilityTilesInteractor.kt25 import com.android.systemui.qs.pipeline.domain.model.TileModel in <lambda>()
61 Data(currentTiles.map(TileModel::spec), userContext) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/
DAccessibilityTilesInteractorTest.kt31 import com.android.systemui.qs.pipeline.domain.model.TileModel in <lambda>()
74 private lateinit var currentTiles: MutableStateFlow<List<TileModel>> in <lambda>()
149 tiles.mapNotNull { qsFactory.createTile(it.spec)?.let { it1 -> TileModel(it, it1) } } in <lambda>()
DAutoAddInteractorTest.kt30 import com.android.systemui.qs.pipeline.domain.model.TileModel
211 val fakeCurrentTileModel = TileModel(SPEC, fakeTile) in autoAddable_trackIfNotAdded_currentTile_markedAsAdded()
228 val fakeCurrentTileModel = TileModel(SPEC, fakeTile) in autoAddable_trackIfNotAdded_tileAddedToCurrentTiles_markedAsAdded()
229 val currentTilesFlow = MutableStateFlow(emptyList<TileModel>()) in autoAddable_trackIfNotAdded_tileAddedToCurrentTiles_markedAsAdded()
DCurrentTilesInteractorImplTest.kt46 import com.android.systemui.qs.pipeline.domain.model.TileModel
337 assertThat(repoTiles).isEqualTo(tiles!!.map(TileModel::spec)) in tileBecomesNotAvailable_destroyed()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/model/
DTileModel.kt28 data class TileModel(val spec: TileSpec, val tile: QSTile) { class