Home
last modified time | relevance | path

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

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DLockTaskControllerTest.java251 assertFalse(mLockTaskController.isLockTaskModeViolation(tr, false)); in testLockTaskViolation()
259 assertFalse(mLockTaskController.isLockTaskModeViolation(getTask( in testLockTaskViolation()
261 assertFalse(mLockTaskController.isLockTaskModeViolation(getTask( in testLockTaskViolation()
264 assertFalse(mLockTaskController.isLockTaskModeViolation(getTask( in testLockTaskViolation()
287 assertFalse(mLockTaskController.isLockTaskModeViolation(keypad)); in testLockTaskViolation_emergencyCall()
288 assertFalse(mLockTaskController.isLockTaskModeViolation(callAction)); in testLockTaskViolation_emergencyCall()
289 assertFalse(mLockTaskController.isLockTaskModeViolation(dialer)); in testLockTaskViolation_emergencyCall()
295 assertTrue(mLockTaskController.isLockTaskModeViolation(keypad)); in testLockTaskViolation_emergencyCall()
296 assertTrue(mLockTaskController.isLockTaskModeViolation(callAction)); in testLockTaskViolation_emergencyCall()
297 assertTrue(mLockTaskController.isLockTaskModeViolation(dialer)); in testLockTaskViolation_emergencyCall()
[all …]
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DLockTaskController.java331 boolean isLockTaskModeViolation(Task task) { in isLockTaskModeViolation() method in LockTaskController
332 return isLockTaskModeViolation(task, false); in isLockTaskModeViolation()
339 boolean isLockTaskModeViolation(Task task, boolean isNewClearTask) { in isLockTaskModeViolation() method in LockTaskController
359 return isLockTaskModeViolation(activity.getTask()); in isNewTaskLockTaskModeViolation()
695 if (isLockTaskModeViolation(task)) { in setLockTaskMode()
H A DWindowOrganizerController.java986 if (isLockTaskModeViolation(wc.getParent(), wc.asTask(), isInLockTaskMode)) { in applyHierarchyOp()
1533 private boolean isLockTaskModeViolation(WindowContainer parent, Task task, in isLockTaskModeViolation() method in WindowOrganizerController
1539 boolean taskViolation = lockTaskController.isLockTaskModeViolation(task); in isLockTaskModeViolation()
1541 taskViolation = lockTaskController.isLockTaskModeViolation(parent.asTask()); in isLockTaskModeViolation()
1617 if (isLockTaskModeViolation(finalNewParent, task, isInLockTaskMode)) { in reparentChildrenTasksHierarchyOp()
H A DActivityStarter.java1928 if (mService.getLockTaskController().isLockTaskModeViolation(targetTask, in isAllowedToStart()
H A DTask.java1098 && mAtmService.getLockTaskController().isLockTaskModeViolation(task)); in returnsToHomeRootTask()
H A DActivityTaskManagerService.java2238 if (getLockTaskController().isLockTaskModeViolation(task)) { in moveTaskToFrontLocked()