Searched refs:isLockTaskModeViolation (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LockTaskControllerTest.java | 251 assertFalse(mLockTaskController.isLockTaskModeViolation(tr, false)); in testLockTaskViolation() 254 assertTrue(mLockTaskController.isLockTaskModeViolation(getTask(LOCK_TASK_AUTH_PINNABLE))); in testLockTaskViolation() 256 assertTrue(mLockTaskController.isLockTaskModeViolation(getTask(LOCK_TASK_AUTH_DONT_LOCK))); 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() [all …]
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | LockTaskController.java | 331 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()
|
D | WindowOrganizerController.java | 1136 if (isLockTaskModeViolation(wc.getParent(), wc.asTask(), isInLockTaskMode)) { in applyHierarchyOp() 1876 private boolean isLockTaskModeViolation(WindowContainer parent, Task task, in isLockTaskModeViolation() method in WindowOrganizerController 1882 boolean taskViolation = lockTaskController.isLockTaskModeViolation(task); in isLockTaskModeViolation() 1884 taskViolation = lockTaskController.isLockTaskModeViolation(parent.asTask()); in isLockTaskModeViolation() 1960 if (isLockTaskModeViolation(finalNewParent, task, isInLockTaskMode)) { in reparentChildrenTasksHierarchyOp()
|
D | ActivityStarter.java | 2059 if (mService.getLockTaskController().isLockTaskModeViolation(targetTask, in isAllowedToStart()
|
D | Task.java | 1085 && mAtmService.getLockTaskController().isLockTaskModeViolation(task)); in returnsToHomeRootTask()
|
D | ActivityTaskManagerService.java | 2271 if (getLockTaskController().isLockTaskModeViolation(task)) { in moveTaskToFrontLocked()
|