/frameworks/base/services/core/java/com/android/server/wm/ |
D | RunningTasks.java | 42 void getTasks(int maxNum, List<RunningTaskInfo> list, @ActivityType int ignoreActivityType, in getTasks() argument 46 if (maxNum <= 0) { in getTasks() 67 if (maxNum == 0) { in getTasks() 73 maxNum--; in getTasks()
|
D | RecentTasks.java | 859 ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() argument 861 return new ParceledListSlice<>(getRecentTasksImpl(maxNum, flags, getTasksAllowed, in getRecentTasks() 868 private ArrayList<ActivityManager.RecentTaskInfo> getRecentTasksImpl(int maxNum, int flags, in getRecentTasksImpl() argument 901 if (res.size() >= maxNum) { in getRecentTasksImpl()
|
D | ActivityTaskManagerService.java | 2519 public List<ActivityManager.RunningTaskInfo> getTasks(int maxNum) { in getTasks() argument 2520 return getFilteredTasks(maxNum, ACTIVITY_TYPE_UNDEFINED, WINDOWING_MODE_UNDEFINED); in getTasks() 2524 public List<ActivityManager.RunningTaskInfo> getFilteredTasks(int maxNum, in getFilteredTasks() argument 2539 if (DEBUG_ALL) Slog.v(TAG, "getTasks: max=" + maxNum); in getFilteredTasks() 2542 mRootActivityContainer.getRunningTasks(maxNum, list, ignoreActivityType, in getFilteredTasks() 2767 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() argument 2779 return mRecentTasks.getRecentTasks(maxNum, flags, allowed, detailed, userId, in getRecentTasks()
|
D | RootActivityContainer.java | 2277 void getRunningTasks(int maxNum, List<ActivityManager.RunningTaskInfo> list, in getRunningTasks() argument 2281 mStackSupervisor.mRunningTasks.getTasks(maxNum, list, ignoreActivityType, in getRunningTasks()
|
/frameworks/av/services/mediaresourcemanager/ |
D | ServiceLog.cpp | 31 ServiceLog::ServiceLog(size_t maxNum) : mMaxNum(maxNum), mLogs(mMaxNum) {} in ServiceLog() argument
|
D | ServiceLog.h | 33 explicit ServiceLog(size_t maxNum);
|
/frameworks/base/core/java/android/app/ |
D | IActivityManager.aidl | 129 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum); in getTasks() argument 131 List<ActivityManager.RunningTaskInfo> getFilteredTasks(int maxNum, int ignoreActivityType, in getFilteredTasks() argument 224 ParceledListSlice getRecentTasks(int maxNum, int flags, int userId); in getRecentTasks() argument 258 List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags); in getServices() argument
|
D | IActivityTaskManager.aidl | 147 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum); in getTasks() argument 148 List<ActivityManager.RunningTaskInfo> getFilteredTasks(int maxNum, int ignoreActivityType, in getFilteredTasks() argument 157 ParceledListSlice getRecentTasks(int maxNum, int flags, int userId); in getRecentTasks() argument
|
D | ActivityManager.java | 1590 public List<RecentTaskInfo> getRecentTasks(int maxNum, int flags) in getRecentTasks() argument 1593 if (maxNum < 0) { in getRecentTasks() 1596 return getTaskService().getRecentTasks(maxNum, flags, mContext.getUserId()).getList(); in getRecentTasks() 1818 public List<RunningTaskInfo> getRunningTasks(int maxNum) in getRunningTasks() argument 1821 return getTaskService().getTasks(maxNum); in getRunningTasks() 2285 public List<RunningServiceInfo> getRunningServices(int maxNum) 2289 .getServices(maxNum, 0);
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | RecentTasksTest.java | 1284 ParceledListSlice<RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() argument 1288 return super.getRecentTasks(maxNum, flags, getTasksAllowed, getDetailedTasks, userId, in getRecentTasks() 1302 void getTasks(int maxNum, List<RunningTaskInfo> list, int ignoreActivityType, in getTasks() argument 1306 super.getTasks(maxNum, list, ignoreActivityType, ignoreWindowingMode, activityDisplays, in getTasks()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ProcessStatsService.java | 801 int maxNum = 2; 911 maxNum = Integer.parseInt(args[i]); 1109 int start = isCheckin ? 0 : (files.size() - maxNum);
|
D | ActiveServices.java | 3795 List<ActivityManager.RunningServiceInfo> getRunningServiceInfoLocked(int maxNum, int flags, in getRunningServiceInfoLocked() argument 3804 for (int ui=0; ui<users.length && res.size() < maxNum; ui++) { in getRunningServiceInfoLocked() 3806 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked() 3812 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked() 3822 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked() 3830 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
|
D | ActivityManagerService.java | 6272 public List<RunningTaskInfo> getTasks(int maxNum) { in getTasks() argument 6273 return mActivityTaskManager.getTasks(maxNum); in getTasks() 6277 public List<RunningTaskInfo> getFilteredTasks(int maxNum, @ActivityType int ignoreActivityType, in getFilteredTasks() argument 6280 maxNum, ignoreActivityType, ignoreWindowingMode); in getFilteredTasks() 6361 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() argument 6363 return mActivityTaskManager.getRecentTasks(maxNum, flags, userId); in getRecentTasks() 13963 public List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags) { in getServices() argument 13972 return mServices.getRunningServiceInfoLocked(maxNum, flags, callingUid, in getServices()
|
/frameworks/opt/vcard/java/com/android/vcard/ |
D | VCardBuilder.java | 1755 int maxNum = maxNumForFirstLine; in appendPhotoLine() local 1759 if (lineCount > maxNum) { in appendPhotoLine() 1762 maxNum = maxNumInGeneral; in appendPhotoLine()
|