Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/back/domain/interactor/
DBackActionInteractorTest.kt115 private val backActionInteractor: BackActionInteractor by lazy { in <lambda>() constant in com.android.systemui.back.domain.interactor.BackActionInteractorTest
142 val result = backActionInteractor.onBackRequested() in testOnBackRequested_keyguardCanHandleBackPressed()
152 val result = backActionInteractor.onBackRequested() in testOnBackRequested_quickSettingsIsCustomizing()
163 val result = backActionInteractor.onBackRequested() in testOnBackRequested_quickSettingsExpanded()
174 val result = backActionInteractor.onBackRequested() in testOnBackRequested_closeUserSwitcherIfOpen()
186 val result = backActionInteractor.onBackRequested() in testOnBackRequested_returnsFalse()
195 backActionInteractor.start() in shadeVisibleAndDeviceAwake_callbackRegistered()
209 backActionInteractor.start() in noWindowRootView_noCrashAttemptingCallbackRegistration()
219 backActionInteractor.start() in shadeNotVisible_callbackUnregistered()
232 backActionInteractor.start() in deviceAsleep_callbackUnregistered()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardKeyEventInteractorTest.kt68 @Mock private lateinit var backActionInteractor: BackActionInteractor variable in com.android.systemui.keyguard.domain.interactor.KeyguardKeyEventInteractorTest
85 backActionInteractor, in setup()
187 whenever(backActionInteractor.onBackRequested()).thenReturn(false) in dispatchKeyEventPreIme_back_keyguard_onBackRequested()
189 verify(backActionInteractor).onBackRequested() in dispatchKeyEventPreIme_back_keyguard_onBackRequested()
190 clearInvocations(backActionInteractor) in dispatchKeyEventPreIme_back_keyguard_onBackRequested()
192 whenever(backActionInteractor.onBackRequested()).thenReturn(true) in dispatchKeyEventPreIme_back_keyguard_onBackRequested()
194 verify(backActionInteractor).onBackRequested() in dispatchKeyEventPreIme_back_keyguard_onBackRequested()
201 whenever(backActionInteractor.onBackRequested()).thenReturn(true) in dispatchKeyEventPreIme_back_keyguard_SBKVMdoesNotHandle_neverOnBackRequested()
204 verify(backActionInteractor, never()).onBackRequested() in dispatchKeyEventPreIme_back_keyguard_SBKVMdoesNotHandle_neverOnBackRequested()
211 whenever(backActionInteractor.onBackRequested()).thenReturn(true) in dispatchKeyEventPreIme_back_shade_neverOnBackRequested()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyevent/domain/interactor/
DSysUIKeyEventHandlerTest.kt46 @Mock private lateinit var backActionInteractor: BackActionInteractor variable in com.android.systemui.keyevent.domain.interactor.SysUIKeyEventHandlerTest
55 backActionInteractor, in setup()
74 verify(backActionInteractor, never()).onBackRequested() in dispatchBackKey_notHandledByKeyguardKeyEventInteractor_handledByBackActionInteractor()
79 verify(backActionInteractor).onBackRequested() in dispatchBackKey_notHandledByKeyguardKeyEventInteractor_handledByBackActionInteractor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyevent/domain/interactor/
DSysUIKeyEventHandler.kt35 private val backActionInteractor: BackActionInteractor, constant in com.android.systemui.keyevent.domain.interactor.SysUIKeyEventHandler
46 backActionInteractor.onBackRequested() in dispatchKeyEvent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardKeyEventInteractor.kt45 private val backActionInteractor: BackActionInteractor, constant in com.android.systemui.keyguard.domain.interactor.KeyguardKeyEventInteractor
91 return backActionInteractor.onBackRequested() in dispatchKeyEventPreIme()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DCentralSurfacesImpl.java666 BackActionInteractor backActionInteractor, in CentralSurfacesImpl()
728 mBackActionInteractor = backActionInteractor; in CentralSurfacesImpl()