Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DRunningTasks.java54 void getTasks(int maxNum, List<RunningTaskInfo> list, boolean filterOnlyVisibleRecents, in getTasks() argument
58 if (maxNum <= 0) { in getTasks()
81 if (maxNum == 0) { in getTasks()
87 maxNum--; in getTasks()
DRecentTasks.java876 ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() argument
878 return new ParceledListSlice<>(getRecentTasksImpl(maxNum, flags, getTasksAllowed, in getRecentTasks()
885 private ArrayList<ActivityManager.RecentTaskInfo> getRecentTasksImpl(int maxNum, int flags, in getRecentTasksImpl() argument
918 if (res.size() >= maxNum) { in getRecentTasksImpl()
DActivityTaskManagerService.java2672 public List<ActivityManager.RunningTaskInfo> getTasks(int maxNum) { in getTasks() argument
2673 return getFilteredTasks(maxNum, false /* filterForVisibleRecents */); in getTasks()
2681 public List<ActivityManager.RunningTaskInfo> getFilteredTasks(int maxNum, in getFilteredTasks() argument
2695 if (DEBUG_ALL) Slog.v(TAG, "getTasks: max=" + maxNum); in getFilteredTasks()
2698 mRootWindowContainer.getRunningTasks(maxNum, list, filterOnlyVisibleRecents, callingUid, in getFilteredTasks()
2886 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() argument
2893 return mRecentTasks.getRecentTasks(maxNum, flags, allowed, userId, callingUid); in getRecentTasks()
DRootWindowContainer.java3497 void getRunningTasks(int maxNum, List<ActivityManager.RunningTaskInfo> list, in getRunningTasks() argument
3500 mStackSupervisor.getRunningTasks().getTasks(maxNum, list, filterOnlyVisibleRecents, this, 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/services/core/java/com/android/server/am/
DAppExitInfoTracker.java505 final int filterPid, final int maxNum, final ArrayList<ApplicationExitInfo> results) { in getExitInfo() argument
514 container.getExitInfoLocked(filterPid, maxNum, results); in getExitInfo()
532 if (maxNum > 0) { in getExitInfo()
533 size = Math.min(size, maxNum); in getExitInfo()
1231 void getExitInfoLocked(final int filterPid, final int maxNum, in getExitInfoLocked() argument
1240 if (maxNum <= 0 || numRep <= maxNum) { in getExitInfoLocked()
1248 if (maxNum == 1) { in getExitInfoLocked()
1267 for (int i = 0; i < maxNum; i++) { in getExitInfoLocked()
DProcessStatsService.java828 int maxNum = 2;
938 maxNum = Integer.parseInt(args[i]);
1136 int start = isCheckin ? 0 : (files.size() - maxNum);
DActiveServices.java4113 List<ActivityManager.RunningServiceInfo> getRunningServiceInfoLocked(int maxNum, int flags, in getRunningServiceInfoLocked() argument
4122 for (int ui=0; ui<users.length && res.size() < maxNum; ui++) { in getRunningServiceInfoLocked()
4124 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
4130 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
4140 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
4148 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
DActivityManagerService.java6588 public List<RunningTaskInfo> getTasks(int maxNum) { in getTasks() argument
6589 return mActivityTaskManager.getTasks(maxNum); in getTasks()
6663 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() argument
6665 return mActivityTaskManager.getRecentTasks(maxNum, flags, userId); in getRecentTasks()
10417 String packageName, int pid, int maxNum, int userId) { in getHistoricalProcessExitReasons() argument
10437 packageName, uid, pid, maxNum, results); in getHistoricalProcessExitReasons()
10442 packageName, callingUid, pid, maxNum, results); in getHistoricalProcessExitReasons()
14982 public List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags) { in getServices() argument
14991 return mServices.getRunningServiceInfoLocked(maxNum, flags, callingUid, in getServices()
/frameworks/base/core/java/android/app/
DIActivityTaskManager.aidl157 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum); in getTasks() argument
158 List<ActivityManager.RunningTaskInfo> getFilteredTasks(int maxNum, in getFilteredTasks() argument
168 ParceledListSlice getRecentTasks(int maxNum, int flags, int userId); in getRecentTasks() argument
DIActivityManager.aidl144 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum); in getTasks() argument
237 ParceledListSlice getRecentTasks(int maxNum, int flags, int userId); in getRecentTasks() argument
275 List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags); in getServices() argument
636 int pid, int maxNum, int userId); in getHistoricalProcessExitReasons() argument
DActivityManager.java1841 public List<RecentTaskInfo> getRecentTasks(int maxNum, int flags) in getRecentTasks() argument
1844 if (maxNum < 0) { in getRecentTasks()
1847 return getTaskService().getRecentTasks(maxNum, flags, mContext.getUserId()).getList(); in getRecentTasks()
2069 public List<RunningTaskInfo> getRunningTasks(int maxNum) in getRunningTasks() argument
2072 return getTaskService().getTasks(maxNum); in getRunningTasks()
2679 public List<RunningServiceInfo> getRunningServices(int maxNum)
2683 .getServices(maxNum, 0);
3701 @IntRange(from = 0) int pid, @IntRange(from = 0) int maxNum) {
3704 packageName, pid, maxNum, mContext.getUserId());
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DApplicationExitInfoTest.java504 int maxNum = 3; in testApplicationExitInfo() local
506 mAppExitInfoTracker.getExitInfo(null, app3UidUser2, 0, maxNum, list); in testApplicationExitInfo()
529 mAppExitInfoTracker.getExitInfo(null, app2UidUser2, 0, maxNum, list); in testApplicationExitInfo()
551 mAppExitInfoTracker.getExitInfo(null, app1UidUser2, 0, maxNum, list); in testApplicationExitInfo()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentTasksTest.java1376 ParceledListSlice<RecentTaskInfo> getRecentTasks(int maxNum, int flags, in getRecentTasks() argument
1379 return super.getRecentTasks(maxNum, flags, getTasksAllowed, userId, callingUid); in getRecentTasks()
1392 void getTasks(int maxNum, List<RunningTaskInfo> list, boolean filterOnlyVisibleRecents, in getTasks() argument
1396 super.getTasks(maxNum, list, filterOnlyVisibleRecents, root, callingUid, allowed, in getTasks()
/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()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...