Home
last modified time | relevance | path

Searched refs:lockTaskController (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DSafeActivityOptionsTest.java116 final LockTaskController lockTaskController = mock(LockTaskController.class); in test_getOptions() local
117 doReturn(false).when(lockTaskController).isPackageAllowlisted(anyInt(), any()); in test_getOptions()
120 doReturn(lockTaskController).when(atm).getLockTaskController(); in test_getOptions()
DActivityStarterTests.java667 final LockTaskController lockTaskController = mAtm.getLockTaskController(); in testTaskModeViolation() local
668 doReturn(true).when(lockTaskController).isNewTaskLockTaskModeViolation(any()); in testTaskModeViolation()
/frameworks/base/services/core/java/com/android/server/wm/
DWindowOrganizerController.java1881 final LockTaskController lockTaskController = mService.getLockTaskController(); in isLockTaskModeViolation() local
1882 boolean taskViolation = lockTaskController.isLockTaskModeViolation(task); in isLockTaskModeViolation()
1884 taskViolation = lockTaskController.isLockTaskModeViolation(parent.asTask()); in isLockTaskModeViolation()
DActivityTaskSupervisor.java878 final LockTaskController lockTaskController = mService.getLockTaskController(); in realStartActivityLocked() local
882 && lockTaskController.getLockTaskModeState() in realStartActivityLocked()
884 lockTaskController.startLockTaskMode(task, false, 0 /* blank UID */); in realStartActivityLocked()