Home
last modified time | relevance | path

Searched refs:isPowerButtonDown (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/data/repository/
DKeyEventRepositoryTest.kt61 val isPowerButtonDown by collectLastValue(underTest.isPowerButtonDown) in isPowerButtonDown_initialValueFalse() constant
63 assertThat(isPowerButtonDown).isFalse() in isPowerButtonDown_initialValueFalse()
69 val isPowerButtonDown by collectLastValue(underTest.isPowerButtonDown) in isPowerButtonDown_onChange() constant
75 assertThat(isPowerButtonDown).isTrue() in isPowerButtonDown_onChange()
80 assertThat(isPowerButtonDown).isFalse() in isPowerButtonDown_onChange()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyevent/domain/interactor/
DKeyEventInteractor.kt34 val isPowerButtonDown = repository.isPowerButtonDown constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyevent/data/repository/
DKeyEventRepository.kt31 val isPowerButtonDown: Flow<Boolean> constant
40 override val isPowerButtonDown: Flow<Boolean> = conflatedCallbackFlow { in <lambda>() constant in com.android.systemui.keyevent.data.repository.KeyEventRepositoryImpl
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyevent/data/repository/
DFakeKeyEventRepository.kt28 override val isPowerButtonDown: Flow<Boolean> = _isPowerButtonDown.asStateFlow() constant in com.android.systemui.keyevent.data.repository.FakeKeyEventRepository
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyevent/domain/interactor/
DKeyEventInteractorTest.kt53 val isPowerDown by collectLastValue(underTest.isPowerButtonDown) in dispatchBackKey_notHandledByKeyguardKeyEventInteractor_handledByBackActionInteractor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceEntryHapticsInteractor.kt71 private val powerButtonDown: Flow<Boolean> = keyEventInteractor.isPowerButtonDown in <lambda>()