Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DLockTaskController.java314 static boolean isTaskAuthAllowlisted(int lockTaskAuth) { in isTaskAuthAllowlisted() argument
315 switch(lockTaskAuth) { in isTaskAuthAllowlisted()
820 int lockTaskAuth = LOCK_TASK_AUTH_DONT_LOCK; in getLockTaskAuth() local
823 lockTaskAuth = isPackageAllowlisted(userId, pkg) in getLockTaskAuth()
828 lockTaskAuth = LOCK_TASK_AUTH_DONT_LOCK; in getLockTaskAuth()
832 lockTaskAuth = LOCK_TASK_AUTH_LAUNCHABLE_PRIV; in getLockTaskAuth()
836 lockTaskAuth = isPackageAllowlisted(userId, pkg) in getLockTaskAuth()
840 return lockTaskAuth; in getLockTaskAuth()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java765 private Task getTask(int lockTaskAuth) { in getTask() argument
766 return getTask(TEST_PACKAGE_NAME, lockTaskAuth); in getTask()
769 private Task getTask(String pkg, int lockTaskAuth) { in getTask() argument
772 return getTask(intent, lockTaskAuth); in getTask()
775 private Task getTask(Intent intent, int lockTaskAuth) { in getTask() argument
778 tr.mLockTaskAuth = lockTaskAuth; in getTask()