Home
last modified time | relevance | path

Searched refs:RestoreData (Results 1 – 19 of 19) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/data/repository/
DFakeQSSettingsRestoredRepository.kt3 import com.android.systemui.qs.pipeline.data.model.RestoreData
8 private val _restoreData = MutableSharedFlow<RestoreData>()
10 override val restoreData: Flow<RestoreData>
13 suspend fun onDataRestored(restoreData: RestoreData) { in onDataRestored()
DFakeAutoAddRepository.kt19 import com.android.systemui.qs.pipeline.data.model.RestoreData
44 override suspend fun reconcileRestore(restoreData: RestoreData) { in reconcileRestore()
DFakeTileSpecRepository.kt19 import com.android.systemui.qs.pipeline.data.model.RestoreData
65 restoreData: RestoreData, in reconcileRestore()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DQSSettingsRestoredRepository.kt14 import com.android.systemui.qs.pipeline.data.model.RestoreData in <lambda>()
43 val restoreData: Flow<RestoreData> in <lambda>()
84 val restoresFromTwoBroadcasts: Flow<RestoreData> = in <lambda>()
103 val restoresFromUserSetup: Flow<RestoreData> = in <lambda>()
126 private fun processSingleIntent(user: Int, intent: Intent): RestoreData { in processSingleIntent()
133 return RestoreData( in processSingleIntent()
140 private fun processIntents(user: Int, intent1: Intent, intent2: Intent): RestoreData { in processIntents()
154 return RestoreData( in processIntents()
DAutoAddRepository.kt21 import com.android.systemui.qs.pipeline.data.model.RestoreData
41 suspend fun reconcileRestore(restoreData: RestoreData) in autoAddedTiles()
73 override suspend fun reconcileRestore(restoreData: RestoreData) { in autoAddedTiles()
DTileSpecRepository.kt24 import com.android.systemui.qs.pipeline.data.model.RestoreData in <lambda>()
69 suspend fun reconcileRestore(restoreData: RestoreData, currentAutoAdded: Set<TileSpec>) in <lambda>()
150 restoreData: RestoreData, in reconcileRestore()
DUserAutoAddRepository.kt8 import com.android.systemui.qs.pipeline.data.model.RestoreData in <lambda>()
139 suspend fun reconcileRestore(restoreData: RestoreData) { in <lambda>()
164 val restoredData: RestoreData, in <lambda>()
DUserTileSpecRepository.kt9 import com.android.systemui.qs.pipeline.data.model.RestoreData in <lambda>()
167 suspend fun reconcileRestore(restoreData: RestoreData, currentAutoAdded: Set<TileSpec>) { in <lambda>()
218 val restoreData: RestoreData, in <lambda>()
239 restoreData: RestoreData in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/restoreprocessors/
DWorkTileRestoreProcessorTest.kt25 import com.android.systemui.qs.pipeline.data.model.RestoreData
47 RestoreData( in <lambda>()
65 RestoreData( in <lambda>()
82 RestoreData( in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/model/
DRestoreProcessor.kt34 suspend fun preProcessRestore(restoreData: RestoreData) {} in preProcessRestore()
37 suspend fun postProcessRestore(restoreData: RestoreData) {} in postProcessRestore()
DRestoreData.kt6 data class RestoreData( class
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/
DRestoreReconciliationInteractorTest.kt8 import com.android.systemui.qs.pipeline.data.model.RestoreData
77 RestoreData( in reconciliationInCorrectOrder_hascurrentAutoAdded()
107 RestoreData( in restoreProcessorsCalled()
122 override suspend fun preProcessRestore(restoreData: RestoreData) { in preProcessRestore()
126 override suspend fun postProcessRestore(restoreData: RestoreData) { in postProcessRestore()
DWorkProfileAutoAddedAfterRestoreTest.kt31 import com.android.systemui.qs.pipeline.data.model.RestoreData
90 val restoreData = RestoreData(restoredTiles, restoredAutoAdded, currentUser) in workTileRestoredAndPreviouslyAutoAdded_notAvailable_willBeAutoaddedInCorrectPosition()
120 val restoreData = RestoreData(restoredTiles, restoredAutoAdded, currentUser) in workTileNotRestoredAndPreviouslyAutoAdded_wontBeAutoAddedWhenWorkProfileIsAdded()
DNoLowNumberOfTilesTest.kt31 import com.android.systemui.qs.pipeline.data.model.RestoreData
118 val restoreData = RestoreData(restoredTiles, emptySet(), currentUser) in noLessThanTwoTilesAfterOEMRestore_prependedDefault()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/
DWorkTileAutoAddableTest.kt31 import com.android.systemui.qs.pipeline.data.model.RestoreData
197 private fun createRestoreWithWorkTile(userId: Int): RestoreData { in createRestoreWithWorkTile()
198 return RestoreData( in createRestoreWithWorkTile()
205 private fun createRestoreWithoutWorkTile(userId: Int): RestoreData { in createRestoreWithoutWorkTile()
206 return RestoreData( in createRestoreWithoutWorkTile()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/restoreprocessors/
DWorkTileRestoreProcessor.kt24 import com.android.systemui.qs.pipeline.data.model.RestoreData
59 override suspend fun postProcessRestore(restoreData: RestoreData) { in postProcessRestore()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/
DUserAutoAddRepositoryTest.kt9 import com.android.systemui.qs.pipeline.data.model.RestoreData
140 RestoreData( in restore_addsRestoredTiles()
DUserTileSpecRepositoryTest.kt9 import com.android.systemui.qs.pipeline.data.model.RestoreData
317 RestoreData( in restoreDataIsProperlyReconciled()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/shared/logging/
DQSPipelineLogger.kt24 import com.android.systemui.qs.pipeline.data.model.RestoreData
233 fun logSettingsRestored(restoreData: RestoreData) { in logSettingsRestored()