/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
D | AutoAddTracker.kt | 72 private var restoredTiles: Map<String, AutoTile>? = null in <lambda>() variable in com.android.systemui.qs.AutoAddTracker 105 restoredTiles = in <lambda>() 117 restoredTiles?.let { restoredTiles -> in <lambda>() method 125 val tilesToRemove = restoredAutoAdded.filter { it !in restoredTiles } in <lambda>() 186 restoredTiles = null in <lambda>() 192 restoredTiles?.get(tile)?.index ?: QSHost.POSITION_AT_END in <lambda>() 262 pw.println("Restored tiles: $restoredTiles") in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/ |
D | AutoAddTrackerTest.java | 149 String restoredTiles = "saver,internet,work,cast"; in testRestoredTilePositionPreserved() local 150 Intent restoreTilesIntent = makeRestoreIntent(Secure.QS_TILES, null, restoredTiles); in testRestoredTilePositionPreserved() 195 String restoredTiles = "saver,work,internet,cast"; in testSettingRestoredWithTilesNotRemovedInSource_noAutoAddedInTarget() local 196 Intent restoreTilesIntent = makeRestoreIntent(Secure.QS_TILES, null, restoredTiles); in testSettingRestoredWithTilesNotRemovedInSource_noAutoAddedInTarget() 219 String restoredTiles = "saver,internet,cast"; in testSettingRestoredWithTilesRemovedInSource_noAutoAddedInTarget() local 220 Intent restoreTilesIntent = makeRestoreIntent(Secure.QS_TILES, null, restoredTiles); in testSettingRestoredWithTilesRemovedInSource_noAutoAddedInTarget() 243 String restoredTiles = "saver,internet,cast"; in testSettingRestoredWithTilesRemovedInSource_sameAutoAddedinTarget() local 245 makeRestoreIntent(Secure.QS_TILES, "saver, internet, cast, work", restoredTiles); in testSettingRestoredWithTilesRemovedInSource_sameAutoAddedinTarget() 268 String restoredTiles = "saver,internet,cast"; in testSettingRestoredWithTilesRemovedInSource_othersAutoAddedinTarget() local 270 makeRestoreIntent(Secure.QS_TILES, "saver, internet, cast, work", restoredTiles); in testSettingRestoredWithTilesRemovedInSource_othersAutoAddedinTarget()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/restoreprocessors/ |
D | WorkTileRestoreProcessorTest.kt | 48 restoredTiles = listOf(TILE_SPEC), in <lambda>() 66 restoredTiles = listOf(TILE_SPEC), in <lambda>() 83 restoredTiles = emptyList(), in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/ |
D | QSSettingsRestoredBroadcastRepositoryTest.kt | 80 assertThat(restoredTiles).isEqualTo(RESTORED_TILES.toTilesList()) in restoreDataAfterBothIntents_tilesRestoredFirst() 116 assertThat(restoredTiles).isEqualTo(RESTORED_TILES.toTilesList()) in restoreDataAfterBothIntents_autoAddRestoredFirst() 168 assertThat(restoredTiles).isEqualTo(restoredTiles10.toTilesList()) in interleavedBroadcastsFromDifferentUsers_onlysendDataForCorrectUser() 176 assertThat(restoredTiles).isEqualTo(RESTORED_TILES.toTilesList()) in interleavedBroadcastsFromDifferentUsers_onlysendDataForCorrectUser() 201 assertThat(restoredTiles).isEqualTo(RESTORED_TILES.toTilesList()) in restoreAfterUserSetup_singleTilesRestoredBroadcast() 270 assertThat(restoredTiles).isEqualTo(RESTORED_TILES.toTilesList()) in restoreAfterUserSetup_otherUserFinishedSetup_thenCorrectUser_restored()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/ |
D | WorkProfileAutoAddedAfterRestoreTest.kt | 86 val restoredTiles = in workTileRestoredAndPreviouslyAutoAdded_notAvailable_willBeAutoaddedInCorrectPosition() constant 90 val restoreData = RestoreData(restoredTiles, restoredAutoAdded, currentUser) in workTileRestoredAndPreviouslyAutoAdded_notAvailable_willBeAutoaddedInCorrectPosition() 117 val restoredTiles = listOf("b", "c", "d").map { it.toTileSpec() } in workTileNotRestoredAndPreviouslyAutoAdded_wontBeAutoAddedWhenWorkProfileIsAdded() constant 120 val restoreData = RestoreData(restoredTiles, restoredAutoAdded, currentUser) in workTileNotRestoredAndPreviouslyAutoAdded_wontBeAutoAddedWhenWorkProfileIsAdded()
|
D | NoLowNumberOfTilesTest.kt | 88 private val restoredTiles = constant 118 val restoreData = RestoreData(restoredTiles, emptySet(), currentUser) in noLessThanTwoTilesAfterOEMRestore_prependedDefault()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/restoreprocessors/ |
D | WorkTileRestoreProcessor.kt | 60 if (TILE_SPEC in restoreData.restoredTiles) { in postProcessRestore() 64 restoreData.restoredTiles.indexOf(TILE_SPEC) in postProcessRestore()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/model/ |
D | RestoreData.kt | 7 val restoredTiles: List<TileSpec>, constant in com.android.systemui.qs.pipeline.data.model.RestoreData
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/ |
D | UserTileSpecRepository.kt | 241 val toRestore = restoreData.restoredTiles.toMutableList() in <lambda>() 245 .filter { it in currentTiles && it !in restoreData.restoredTiles } in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/shared/logging/ |
D | QSPipelineLogger.kt | 239 str1 = restoreData.restoredTiles.toString() in logSettingsRestored()
|