Home
last modified time | relevance | path

Searched refs:INVALID_TASK_ID (Results 1 – 25 of 60) sorted by relevance

123

/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/storage/
H A DBubbleXmlHelperTest.kt19 import android.app.ActivityTaskManager.INVALID_TASK_ID
42 INVALID_TASK_ID, "l3")
51 INVALID_TASK_ID, "l4")
130 null, INVALID_TASK_ID),
132 null, INVALID_TASK_ID))
156 null, INVALID_TASK_ID),
158 null, INVALID_TASK_ID))
186 null, INVALID_TASK_ID, null),
188 null, INVALID_TASK_ID, null))
H A DBubblePersistentRepositoryTest.kt19 import android.app.ActivityTaskManager.INVALID_TASK_ID
43 INVALID_TASK_ID, null)
52 INVALID_TASK_ID, null)
H A DBubbleVolatileRepositoryTest.kt19 import android.app.ActivityTaskManager.INVALID_TASK_ID
54 "com.example.messenger", "shortcut-2", "0key-3", 120, 0, null, INVALID_TASK_ID, null)
59 "com.example.chat", "alice and bob", "11key-2", 0, 16537428, "title", INVALID_TASK_ID)
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/ui/
H A DDetailDialog.kt22 import android.app.ActivityTaskManager.INVALID_TASK_ID
68 var detailTaskId = INVALID_TASK_ID
83 if (detailTaskId == INVALID_TASK_ID) return
85 detailTaskId = INVALID_TASK_ID
113 detailTaskId = INVALID_TASK_ID
H A DPanelTaskViewController.kt21 import android.app.ActivityTaskManager.INVALID_TASK_ID
48 private var detailTaskId = INVALID_TASK_ID
91 detailTaskId = INVALID_TASK_ID
/aosp14/frameworks/base/core/tests/screenshothelpertests/src/com/android/internal/util/
H A DScreenshotRequestTest.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
62 assertEquals(INVALID_TASK_ID, out.getTaskId()); in testSimpleScreenshot()
127 assertEquals(INVALID_TASK_ID, out.getTaskId()); in testFullScreenshot_withBitmap()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
H A DBubbleTaskViewHelper.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
79 private int mTaskId = INVALID_TASK_ID;
239 if (mTaskId != INVALID_TASK_ID) { in cleanUpTaskView()
H A DBubbleOverflow.kt19 import android.app.ActivityTaskManager.INVALID_TASK_ID
246 return if (expandedView != null) expandedView!!.taskId else INVALID_TASK_ID
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/
H A DTestRunningTaskInfoBuilder.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
40 private int mParentTaskId = INVALID_TASK_ID;
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/recents/
H A DRecentTasksController.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
170 if (mSplitTasks.get(taskId1, INVALID_TASK_ID) == taskId2 in addSplitPair()
194 int pairedTaskId = mSplitTasks.get(taskId, INVALID_TASK_ID); in removeSplitPair()
195 if (pairedTaskId != INVALID_TASK_ID) { in removeSplitPair()
340 if (pairedTaskId != INVALID_TASK_ID && rawMapping.contains( in getRecentTasks()
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
H A DBubbleDataRepositoryTest.kt72 taskId = ActivityTaskManager.INVALID_TASK_ID,
109 taskId = ActivityTaskManager.INVALID_TASK_ID,
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/storage/
H A DBubbleXmlHelper.kt18 import android.app.ActivityTaskManager.INVALID_TASK_ID
146 parser.getAttributeWithName(ATTR_TASK_ID)?.toInt() ?: INVALID_TASK_ID,
/aosp14/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/splitscreen/
H A DStageTaskListenerTests.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
100 mRootTask.parentTaskId = INVALID_TASK_ID; in setup()
H A DStageCoordinatorTests.java20 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
244 mStageCoordinator.exitSplitScreen(INVALID_TASK_ID, EXIT_REASON_RETURN_HOME); in testExitSplitScreen()
352 when(mMainStage.getTopVisibleChildTaskId()).thenReturn(INVALID_TASK_ID); in testExitSplitScreenAfterFoldedAndWakeUp()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DBackNavigationController.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
268 prevActivity = currentTask.topRunningActivity(currentActivity.token, INVALID_TASK_ID); in startBackNavigation()
936 private int mRequestedStartingSurfaceId = INVALID_TASK_ID;
962 mRequestedStartingSurfaceId = INVALID_TASK_ID; in onAnimationCancelled()
1063 if (mRequestedStartingSurfaceId != INVALID_TASK_ID) { in createStartingSurface()
1074 if (mRequestedStartingSurfaceId == INVALID_TASK_ID) { in reparentWindowlessSurfaceToTarget()
1092 if (mRequestedStartingSurfaceId == INVALID_TASK_ID) { in cleanUpWindowlessSurface()
1098 mRequestedStartingSurfaceId = INVALID_TASK_ID; in cleanUpWindowlessSurface()
H A DRecentTasks.java22 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
1086 || task.mNextAffiliateTaskId != INVALID_TASK_ID in add()
1087 || task.mPrevAffiliateTaskId != INVALID_TASK_ID; in add()
1356 if (task.mAffiliatedTaskId != INVALID_TASK_ID && task.mAffiliatedTaskId != task.mTaskId) { in isActiveRecentTask()
1733 if (cur.mNextAffiliate != null || cur.mNextAffiliateTaskId != INVALID_TASK_ID) { in moveAffiliatedTasksToFront()
1752 if (cur.mPrevAffiliateTaskId == INVALID_TASK_ID) { in moveAffiliatedTasksToFront()
1948 rti.id = rti.isRunning ? rti.taskId : INVALID_TASK_ID; in createRecentTaskInfo()
/aosp14/frameworks/base/core/java/com/android/internal/util/
H A DScreenshotRequest.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
161 private int mTaskId = INVALID_TASK_ID;
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DAppErrorDialog.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
67 mIsRestartable = (data.taskId != INVALID_TASK_ID || data.isRestartableForService) in AppErrorDialog()
/aosp14/frameworks/base/core/java/android/view/
H A DWindowInfo.java57 public int taskId = ActivityTaskManager.INVALID_TASK_ID;
201 taskId = ActivityTaskManager.INVALID_TASK_ID; in clear()
/aosp14/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/embedding/
H A DTaskContainer.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
89 if (taskId == INVALID_TASK_ID) { in TaskContainer()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/bar/
H A DBubbleBarExpandedView.java64 private static final int INVALID_TASK_ID = -1; field in BubbleBarExpandedView
290 return mBubbleTaskViewHelper != null ? mBubbleTaskViewHelper.getTaskId() : INVALID_TASK_ID; in getTaskId()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/keyguard/
H A DKeyguardTransitionHandler.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
293 if (taskInfo != null && taskInfo.taskId != INVALID_TASK_ID in maybeDismissFreeformOccludingKeyguard()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/util/
H A DTransitionUtil.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
293 taskId = INVALID_TASK_ID; in newTarget()
/aosp14/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/splitscreen/
H A DStageCoordinator.java20 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
646 if (taskId2 == INVALID_TASK_ID) { in startTasks()
674 if (taskId == INVALID_TASK_ID) { in startIntentAndTask()
695 if (taskId == INVALID_TASK_ID) { in startShortcutAndTask()
808 if (taskId2 == INVALID_TASK_ID) { in startTasksWithLegacyTransition()
864 if (taskId == INVALID_TASK_ID) { in startIntentAndTaskWithLegacyTransition()
885 if (taskId == INVALID_TASK_ID) { in startShortcutAndTaskWithLegacyTransition()
945 startWithLegacyTransition(wct, INVALID_TASK_ID, mainPendingIntent, mainFillInIntent, in startWithLegacyTransition()
1002 if (mainTaskId != INVALID_TASK_ID) { in startWithLegacyTransition()
1245 return INVALID_TASK_ID; in getTaskId()
[all …]
/aosp14/frameworks/base/core/java/android/app/
H A DTaskInfo.java19 import static android.app.ActivityTaskManager.INVALID_TASK_ID;
513 return parentTaskId != INVALID_TASK_ID; in hasParentTask()

123