Searched refs:isTaskLocked (Results 1 – 3 of 3) sorted by relevance
187 assertTrue(mLockTaskController.isTaskLocked(tr)); in testStartLockTaskMode_once()206 assertTrue(mLockTaskController.isTaskLocked(tr1)); in testStartLockTaskMode_twice()207 assertTrue(mLockTaskController.isTaskLocked(tr2)); in testStartLockTaskMode_twice()236 assertTrue(mLockTaskController.isTaskLocked(tr)); in testStartLockTaskMode_pinnedBySystem()328 assertFalse(mLockTaskController.isTaskLocked(tr)); in testStopLockTaskMode()372 assertTrue(mLockTaskController.isTaskLocked(tr1)); in testStopLockTaskMode_twoTasks()374 assertFalse(mLockTaskController.isTaskLocked(tr2)); in testStopLockTaskMode_twoTasks()393 assertFalse(mLockTaskController.isTaskLocked(tr1)); in testStopLockTaskMode_rootTask()395 assertFalse(mLockTaskController.isTaskLocked(tr2)); in testStopLockTaskMode_rootTask()418 assertFalse(mLockTaskController.isTaskLocked(tr)); in testStopLockTaskMode_pinned()[all …]
239 boolean isTaskLocked(Task task) { in isTaskLocked() method in LockTaskController342 if (isTaskLocked(task) && !isNewClearTask) { in isLockTaskModeViolation()
286 } else if (currentTask.mAtmService.getLockTaskController().isTaskLocked(currentTask)) { in startBackNavigation()