Searched refs:lockTaskAuth (Results 1 – 2 of 2) sorted by relevance
314 static boolean isTaskAuthAllowlisted(int lockTaskAuth) { in isTaskAuthAllowlisted() argument315 switch(lockTaskAuth) { in isTaskAuthAllowlisted()820 int lockTaskAuth = LOCK_TASK_AUTH_DONT_LOCK; in getLockTaskAuth() local823 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()
765 private Task getTask(int lockTaskAuth) { in getTask() argument766 return getTask(TEST_PACKAGE_NAME, lockTaskAuth); in getTask()769 private Task getTask(String pkg, int lockTaskAuth) { in getTask() argument772 return getTask(intent, lockTaskAuth); in getTask()775 private Task getTask(Intent intent, int lockTaskAuth) { in getTask() argument778 tr.mLockTaskAuth = lockTaskAuth; in getTask()