Home
last modified time | relevance | path

Searched refs:getFlow (Results 1 – 4 of 4) sorted by relevance

/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/data/repository/
H A DFakeTileSpecRepository.kt31 return getFlow(userId).asStateFlow().also { Log.d("Fabian", "Retrieving flow for $userId") }
36 with(getFlow(userId)) {
49 with(getFlow(userId)) {
56 getFlow(userId).value = tiles.filter { it != TileSpec.Invalid }
59 private fun getFlow(userId: Int): MutableStateFlow<List<TileSpec>> = regex
H A DFakeAutoAddRepository.kt28 return getFlow(userId)
33 with(getFlow(userId)) { value = value.toMutableSet().apply { add(spec) } }
37 with(getFlow(userId)) { value = value.toMutableSet().apply { remove(spec) } }
40 private fun getFlow(userId: Int): MutableStateFlow<Set<TileSpec>> = regex
H A DFakeInstalledTilesComponentRepository.kt30 return getFlow(userId).asStateFlow()
34 getFlow(userId).value = components
37 private fun getFlow(userId: Int): MutableStateFlow<Set<ComponentName>> = regex
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/domain/autoaddable/
H A DFakeAutoAddable.kt35 private fun getFlow(userId: Int): MutableStateFlow<AutoAddSignal?> = regex
39 return getFlow(userId).asStateFlow().filterNotNull()
43 getFlow(userId).value = AutoAddSignal.Remove(spec)
47 getFlow(userId).value = AutoAddSignal.Add(spec, position)