Home
last modified time | relevance | path

Searched refs:getLockTaskController (Results 1 – 15 of 15) sorted by relevance

/aosp14/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
H A DWindowContainerTransactionTests.java71 verify(mAtm.getLockTaskController(), atLeast(1)).clearLockedTask(task); in testRemoveTask()
72 verify(mAtm.getLockTaskController(), atLeast(1)).clearLockedTask(rootTask); in testRemoveTask()
H A DActivityStartInterceptorTest.java176 when(mService.getLockTaskController()).thenReturn(mLockTaskController); in setUp()
H A DSystemServicesTestRule.java582 spyOn(getLockTaskController());
H A DTaskTests.java145 verify(mAtm.getLockTaskController(), atLeast(1)).clearLockedTask(task); in testRemoveContainer()
146 verify(mAtm.getLockTaskController(), atLeast(1)).clearLockedTask(rootTask); in testRemoveContainer()
H A DActivityStarterTests.java587 final LockTaskController lockTaskController = mAtm.getLockTaskController(); in testTaskModeViolation()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DSafeActivityOptions.java341 && !supervisor.mService.getLockTaskController().isPackageAllowlisted( in checkPermissions()
H A DActivityClientController.java456 if (mService.getLockTaskController().activityBlockedFromFinish(r)) { in finishActivity()
535 if (mService.getLockTaskController().activityBlockedFromFinish(r)) { in finishActivityAffinity()
1224 mService.getLockTaskController().showLockTaskToast(); in showLockTaskEscapeMessage()
H A DActivityStartInterceptor.java363 LockTaskController controller = mService.getLockTaskController(); in interceptLockTaskModeViolationPackageIfNeeded()
H A DActivityTaskManagerService.java1109 LockTaskController getLockTaskController() { in getLockTaskController() method in ActivityTaskManagerService
2238 if (getLockTaskController().isLockTaskModeViolation(task)) { in moveTaskToFrontLocked()
2600 getLockTaskController().startLockTaskMode(task, isSystemCaller, callingUid); in startLockTaskMode()
2622 getLockTaskController().stopLockTaskMode(task, isSystemCaller, callingUid); in stopLockTaskModeInternal()
2644 getLockTaskController().updateLockTaskPackages(userId, packages); in updateLockTaskPackages()
2655 return getLockTaskController().getLockTaskModeState(); in getLockTaskModeState()
3853 getLockTaskController().updateLockTaskFeatures(userId, flags); in updateLockTaskFeatures()
6888 getLockTaskController().clearLockedTasks(reason); in clearLockedTasks()
6992 return getLockTaskController().isBaseOfLockedTask(packageName); in isBaseOfLockedTask()
H A DActivityTaskSupervisor.java861 final LockTaskController lockTaskController = mService.getLockTaskController(); in realStartActivityLocked()
1690 mService.getLockTaskController().clearLockedTask(task); in removeTask()
2295 mService.getLockTaskController().dump(pw, prefix); in dump()
H A DRecentTasks.java680 if (task.mUserId == userId && !mService.getLockTaskController().isTaskAuthAllowlisted( in onLockTaskModeStateChanged()
1419 if (task == mService.getLockTaskController().getRootTask()) { in isVisibleRecentTask()
H A DWindowOrganizerController.java1197 && mService.getLockTaskController().activityBlockedFromFinish( in applyTaskFragmentOperation()
1538 final LockTaskController lockTaskController = mService.getLockTaskController(); in isLockTaskModeViolation()
H A DTask.java744 mAtmService.getLockTaskController().clearLockedTask(this); in removeIfPossible()
1098 && mAtmService.getLockTaskController().isLockTaskModeViolation(task)); in returnsToHomeRootTask()
1721 mLockTaskAuth = mAtmService.getLockTaskController().getLockTaskAuth(r, this); in setLockTaskAuth()
5640 if (!mAtmService.getLockTaskController().canMoveTaskToBack(task)) {
H A DActivityStarter.java1928 if (mService.getLockTaskController().isLockTaskModeViolation(targetTask, in isAllowedToStart()
1934 if (mService.getLockTaskController().isNewTaskLockTaskModeViolation(r)) { in isAllowedToStart()
H A DActivityRecord.java3604 mAtmService.getLockTaskController().clearLockedTask(task); in finishIfPossible()