Searched refs:lockTaskController (Results 1 – 4 of 4) sorted by relevance
116 final LockTaskController lockTaskController = mock(LockTaskController.class); in test_getOptions() local117 doReturn(false).when(lockTaskController).isPackageAllowlisted(anyInt(), any()); in test_getOptions()120 doReturn(lockTaskController).when(atm).getLockTaskController(); in test_getOptions()
667 final LockTaskController lockTaskController = mAtm.getLockTaskController(); in testTaskModeViolation() local668 doReturn(true).when(lockTaskController).isNewTaskLockTaskModeViolation(any()); in testTaskModeViolation()
1881 final LockTaskController lockTaskController = mService.getLockTaskController(); in isLockTaskModeViolation() local1882 boolean taskViolation = lockTaskController.isLockTaskModeViolation(task); in isLockTaskModeViolation()1884 taskViolation = lockTaskController.isLockTaskModeViolation(parent.asTask()); in isLockTaskModeViolation()
878 final LockTaskController lockTaskController = mService.getLockTaskController(); in realStartActivityLocked() local882 && lockTaskController.getLockTaskModeState() in realStartActivityLocked()884 lockTaskController.startLockTaskMode(task, false, 0 /* blank UID */); in realStartActivityLocked()