Home
last modified time | relevance | path

Searched refs:setPowerButtonDown (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyevent/domain/interactor/
DKeyEventInteractorTest.kt54 repository.setPowerButtonDown(false) in dispatchBackKey_notHandledByKeyguardKeyEventInteractor_handledByBackActionInteractor()
57 repository.setPowerButtonDown(true) in dispatchBackKey_notHandledByKeyguardKeyEventInteractor_handledByBackActionInteractor()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceEntryHapticsInteractorTest.kt72 kosmos.fakeKeyEventRepository.setPowerButtonDown(false) in powerButtonFPS_vibrateSuccess()
89 kosmos.fakeKeyEventRepository.setPowerButtonDown(true) // power button is currently DOWN in powerButtonFPS_powerDown_doNotVibrateSuccess()
106 kosmos.fakeKeyEventRepository.setPowerButtonDown(false) in powerButtonFPS_powerButtonRecentlyPressed_doNotVibrateSuccess()
155 kosmos.fakeKeyEventRepository.setPowerButtonDown(true) in powerButtonFPS_powerDown_doNotVibrateError()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyevent/data/repository/
DFakeKeyEventRepository.kt30 fun setPowerButtonDown(isDown: Boolean) { in setPowerButtonDown() method in com.android.systemui.keyevent.data.repository.FakeKeyEventRepository