Searched refs:keyguardController (Results 1 – 4 of 4) sorted by relevance
245 final KeyguardController keyguardController = mSupervisor.getKeyguardController(); in testSetLockScreenShownWithVirtualDisplay() local251 assertFalse(keyguardController.isAodShowing(displayContent.mDisplayId)); in testSetLockScreenShownWithVirtualDisplay()258 assertTrue(keyguardController.isAodShowing(displayContent.mDisplayId)); in testSetLockScreenShownWithVirtualDisplay()265 assertFalse(keyguardController.isAodShowing(displayContent.mDisplayId)); in testSetLockScreenShownWithVirtualDisplay()279 final KeyguardController keyguardController = mSupervisor.getKeyguardController(); in testSetLockScreenShownWithAlwaysUnlockedVirtualDisplay() local285 assertFalse(keyguardController.isAodShowing(displayContent.mDisplayId)); in testSetLockScreenShownWithAlwaysUnlockedVirtualDisplay()292 assertTrue(keyguardController.isAodShowing(mDefaultDisplay.mDisplayId)); in testSetLockScreenShownWithAlwaysUnlockedVirtualDisplay()298 assertFalse(keyguardController.isAodShowing(virtualDisplay.mDisplayId)); in testSetLockScreenShownWithAlwaysUnlockedVirtualDisplay()
1397 final KeyguardController keyguardController = mSupervisor.getKeyguardController(); in testClearUnknownAppVisibilityBehindFullscreenActivity() local1398 doReturn(true).when(keyguardController).isKeyguardLocked(eq(DEFAULT_DISPLAY)); in testClearUnknownAppVisibilityBehindFullscreenActivity()1460 final KeyguardController keyguardController = mSupervisor.getKeyguardController(); in verifyShouldSleepActivities() local
1552 KeyguardController keyguardController = activity.mTaskSupervisor.getKeyguardController(); in testCompleteFinishing_showWhenLocked() local1554 doReturn(true).when(keyguardController).isKeyguardLocked(eq(displayId)); in testCompleteFinishing_showWhenLocked()1566 assertTrue(keyguardController.isDisplayOccluded(DEFAULT_DISPLAY)); in testCompleteFinishing_showWhenLocked()1575 assertFalse(keyguardController.isDisplayOccluded(DEFAULT_DISPLAY)); in testCompleteFinishing_showWhenLocked()
6549 final KeyguardController keyguardController = mRootWindowContainer.mTaskSupervisor in getTaskOccludingKeyguard() local6551 if (keyguardController.getTopOccludingActivity(mDisplayId) != null) { in getTaskOccludingKeyguard()6552 return keyguardController.getTopOccludingActivity(mDisplayId).getRootTask(); in getTaskOccludingKeyguard()6554 if (keyguardController.getDismissKeyguardActivity(mDisplayId) != null) { in getTaskOccludingKeyguard()6555 return keyguardController.getDismissKeyguardActivity(mDisplayId).getRootTask(); in getTaskOccludingKeyguard()