Home
last modified time | relevance | path

Searched defs:tasks (Results 1 – 25 of 43) sorted by relevance

12

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorControllerTest.kt86 val tasks = in <lambda>() constant
102 val tasks = in initMultipleRecentTasksWithoutAppSelectorTask_bindsListInTheSameOrder() constant
124 val tasks = in initRecentTasksWithAppSelectorTasks_removeAppSelector() constant
147 val tasks = in initRecentTasksWithAppSelectorTasks_bindsCallerTasksAtTheEnd() constant
171 val tasks = in initRecentTasksWithAppSelectorTasks_withEnterprisePolicies_bindsAllTasks() constant
197 val tasks = in initRecentTasksWithAppSelectorTasks_withEnterprisePolicies_blocksAllTasks() constant
267 var tasks: List<RecentTask> = emptyList() variable in com.android.systemui.mediaprojection.appselector.MediaProjectionAppSelectorControllerTest.TestRecentTaskListProvider
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/desktopmode/
DDesktopTasksLimiterTest.kt227 val tasks = (1..taskLimit).map { setUpFreeformTask() } in addAndGetMinimizeTaskChangesIfNeeded_tasksAboveLimit_backTaskMinimized() constant
245 val tasks = (1..taskLimit).map { setUpFreeformTask() } in addAndGetMinimizeTaskChangesIfNeeded_nonMinimizedTasksWithinLimit_noTaskMinimized() constant
262 val tasks = (1..taskLimit).map { setUpFreeformTask() } in getTaskToMinimizeIfNeeded_tasksWithinLimit_returnsNull() constant
273 val tasks = (1..taskLimit + 1).map { setUpFreeformTask() } in getTaskToMinimizeIfNeeded_tasksAboveLimit_returnsBackTask() constant
285 val tasks = (1..taskLimit).map { setUpFreeformTask() } in getTaskToMinimizeIfNeeded_withNewTask_tasksAboveLimit_returnsBackTask() constant
DDesktopModeTaskRepositoryTest.kt370 val tasks = repo.getFreeformTasksInZOrder(DEFAULT_DISPLAY) in addOrMoveFreeformTaskToTop_didNotExist_addsToTop() constant
385 val tasks = repo.getFreeformTasksInZOrder(DEFAULT_DISPLAY) in addOrMoveFreeformTaskToTop_alreadyExists_movesToTop() constant
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DRunningTasksTest.java82 final ArrayList<RunningTaskInfo> tasks = new ArrayList<>(); in testTaskInfo_expectNoExtrasByDefault() local
107 final ArrayList<RunningTaskInfo> tasks = new ArrayList<>(); in testTaskInfo_expectExtrasWithKeepExtraFlag() local
128 final ArrayList<Task> tasks = new ArrayList<>(); in testGetTasksSortByFocusAndVisibility() local
191 final ArrayList<Task> tasks = new ArrayList<>(); in testMultipleDisplays() local
DRecentTasksTest.java616 final ArrayList<Task> tasks = mRecentTasks.getRawTasks(); in testOrderedIteration() local
1058 final ArrayList<Task> tasks = mRecentTasks.getRawTasks(); in testRemovePackageByName() local
1396 ArrayList<Task> tasks = mRecentTasks.getRawTasks(); in assertRecentTasksOrder() local
1509 private void triggerTrimAndAssertTrimmed(Task... tasks) { in triggerTrimAndAssertTrimmed()
/frameworks/base/services/tests/servicestests/src/com/android/server/apphibernation/
DHibernationStateDiskStoreTest.java206 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll()
212 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll()
218 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny()
224 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DMockScheduledExecutorService.java159 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) in invokeAll()
165 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll()
171 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) in invokeAny()
177 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) in invokeAny()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DTestExecutorService.java162 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks) { in invokeAll()
167 public <T> List<Future<T>> invokeAll(Collection<? extends Callable<T>> tasks, long timeout, in invokeAll()
173 public <T> T invokeAny(Collection<? extends Callable<T>> tasks) { in invokeAny()
178 public <T> T invokeAny(Collection<? extends Callable<T>> tasks, long timeout, TimeUnit unit) { in invokeAny()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/
DGroupedRecentTaskInfo.java75 public static GroupedRecentTaskInfo forFreeformTasks( in forFreeformTasks()
80 private GroupedRecentTaskInfo(@NonNull ActivityManager.RecentTaskInfo[] tasks, in GroupedRecentTaskInfo()
/frameworks/base/core/tests/coretests/src/android/graphics/
DPaintNativeInstanceTest.kt135 val tasks = List(5) { PaintTask(paint) } in <lambda>() constant
155 val tasks = List(5) { PaintTask(paint) } in <lambda>() constant
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
DRecentTasksController.java450 List<ActivityManager.RunningTaskInfo> tasks = mActivityTaskManager.getTasks(1, in getTopRunningTask() local
464 List<ActivityManager.RecentTaskInfo> tasks = mActivityTaskManager.getRecentTasks( in findTaskInBackground() local
484 List<ActivityManager.RecentTaskInfo> tasks = mActivityTaskManager.getRecentTasks( in findTaskInBackground() local
520 List<GroupedRecentTaskInfo> tasks = in getRecentTasks() local
638 final ActivityManager.RunningTaskInfo[][] tasks = in getRunningTasks() local
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityManagerKt.kt29 val tasks: List<ActivityManager.RunningTaskInfo> = getRunningTasks(1) in isInForeground() constant
DActivityManagerWrapper.java106 List<ActivityManager.RunningTaskInfo> tasks = in getRunningTask() local
133 List<ActivityManager.RunningTaskInfo> tasks = in getRunningTasks() local
/frameworks/base/core/tests/coretests/src/android/window/
DTaskFpsCallbackTest.java62 final List<ActivityManager.RunningTaskInfo> tasks = mActivityTaskManager.getTasks(1); in testRegisterAndUnregister() local
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/
DMediaProjectionAppSelectorController.kt62 val tasks = in <lambda>() constant
/frameworks/base/tests/ActivityTests/src/com/google/android/test/activity/
DActivityTestMain.java600 List<ActivityManager.AppTask> tasks = am.getAppTasks(); in setExclude() local
612 List<ActivityManager.AppTask> tasks = am.getAppTasks(); in findDocTask() local
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/draganddrop/
DDragSession.java85 List<ActivityManager.RunningTaskInfo> tasks = in update() local
/frameworks/native/services/surfaceflinger/
DBackgroundExecutor.cpp77 void BackgroundExecutor::sendCallbacks(Callbacks&& tasks) { in sendCallbacks()
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotController.java138 void addSkipClosingAppSnapshotTasks(Set<Task> tasks) { in addSkipClosingAppSnapshotTasks()
147 void snapshotTasks(ArraySet<Task> tasks) { in snapshotTasks()
DTaskPersister.java263 private Task taskIdToTask(int taskId, ArrayList<Task> tasks) { in taskIdToTask()
313 final ArrayList<Task> tasks = new ArrayList<>(); in restoreTasksForUserLocked() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/wallpapers/
DWallpaperLocalColorExtractorTest.java247 List<Runnable> tasks = Arrays.asList( in testNewColorExtraction() local
283 List<Runnable> tasks = Arrays.asList( in testRemoveColors() local
/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java1169 StateStress(String name, int pause, int iterations, Runnable[] tasks) { in StateStress()
/frameworks/base/core/proto/android/os/
Dcpuinfo.proto107 repeated Task tasks = 5; field
/frameworks/base/packages/SystemUI/src/com/android/systemui/mediaprojection/appselector/data/
DRecentTaskListProvider.kt96 ) { tasks -> in getTasks() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DInstantAppNotifier.java338 final List<ActivityManager.RecentTaskInfo> tasks = in getTaskIntent() local

12