Home
last modified time | relevance | path

Searched refs:retailModeRepository (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/retail/domain/interactor/
DRetailModeInteractorImplTest.kt31 private val retailModeRepository = FakeRetailModeRepository() constant in com.android.systemui.retail.domain.interactor.RetailModeInteractorImplTest
33 private val underTest = RetailModeInteractorImpl(retailModeRepository)
37 retailModeRepository.setRetailMode(false) in retailMode_false()
44 retailModeRepository.setRetailMode(true) in retailMode_true()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DTileSpecRepository.kt94 private val retailModeRepository: RetailModeRepository, constant in com.android.systemui.qs.pipeline.data.repository.TileSpecSettingsRepository
115 return retailModeRepository.retailMode.flatMapLatest { inRetailMode -> in tilesSpecs()
126 if (retailModeRepository.inRetailMode) { in addTile()
136 if (retailModeRepository.inRetailMode) { in removeTiles()
143 if (retailModeRepository.inRetailMode) { in setTiles()
161 if (retailModeRepository.inRetailMode) { in prependDefault()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/
DTileSpecSettingsRepositoryTest.kt49 private lateinit var retailModeRepository: FakeRetailModeRepository variable in com.android.systemui.qs.pipeline.data.repository.TileSpecSettingsRepositoryTest
82 retailModeRepository = FakeRetailModeRepository() in setup()
83 retailModeRepository.setRetailMode(false) in setup()
93 retailModeRepository, in setup()
170 retailModeRepository.setRetailMode(true) in retailMode_usesRetailTiles()
181 retailModeRepository.setRetailMode(true) in retailMode_cannotModifyTiles()
210 retailModeRepository.setRetailMode(true) in prependDefault_noChangesWhenInRetail()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractorKosmos.kt27 import com.android.systemui.qs.pipeline.data.repository.retailModeRepository
43 retailModeRepository, in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/data/repository/
DQSPipelineRepositoryKosmos.kt53 var Kosmos.retailModeRepository: RetailModeRepository by Kosmos.Fixture { fakeRetailModeRepository } in <lambda>() variable
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractor.kt141 private val retailModeRepository: RetailModeRepository, constant in com.android.systemui.qs.pipeline.domain.interactor.CurrentTilesInteractorImpl
185 if (retailModeRepository.inRetailMode) {
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/
DCurrentTilesInteractorImplTest.kt89 private val retailModeRepository = FakeRetailModeRepository() constant in com.android.systemui.qs.pipeline.domain.interactor.CurrentTilesInteractorImplTest
123 retailModeRepository = retailModeRepository, in setup()