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.java42 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()
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.java2519 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()
DRootActivityContainer.java2277 void getRunningTasks(int maxNum, List<ActivityManager.RunningTaskInfo> list, in getRunningTasks() argument
2281 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.aidl129 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
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.java1590 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/
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.java3795 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()
DActivityManagerService.java6272 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/
DVCardBuilder.java1755 int maxNum = maxNumForFirstLine; in appendPhotoLine() local
1759 if (lineCount > maxNum) { in appendPhotoLine()
1762 maxNum = maxNumInGeneral; in appendPhotoLine()