Home
last modified time | relevance | path

Searched refs:LOCK_TASK_AUTH_PINNABLE (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java57 import static com.android.server.wm.LockTaskController.LOCK_TASK_AUTH_PINNABLE;
216 Task tr = getTask(LOCK_TASK_AUTH_PINNABLE); in testStartLockTaskMode_pinningRequest()
228 Task tr = getTask(LOCK_TASK_AUTH_PINNABLE); in testStartLockTaskMode_pinnedBySystem()
254 assertTrue(mLockTaskController.isLockTaskModeViolation(getTask(LOCK_TASK_AUTH_PINNABLE))); in testLockTaskViolation()
276 LOCK_TASK_AUTH_PINNABLE); in testLockTaskViolation_emergencyCall()
278 LOCK_TASK_AUTH_PINNABLE); in testLockTaskViolation_emergencyCall()
279 Task dialer = getTask("com.example.dialer", LOCK_TASK_AUTH_PINNABLE); in testLockTaskViolation_emergencyCall()
310 LOCK_TASK_AUTH_PINNABLE); in testLockTaskViolation_wirelessEmergencyAlerts()
403 Task tr = getTask(LOCK_TASK_AUTH_PINNABLE); in testStopLockTaskMode_pinned()
788 tr.mLockTaskAuth = isAllowlisted ? authIfAllowlisted : LOCK_TASK_AUTH_PINNABLE; in getTaskForUpdate()
/frameworks/base/services/core/java/com/android/server/wm/
DLockTaskController.java134 static final int LOCK_TASK_AUTH_PINNABLE = 1; field in LockTaskController
321 case LOCK_TASK_AUTH_PINNABLE: in isTaskAuthAllowlisted()
655 if (task.mLockTaskAuth == LOCK_TASK_AUTH_PINNABLE) { in startLockTaskMode()
813 return LOCK_TASK_AUTH_PINNABLE; in getLockTaskAuth()
823 ? LOCK_TASK_AUTH_ALLOWLISTED : LOCK_TASK_AUTH_PINNABLE; in getLockTaskAuth()
836 ? LOCK_TASK_AUTH_LAUNCHABLE : LOCK_TASK_AUTH_PINNABLE; in getLockTaskAuth()
DTask.java99 import static com.android.server.wm.LockTaskController.LOCK_TASK_AUTH_PINNABLE;
351 int mLockTaskAuth = LOCK_TASK_AUTH_PINNABLE;
1790 case LOCK_TASK_AUTH_PINNABLE: return "LOCK_TASK_AUTH_PINNABLE"; in lockTaskAuthToString()
3850 || mLockTaskAuth != LOCK_TASK_AUTH_PINNABLE) {