/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/biometrics/data/repository/ |
D | FakeDisplayStateRepository.kt | 33 override val isInRearDisplayMode: StateFlow<Boolean> = _isInRearDisplayMode.asStateFlow() constant in com.android.systemui.biometrics.data.repository.FakeDisplayStateRepository 46 fun setIsInRearDisplayMode(isInRearDisplayMode: Boolean) { in setIsInRearDisplayMode() 47 _isInRearDisplayMode.value = isInRearDisplayMode in setIsInRearDisplayMode()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/domain/interactor/ |
D | DisplayStateInteractorImplTest.kt | 63 val isInRearDisplayMode by collectLastValue(interactor.isInRearDisplayMode) in isInRearDisplayModeChanges() constant 66 assertThat(isInRearDisplayMode).isFalse() in isInRearDisplayModeChanges() 69 assertThat(isInRearDisplayMode).isTrue() in isInRearDisplayModeChanges()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/data/repository/ |
D | DisplayStateRepositoryTest.kt | 81 val isInRearDisplayMode by collectLastValue(underTest.isInRearDisplayMode) in updatesIsInRearDisplayMode_whenRearDisplayStateChanges() constant 85 assertThat(isInRearDisplayMode).isFalse() in updatesIsInRearDisplayMode_whenRearDisplayStateChanges() 88 assertThat(isInRearDisplayMode).isTrue() in updatesIsInRearDisplayMode_whenRearDisplayStateChanges()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/domain/interactor/ |
D | DisplayStateInteractor.kt | 45 val isInRearDisplayMode: StateFlow<Boolean> in <lambda>() constant 117 override val isInRearDisplayMode: StateFlow<Boolean> = constant 118 displayStateRepository.isInRearDisplayMode
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | PromptIconViewModel.kt | 139 displayStateInteractor.isInRearDisplayMode, in <lambda>() 147 isInRearDisplayMode: Boolean, in <lambda>() method 154 getSfpsIconViewAsset(rotation, isFolded, isInRearDisplayMode) in <lambda>() 185 displayStateInteractor.isInRearDisplayMode, in <lambda>() 194 isInRearDisplayMode: Boolean, in <lambda>() method 202 getSfpsIconViewAsset(rotation, isFolded, isInRearDisplayMode) in <lambda>() 242 isInRearDisplayMode: Boolean, in <lambda>() 246 if (isInRearDisplayMode) { in <lambda>() 254 if (isInRearDisplayMode) { in <lambda>() 262 if (isInRearDisplayMode) { in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/binder/ |
D | SideFpsOverlayViewBinderTest.kt | 150 isInRearDisplayMode = true in verifyIndicatorNotAdded_whenInRearDisplayMode() 174 isInRearDisplayMode = false in verifyIndicatorShowAndHide_onPrimaryBouncerShowAndHide() 210 isInRearDisplayMode = false in verifyIndicatorShowAndHide_onAlternateBouncerShowAndHide() 243 isInRearDisplayMode = false in verifyIndicatorShownAndHidden_onSystemServerAuthenticationStartedAndStopped() 279 isInRearDisplayMode = false in verifyIndicatorProgressBarInteraction() 344 isInRearDisplayMode: Boolean, in setupTestConfiguration() 382 kosmos.displayStateRepository.setIsInRearDisplayMode(isInRearDisplayMode) in setupTestConfiguration()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/ui/viewmodel/ |
D | SideFpsOverlayViewModelTest.kt | 137 isInRearDisplayMode = false in updatesOverlayViewProperties_onDisplayRotationChange_xAlignedSensor() 171 isInRearDisplayMode = false in updatesOverlayViewProperties_onDisplayRotationChange_yAlignedSensor() 206 isInRearDisplayMode = false in updatesOverlayViewParams_onDisplayRotationChange_xAlignedSensor() 249 isInRearDisplayMode = false in updatesOverlayViewParams_onDisplayRotationChange_yAlignedSensor() 403 isInRearDisplayMode: Boolean, in setupTestConfiguration() 441 kosmos.displayStateRepository.setIsInRearDisplayMode(isInRearDisplayMode) in setupTestConfiguration()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/ |
D | SideFpsOverlayViewBinder.kt | 86 .sample(displayStateInteractor.get().isInRearDisplayMode, ::Pair) in <lambda>() 87 .collect { (combinedFlows, isInRearDisplayMode: Boolean) -> in <lambda>() method 100 if (!isInRearDisplayMode) { in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/data/repository/ |
D | DisplayStateRepository.kt | 51 val isInRearDisplayMode: StateFlow<Boolean> constant 75 override val isInRearDisplayMode: StateFlow<Boolean> = constant
|