Home
last modified time | relevance | path

Searched refs:runningTasks (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Launcher3/quickstep/tests/src/com/android/launcher3/taskbar/
DTaskbarRecentAppsControllerTest.kt80 val runningTasks = in updateHotseatItemInfos_notInDesktopMode_runningApps_returnsExistingHotseatItems() constant
82 whenever(mockRecentsModel.runningTasks).thenReturn(runningTasks) in updateHotseatItemInfos_notInDesktopMode_runningApps_returnsExistingHotseatItems()
107 val runningTasks = in updateHotseatItemInfos_returnsExistingHotseatItemsAndRunningApps() constant
109 whenever(mockRecentsModel.runningTasks).thenReturn(runningTasks) in updateHotseatItemInfos_returnsExistingHotseatItemsAndRunningApps()
131 val runningTasks = in updateHotseatItemInfos_runningAppIsHotseatItem_returnsDistinctItems() constant
135 whenever(mockRecentsModel.runningTasks).thenReturn(runningTasks) in updateHotseatItemInfos_runningAppIsHotseatItem_returnsDistinctItems()
155 val runningTasks = in getRunningApps_notInDesktopMode_returnsEmptySet() constant
157 whenever(mockRecentsModel.runningTasks).thenReturn(runningTasks) in getRunningApps_notInDesktopMode_returnsEmptySet()
167 val runningTasks = in getRunningApps_inDesktopMode_returnsRunningApps() constant
169 whenever(mockRecentsModel.runningTasks).thenReturn(runningTasks) in getRunningApps_inDesktopMode_returnsRunningApps()
[all …]
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarRecentAppsController.kt131 recentsModel.runningTasks.filter { taskInfo: RunningTaskInfo -> in <lambda>()
152 val runningTasks = getDesktopRunningTasks() in <lambda>() constant
153 val runningAppInfo = getAppInfosFromRunningTasks(runningTasks) in <lambda>()
155 updateMinimizedApps(runningTasks, runningAppInfo) in <lambda>()
160 runningTasks: List<RunningTaskInfo>, in <lambda>()
168 runningTasks in <lambda>()
172 val minimizedTaskIds = runningTasks.associate { it.taskId to !it.isVisible } in <lambda>()
/packages/modules/Permission/tests/cts/permission/src/android/permission/cts/
DNoActivityRelatedPermissionTest.java56 List<ActivityManager.RunningTaskInfo> runningTasks = manager.getRunningTasks(10); in testGetTask() local
60 removeHomeRunningTasks(runningTasks); in testGetTask()
61 assertTrue("Found tasks: " + runningTasks, in testGetTask()
62 runningTasks == null || runningTasks.size() <= 1); in testGetTask()
/packages/modules/Permission/tests/cts/permissionui/src/android/permissionui/cts/
DPermissionRationaleTest.kt322 val runningTasks = activityManager!!.getRunningTasks(1) in <lambda>() constant
324 assertFalse("Expected runningTasks to not be empty", runningTasks.isEmpty()) in <lambda>()
326 val taskInfo = runningTasks[0] in <lambda>()
347 val runningTasks = activityManager!!.getRunningTasks(5) in <lambda>() constant
350 assertFalse("Expected runningTasks to not be empty", runningTasks.isEmpty()) in <lambda>()
352 runningTasks.forEachIndexed { index, runningTaskInfo -> in <lambda>()
356 val taskInfo = runningTasks[0] in <lambda>()
DAppDataSharingUpdatesTest.kt690 val runningTasks = activityManager!!.getRunningTasks(5) in <lambda>() constant
693 assertFalse("Expected runningTasks to not be empty", runningTasks.isEmpty()) in <lambda>()
695 runningTasks.forEachIndexed { index, runningTaskInfo -> in <lambda>()
699 val taskInfo = runningTasks[0] in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/fallback/
DFallbackRecentsView.java164 protected boolean shouldAddStubTaskView(Task[] runningTasks) { in shouldAddStubTaskView() argument
165 if (runningTasks.length > 1) { in shouldAddStubTaskView()
167 return super.shouldAddStubTaskView(runningTasks); in shouldAddStubTaskView()
170 Task runningTask = runningTasks[0]; in shouldAddStubTaskView()
179 return super.shouldAddStubTaskView(runningTasks); in shouldAddStubTaskView()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/adselection/
DPerBuyerBiddingRunner.java175 final long timeoutMs, List<ListenableFuture<T>> runningTasks) { in eventuallyTimeoutIncompleteTasks() argument
179 for (ListenableFuture<T> runningTask : runningTasks) { in eventuallyTimeoutIncompleteTasks()
186 runningTasks.size(), incompleteTaskCount); in eventuallyTimeoutIncompleteTasks()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DLauncherRecentsView.java263 public void onGestureAnimationStart(Task[] runningTasks, in onGestureAnimationStart() argument
265 super.onGestureAnimationStart(runningTasks, rotationTouchHelper); in onGestureAnimationStart()
DRecentsView.java2643 Task[] runningTasks, RotationTouchHelper rotationTouchHelper) { in onGestureAnimationStart() argument
2644 Log.d(TAG, "onGestureAnimationStart - runningTasks: " + Arrays.toString(runningTasks)); in onGestureAnimationStart()
2645 mActiveGestureRunningTasks = runningTasks; in onGestureAnimationStart()
2799 protected boolean shouldAddStubTaskView(Task[] runningTasks) { in shouldAddStubTaskView() argument
2800 int[] runningTaskIds = Arrays.stream(runningTasks).mapToInt(task -> task.key.id).toArray(); in shouldAddStubTaskView()
2802 if (hasDesktopTask(runningTasks) && runningTaskIds.length == 1) { in shouldAddStubTaskView()
2821 private void showCurrentTask(Task[] runningTasks) { in showCurrentTask() argument
2822 Log.d(TAG, "showCurrentTask - runningTasks: " + Arrays.toString(runningTasks)); in showCurrentTask()
2823 if (runningTasks.length == 0) { in showCurrentTask()
2827 boolean needGroupTaskView = runningTasks.length > 1; in showCurrentTask()
[all …]
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/
DRecentTasksProvider.java271 ActivityManager.RunningTaskInfo[] runningTasks = mActivityManagerWrapper.getRunningTasks( in openTopRunningTask() local
274 for (ActivityManager.RunningTaskInfo runningTask : runningTasks) { in openTopRunningTask()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/
DRecentTasksList.java224 private void initRunningTasks(ArrayList<ActivityManager.RunningTaskInfo> runningTasks) { in initRunningTasks() argument
226 mRunningTasks = new ArrayList<>(runningTasks); in initRunningTasks()
DAbsSwipeUpHandler.java670 Task[] runningTasks; in notifyGestureAnimationStartToRecents() local
674 runningTasks = cachedTaskInfo.getPlaceholderTasks(splitTaskIds); in notifyGestureAnimationStartToRecents()
676 runningTasks = cachedTaskInfo.getPlaceholderTasks(); in notifyGestureAnimationStartToRecents()
683 if (Arrays.stream(runningTasks).anyMatch(Objects::isNull)) { in notifyGestureAnimationStartToRecents()
689 mRecentsView.onGestureAnimationStart(runningTasks, mDeviceState.getRotationTouchHelper()); in notifyGestureAnimationStartToRecents()
/packages/services/Telecomm/libs/
Dguava.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...