Home
last modified time | relevance | path

Searched refs:stockTiles (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/domain/interactor/
DEditTilesListInteractorTest.kt98 assertThat(editTiles.stockTiles.all { it.appName == null }).isTrue() in getTilesToEdit_stockTilesHaveNoAppName()
108 assertThat(editTiles.stockTiles.all { it.tileSpec is TileSpec.PlatformTileSpec }) in getTilesToEdit_stockTilesAreAllPlatformSpecs()
119 assertThat(editTiles.stockTiles.map { it.tileSpec }) in getTilesToEdit_stockTiles_sameOrderAsRepository()
120 .isEqualTo(stockTilesRepository.stockTiles) in getTilesToEdit_stockTiles_sameOrderAsRepository()
149 editTiles.stockTiles.first { it.tileSpec == internetTileConfig.tileSpec } in getTilesToEdit_tilesInConfigProvider_correctData()
153 editTiles.stockTiles.first { it.tileSpec == flashlightTileConfig.tileSpec } in getTilesToEdit_tilesInConfigProvider_correctData()
156 assertThat(editTiles.stockTiles.first { it.tileSpec == batteryTileConfig.tileSpec }) in getTilesToEdit_tilesInConfigProvider_correctData()
167 .stockTiles in getTilesToEdit_tilesNotInConfigProvider_useDefaultData()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/domain/interactor/
DEditTilesListInteractor.kt44 val stockTiles = in getTilesToEdit() constant
45 stockTilesRepository.stockTiles.map { in getTilesToEdit()
69 return EditTilesModel(stockTiles, iconAndNameCustomRepository.getCustomTileData()) in getTilesToEdit()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/domain/model/
DEditTilesModel.kt22 val stockTiles: List<EditTileData>, constant in com.android.systemui.qs.panels.domain.model.EditTilesModel
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/data/repository/
DStockTilesRepository.kt35 val stockTiles = constant in com.android.systemui.qs.panels.data.repository.StockTilesRepository
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/viewmodel/
DEditModeViewModel.kt97 editTilesData.stockTiles.map { it.tileSpec } in <lambda>()
103 val allTiles = editTilesData.stockTiles + editTilesData.customTiles in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
DNfcTile.java103 String stockTiles = mContext.getString(R.string.quick_settings_tiles_stock); in isAvailable() local
106 if (stockTiles.contains(NFC)) { in isAvailable()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/data/repository/
DStockTilesRepositoryTest.kt44 assertThat(underTest.stockTiles).isEqualTo(expected) in stockTilesMatchesResources()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/customize/
DTileQueryHelper.java209 String stockTiles = mContext.getString(R.string.quick_settings_tiles_stock); in addPackageTiles() local
216 if (stockTiles.contains(componentName.flattenToString())) { in addPackageTiles()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/panels/ui/viewmodel/
DEditModeViewModelTest.kt176 .containsExactlyElementsIn(stockTilesRepository.stockTiles) in <lambda>()
276 stockTilesRepository.stockTiles.filterNot { it in currentTiles } + in <lambda>()