Home
last modified time | relevance | path

Searched refs:isLockTaskModeViolation (Results 1 – 6 of 6) sorted by relevance

/aosp12/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DLockTaskControllerTest.java250 assertFalse(mLockTaskController.isLockTaskModeViolation(tr, false)); in testLockTaskViolation()
253 assertTrue(mLockTaskController.isLockTaskModeViolation(getTask(LOCK_TASK_AUTH_PINNABLE))); in testLockTaskViolation()
258 assertFalse(mLockTaskController.isLockTaskModeViolation(getTask( in testLockTaskViolation()
260 assertFalse(mLockTaskController.isLockTaskModeViolation(getTask( in testLockTaskViolation()
263 assertFalse(mLockTaskController.isLockTaskModeViolation(getTask( in testLockTaskViolation()
286 assertFalse(mLockTaskController.isLockTaskModeViolation(keypad)); in testLockTaskViolation_emergencyCall()
287 assertFalse(mLockTaskController.isLockTaskModeViolation(callAction)); in testLockTaskViolation_emergencyCall()
288 assertFalse(mLockTaskController.isLockTaskModeViolation(dialer)); in testLockTaskViolation_emergencyCall()
294 assertTrue(mLockTaskController.isLockTaskModeViolation(keypad)); in testLockTaskViolation_emergencyCall()
295 assertTrue(mLockTaskController.isLockTaskModeViolation(callAction)); in testLockTaskViolation_emergencyCall()
[all …]
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DLockTaskController.java329 boolean isLockTaskModeViolation(Task task) { in isLockTaskModeViolation() method in LockTaskController
330 return isLockTaskModeViolation(task, false); in isLockTaskModeViolation()
337 boolean isLockTaskModeViolation(Task task, boolean isNewClearTask) { in isLockTaskModeViolation() method in LockTaskController
357 return isLockTaskModeViolation(activity.getTask()); in isNewTaskLockTaskModeViolation()
655 if (isLockTaskModeViolation(task)) { in setLockTaskMode()
H A DTask.java1147 final boolean isLockTaskModeViolation = task != null in returnsToHomeRootTask()
1148 && mAtmService.getLockTaskController().isLockTaskModeViolation(task); in returnsToHomeRootTask()
1150 && !isLockTaskModeViolation; in returnsToHomeRootTask()
H A DActivityStarter.java1952 if (mService.getLockTaskController().isLockTaskModeViolation(targetTask, in isAllowedToStart()
H A DActivityTaskManagerService.java2120 if (getLockTaskController().isLockTaskModeViolation(task)) { in moveTaskToFrontLocked()
/aosp12/frameworks/base/services/
H A Dart-profile47054 HSPLcom/android/server/wm/LockTaskController;->isLockTaskModeViolation(Lcom/android/server/wm/Task;…
47055 HSPLcom/android/server/wm/LockTaskController;->isLockTaskModeViolation(Lcom/android/server/wm/Task;…