Searched refs:recentTasks (Results 1 – 7 of 7) sorted by relevance
708 RecentTasks recentTasks = mock(RecentTasks.class); in runAndVerifyBackgroundActivityStartsSubtest() local709 mAtm.mTaskSupervisor.setRecentTasks(recentTasks); in runAndVerifyBackgroundActivityStartsSubtest()710 doReturn(callerIsRecents).when(recentTasks).isCallerRecents(callingUid); in runAndVerifyBackgroundActivityStartsSubtest()967 RecentTasks recentTasks = mock(RecentTasks.class); in testFreezeTaskListActivityOption() local968 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() local990 mAtm.mTaskSupervisor.setRecentTasks(recentTasks); in testFreezeTaskListActivityOptionFailedStart_expectResetFreezeTaskList()[all …]
84 final RecentTasks recentTasks = mAtm.getRecentTasks(); in setUp() local85 spyOn(recentTasks); in setUp()86 doReturn(mRecentsComponent).when(recentTasks).getRecentsComponent(); in setUp()
137 List<?> recentTasks = mService.getRecentTasks(100, 0, userId).getList(); in testTaskIdsForUser() local138 if (recentTasks != null) { in testTaskIdsForUser()139 for (Object elem : recentTasks) { in testTaskIdsForUser()
87 ActivityTaskManagerService service, RecentTasks recentTasks, in TaskPersister() argument107 mRecentTasks = recentTasks; in TaskPersister()
445 void setRecentTasks(RecentTasks recentTasks) { in setRecentTasks() argument449 mRecentTasks = recentTasks; in setRecentTasks()
1024 protected void setRecentTasks(RecentTasks recentTasks) { in setRecentTasks() argument1025 mRecentTasks = recentTasks; in setRecentTasks()1026 mTaskSupervisor.setRecentTasks(recentTasks); in setRecentTasks()
2372 final RecentTasks recentTasks = mTaskSupervisor.mService.getRecentTasks(); in canLaunchHomeActivity() local2373 if (recentTasks != null && recentTasks.isCallerRecents(uid)) { in canLaunchHomeActivity()