/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/data/repository/ |
D | FakeTileSpecRepository.kt | 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() method in com.android.systemui.qs.pipeline.data.repository.FakeTileSpecRepository 68 with(getFlow(restoreData.userId)) { in reconcileRestore() 74 with(getFlow(userId)) { value = defaultTilesRepository.defaultTiles + value } in prependDefault()
|
D | FakeAutoAddRepository.kt | 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() method in com.android.systemui.qs.pipeline.data.repository.FakeAutoAddRepository 45 with(getFlow(restoreData.userId)) { value = value + restoreData.restoredAutoAddedTiles } in reconcileRestore()
|
D | FakeInstalledTilesComponentRepository.kt | 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 in com.android.systemui.qs.pipeline.data.repository.FakeInstalledTilesComponentRepository
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/qs/pipeline/domain/autoaddable/ |
D | FakeAutoAddable.kt | 35 private fun getFlow(userId: Int): MutableStateFlow<AutoAddSignal?> = in getFlow() method in com.android.systemui.qs.pipeline.domain.autoaddable.FakeAutoAddable 39 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()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/camera/data/repository/ |
D | FakeCameraSensorPrivacyRepository.kt | 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 in com.android.systemui.camera.data.repository.FakeCameraSensorPrivacyRepository
|
D | FakeCameraAutoRotateRepository.kt | 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 in com.android.systemui.camera.data.repository.FakeCameraAutoRotateRepository
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/accessibility/data/repository/ |
D | FakeColorInversionRepository.kt | 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 in com.android.systemui.accessibility.data.repository.FakeColorInversionRepository
|
D | FakeOneHandedModeRepository.kt | 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
|
D | FakeColorCorrectionRepository.kt | 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
|
D | FakeAccessibilityQsShortcutsRepository.kt | 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 in com.android.systemui.accessibility.data.repository.FakeAccessibilityQsShortcutsRepository
|