Home
last modified time | relevance | path

Searched refs:mLockTaskAuth (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DLockTaskController.java243 && task.mLockTaskAuth != LOCK_TASK_AUTH_LAUNCHABLE_PRIV in activityBlockedFromFinish()
270 switch(task.mLockTaskAuth) { in isTaskWhitelisted()
533 if (task.mLockTaskAuth == LOCK_TASK_AUTH_PINNABLE) { in startLockTaskMode()
561 if (task.mLockTaskAuth == LOCK_TASK_AUTH_DONT_LOCK) { in setLockTaskMode()
636 final boolean wasWhitelisted = lockedTask.mLockTaskAuth == LOCK_TASK_AUTH_LAUNCHABLE in updateLockTaskPackages()
637 || lockedTask.mLockTaskAuth == LOCK_TASK_AUTH_WHITELISTED; in updateLockTaskPackages()
639 final boolean isWhitelisted = lockedTask.mLockTaskAuth == LOCK_TASK_AUTH_LAUNCHABLE in updateLockTaskPackages()
640 || lockedTask.mLockTaskAuth == LOCK_TASK_AUTH_WHITELISTED; in updateLockTaskPackages()
664 && task.mLockTaskAuth == LOCK_TASK_AUTH_LAUNCHABLE) { in updateLockTaskPackages()
DTaskRecord.java259 int mLockTaskAuth = LOCK_TASK_AUTH_PINNABLE; field in TaskRecord
1536 switch (mLockTaskAuth) { in lockTaskAuthToString()
1542 default: return "unknown=" + mLockTaskAuth; in lockTaskAuthToString()
1552 mLockTaskAuth = LOCK_TASK_AUTH_PINNABLE; in setLockTaskAuth()
1560 mLockTaskAuth = lockTaskController.isPackageWhitelisted(userId, pkg) in setLockTaskAuth()
1565 mLockTaskAuth = LOCK_TASK_AUTH_DONT_LOCK; in setLockTaskAuth()
1569 mLockTaskAuth = LOCK_TASK_AUTH_LAUNCHABLE_PRIV; in setLockTaskAuth()
1573 mLockTaskAuth = lockTaskController.isPackageWhitelisted(userId, pkg) in setLockTaskAuth()
2470 || mLockTaskAuth != LOCK_TASK_AUTH_PINNABLE) { in dump()
DActivityStackSupervisor.java780 if (task.mLockTaskAuth == LOCK_TASK_AUTH_LAUNCHABLE in realStartActivityLocked()
781 || task.mLockTaskAuth == LOCK_TASK_AUTH_LAUNCHABLE_PRIV in realStartActivityLocked()
782 || (task.mLockTaskAuth == LOCK_TASK_AUTH_WHITELISTED in realStartActivityLocked()
DActivityTaskManagerService.java2861 if (task == null || task.mLockTaskAuth == LOCK_TASK_AUTH_DONT_LOCK) { in startLockTaskModeLocked()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java708 tr.mLockTaskAuth = lockTaskAuth; in getTaskRecord()
725 tr.mLockTaskAuth = isWhitelisted in getTaskRecordForUpdate()