Home
last modified time | relevance | path

Searched refs:maxNum (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DRunningTasks.java41 void getTasks(int maxNum, List<RunningTaskInfo> list, @ActivityType int ignoreActivityType, in getTasks() argument
45 if (maxNum <= 0) { in getTasks()
66 if (maxNum == 0) { in getTasks()
72 maxNum--; in getTasks()
DRecentTasks.java859 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()
DActivityTaskManagerService.java2504 public List<ActivityManager.RunningTaskInfo> getTasks(int maxNum) { in getTasks() argument
2505 return getFilteredTasks(maxNum, ACTIVITY_TYPE_UNDEFINED, WINDOWING_MODE_UNDEFINED); in getTasks()
2509 public List<ActivityManager.RunningTaskInfo> getFilteredTasks(int maxNum, in getFilteredTasks() argument
2516 if (DEBUG_ALL) Slog.v(TAG, "getTasks: max=" + maxNum); in getFilteredTasks()
2520 mRootActivityContainer.getRunningTasks(maxNum, list, ignoreActivityType, in getFilteredTasks()
2745 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() argument
2757 return mRecentTasks.getRecentTasks(maxNum, flags, allowed, detailed, userId, in getRecentTasks()
DRootActivityContainer.java2256 void getRunningTasks(int maxNum, List<ActivityManager.RunningTaskInfo> list, in getRunningTasks() argument
2260 mStackSupervisor.mRunningTasks.getTasks(maxNum, list, ignoreActivityType, in getRunningTasks()
/frameworks/av/services/mediaresourcemanager/
DServiceLog.cpp31 ServiceLog::ServiceLog(size_t maxNum) : mMaxNum(maxNum), mLogs(mMaxNum) {} in ServiceLog() argument
DServiceLog.h33 explicit ServiceLog(size_t maxNum);
/frameworks/base/core/java/android/app/
DIActivityManager.aidl128 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum); in getTasks() argument
130 List<ActivityManager.RunningTaskInfo> getFilteredTasks(int maxNum, int ignoreActivityType, in getFilteredTasks() argument
213 ParceledListSlice getRecentTasks(int maxNum, int flags, int userId); in getRecentTasks() argument
246 List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags); in getServices() argument
DIActivityTaskManager.aidl147 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
DActivityManager.java1583 public List<RecentTaskInfo> getRecentTasks(int maxNum, int flags) in getRecentTasks() argument
1586 if (maxNum < 0) { in getRecentTasks()
1589 return getTaskService().getRecentTasks(maxNum, flags, mContext.getUserId()).getList(); in getRecentTasks()
1811 public List<RunningTaskInfo> getRunningTasks(int maxNum) in getRunningTasks() argument
1814 return getTaskService().getTasks(maxNum); in getRunningTasks()
2279 public List<RunningServiceInfo> getRunningServices(int maxNum)
2283 .getServices(maxNum, 0);
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java1284 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/
DProcessStatsService.java801 int maxNum = 2;
911 maxNum = Integer.parseInt(args[i]);
1109 int start = isCheckin ? 0 : (files.size() - maxNum);
DActiveServices.java3764 List<ActivityManager.RunningServiceInfo> getRunningServiceInfoLocked(int maxNum, int flags, in getRunningServiceInfoLocked() argument
3773 for (int ui=0; ui<users.length && res.size() < maxNum; ui++) { in getRunningServiceInfoLocked()
3775 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
3781 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
3791 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
3799 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
DActivityManagerService.java6243 public List<RunningTaskInfo> getTasks(int maxNum) { in getTasks() argument
6244 return mActivityTaskManager.getTasks(maxNum); in getTasks()
6248 public List<RunningTaskInfo> getFilteredTasks(int maxNum, @ActivityType int ignoreActivityType, in getFilteredTasks() argument
6251 maxNum, ignoreActivityType, ignoreWindowingMode); in getFilteredTasks()
6332 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() argument
6334 return mActivityTaskManager.getRecentTasks(maxNum, flags, userId); in getRecentTasks()
13879 public List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags) { in getServices() argument
13888 return mServices.getRunningServiceInfoLocked(maxNum, flags, callingUid, in getServices()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardBuilder.java1755 int maxNum = maxNumForFirstLine; in appendPhotoLine() local
1759 if (lineCount > maxNum) { in appendPhotoLine()
1762 maxNum = maxNumInGeneral; in appendPhotoLine()