Home
last modified time | relevance | path

Searched refs:removeTask (Results 1 – 25 of 38) sorted by relevance

12

/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DRecentsAnimationControllerCompat.java130 public boolean removeTask(int taskId) { in removeTask() method in RecentsAnimationControllerCompat
132 return mAnimationController.removeTask(taskId); in removeTask()
DActivityManagerWrapper.java275 public void removeTask(final int taskId) { in removeTask() method in ActivityManagerWrapper
277 getService().removeTask(taskId); in removeTask()
DRemoteTransitionCompat.java418 @Override public boolean removeTask(int taskId) { in removeTask() method in RemoteTransitionCompat.RecentsControllerWrap
419 return mWrapped != null ? mWrapped.removeTask(taskId) : false; in removeTask()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
DSideStageTests.java85 assertThat(mSideStage.removeTask(task.taskId, null, mWct)).isFalse(); in testRemoveTask()
88 assertThat(mSideStage.removeTask(task.taskId, null, mWct)).isTrue(); in testRemoveTask()
DStageCoordinatorTests.java229 verify(mSideStage).removeTask( in testRemoveFromSideStage()
/frameworks/base/core/java/android/view/
DIRecentsAnimationController.aidl136 boolean removeTask(int taskId); in removeTask() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/
DWorkLockActivityControllerTest.java108 verify(mIActivityTaskManager, never()).removeTask(anyInt() /*taskId*/); in testOverlayStartedWhenLocked()
122 verify(mIActivityTaskManager).removeTask(TASK_ID); in testRemoveTaskOnFailureToStartOverlay()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
DSideStage.java56 boolean removeTask(int taskId, WindowContainerToken newParent, WindowContainerTransaction wct) { in removeTask() method in SideStage
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowContainerTransactionTests.java57 wct.removeTask(token); in testRemoveTask()
DDisplayContentTests.java2709 }).when(mSupervisor).removeTask(eq(task4), anyBoolean(), anyBoolean(), any()); in removeRootTaskTests()
2715 }).when(mSupervisor).removeTask(eq(task2), anyBoolean(), anyBoolean(), any()); in removeRootTaskTests()
2718 verify(mSupervisor).removeTask(eq(task4), anyBoolean(), anyBoolean(), any()); in removeRootTaskTests()
2719 verify(mSupervisor).removeTask(eq(task3), anyBoolean(), anyBoolean(), any()); in removeRootTaskTests()
2720 verify(mSupervisor).removeTask(eq(task2), anyBoolean(), anyBoolean(), any()); in removeRootTaskTests()
2721 verify(mSupervisor).removeTask(eq(task1), anyBoolean(), anyBoolean(), any()); in removeRootTaskTests()
DRecentTasksTest.java1331 assertSecurityException(expectCallable, () -> mAtm.removeTask(INVALID_STACK_ID)); in doTestRecentTasksApis()
1338 assertSecurityException(expectCallable, () -> mAtm.removeTask(0)); in doTestRecentTasksApis()
DWindowOrganizerTests.java266 verify(mWm.mAtmService).removeTask(eq(rootTask.mTaskId)); in testRemoveWithOrganizerRemovesTask()
284 verify(mWm.mAtmService, never()).removeTask(eq(rootTask.mTaskId)); in testNoRemoveWithOrganizerNoRemoveTask()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
DPanelTaskViewController.kt55 ActivityTaskManager.getInstance().removeTask(detailTaskId) in removeDetailTask()
DDetailDialog.kt82 ActivityTaskManager.getInstance().removeTask(detailTaskId) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/
DTaskOperations.java76 wct.removeTask(taskToken); in closeTask()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/
DWorkLockActivityController.java80 mIatm.removeTask(info.taskId); in startWorkChallengeInTask()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/pip/tv/
DTvPipController.java440 removeTask(mPinnedTaskId); in closeCurrentPiP()
692 private static void removeTask(int taskId) { in removeTask() method in TvPipController
698 ActivityTaskManager.getService().removeTask(taskId); in removeTask()
/frameworks/base/core/java/android/app/
DActivityTaskManager.java478 public boolean removeTask(int taskId) { in removeTask() method in ActivityTaskManager
480 return getService().removeTask(taskId); in removeTask()
DIActivityTaskManager.aidl159 boolean removeTask(int taskId); in removeTask() method
DIActivityManager.aidl360 boolean removeTask(int taskId); in removeTask() method
/frameworks/base/services/core/java/com/android/server/wm/
DTaskOrganizerController.java385 private boolean removeTask(Task t, boolean removeFromSystem) { in removeTask() method in TaskOrganizerController.TaskOrganizerState
396 mService.removeTask(t.mTaskId); in removeTask()
419 if (removeTask(t, t.mRemoveWithTaskOrganizer)) { in dispose()
763 if (state != null && state.removeTask(task, task.mRemoveWithTaskOrganizer)) { in onTaskVanished()
DRecentTasks.java661 mSupervisor.removeTask(task, false, REMOVE_FROM_RECENTS, "suspended-package"); in onPackagesSuspendedChanged()
689 mSupervisor.removeTask(task, true, REMOVE_FROM_RECENTS, "remove-package-task"); in removeTasksByPackageName()
717 mSupervisor.removeTask(task, false, REMOVE_FROM_RECENTS, "disabled-package"); in cleanupDisabledPackageTasksLocked()
1497 mSupervisor.removeTask(hiddenTask, false /* killProcess */, in removeUnreachableHiddenTasks()
DActivityTaskSupervisor.java1591 removeTask(task, true /* killProcess */, REMOVE_FROM_RECENTS, "remove-root-task"); in processRemoveTask()
1616 removeTask(task, killProcess, removeFromRecents, reason); in removeTaskById()
1623 void removeTask(Task task, boolean killProcess, boolean removeFromRecents, String reason) { in removeTask() method in ActivityTaskSupervisor
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationMediaManager.java764 private void removeTask(AsyncTask<?, ?, ?> task) { in removeTask() method in NotificationMediaManager
797 manager.removeTask(this); in onPostExecute()
809 manager.removeTask(this); in onCancelled()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubbleExpandedView.java1040 ActivityTaskManager.getService().removeTask(getTaskId()); in cleanUpExpandedState()

12