/frameworks/av/services/mediaresourcemanager/ |
H A D | ServiceLog.cpp | 31 ServiceLog::ServiceLog(size_t maxNum) : mMaxNum(maxNum), mLogs(mMaxNum) {} argument
|
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | RunningTasks.java | 47 void getTasks(int maxNum, List<RunningTaskInfo> list, @ActivityType int ignoreActivityType, argument 51 if (maxNum <= 0) { 71 // Take the first {@param maxNum} tasks and create running task infos for them 74 if (maxNum == 0) { 80 maxNum--;
|
H A D | RecentTasks.java | 714 ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, argument 747 if (res.size() >= maxNum) {
|
H A D | ActiveServices.java | 3497 List<ActivityManager.RunningServiceInfo> getRunningServiceInfoLocked(int maxNum, int flags, argument 3506 for (int ui=0; ui<users.length && res.size() < maxNum; ui++) { 3508 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { 3514 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) { 3524 for (int i=0; i<alls.size() && res.size() < maxNum; i++) { 3532 for (int i=0; i<mRestartingServices.size() && res.size() < maxNum; i++) {
|
H A D | ActivityStackSupervisor.java | 1297 void getRunningTasks(int maxNum, List<RunningTaskInfo> list, argument 1300 mRunningTasks.getTasks(maxNum, list, ignoreActivityType, ignoreWindowingMode,
|
H A D | ActivityManagerService.java | 10664 public List<RunningTaskInfo> getTasks(int maxNum) { argument 10665 return getFilteredTasks(maxNum, ACTIVITY_TYPE_UNDEFINED, WINDOWING_MODE_UNDEFINED); 10669 public List<RunningTaskInfo> getFilteredTasks(int maxNum, @ActivityType int ignoreActivityType, argument 10675 if (DEBUG_ALL) Slog.v(TAG, "getTasks: max=" + maxNum); 10679 mStackSupervisor.getRunningTasks(maxNum, list, ignoreActivityType, 10719 public ParceledListSlice<ActivityManager.RecentTaskInfo> getRecentTasks(int maxNum, int flags, argument 10731 return mRecentTasks.getRecentTasks(maxNum, flags, allowed, detailed, userId, 20319 public List<ActivityManager.RunningServiceInfo> getServices(int maxNum, int flags) { argument 20328 return mServices.getRunningServiceInfoLocked(maxNum, flags, callingUid, [all...] |
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
H A D | RecentTasksTest.java | 1000 ParceledListSlice<RecentTaskInfo> getRecentTasks(int maxNum, int flags, argument 1004 return super.getRecentTasks(maxNum, flags, getTasksAllowed, getDetailedTasks, userId, 1018 void getTasks(int maxNum, List<RunningTaskInfo> list, int ignoreActivityType, argument 1022 super.getTasks(maxNum, list, ignoreActivityType, ignoreWindowingMode, activityDisplays,
|
/frameworks/base/core/jni/ |
H A D | android_os_Debug.cpp | 874 int maxNum = env->GetArrayLength(out); local 875 if (maxNum > MEMINFO_COUNT) { 876 maxNum = MEMINFO_COUNT; 880 for (int i=0; i<maxNum; i++) {
|
/frameworks/base/core/java/android/app/ |
H A D | ActivityManager.java | 1692 * @param maxNum The maximum number of entries to return in the list. The 1702 public List<RecentTaskInfo> getRecentTasks(int maxNum, int flags) argument 1705 if (maxNum < 0) { 1708 return getService().getRecentTasks(maxNum, flags, mContext.getUserId()).getList(); 1983 * @param maxNum The maximum number of entries to return in the list. The 1991 public List<RunningTaskInfo> getRunningTasks(int maxNum) argument 1994 return getService().getTasks(maxNum); 2478 * @param maxNum The maximum number of entries to return in the list. The 2486 public List<RunningServiceInfo> getRunningServices(int maxNum) argument 2490 .getServices(maxNum, [all...] |