Home
last modified time | relevance | path

Searched refs:tileSpecRepository (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractorImplTest.kt80 private val tileSpecRepository: TileSpecRepository = FakeTileSpecRepository() constant in com.android.systemui.qs.pipeline.domain.interactor.CurrentTilesInteractorImplTest
119 tileSpecRepository = tileSpecRepository, in setup()
161 tileSpecRepository.setTiles(USER_INFO_0.id, specs) in correctTiles()
200 tileSpecRepository.setTiles(USER_INFO_0.id, specs) in logTileCreated()
213 tileSpecRepository.setTiles(USER_INFO_0.id, specs) in logTileNotFoundInFactory()
227 tileSpecRepository.setTiles(USER_INFO_0.id, specs) in tileNotAvailableDestroyed_logged()
241 val tiles by collectLastValue(tileSpecRepository.tilesSpecs(USER_INFO_0.id)) in someTilesNotValid_repositorySetToDefinitiveList()
248 tileSpecRepository.setTiles(USER_INFO_0.id, specs) in someTilesNotValid_repositorySetToDefinitiveList()
260 tileSpecRepository.setTiles(USER_INFO_0.id, specs) in deduplicatedTiles()
276 tileSpecRepository.setTiles(USER_INFO_0.id, specs) in tilesChange_platformTileNotRecreated()
[all …]
DRestoreReconciliationInteractorTest.kt33 private val tileSpecRepository = FakeTileSpecRepository() constant in com.android.systemui.qs.pipeline.domain.interactor.RestoreReconciliationInteractorTest
50 tileSpecRepository, in setUp()
65 val tiles by collectLastValue(tileSpecRepository.tilesSpecs(user)) in reconciliationInCorrectOrder_hascurrentAutoAdded()
86 tileSpecRepository.setTiles(user, specsBeforeRestore.toTilesList()) in reconciliationInCorrectOrder_hascurrentAutoAdded()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/panels/domain/interactor/
DGridConsistencyInteractorTest.kt28 import com.android.systemui.qs.pipeline.data.repository.tileSpecRepository
94 tileSpecRepository.setTiles(0, newTiles) in changeLayoutType_usesCorrectGridConsistencyInteractor()
123 tileSpecRepository.setTiles(0, newTiles) in validTilesWithInfiniteGridConsistencyInteractor_unchangedList()
154 tileSpecRepository.setTiles(0, newTiles) in invalidTilesWithInfiniteGridConsistencyInteractor_savesNewList()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/domain/interactor/
DRestoreReconciliationInteractorKosmos.kt25 import com.android.systemui.qs.pipeline.data.repository.tileSpecRepository
31 tileSpecRepository, in <lambda>()
DCurrentTilesInteractorKosmos.kt28 import com.android.systemui.qs.pipeline.data.repository.tileSpecRepository
39 tileSpecRepository, in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractor.kt137 private val tileSpecRepository: TileSpecRepository, constant in com.android.systemui.qs.pipeline.domain.interactor.CurrentTilesInteractorImpl
172 tileSpecRepository.tilesSpecs(userId).map { UserAndTiles(userId, it) } in userId()
289 launch { tileSpecRepository.prependDefault(currentUser.value) } in startTileCollection()
294 launch { tileSpecRepository.setTiles(currentUser.value, resolvedSpecs) } in startTileCollection()
305 tileSpecRepository.addTile(userRepository.getSelectedUserInfo().id, spec, position) in addTile()
318 scope.launch { tileSpecRepository.removeTiles(user, specs) } in removeTiles()
329 scope.launch { tileSpecRepository.setTiles(user, specs) } in setTiles()
DRestoreReconciliationInteractor.kt34 private val tileSpecRepository: TileSpecRepository, in <lambda>() constant in com.android.systemui.qs.pipeline.domain.interactor.RestoreReconciliationInteractor
60 tileSpecRepository.reconcileRestore(restoreData, autoAdded) in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/data/repository/
DQSPipelineRepositoryKosmos.kt34 var Kosmos.tileSpecRepository: TileSpecRepository by Kosmos.Fixture { fakeTileSpecRepository } in <lambda>() variable