Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStarterTests.java708 RecentTasks recentTasks = mock(RecentTasks.class); in runAndVerifyBackgroundActivityStartsSubtest() local
709 mAtm.mTaskSupervisor.setRecentTasks(recentTasks); in runAndVerifyBackgroundActivityStartsSubtest()
710 doReturn(callerIsRecents).when(recentTasks).isCallerRecents(callingUid); in runAndVerifyBackgroundActivityStartsSubtest()
967 RecentTasks recentTasks = mock(RecentTasks.class); in testFreezeTaskListActivityOption() local
968 mAtm.mTaskSupervisor.setRecentTasks(recentTasks); in testFreezeTaskListActivityOption()
969 doReturn(true).when(recentTasks).isCallerRecents(anyInt()); in testFreezeTaskListActivityOption()
979 verify(recentTasks, times(1)).setFreezeTaskListReordering(); in testFreezeTaskListActivityOption()
980 verify(recentTasks, times(0)).resetFreezeTaskListReorderingOnTimeout(); in testFreezeTaskListActivityOption()
989 RecentTasks recentTasks = mock(RecentTasks.class); in testFreezeTaskListActivityOptionFailedStart_expectResetFreezeTaskList() local
990 mAtm.mTaskSupervisor.setRecentTasks(recentTasks); in testFreezeTaskListActivityOptionFailedStart_expectResetFreezeTaskList()
[all …]
DRecentsAnimationTest.java84 final RecentTasks recentTasks = mAtm.getRecentTasks(); in setUp() local
85 spyOn(recentTasks); in setUp()
86 doReturn(mRecentsComponent).when(recentTasks).getRecentsComponent(); in setUp()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityManagerTest.java137 List<?> recentTasks = mService.getRecentTasks(100, 0, userId).getList(); in testTaskIdsForUser() local
138 if (recentTasks != null) { in testTaskIdsForUser()
139 for (Object elem : recentTasks) { in testTaskIdsForUser()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskPersister.java87 ActivityTaskManagerService service, RecentTasks recentTasks, in TaskPersister() argument
107 mRecentTasks = recentTasks; in TaskPersister()
DActivityTaskSupervisor.java445 void setRecentTasks(RecentTasks recentTasks) { in setRecentTasks() argument
449 mRecentTasks = recentTasks; in setRecentTasks()
DActivityTaskManagerService.java1024 protected void setRecentTasks(RecentTasks recentTasks) { in setRecentTasks() argument
1025 mRecentTasks = recentTasks; in setRecentTasks()
1026 mTaskSupervisor.setRecentTasks(recentTasks); in setRecentTasks()
DActivityRecord.java2372 final RecentTasks recentTasks = mTaskSupervisor.mService.getRecentTasks(); in canLaunchHomeActivity() local
2373 if (recentTasks != null && recentTasks.isCallerRecents(uid)) { in canLaunchHomeActivity()