Searched refs:isTaskLocked (Results 1 – 2 of 2) sorted by relevance
158 assertTrue(mLockTaskController.isTaskLocked(tr)); in testStartLockTaskMode_once()177 assertTrue(mLockTaskController.isTaskLocked(tr1)); in testStartLockTaskMode_twice()178 assertTrue(mLockTaskController.isTaskLocked(tr2)); in testStartLockTaskMode_twice()207 assertTrue(mLockTaskController.isTaskLocked(tr)); in testStartLockTaskMode_pinnedBySystem()285 assertFalse(mLockTaskController.isTaskLocked(tr)); in testStopLockTaskMode()329 assertTrue(mLockTaskController.isTaskLocked(tr1)); in testStopLockTaskMode_twoTasks()331 assertFalse(mLockTaskController.isTaskLocked(tr2)); in testStopLockTaskMode_twoTasks()350 assertFalse(mLockTaskController.isTaskLocked(tr1)); in testStopLockTaskMode_rootTask()352 assertFalse(mLockTaskController.isTaskLocked(tr2)); in testStopLockTaskMode_rootTask()375 assertFalse(mLockTaskController.isTaskLocked(tr)); in testStopLockTaskMode_pinned()[all …]
211 boolean isTaskLocked(TaskRecord task) { in isTaskLocked() method in LockTaskController301 if (isTaskLocked(task) && !isNewClearTask) { in isLockTaskModeViolationInternal()