Searched refs:recentTasks (Results 1 – 7 of 7) sorted by relevance
44 List<ActivityManager.RecentTaskInfo> recentTasks = service.getRecentTasks( in testTaskIdsForUser() local46 if(recentTasks != null) { in testTaskIdsForUser()47 for(ActivityManager.RecentTaskInfo recentTask : recentTasks) { in testTaskIdsForUser()
179 final ArrayList<TaskRecord> recentTasks = new ArrayList<>(); field in ProcessRecord440 if (recentTasks.size() > 0) { in dump()442 for (int i=0; i<recentTasks.size(); i++) { in dump()443 pw.print(prefix); pw.print(" - "); pw.println(recentTasks.get(i)); in dump()564 for (int i = recentTasks.size() - 1; i >= 0; i--) { in clearRecentTasks()565 recentTasks.get(i).clearRootProcess(); in clearRecentTasks()567 recentTasks.clear(); in clearRecentTasks()
128 ActivityManagerService service, RecentTasks recentTasks) { in TaskPersister() argument147 mRecentTasks = recentTasks; in TaskPersister()
1102 final RecentTasks recentTasks = mStackSupervisor.mService.getRecentTasks(); in canLaunchHomeActivity() local1103 if (recentTasks != null && recentTasks.isCallerRecents(uid)) { in canLaunchHomeActivity()
1915 proc.recentTasks.add(this); in setRootProcess()1921 mRootProcess.recentTasks.remove(this); in clearRootProcess()
641 void setRecentTasks(RecentTasks recentTasks) { in setRecentTasks() argument642 mRecentTasks = recentTasks; in setRecentTasks()
3714 if (app.activities.size() > 0 || app.recentTasks.size() > 0) { in updateLruProcessInternalLocked()3786 || app.treatLikeActivity || app.recentTasks.size() > 0; in updateLruProcessLocked()3890 if ((app.activities.size() == 0 || app.recentTasks.size() > 0) in updateLruProcessLocked()23320 if (procState > ActivityManager.PROCESS_STATE_CACHED_RECENT && app.recentTasks.size() > 0) { in computeOomAdjLocked()25789 if (app.activities.size() == 0 && app.recentTasks.size() == 0 in trimApplicationsLocked()