Home
last modified time | relevance | path

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

/frameworks/av/services/mediaresourcemanager/
DServiceLog.cpp31 ServiceLog::ServiceLog(size_t maxNum) : mMaxNum(maxNum), mLogs(mMaxNum) {} in ServiceLog() argument
DServiceLog.h33 ServiceLog(size_t maxNum);
/frameworks/base/core/java/android/app/
DActivityManager.java1506 public List<RecentTaskInfo> getRecentTasks(int maxNum, int flags) in getRecentTasks() argument
1509 return ActivityManagerNative.getDefault().getRecentTasks(maxNum, in getRecentTasks()
1531 public List<RecentTaskInfo> getRecentTasksForUser(int maxNum, int flags, int userId) in getRecentTasksForUser() argument
1534 return ActivityManagerNative.getDefault().getRecentTasks(maxNum, in getRecentTasksForUser()
1810 public List<RunningTaskInfo> getRunningTasks(int maxNum) in getRunningTasks() argument
1813 return ActivityManagerNative.getDefault().getTasks(maxNum, 0); in getRunningTasks()
2237 public List<RunningServiceInfo> getRunningServices(int maxNum) in getRunningServices() argument
2241 .getServices(maxNum, 0); in getRunningServices()
DIActivityManager.java138 public List<RunningTaskInfo> getTasks(int maxNum, int flags) throws RemoteException; in getTasks() argument
139 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, in getRecentTasks() argument
142 public List<RunningServiceInfo> getServices(int maxNum, int flags) throws RemoteException; in getServices() argument
DActivityManagerNative.java667 int maxNum = data.readInt(); in onTransact() local
669 List<ActivityManager.RunningTaskInfo> list = getTasks(maxNum, fl); in onTransact()
683 int maxNum = data.readInt(); in onTransact() local
686 ParceledListSlice<ActivityManager.RecentTaskInfo> list = getRecentTasks(maxNum, in onTransact()
709 int maxNum = data.readInt(); in onTransact() local
711 List<ActivityManager.RunningServiceInfo> list = getServices(maxNum, fl); in onTransact()
3718 public List<ActivityManager.RunningTaskInfo> getTasks(int maxNum, int flags) in getTasks() argument
3723 data.writeInt(maxNum); in getTasks()
3743 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, in getRecentTasks() argument
3748 data.writeInt(maxNum); in getRecentTasks()
[all …]
/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/services/core/java/com/android/server/am/
DProcessStatsService.java634 int maxNum = 2;
743 maxNum = Integer.parseInt(args[i]);
923 int start = isCheckin ? 0 : (files.size() - maxNum);
DActiveServices.java2733 List<ActivityManager.RunningServiceInfo> getRunningServiceInfoLocked(int maxNum, in getRunningServiceInfoLocked() argument
2745 for (int ui=0; ui<users.length && res.size() < maxNum; ui++) { in getRunningServiceInfoLocked()
2747 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
2753 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
2763 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
2768 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) { in getRunningServiceInfoLocked()
DActivityStackSupervisor.java1066 void getTasksLocked(int maxNum, List<RunningTaskInfo> list, int callingUid, boolean allowed) { in getTasksLocked() argument
1083 while (maxNum > 0) { in getTasksLocked()
1099 --maxNum; in getTasksLocked()
DActivityManagerService.java8983 public List<RunningTaskInfo> getTasks(int maxNum, int flags) {
8989 TAG, "getTasks: max=" + maxNum + ", flags=" + flags);
8995 mStackSupervisor.getTasksLocked(maxNum, list, callingUid, allowed);
9080 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags,
9103 new ArrayList<>(maxNum < recentsCount ? maxNum : recentsCount);
9113 for (int i = 0; i < recentsCount && maxNum > 0; i++) {
9193 maxNum--;
16873 public List<ActivityManager.RunningServiceInfo> getServices(int maxNum, in getServices() argument
16877 return mServices.getRunningServiceInfoLocked(maxNum, flags); 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()