Searched refs:lockTaskAuth (Results 1 – 2 of 2) sorted by relevance
315 static boolean isTaskAuthAllowlisted(int lockTaskAuth) { in isTaskAuthAllowlisted() argument316 switch(lockTaskAuth) { in isTaskAuthAllowlisted()819 int lockTaskAuth = LOCK_TASK_AUTH_DONT_LOCK; in getLockTaskAuth() local822 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()
760 private Task getTask(int lockTaskAuth) { in getTask() argument761 return getTask(TEST_PACKAGE_NAME, lockTaskAuth); in getTask()764 private Task getTask(String pkg, int lockTaskAuth) { in getTask() argument767 return getTask(intent, lockTaskAuth); in getTask()770 private Task getTask(Intent intent, int lockTaskAuth) { in getTask() argument772 tr.mLockTaskAuth = lockTaskAuth; in getTask()