Searched refs:getFlow (Results 1 – 10 of 10) sorted by relevance
33 return getFlow(userId).asStateFlow() in tilesSpecs()38 with(getFlow(userId)) { in addTile()51 with(getFlow(userId)) { in removeTiles()58 getFlow(userId).value = tiles.filter { it != TileSpec.Invalid } in setTiles()61 private fun getFlow(userId: Int): MutableStateFlow<List<TileSpec>> = in getFlow() method68 with(getFlow(restoreData.userId)) { in reconcileRestore()74 with(getFlow(userId)) { value = defaultTilesRepository.defaultTiles + value } in prependDefault()
29 return getFlow(userId) in autoAddedTiles()34 with(getFlow(userId)) { value = value.toMutableSet().apply { add(spec) } } in markTileAdded()38 with(getFlow(userId)) { value = value.toMutableSet().apply { remove(spec) } } in unmarkTileAdded()41 private fun getFlow(userId: Int): MutableStateFlow<Set<TileSpec>> = in getFlow() method45 with(getFlow(restoreData.userId)) { value = value + restoreData.restoredAutoAddedTiles } in reconcileRestore()
33 return getFlow(userId).map { it.map { it.componentName }.toSet() } in getInstalledTilesComponents()37 return getFlow(userId).value in getInstalledTilesServiceInfos()41 getFlow(userId).value = in setInstalledPackagesForUser()52 getFlow(userId).value = services.toList() in setInstalledServicesForUser()55 private fun getFlow(userId: Int): MutableStateFlow<List<ServiceInfo>> = in getFlow() method
35 private fun getFlow(userId: Int): MutableStateFlow<AutoAddSignal?> = in getFlow() method in com.android.systemui.qs.pipeline.domain.autoaddable.FakeAutoAddable39 return getFlow(userId).asStateFlow().filterNotNull() in autoAddSignal()43 getFlow(userId).value = AutoAddSignal.Remove(spec) in sendRemoveSignal()47 getFlow(userId).value = AutoAddSignal.Add(spec, position) in sendAddSignal()51 getFlow(userId).value = AutoAddSignal.RemoveTracking(spec) in sendRemoveTrackingSignal()
27 getFlow(userHandle.identifier) in isEnabled()30 getFlow(userHandle.identifier).value = enabled in isEnabled()34 private fun getFlow(userId: Int): MutableStateFlow<Boolean> = in getFlow() method
28 getFlow(userHandle.identifier) in isCameraAutoRotateSettingEnabled()31 getFlow(userHandle.identifier).value = enabled in isCameraAutoRotateSettingEnabled()35 private fun getFlow(userId: Int): MutableStateFlow<Boolean> = in getFlow() method
27 return getFlow(userHandle.identifier) in isEnabled()31 getFlow(userHandle.identifier).value = isEnabled in setIsEnabled()36 private fun getFlow(userId: Int): MutableStateFlow<Boolean> { in getFlow() method
34 return getFlow(userId).asSharedFlow() in a11yQsShortcutTargets()51 getFlow(userId).emit(targets) in setA11yQsShortcutTargets()54 private fun getFlow(userId: Int): MutableSharedFlow<Set<String>> = in getFlow() method