Home
last modified time | relevance | path

Searched refs:RunningTaskInfo (Results 1 – 25 of 37) sorted by relevance

12

/frameworks/base/core/java/android/app/
DITaskStackListener.aidl80 void onActivityLaunchOnSecondaryDisplayFailed(in ActivityManager.RunningTaskInfo taskInfo, in onActivityLaunchOnSecondaryDisplayFailed()
90 void onActivityLaunchOnSecondaryDisplayRerouted(in ActivityManager.RunningTaskInfo taskInfo, in onActivityLaunchOnSecondaryDisplayRerouted()
113 void onTaskMovedToFront(in ActivityManager.RunningTaskInfo taskInfo); in onTaskMovedToFront()
121 void onTaskDescriptionChanged(in ActivityManager.RunningTaskInfo taskInfo); in onTaskDescriptionChanged()
139 void onTaskRemovalStarted(in ActivityManager.RunningTaskInfo taskInfo); in onTaskRemovalStarted()
171 void onBackPressedOnTaskRoot(in ActivityManager.RunningTaskInfo taskInfo); in onBackPressedOnTaskRoot()
DTaskStackListener.java76 public void onActivityLaunchOnSecondaryDisplayFailed(ActivityManager.RunningTaskInfo taskInfo, in onActivityLaunchOnSecondaryDisplayFailed()
92 public void onActivityLaunchOnSecondaryDisplayRerouted(ActivityManager.RunningTaskInfo taskInfo, in onActivityLaunchOnSecondaryDisplayRerouted()
106 public void onTaskMovedToFront(ActivityManager.RunningTaskInfo taskInfo) in onTaskMovedToFront()
120 public void onTaskRemovalStarted(ActivityManager.RunningTaskInfo taskInfo) in onTaskRemovalStarted()
133 public void onTaskDescriptionChanged(ActivityManager.RunningTaskInfo taskInfo) in onTaskDescriptionChanged()
174 public void onBackPressedOnTaskRoot(ActivityManager.RunningTaskInfo taskInfo) in onBackPressedOnTaskRoot()
DActivityManager.aidl25 parcelable ActivityManager.RunningTaskInfo;
DActivityView.java637 public void onTaskDescriptionChanged(ActivityManager.RunningTaskInfo taskInfo) in onTaskDescriptionChanged()
657 public void onTaskMovedToFront(ActivityManager.RunningTaskInfo taskInfo) in onTaskMovedToFront()
689 public void onTaskRemovalStarted(ActivityManager.RunningTaskInfo taskInfo) in onTaskRemovalStarted()
DActivityManager.java1603 public static class RunningTaskInfo extends TaskInfo implements Parcelable { class in ActivityManager
1638 public RunningTaskInfo() { in RunningTaskInfo() method in ActivityManager.RunningTaskInfo
1641 private RunningTaskInfo(Parcel source) { in RunningTaskInfo() method in ActivityManager.RunningTaskInfo
1661 …static final @android.annotation.NonNull Creator<RunningTaskInfo> CREATOR = new Creator<RunningTas…
1662 public RunningTaskInfo createFromParcel(Parcel source) {
1663 return new RunningTaskInfo(source);
1665 public RunningTaskInfo[] newArray(int size) {
1666 return new RunningTaskInfo[size];
1811 public List<RunningTaskInfo> getRunningTasks(int maxNum) in getRunningTasks()
DIActivityTaskManager.aidl147 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum); in getTasks()
148 List<ActivityManager.RunningTaskInfo> getFilteredTasks(int maxNum, int ignoreActivityType, in getFilteredTasks()
DIActivityManager.aidl128 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum); in getTasks()
130 List<ActivityManager.RunningTaskInfo> getFilteredTasks(int maxNum, int ignoreActivityType, in getFilteredTasks()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DTaskStackChangeListener.java19 import android.app.ActivityManager.RunningTaskInfo;
48 public void onActivityLaunchOnSecondaryDisplayFailed(RunningTaskInfo taskInfo) { in onActivityLaunchOnSecondaryDisplayFailed()
63 public void onActivityLaunchOnSecondaryDisplayRerouted(RunningTaskInfo taskInfo) { in onActivityLaunchOnSecondaryDisplayRerouted()
72 public void onTaskMovedToFront(RunningTaskInfo taskInfo) { in onTaskMovedToFront()
79 public void onBackPressedOnTaskRoot(RunningTaskInfo taskInfo) { } in onBackPressedOnTaskRoot()
DTaskStackChangeListeners.java19 import android.app.ActivityManager.RunningTaskInfo;
146 public void onActivityLaunchOnSecondaryDisplayFailed(RunningTaskInfo taskInfo, in onActivityLaunchOnSecondaryDisplayFailed()
154 public void onActivityLaunchOnSecondaryDisplayRerouted(RunningTaskInfo taskInfo, in onActivityLaunchOnSecondaryDisplayRerouted()
181 public void onTaskMovedToFront(RunningTaskInfo taskInfo) in onTaskMovedToFront()
187 public void onBackPressedOnTaskRoot(RunningTaskInfo taskInfo) throws RemoteException { in onBackPressedOnTaskRoot()
303 final RunningTaskInfo info = (RunningTaskInfo) msg.obj; in handleMessage()
311 final RunningTaskInfo info = (RunningTaskInfo) msg.obj; in handleMessage()
338 final RunningTaskInfo info = (RunningTaskInfo) msg.obj; in handleMessage()
361 (RunningTaskInfo) msg.obj); in handleMessage()
DActivityManagerWrapper.java110 public ActivityManager.RunningTaskInfo getRunningTask() { in getRunningTask()
114 public ActivityManager.RunningTaskInfo getRunningTask(@ActivityType int ignoreActivityType) { in getRunningTask()
117 List<ActivityManager.RunningTaskInfo> tasks = in getRunningTask()
/frameworks/base/services/core/java/com/android/server/wm/
DRunningTasks.java19 import android.app.ActivityManager.RunningTaskInfo;
41 void getTasks(int maxNum, List<RunningTaskInfo> list, @ActivityType int ignoreActivityType, in getTasks()
79 private RunningTaskInfo createRunningTaskInfo(TaskRecord task) { in createRunningTaskInfo()
80 final RunningTaskInfo rti = new RunningTaskInfo(); in createRunningTaskInfo()
DTaskChangeNotificationController.java20 import android.app.ActivityManager.RunningTaskInfo;
90 l.onTaskMovedToFront((RunningTaskInfo) m.obj);
94 l.onTaskDescriptionChanged((RunningTaskInfo) m.obj);
98 l.onBackPressedOnTaskRoot((RunningTaskInfo) m.obj);
106 l.onTaskRemovalStarted((RunningTaskInfo) m.obj);
139 l.onActivityLaunchOnSecondaryDisplayFailed((RunningTaskInfo) m.obj, m.arg1);
143 l.onActivityLaunchOnSecondaryDisplayRerouted((RunningTaskInfo) m.obj, m.arg1);
440 void notifyTaskRemovalStarted(ActivityManager.RunningTaskInfo taskInfo) { in notifyTaskRemovalStarted()
DTaskRecord.java2415 ActivityManager.RunningTaskInfo getTaskInfo() { in getTaskInfo()
2416 ActivityManager.RunningTaskInfo info = new ActivityManager.RunningTaskInfo(); in getTaskInfo()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRunningTasksTest.java29 import android.app.ActivityManager.RunningTaskInfo;
78 ArrayList<RunningTaskInfo> tasks = new ArrayList<>(); in testCollectTasksByLastActiveTime()
DRecentTasksTest.java50 import android.app.ActivityManager.RunningTaskInfo;
1302 void getTasks(int maxNum, List<RunningTaskInfo> list, int ignoreActivityType, in getTasks()
/frameworks/base/packages/SystemUI/src/com/android/systemui/assist/
DPhoneStateMonitor.java89 public void onTaskMovedToFront(ActivityManager.RunningTaskInfo taskInfo) { in PhoneStateMonitor()
171 private boolean isLauncherShowing(ActivityManager.RunningTaskInfo runningTaskInfo) { in isLauncherShowing()
DAssistHandleReminderExpBehavior.java95 public void onTaskMovedToFront(ActivityManager.RunningTaskInfo taskInfo) {
173 ActivityManager.RunningTaskInfo runningTaskInfo = mActivityManagerWrapper.getRunningTask(); in onModeActivated()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/
DRecentsImpl.java152 ActivityManager.RunningTaskInfo runningTaskInfo = in onTaskStackChangedBackground()
390 ActivityManager.RunningTaskInfo runningTask = in showRecents()
480 ActivityManager.RunningTaskInfo runningTask = in toggleRecents()
512 ActivityManager.RunningTaskInfo runningTask =
567 ActivityManager.RunningTaskInfo runningTask =
623 ActivityManager.RunningTaskInfo runningTask = in showRelativeAffiliatedTask()
887 getThumbnailTransitionActivityOptions(ActivityManager.RunningTaskInfo runningTask, in getThumbnailTransitionActivityOptions()
977 final ActivityManager.RunningTaskInfo runningTask, final boolean isHomeStackVisible, in startRecentsActivityAndDismissKeyguardIfNeeded()
994 private void startRecentsActivity(ActivityManager.RunningTaskInfo runningTask, in startRecentsActivity()
DLegacyRecentsImpl.java378 ActivityManager.RunningTaskInfo runningTask = in splitPrimaryTask()
/frameworks/base/tests/Compatibility/src/com/android/compatibilitytest/
DAppCompatibility.java21 import android.app.ActivityManager.RunningTaskInfo;
302 List<RunningTaskInfo> infos = mActivityManager.getRunningTasks(100); in processStillUp()
303 for (RunningTaskInfo info : infos) { in processStillUp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/util/
DWifiPermissionsWrapper.java63 List<ActivityManager.RunningTaskInfo> tasks = am.getRunningTasks(1); in getTopPkgName()
/frameworks/base/packages/SystemUI/src/com/android/systemui/bubbles/
DBubbleController.java43 import android.app.ActivityManager.RunningTaskInfo;
761 List<RunningTaskInfo> tasks = am.getRunningTasks(1 /* maxNum */); in isForegroundApp()
777 public void onTaskMovedToFront(RunningTaskInfo taskInfo) { in onTaskMovedToFront()
791 public void onBackPressedOnTaskRoot(RunningTaskInfo taskInfo) { in onBackPressedOnTaskRoot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/
DOverviewProxyRecentsImpl.java137 ActivityManager.RunningTaskInfo runningTask = in splitPrimaryTask()
DRecentsOnboarding.java139 ActivityManager.RunningTaskInfo info = ActivityManagerWrapper.getInstance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/tv/
DPipManager.java25 import android.app.ActivityManager.RunningTaskInfo;
613 List<RunningTaskInfo> runningTasks; in isSettingsShown()

12