/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/ui/viewmodel/ |
D | EditModeViewModelTest.kt | 246 val currentTiles = in <lambda>() constant 253 currentTilesInteractor.setTiles(currentTiles) in <lambda>() 258 .containsExactlyElementsIn(currentTiles) in <lambda>() 268 val currentTiles = in <lambda>() constant 276 stockTilesRepository.stockTiles.filterNot { it in currentTiles } + in <lambda>() 278 currentTilesInteractor.setTiles(currentTiles) in <lambda>() 292 val currentTiles = in <lambda>() constant 299 currentTilesInteractor.setTiles(currentTiles) in <lambda>() 306 currentTiles.add(position, newTile) in <lambda>() 309 .containsExactlyElementsIn(currentTiles) in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/ |
D | UserTileSpecRepository.kt | 176 fun apply(currentTiles: List<TileSpec>): List<TileSpec> in <lambda>() 183 override fun apply(currentTiles: List<TileSpec>): List<TileSpec> { in <lambda>() 184 val tilesList = currentTiles.toMutableList() in <lambda>() 197 override fun apply(currentTiles: List<TileSpec>): List<TileSpec> { in <lambda>() 198 return currentTiles.toMutableList().apply { removeAll(tileSpecs) } in <lambda>() 205 override fun apply(currentTiles: List<TileSpec>): List<TileSpec> { in <lambda>() 207 return if (new.isNotEmpty()) new else currentTiles in <lambda>() 212 override fun apply(currentTiles: List<TileSpec>): List<TileSpec> { in <lambda>() 213 return defaultTiles + currentTiles in <lambda>() 222 override fun apply(currentTiles: List<TileSpec>): List<TileSpec> { in <lambda>() [all …]
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/ |
D | WorkProfileAutoAddedAfterRestoreTest.kt | 80 val tiles by collectLastValue(kosmos.currentTilesInteractor.currentTiles) in workTileRestoredAndPreviouslyAutoAdded_notAvailable_willBeAutoaddedInCorrectPosition() 83 val currentTiles = listOf("a".toTileSpec()) in workTileRestoredAndPreviouslyAutoAdded_notAvailable_willBeAutoaddedInCorrectPosition() constant 84 kosmos.fakeTileSpecRepository.setTiles(currentUser, currentTiles) in workTileRestoredAndPreviouslyAutoAdded_notAvailable_willBeAutoaddedInCorrectPosition() 110 val tiles by collectLastValue(kosmos.currentTilesInteractor.currentTiles) in workTileNotRestoredAndPreviouslyAutoAdded_wontBeAutoAddedWhenWorkProfileIsAdded() 113 val currentTiles = listOf("a".toTileSpec()) in workTileNotRestoredAndPreviouslyAutoAdded_wontBeAutoAddedWhenWorkProfileIsAdded() constant 114 kosmos.fakeTileSpecRepository.setTiles(currentUser, currentTiles) in workTileNotRestoredAndPreviouslyAutoAdded_wontBeAutoAddedWhenWorkProfileIsAdded()
|
D | AccessibilityTilesInteractorTest.kt | 74 private lateinit var currentTiles: MutableStateFlow<List<TileModel>> in <lambda>() variable in com.android.systemui.qs.pipeline.domain.interactor.AccessibilityTilesInteractorTest 87 currentTiles = MutableStateFlow(emptyList()) in <lambda>() 92 whenever(currentTilesInteractor.currentTiles).thenReturn(currentTiles) in <lambda>() 148 currentTiles.tryEmit( in <lambda>()
|
D | CurrentTilesInteractorImplTest.kt | 141 assertThat(underTest.currentTiles.value).isEmpty() in initialState() 151 val tiles by collectLastValue(underTest.currentTiles) in correctTiles() 256 val tiles by collectLastValue(underTest.currentTiles) in deduplicatedTiles() 269 val tiles by collectLastValue(underTest.currentTiles) in tilesChange_platformTileNotRecreated() 288 val tiles by collectLastValue(underTest.currentTiles) in tileRemovedIsDestroyed() 311 val tiles by collectLastValue(underTest.currentTiles) in tileBecomesNotAvailable_destroyed() 343 val tiles by collectLastValue(underTest.currentTiles) in userChange_tilesChange() 359 val tiles by collectLastValue(underTest.currentTiles) in tileNotPresentInSecondaryUser_destroyedInUserChange() 382 val tiles by collectLastValue(underTest.currentTiles) in userChange_customTileDestroyed_lifecycleNotTerminated() 401 val tiles by collectLastValue(underTest.currentTiles) in userChange_sameTileUserChanged() [all …]
|
D | NoLowNumberOfTilesTest.kt | 113 val tiles by collectLastValue(currentTilesInteractor.currentTiles) in noLessThanTwoTilesAfterOEMRestore_prependedDefault() 130 val tiles by collectLastValue(currentTilesInteractor.currentTiles) in noEmptyTilesAfterSettingTilesToUnknownNames() 149 val tiles by collectLastValue(currentTilesInteractor.currentTiles) in inRetailMode_onlyOneTile_noPrependDefault()
|
D | AutoAddInteractorTest.kt | 70 whenever(currentTilesInteractor.currentTiles).thenReturn(MutableStateFlow(emptyList())) in setUp() 212 whenever(currentTilesInteractor.currentTiles) in autoAddable_trackIfNotAdded_currentTile_markedAsAdded() 231 whenever(currentTilesInteractor.currentTiles).thenReturn(currentTilesFlow) in autoAddable_trackIfNotAdded_tileAddedToCurrentTiles_markedAsAdded()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/ |
D | AccessibilityTilesInteractor.kt | 59 currentTilesInteractor.currentTiles in <lambda>() 60 .sample(currentTilesInteractor.userContext) { currentTiles, userContext -> in <lambda>() method 61 Data(currentTiles.map(TileModel::spec), userContext) in <lambda>()
|
D | CurrentTilesInteractor.kt | 77 val currentTiles: StateFlow<List<TileModel>> in <lambda>() constant 87 get() = currentTiles.value.map(TileModel::spec) in <lambda>() 91 get() = currentTiles.value.map(TileModel::tile) in <lambda>() 158 override val currentTiles: StateFlow<List<TileModel>> = _currentSpecsAndTiles.asStateFlow() constant 304 currentTiles.filter { it.isNotEmpty() }.first() in addTile() 336 currentTiles.value in dump() 344 currentTiles.value.map { it.tile.state }.mapNotNull { it?.toProto() }.toTypedArray() in dumpProto()
|
D | AutoAddInteractor.kt | 86 currentTilesInteractor.currentTiles in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/panels/domain/interactor/ |
D | GridConsistencyInteractorTest.kt | 98 val tiles = currentTilesInteractor.currentTiles.value in changeLayoutType_usesCorrectGridConsistencyInteractor() 127 val tiles = currentTilesInteractor.currentTiles.value in validTilesWithInfiniteGridConsistencyInteractor_unchangedList() 158 val tiles = currentTilesInteractor.currentTiles.value in invalidTilesWithInfiniteGridConsistencyInteractor_savesNewList()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/viewmodel/ |
D | EditModeViewModel.kt | 100 currentTilesInteractor.currentTiles.map { tiles -> in <lambda>() 105 val currentTiles = currentSpecs.map { allTilesMap.get(it) }.filterNotNull() in <lambda>() constant 108 (currentTiles + nonCurrentTiles) in <lambda>()
|
D | TileGridViewModel.kt | 52 tilesInteractor.currentTiles.mapLatest { tiles -> in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/shared/logging/ |
D | QSPipelineLogger.kt | 68 currentTiles: List<TileSpec>, in logTilesRestoredAndReconciled() 76 str1 = currentTiles.toString() in logTilesRestoredAndReconciled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/domain/interactor/ |
D | GridConsistencyInteractor.kt | 50 currentTilesInteractor.currentTiles in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/ |
D | UserTileSpecRepositoryTest.kt | 350 val currentTiles = tiles!! in prependDefaultTwice_doesntAddMoreTiles() constant 353 assertThat(tiles).isEqualTo(currentTiles) in prependDefaultTwice_doesntAddMoreTiles()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/compose/ |
D | PartitionedGridLayout.kt | 113 val (currentTiles, otherTiles) = tiles.partition { it.isCurrent } in <lambda>() constant 150 tiles = currentTiles, in <lambda>()
|
D | Tile.kt | 272 val (currentTiles, otherTiles) = tiles.partition { it.isCurrent } in DefaultEditTileGrid() constant 283 currentTiles, in DefaultEditTileGrid()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | QSHostAdapter.kt | 99 val job = scope.launch { interactor.currentTiles.collect { callback.onTilesChanged() } } in addCallback()
|
/frameworks/base/services/accessibility/java/com/android/server/accessibility/ |
D | AccessibilityManagerService.java | 1668 ArraySet<ComponentName> currentTiles = userState.getA11yQsTilesInQsPanel(); in notifyQuickSettingsTilesChanged() local 1672 .filter(tileComponentName -> !currentTiles.contains(tileComponentName)) in notifyQuickSettingsTilesChanged() 1675 removedTiles = currentTiles in notifyQuickSettingsTilesChanged()
|