Home
last modified time | relevance | path

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

/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/jni/
Dandroid_os_Debug.cpp770 int maxNum = env->GetArrayLength(out); in android_os_Debug_getMemInfo() local
771 if (maxNum > MEMINFO_COUNT) { in android_os_Debug_getMemInfo()
772 maxNum = MEMINFO_COUNT; in android_os_Debug_getMemInfo()
776 for (int i=0; i<maxNum; i++) { in android_os_Debug_getMemInfo()
/frameworks/base/core/java/android/app/
DActivityManager.java1806 public List<RecentTaskInfo> getRecentTasks(int maxNum, int flags) in getRecentTasks() argument
1809 return getService().getRecentTasks(maxNum, in getRecentTasks()
1831 public List<RecentTaskInfo> getRecentTasksForUser(int maxNum, int flags, int userId) in getRecentTasksForUser() argument
1834 return getService().getRecentTasks(maxNum, in getRecentTasksForUser()
2110 public List<RunningTaskInfo> getRunningTasks(int maxNum) in getRunningTasks() argument
2113 return getService().getTasks(maxNum, 0); in getRunningTasks()
2635 public List<RunningServiceInfo> getRunningServices(int maxNum) in getRunningServices() argument
2639 .getServices(maxNum, 0); in getRunningServices()
DIActivityManager.aidl120 List<ActivityManager.RunningTaskInfo> getTasks(int maxNum, int flags); in getTasks() argument
183 ParceledListSlice getRecentTasks(int maxNum, in getRecentTasks() argument
213 List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags); in getServices() argument
/frameworks/base/services/core/java/com/android/server/am/
DProcessStatsService.java644 int maxNum = 2;
753 maxNum = Integer.parseInt(args[i]);
948 int start = isCheckin ? 0 : (files.size() - maxNum);
DActiveServices.java3242 List<ActivityManager.RunningServiceInfo> getRunningServiceInfoLocked(int maxNum, int flags, in getRunningServiceInfoLocked() argument
3251 for (int ui=0; ui<users.length && res.size() < maxNum; ui++) { in getRunningServiceInfoLocked()
3253 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
3259 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
3269 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
3277 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
DActivityStackSupervisor.java1230 void getTasksLocked(int maxNum, List<RunningTaskInfo> list, int callingUid, boolean allowed) { in getTasksLocked() argument
1247 while (maxNum > 0) { in getTasksLocked()
1263 --maxNum; in getTasksLocked()
DActivityManagerService.java9652 public List<RunningTaskInfo> getTasks(int maxNum, int flags) {
9658 TAG, "getTasks: max=" + maxNum + ", flags=" + flags);
9664 mStackSupervisor.getTasksLocked(maxNum, list, callingUid, allowed);
9749 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags,
9772 new ArrayList<>(maxNum < recentsCount ? maxNum : recentsCount);
9782 for (int i = 0; i < recentsCount && maxNum > 0; i++) {
9862 maxNum--;
18101 public List<ActivityManager.RunningServiceInfo> getServices(int maxNum,
18111 return mServices.getRunningServiceInfoLocked(maxNum, flags, callingUid,
/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()