Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java64 List<?> recentTasks = mService.getRecentTasks(100, 0, userId).getList(); in testTaskIdsForUser() local
65 if (recentTasks != null) { in testTaskIdsForUser()
66 for (Object elem : recentTasks) { in testTaskIdsForUser()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRecentsAnimationTest.java78 final RecentTasks recentTasks = mService.getRecentTasks(); in setUp() local
79 spyOn(recentTasks); in setUp()
80 doReturn(mRecentsComponent).when(recentTasks).getRecentsComponent(); in setUp()
DActivityStarterTests.java667 RecentTasks recentTasks = mock(RecentTasks.class); in runAndVerifyBackgroundActivityStartsSubtest() local
668 mService.mStackSupervisor.setRecentTasks(recentTasks); in runAndVerifyBackgroundActivityStartsSubtest()
669 doReturn(callerIsRecents).when(recentTasks).isCallerRecents(callingUid); in runAndVerifyBackgroundActivityStartsSubtest()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java86 ActivityTaskManagerService service, RecentTasks recentTasks, in TaskPersister() argument
106 mRecentTasks = recentTasks; in TaskPersister()
DActivityRecord.java1260 final RecentTasks recentTasks = mStackSupervisor.mService.getRecentTasks(); in canLaunchHomeActivity() local
1261 if (recentTasks != null && recentTasks.isCallerRecents(uid)) { in canLaunchHomeActivity()
DActivityStackSupervisor.java472 void setRecentTasks(RecentTasks recentTasks) { in setRecentTasks() argument
473 mRecentTasks = recentTasks; in setRecentTasks()