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/
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()
852 RecentTasks recentTasks = mock(RecentTasks.class); in testFreezeTaskListActivityOption() local
853 mService.mStackSupervisor.setRecentTasks(recentTasks); in testFreezeTaskListActivityOption()
854 doReturn(true).when(recentTasks).isCallerRecents(anyInt()); in testFreezeTaskListActivityOption()
864 verify(recentTasks, times(1)).setFreezeTaskListReordering(); in testFreezeTaskListActivityOption()
865 verify(recentTasks, times(0)).resetFreezeTaskListReorderingOnTimeout(); in testFreezeTaskListActivityOption()
874 RecentTasks recentTasks = mock(RecentTasks.class); in testFreezeTaskListActivityOptionFailedStart_expectResetFreezeTaskList() local
875 mService.mStackSupervisor.setRecentTasks(recentTasks); in testFreezeTaskListActivityOptionFailedStart_expectResetFreezeTaskList()
[all …]
DRecentsAnimationTest.java81 final RecentTasks recentTasks = mService.getRecentTasks(); in setUp() local
82 spyOn(recentTasks); in setUp()
83 doReturn(mRecentsComponent).when(recentTasks).getRecentsComponent(); in setUp()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java86 ActivityTaskManagerService service, RecentTasks recentTasks, in TaskPersister() argument
106 mRecentTasks = recentTasks; in TaskPersister()
DActivityRecord.java1262 final RecentTasks recentTasks = mStackSupervisor.mService.getRecentTasks(); in canLaunchHomeActivity() local
1263 if (recentTasks != null && recentTasks.isCallerRecents(uid)) { in canLaunchHomeActivity()
DActivityStackSupervisor.java487 void setRecentTasks(RecentTasks recentTasks) { in setRecentTasks() argument
488 mRecentTasks = recentTasks; in setRecentTasks()