Home
last modified time | relevance | path

Searched refs:recentTasks (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java44 List<ActivityManager.RecentTaskInfo> recentTasks = service.getRecentTasks( in testTaskIdsForUser() local
46 if(recentTasks != null) { in testTaskIdsForUser()
47 for(ActivityManager.RecentTaskInfo recentTask : recentTasks) { in testTaskIdsForUser()
/frameworks/base/services/core/java/com/android/server/am/
DProcessRecord.java179 final ArrayList<TaskRecord> recentTasks = new ArrayList<>(); field in ProcessRecord
440 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()
DTaskPersister.java128 ActivityManagerService service, RecentTasks recentTasks) { in TaskPersister() argument
147 mRecentTasks = recentTasks; in TaskPersister()
DActivityRecord.java1102 final RecentTasks recentTasks = mStackSupervisor.mService.getRecentTasks(); in canLaunchHomeActivity() local
1103 if (recentTasks != null && recentTasks.isCallerRecents(uid)) { in canLaunchHomeActivity()
DTaskRecord.java1915 proc.recentTasks.add(this); in setRootProcess()
1921 mRootProcess.recentTasks.remove(this); in clearRootProcess()
DActivityStackSupervisor.java641 void setRecentTasks(RecentTasks recentTasks) { in setRecentTasks() argument
642 mRecentTasks = recentTasks; in setRecentTasks()
DActivityManagerService.java3714 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()