Home
last modified time | relevance | path

Searched refs:setAwakeForTest (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/keyguard/domain/interactor/
DFromAodTransitionInteractorTest.kt54 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
111 powerInteractor.setAwakeForTest() in testTransitionToLockscreen_onWakeup()
127 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeup_whenOccludingActivityOnTop()
143 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetected_fromAod_nonDismissibleKeyguard()
157 powerInteractor.setAwakeForTest() in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromAod_dismissibleKeyguard()
169 powerInteractor.setAwakeForTest() in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromGone()
195 powerInteractor.setAwakeForTest() in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromGone()
207 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetectedAfterFinishedInAod_fromGone()
229 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetectedAfterFinishedInAod_fromGone()
242 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetected_fromLockscreen()
[all …]
DFromDozingTransitionInteractorTest.kt55 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
110 powerInteractor.setAwakeForTest() in testTransitionToLockscreen_onWakeup()
130 powerInteractor.setAwakeForTest() in testTransitionToGlanceableHub_onWakeup_ifIdleOnCommunal_noOccludingActivity()
146 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeup_whenOccludingActivityOnTop()
167 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeup_whenOccludingActivityOnTop_evenIfIdleOnCommunal()
184 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetected_fromAod_nonDismissableKeyguard()
198 powerInteractor.setAwakeForTest() in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromAod_dismissableKeyguard()
210 powerInteractor.setAwakeForTest() in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromGone()
236 powerInteractor.setAwakeForTest() in testTransitionToGone_onWakeUp_ifPowerButtonGestureDetected_fromGone()
249 powerInteractor.setAwakeForTest() in testTransitionToOccluded_onWakeUp_ifPowerButtonGestureDetectedAfterFinishedInAod_fromGone()
[all …]
DKeyguardOcclusionInteractorTest.kt55 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
90 powerInteractor.setAwakeForTest() in transitionFromPowerGesture_whileGoingToSleep_isTrue()
107 powerInteractor.setAwakeForTest() in transitionFromPowerGesture_whileAsleep_isTrue()
123 powerInteractor.setAwakeForTest() in transitionFromPowerGesture_whileWaking_isFalse()
145 powerInteractor.setAwakeForTest() in transitionFromPowerGesture_whileAwake_isFalse()
175 powerInteractor.setAwakeForTest() in showWhenLockedActivityLaunchedFromPowerGesture_notTrueSecondTime()
214 powerInteractor.setAwakeForTest() in showWhenLockedActivityLaunchedFromPowerGesture_falseIfReturningToGone()
231 powerInteractor.setAwakeForTest() in showWhenLockedActivityLaunchedFromPowerGesture_falseIfReturningToGone()
DUdfpsKeyguardInteractorTest.kt33 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
226 powerInteractor.setAwakeForTest() in setAwake()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/smartspace/
DSmartspaceViewModelTest.kt25 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
53 powerInteractor.setAwakeForTest() in dateVew_isAwakeTrue_true()
80 powerInteractor.setAwakeForTest() in dateVew_isAwakeMultipleTimes_correctResults()
88 powerInteractor.setAwakeForTest() in dateVew_isAwakeMultipleTimes_correctResults()
98 powerInteractor.setAwakeForTest() in weatherView_isAwakeTrue_doesNotEmit()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/back/domain/interactor/
DBackActionInteractorTest.kt39 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
197 powerInteractor.setAwakeForTest() in shadeVisibleAndDeviceAwake_callbackRegistered()
211 powerInteractor.setAwakeForTest() in noWindowRootView_noCrashAttemptingCallbackRegistration()
221 powerInteractor.setAwakeForTest() in shadeNotVisible_callbackUnregistered()
234 powerInteractor.setAwakeForTest() in deviceAsleep_callbackUnregistered()
248 powerInteractor.setAwakeForTest() in animationFlagOff_onBackInvoked_keyguardNotified()
262 powerInteractor.setAwakeForTest() in animationFlagOn_onBackInvoked_keyguardNotified()
276 powerInteractor.setAwakeForTest() in animationFlagOn_callbackIsAnimationCallback()
288 powerInteractor.setAwakeForTest() in onBackProgressed_shadeCannotBeCollapsed_shadeViewControllerNotNotified()
303 powerInteractor.setAwakeForTest() in onBackProgressed_shadeCanBeCollapsed_shadeViewControllerNotified()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/domain/interactor/
DKeyguardKeyEventInteractorTest.kt30 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
134 powerInteractor.setAwakeForTest() in dispatchKeyEvent_menuActionUp_awakeShadeLocked_collapsesShade()
152 powerInteractor.setAwakeForTest() in dispatchKeyEvent_spaceActionUp_awakeKeyguard_collapsesShade()
160 powerInteractor.setAwakeForTest() in dispatchKeyEvent_spaceActionUp_shadeLocked_collapsesShade()
168 powerInteractor.setAwakeForTest() in dispatchKeyEvent_enterActionUp_awakeKeyguard_showsPrimaryBouncer()
176 powerInteractor.setAwakeForTest() in dispatchKeyEvent_enterActionUp_shadeLocked_collapsesShade()
DFromOccludedTransitionInteractorTest.kt49 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
83 powerInteractor.setAwakeForTest() in setup()
DKeyguardTransitionScenariosTest.kt52 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
507 powerInteractor.setAwakeForTest() in dozingToLockscreen()
570 powerInteractor.setAwakeForTest() in dozingToGoneWithUnlock()
594 powerInteractor.setAwakeForTest() in dozingToPrimaryBouncer()
652 powerInteractor.setAwakeForTest() in dozingToGlanceableHub()
1377 powerInteractor.setAwakeForTest() in dozingToOccluded()
1406 powerInteractor.setAwakeForTest() in dreamingToOccluded()
2009 powerInteractor.setAwakeForTest() in runTransitionAndSetWakefulness()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/stack/ui/viewmodel/
DNotificationLoggerViewModelTest.kt26 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest in <lambda>()
54 powerInteractor.setAwakeForTest() in <lambda>()
76 powerInteractor.setAwakeForTest() in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/interactor/
DWindowRootViewVisibilityInteractorTest.kt31 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
117 powerInteractor.setAwakeForTest() in isLockscreenOrShadeVisibleAndInteractive_notVisible_false()
141 powerInteractor.setAwakeForTest() in isLockscreenOrShadeVisibleAndInteractive_visibleAndAwake_true()
152 powerInteractor.setAwakeForTest() in isLockscreenOrShadeVisibleAndInteractive_visibleAndStartingToWake_true()
409 powerInteractor.setAwakeForTest() in makeLockscreenShadeVisible()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceEntryFaceAuthInteractorTest.kt52 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
124 powerInteractor.setAwakeForTest(reason = PowerManager.WAKE_REASON_LID) in faceAuthIsRequestedWhenLockscreenBecomesVisibleFromOffState()
166 powerInteractor.setAwakeForTest(reason = PowerManager.WAKE_REASON_LID) in faceAuthIsRequestedWhenLockscreenBecomesVisibleFromAodState()
191 powerInteractor.setAwakeForTest(reason = PowerManager.WAKE_REASON_LIFT) in faceAuthIsNotRequestedWhenLockscreenBecomesVisibleDueToIgnoredWakeReasons()
214 powerInteractor.setAwakeForTest(reason = PowerManager.WAKE_REASON_LID) in faceAuthIsRequestedWhenLockscreenBecomesVisibleFromDozingState()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/domain/startable/
DSceneContainerStartableTest.kt50 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest in <lambda>()
513 powerInteractor.setAwakeForTest() in <lambda>()
530 powerInteractor.setAwakeForTest() in <lambda>()
545 powerInteractor.setAwakeForTest() in <lambda>()
573 powerInteractor.setAwakeForTest() in <lambda>()
596 powerInteractor.setAwakeForTest() in <lambda>()
732 powerInteractor.setAwakeForTest(reason = PowerManager.WAKE_REASON_POWER_BUTTON) in <lambda>()
744 powerInteractor.setAwakeForTest(reason = PowerManager.WAKE_REASON_TAP) in <lambda>()
756 powerInteractor.setAwakeForTest(reason = PowerManager.WAKE_REASON_POWER_BUTTON) in <lambda>()
779 powerInteractor.setAwakeForTest(reason = PowerManager.WAKE_REASON_POWER_BUTTON) in <lambda>()
[all …]
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/domain/interactor/
DDeviceUnlockedInteractorTest.kt36 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
150 kosmos.powerInteractor.setAwakeForTest() in deviceUnlockStatus_whenFaceIsAuthenticatedWhileAwakeWithBypass_isTrue()
/frameworks/base/packages/SystemUI/src/com/android/systemui/power/domain/interactor/
DPowerInteractor.kt247 fun PowerInteractor.setAwakeForTest( in <lambda>() method
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/scene/
DSceneFrameworkIntegrationTest.kt56 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest in <lambda>()
718 powerInteractor.setAwakeForTest() in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/communal/view/viewmodel/
DCommunalViewModelTest.kt70 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest in <lambda>()
149 kosmos.powerInteractor.setAwakeForTest() in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/logging/
DNotificationLoggerTest.java310 PowerInteractor.Companion.setAwakeForTest(mPowerInteractor); in setStateAwake()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/deviceentry/data/repository/
DDeviceEntryFaceAuthRepositoryTest.kt80 import com.android.systemui.power.domain.interactor.PowerInteractor.Companion.setAwakeForTest
1188 powerInteractor.setAwakeForTest() in allPreconditionsToRunFaceAuthAreTrue()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shade/
DNotificationPanelViewControllerTest.java1384 PowerInteractor.Companion.setAwakeForTest( in getFalsingThreshold_lastWakeNotDueToTouch_isQsThreshold()
1393 PowerInteractor.Companion.setAwakeForTest(mPowerInteractor, PowerManager.WAKE_REASON_TAP); in getFalsingThreshold_lastWakeDueToTouch_greaterThanQsThreshold()