/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/ |
D | QSSettingsRestoredBroadcastRepositoryTest.kt | 54 val restoreData by collectLastValue(underTest.restoreData) in restoreDataAfterBothIntents_tilesRestoredFirst() constant 74 assertThat(restoreData).isNull() in restoreDataAfterBothIntents_tilesRestoredFirst() 79 with(restoreData!!) { in restoreDataAfterBothIntents_tilesRestoredFirst() 90 val restoreData by collectLastValue(underTest.restoreData) in restoreDataAfterBothIntents_autoAddRestoredFirst() constant 110 assertThat(restoreData).isNull() in restoreDataAfterBothIntents_autoAddRestoredFirst() 115 with(restoreData!!) { in restoreDataAfterBothIntents_autoAddRestoredFirst() 126 val restoreData by collectLastValue(underTest.restoreData) in interleavedBroadcastsFromDifferentUsers_onlysendDataForCorrectUser() constant 163 assertThat(restoreData).isNull() in interleavedBroadcastsFromDifferentUsers_onlysendDataForCorrectUser() 167 with(restoreData!!) { in interleavedBroadcastsFromDifferentUsers_onlysendDataForCorrectUser() 175 with(restoreData!!) { in interleavedBroadcastsFromDifferentUsers_onlysendDataForCorrectUser() [all …]
|
D | UserAutoAddRepositoryTest.kt | 139 val restoreData = in restore_addsRestoredTiles() constant 145 underTest.reconcileRestore(restoreData) in restore_addsRestoredTiles()
|
D | UserTileSpecRepositoryTest.kt | 316 val restoreData = in restoreDataIsProperlyReconciled() constant 322 underTest.reconcileRestore(restoreData, autoAddedBeforeRestore.toTilesSet()) in restoreDataIsProperlyReconciled()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/ |
D | RestoreReconciliationInteractor.kt | 46 qsSettingsRestoredRepository.restoreData in <lambda>() 52 .collect { (restoreData, autoAdded) -> in <lambda>() method 54 it.preProcessRestore(restoreData) in <lambda>() 60 tileSpecRepository.reconcileRestore(restoreData, autoAdded) in <lambda>() 61 autoAddRepository.reconcileRestore(restoreData) in <lambda>() 63 it.postProcessRestore(restoreData) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/restoreprocessors/ |
D | WorkTileRestoreProcessorTest.kt | 46 val restoreData = in <lambda>() constant 53 underTest.postProcessRestore(restoreData) in <lambda>() 64 val restoreData = in <lambda>() constant 71 underTest.postProcessRestore(restoreData) in <lambda>() 81 val restoreData = in <lambda>() constant 88 underTest.postProcessRestore(restoreData) in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/restoreprocessors/ |
D | WorkTileRestoreProcessor.kt | 59 override suspend fun postProcessRestore(restoreData: RestoreData) { in postProcessRestore() 60 if (TILE_SPEC in restoreData.restoredTiles) { in postProcessRestore() 63 restoreData.userId, in postProcessRestore() 64 restoreData.restoredTiles.indexOf(TILE_SPEC) in postProcessRestore() 67 _removeTrackingForUser.emit(restoreData.userId) in postProcessRestore()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/data/repository/ |
D | FakeQSSettingsRestoredRepository.kt | 10 override val restoreData: Flow<RestoreData> constant in com.android.systemui.qs.pipeline.data.repository.FakeQSSettingsRestoredRepository 13 suspend fun onDataRestored(restoreData: RestoreData) { in onDataRestored() 14 _restoreData.emit(restoreData) in onDataRestored()
|
D | FakeAutoAddRepository.kt | 44 override suspend fun reconcileRestore(restoreData: RestoreData) { in reconcileRestore() 45 with(getFlow(restoreData.userId)) { value = value + restoreData.restoredAutoAddedTiles } in reconcileRestore()
|
D | FakeTileSpecRepository.kt | 65 restoreData: RestoreData, in reconcileRestore() 68 with(getFlow(restoreData.userId)) { in reconcileRestore() 69 value = UserTileSpecRepository.reconcileTiles(value, currentAutoAdded, restoreData) in reconcileRestore()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/ |
D | AutoAddRepository.kt | 41 suspend fun reconcileRestore(restoreData: RestoreData) in autoAddedTiles() 73 override suspend fun reconcileRestore(restoreData: RestoreData) { in autoAddedTiles() 74 userAutoAddRepositories.get(restoreData.userId)?.reconcileRestore(restoreData) in autoAddedTiles()
|
D | UserTileSpecRepository.kt | 167 suspend fun reconcileRestore(restoreData: RestoreData, currentAutoAdded: Set<TileSpec>) { in <lambda>() 168 changeEvents.emit(RestoreTiles(restoreData, currentAutoAdded)) in <lambda>() 218 val restoreData: RestoreData, in <lambda>() constant in com.android.systemui.qs.pipeline.data.repository.UserTileSpecRepository.RestoreTiles 223 return reconcileTiles(currentTiles, currentAutoAdded, restoreData) in <lambda>() 239 restoreData: RestoreData in <lambda>() 241 val toRestore = restoreData.restoredTiles.toMutableList() in <lambda>() 243 currentAutoAdded.filterNot { it in restoreData.restoredAutoAddedTiles } in <lambda>() 245 .filter { it in currentTiles && it !in restoreData.restoredTiles } in <lambda>()
|
D | TileSpecRepository.kt | 69 suspend fun reconcileRestore(restoreData: RestoreData, currentAutoAdded: Set<TileSpec>) in <lambda>() 150 restoreData: RestoreData, in reconcileRestore() 154 .get(restoreData.userId) in reconcileRestore() 155 ?.reconcileRestore(restoreData, currentAutoAdded) in reconcileRestore()
|
D | UserAutoAddRepository.kt | 139 suspend fun reconcileRestore(restoreData: RestoreData) { in <lambda>() 140 changeEvents.emit(RestoreTiles(restoreData)) in <lambda>()
|
D | QSSettingsRestoredRepository.kt | 43 val restoreData: Flow<RestoreData> in <lambda>() constant 79 override val restoreData = constant
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/interactor/ |
D | RestoreReconciliationInteractorTest.kt | 76 val restoreData = in reconciliationInCorrectOrder_hascurrentAutoAdded() constant 88 qsSettingsRestoredRepository.onDataRestored(restoreData) in reconciliationInCorrectOrder_hascurrentAutoAdded() 106 val restoreData = in restoreProcessorsCalled() constant 113 qsSettingsRestoredRepository.onDataRestored(restoreData) in restoreProcessorsCalled() 122 override suspend fun preProcessRestore(restoreData: RestoreData) { in preProcessRestore() 126 override suspend fun postProcessRestore(restoreData: RestoreData) { in postProcessRestore()
|
D | WorkProfileAutoAddedAfterRestoreTest.kt | 90 val restoreData = RestoreData(restoredTiles, restoredAutoAdded, currentUser) in workTileRestoredAndPreviouslyAutoAdded_notAvailable_willBeAutoaddedInCorrectPosition() constant 94 kosmos.fakeRestoreRepository.onDataRestored(restoreData) in workTileRestoredAndPreviouslyAutoAdded_notAvailable_willBeAutoaddedInCorrectPosition() 120 val restoreData = RestoreData(restoredTiles, restoredAutoAdded, currentUser) in workTileNotRestoredAndPreviouslyAutoAdded_wontBeAutoAddedWhenWorkProfileIsAdded() constant 123 kosmos.fakeRestoreRepository.onDataRestored(restoreData) in workTileNotRestoredAndPreviouslyAutoAdded_wontBeAutoAddedWhenWorkProfileIsAdded()
|
D | NoLowNumberOfTilesTest.kt | 118 val restoreData = RestoreData(restoredTiles, emptySet(), currentUser) in noLessThanTwoTilesAfterOEMRestore_prependedDefault() constant 119 fakeRestoreRepository.onDataRestored(restoreData) in noLessThanTwoTilesAfterOEMRestore_prependedDefault()
|
/frameworks/base/services/core/java/com/android/server/backup/ |
D | UsageStatsBackupHelper.java | 71 byte[] restoreData = new byte[payload.length - 4]; in applyRestoredPayload() 72 in.read(restoreData, 0, restoreData.length); in applyRestoredPayload() 73 localUsageStatsManager.applyRestoredPayload(mUserId, key, restoreData); in applyRestoredPayload()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/domain/autoaddable/ |
D | WorkTileAutoAddableTest.kt | 141 val restoreData = createRestoreWithWorkTile(userId) in <lambda>() constant 143 restoreProcessor.postProcessRestore(restoreData) in <lambda>() 155 val restoreData = createRestoreWithWorkTile(userId) in <lambda>() constant 157 restoreProcessor.postProcessRestore(restoreData) in <lambda>() 168 val restoreData = createRestoreWithoutWorkTile(userId) in <lambda>() constant 170 restoreProcessor.postProcessRestore(restoreData) in <lambda>() 182 val restoreData = createRestoreWithoutWorkTile(userId) in <lambda>() constant 184 restoreProcessor.postProcessRestore(restoreData) in <lambda>()
|
/frameworks/base/services/backup/java/com/android/server/backup/ |
D | KeyValueAdbRestoreEngine.java | 62 File restoreData = prepareRestoreData(mInfo, mInFD); in run() local 64 invokeAgentForAdbRestore(mAgent, mInfo, restoreData); in run() 82 private void invokeAgentForAdbRestore(IBackupAgent agent, FileMetadata info, File restoreData) in invokeAgentForAdbRestore() argument 88 ParcelFileDescriptor.open(restoreData, MODE_READ_ONLY); in invokeAgentForAdbRestore() 105 private void sortKeyValueData (File restoreData, File sortedData) throws IOException { in sortKeyValueData() argument 109 inputStream = new FileInputStream(restoreData); in sortKeyValueData()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/model/ |
D | RestoreProcessor.kt | 34 suspend fun preProcessRestore(restoreData: RestoreData) {} in preProcessRestore() 37 suspend fun postProcessRestore(restoreData: RestoreData) {} in postProcessRestore()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/shared/logging/ |
D | QSPipelineLogger.kt | 233 fun logSettingsRestored(restoreData: RestoreData) { in logSettingsRestored() 238 int1 = restoreData.userId in logSettingsRestored() 239 str1 = restoreData.restoredTiles.toString() in logSettingsRestored() 240 str2 = restoreData.restoredAutoAddedTiles.toString() in logSettingsRestored()
|