Home
last modified time | relevance | path

Searched refs:autoAdded (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/pipeline/data/repository/
DUserAutoAddRepositoryTest.kt57 val specs by collectLastValue(underTest.autoAdded()) in nonExistentSetting_emptySet()
67 val specs by collectLastValue(underTest.autoAdded()) in settingsChange_noChanges()
83 val tiles by collectLastValue(underTest.autoAdded()) in noInvalidTileSpecs()
93 val autoAdded by collectLastValue(underTest.autoAdded()) in markAdded() constant
98 assertThat(autoAdded).containsExactlyElementsIn(specs) in markAdded()
103 assertThat(autoAdded).containsExactlyElementsIn(specs) in markAdded()
109 val autoAdded by collectLastValue(underTest.autoAdded()) in markAdded_Invalid_noop() constant
114 Truth.assertThat(autoAdded).isEmpty() in markAdded_Invalid_noop()
122 val autoAdded by collectLastValue(underTest.autoAdded()) in unmarkAdded() constant
127 assertThat(autoAdded).containsExactlyElementsIn(setOf(TileSpec.create("custom(b/c)"))) in unmarkAdded()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DAutoAddTracker.kt71 @GuardedBy("autoAdded") private val autoAdded = ArraySet<String>() in <lambda>() constant in com.android.systemui.qs.AutoAddTracker
131 synchronized(autoAdded) { in <lambda>()
132 autoAdded.clear() in <lambda>()
133 autoAdded.addAll(restoredAutoAdded + autoAddedBeforeRestore) in <lambda>()
196 return synchronized(autoAdded) { tile in autoAdded } in <lambda>()
206 synchronized(autoAdded) { in <lambda>()
207 if (autoAdded.add(tile)) { in <lambda>()
223 synchronized(autoAdded) { in <lambda>()
224 if (autoAdded.remove(tile)) { in <lambda>()
234 return TextUtils.join(DELIMITER, autoAdded) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/data/repository/
DUserAutoAddRepository.kt52 suspend fun autoAdded(): StateFlow<Set<TileSpec>> { in <lambda>() method in com.android.systemui.qs.pipeline.data.repository.UserAutoAddRepository
72 private fun startFlowCollections(autoAdded: StateFlow<Set<TileSpec>>) { in <lambda>()
74 launch { autoAdded.collect { store(it) } } in <lambda>()
93 val current = autoAdded.value in <lambda>()
DAutoAddRepository.kt62 return userAutoAddRepositories.get(userId).autoAdded() in autoAddedTiles()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/pipeline/domain/interactor/
DRestoreReconciliationInteractor.kt52 .collect { (restoreData, autoAdded) -> in <lambda>() method
60 tileSpecRepository.reconcileRestore(restoreData, autoAdded) in <lambda>()