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.java315 static boolean isTaskAuthAllowlisted(int lockTaskAuth) { in isTaskAuthAllowlisted() argument
316 switch(lockTaskAuth) { in isTaskAuthAllowlisted()
819 int lockTaskAuth = LOCK_TASK_AUTH_DONT_LOCK; in getLockTaskAuth() local
822 lockTaskAuth = isPackageAllowlisted(userId, pkg) in getLockTaskAuth()
827 lockTaskAuth = LOCK_TASK_AUTH_DONT_LOCK; in getLockTaskAuth()
831 lockTaskAuth = LOCK_TASK_AUTH_LAUNCHABLE_PRIV; in getLockTaskAuth()
835 lockTaskAuth = isPackageAllowlisted(userId, pkg) in getLockTaskAuth()
839 return lockTaskAuth; in getLockTaskAuth()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java760 private Task getTask(int lockTaskAuth) { in getTask() argument
761 return getTask(TEST_PACKAGE_NAME, lockTaskAuth); in getTask()
764 private Task getTask(String pkg, int lockTaskAuth) { in getTask() argument
767 return getTask(intent, lockTaskAuth); in getTask()
770 private Task getTask(Intent intent, int lockTaskAuth) { in getTask() argument
772 tr.mLockTaskAuth = lockTaskAuth; in getTask()