Home
last modified time | relevance | path

Searched refs:isTaskLocked (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DLockTaskControllerTest.java158 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 …]
/frameworks/base/services/core/java/com/android/server/am/
DLockTaskController.java211 boolean isTaskLocked(TaskRecord task) { in isTaskLocked() method in LockTaskController
301 if (isTaskLocked(task) && !isNewClearTask) { in isLockTaskModeViolationInternal()