Searched refs:isTaskLocked (Results 1 – 2 of 2) 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()418 assertFalse(mLockTaskController.isTaskLocked(tr)); in testStopLockTaskMode_pinned()568 assertTrue(mLockTaskController.isTaskLocked(tr1)); in testUpdateLockTaskPackages_taskRemoved()569 assertTrue(mLockTaskController.isTaskLocked(tr2)); in testUpdateLockTaskPackages_taskRemoved()[all …]
239 boolean isTaskLocked(Task task) { in isTaskLocked() method in LockTaskController342 if (isTaskLocked(task) && !isNewClearTask) { in isLockTaskModeViolation()