Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/unfold/
DUnfoldTraceLogger.kt42 private val foldStateRepository: FoldStateRepository, in <lambda>() constant in com.android.systemui.unfold.UnfoldTraceLogger
60 foldStateRepository.foldUpdate.collect { foldUpdateLogger.log(it.name) } in <lambda>()
64 foldStateRepository.hingeAngle.collect { in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/updates/
DDeviceStateRepositoryTest.kt42 private val foldStateRepository = DeviceStateRepositoryImpl(foldProvider) { r -> r.run() } in <lambda>() constant in com.android.systemui.unfold.updates.DeviceStateRepositoryTest
47 val flowValue = collectLastValue(foldStateRepository.isFolded) in <lambda>()
62 val flowValue = collectLastValue(foldStateRepository.isFolded) in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/unfold/
DFoldStateRepositoryTest.kt49 private val foldStateRepository = FoldStateRepositoryImpl(foldStateProvider) in <lambda>() constant
53 val flowValue = collectLastValue(foldStateRepository.hingeAngle) in <lambda>()
64 val flowValue = collectLastValue(foldStateRepository.foldUpdate) in <lambda>()
DDisplaySwitchLatencyTrackerTest.kt76 private val foldStateRepository = mock<DeviceStateRepository>() constant in com.android.systemui.unfold.DisplaySwitchLatencyTrackerTest
113 whenever(foldStateRepository.state).thenReturn(deviceState) in setup()
123 foldStateRepository, in setup()
177 foldStateRepository, in unfold_progressUnavailable_logsLatencyTillScreenTurnedOn()