Home
last modified time | relevance | path

Searched refs:flowValues (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/scene/domain/startable/
DScrimStartable.kt94 ) { flowValues -> in <lambda>() method
95 val isDeviceEntered = flowValues[0] as Boolean in <lambda>()
96 val isOccluded = flowValues[1] as Boolean in <lambda>()
97 val currentScene = flowValues[2] as SceneKey in <lambda>()
98 val transitionState = flowValues[3] as ObservableTransitionState in <lambda>()
99 val isDozing = flowValues[4] as Boolean in <lambda>()
100 val isDreaming = flowValues[5] as Boolean in <lambda>()
101 val biometricUnlockState = flowValues[6] as BiometricUnlockModel in <lambda>()
102 val isBrightnessMirrorVisible = flowValues[7] as Boolean in <lambda>()
103 val isPulsing = flowValues[8] as Boolean in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/flashlight/domain/interactor/
DFlashlightTileDataInteractorTest.kt74 val flowValues: List<FlashlightTileModel> by in <lambda>() constant
83 assertThat(flowValues.size).isEqualTo(4) // 2 from setup(), 2 from this test in <lambda>()
85 flowValues.filterIsInstance<FlashlightTileModel.FlashlightAvailable>().map { in <lambda>()
99 val flowValues: List<FlashlightTileModel> by in <lambda>() constant
108 assertThat(flowValues.size).isEqualTo(4) // 2 from setup + 2 from this test in <lambda>()
109 assertThat(flowValues.map { it is FlashlightTileModel.FlashlightAvailable }) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/uimodenight/domain/
DUiModeNightTileDataInteractorTest.kt128 val flowValues: List<UiModeNightTileModel> by in <lambda>() constant
137 assertThat(flowValues.size).isEqualTo(3) in <lambda>()
138 assertThat(flowValues.map { it.isNightMode }).containsExactly(false, true, false).inOrder() in <lambda>()
144 val flowValues: List<UiModeNightTileModel> by in <lambda>() constant
153 assertThat(flowValues.size).isEqualTo(3) in <lambda>()
154 assertThat(flowValues.map { it.isPowerSave }).containsExactly(false, true, false).inOrder() in <lambda>()
160 val flowValues: List<UiModeNightTileModel> by in <lambda>() constant
169 assertThat(flowValues.size).isEqualTo(3) in <lambda>()
170 assertThat(flowValues.map { it.isLocationEnabled }) in <lambda>()
/frameworks/base/packages/SettingsLib/Spa/tests/src/com/android/settingslib/spa/framework/compose/
DOverridableFlowTest.kt56 val flowValues = mutableListOf<T>() in <lambda>() constant
57 flow.toList(flowValues) in <lambda>()
58 flowValues in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/saver/domain/interactor/
DDataSaverTileDataInteractorTest.kt59 val flowValues: List<DataSaverTileModel> by in <lambda>() constant
68 Truth.assertThat(flowValues.size).isEqualTo(3) in <lambda>()
69 Truth.assertThat(flowValues.map { it.isEnabled }) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/location/interactor/
DLocationTileDataInteractorTest.kt67 val flowValues: List<LocationTileModel> by in <lambda>() constant
76 Truth.assertThat(flowValues.size).isEqualTo(3) in <lambda>()
77 Truth.assertThat(flowValues.map { it.isEnabled }) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/qs/tiles/impl/fontscaling/domain/interactor/
DFontScalingTileDataInteractorTest.kt43 val flowValues by in <lambda>() constant
48 Truth.assertThat(flowValues.size).isEqualTo(1) in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/accessibility/data/repository/
DColorInversionRepositoryImplTest.kt85 val flowValues: List<Boolean> by collectValues(underTest.isEnabled(testUser1)) in isEnabled_settingUpdated_valueUpdated() constant
94 assertThat(flowValues.size).isEqualTo(3) in isEnabled_settingUpdated_valueUpdated()
95 assertThat(flowValues).containsExactly(false, true, false).inOrder() in isEnabled_settingUpdated_valueUpdated()
DColorCorrectionRepositoryImplTest.kt85 val flowValues: List<Boolean> by collectValues(underTest.isEnabled(testUser1)) in isEnabled_settingUpdated_valueUpdated() constant
96 Truth.assertThat(flowValues.size).isEqualTo(3) in isEnabled_settingUpdated_valueUpdated()
97 Truth.assertThat(flowValues).containsExactly(false, true, false).inOrder() in isEnabled_settingUpdated_valueUpdated()