Searched refs:autoAdded (Results 1 – 5 of 5) sorted by relevance
57 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() constant98 assertThat(autoAdded).containsExactlyElementsIn(specs) in markAdded()103 assertThat(autoAdded).containsExactlyElementsIn(specs) in markAdded()109 val autoAdded by collectLastValue(underTest.autoAdded()) in markAdded_Invalid_noop() constant114 Truth.assertThat(autoAdded).isEmpty() in markAdded_Invalid_noop()122 val autoAdded by collectLastValue(underTest.autoAdded()) in unmarkAdded() constant127 assertThat(autoAdded).containsExactlyElementsIn(setOf(TileSpec.create("custom(b/c)"))) in unmarkAdded()[all …]
71 @GuardedBy("autoAdded") private val autoAdded = ArraySet<String>() in <lambda>() constant in com.android.systemui.qs.AutoAddTracker131 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 …]
52 suspend fun autoAdded(): StateFlow<Set<TileSpec>> { in <lambda>() method in com.android.systemui.qs.pipeline.data.repository.UserAutoAddRepository72 private fun startFlowCollections(autoAdded: StateFlow<Set<TileSpec>>) { in <lambda>()74 launch { autoAdded.collect { store(it) } } in <lambda>()93 val current = autoAdded.value in <lambda>()
62 return userAutoAddRepositories.get(userId).autoAdded() in autoAddedTiles()
52 .collect { (restoreData, autoAdded) -> in <lambda>() method60 tileSpecRepository.reconcileRestore(restoreData, autoAdded) in <lambda>()