Searched refs:INVALID_TASK_ID (Results 1 – 17 of 17) sorted by relevance
/frameworks/base/core/java/android/window/ |
D | TaskOrganizerTaskEmbedder.java | 19 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 203 : INVALID_TASK_ID; in getTaskId()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | SafeActivityOptions.java | 21 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 198 if (options.getLaunchTaskId() != INVALID_TASK_ID in checkPermissions()
|
D | RecentTasks.java | 22 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 1045 || task.mNextAffiliateTaskId != INVALID_TASK_ID in add() 1046 || task.mPrevAffiliateTaskId != INVALID_TASK_ID; in add() 1277 if (task.mAffiliatedTaskId != INVALID_TASK_ID && task.mAffiliatedTaskId != task.mTaskId) { in isActiveRecentTask() 1639 if (cur.mNextAffiliate != null || cur.mNextAffiliateTaskId != INVALID_TASK_ID) { in moveAffiliatedTasksToFront() 1658 if (cur.mPrevAffiliateTaskId == INVALID_TASK_ID) { in moveAffiliatedTasksToFront() 1840 rti.id = rti.isRunning ? rti.taskId : INVALID_TASK_ID; in createRecentTaskInfo()
|
D | Task.java | 19 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 301 int mPrevAffiliateTaskId = INVALID_TASK_ID; // previous id for persistence. 303 int mNextAffiliateTaskId = INVALID_TASK_ID; // next id for persistence. 525 _taskId, INVALID_TASK_ID, INVALID_TASK_ID, 0 /*taskAffiliationColor*/, in Task() 546 EventLogTags.writeWmTaskCreated(_taskId, stack != null ? getRootTaskId() : INVALID_TASK_ID); in Task() 1072 mPrevAffiliateTaskId = prevAffiliate == null ? INVALID_TASK_ID : prevAffiliate.mTaskId; in setPrevAffiliate() 1077 mNextAffiliateTaskId = nextAffiliate == null ? INVALID_TASK_ID : nextAffiliate.mTaskId; in setNextAffiliate() 3837 if (mAffiliatedTaskId != mTaskId || mPrevAffiliateTaskId != INVALID_TASK_ID 3838 || mPrevAffiliate != null || mNextAffiliateTaskId != INVALID_TASK_ID 4079 int taskId = INVALID_TASK_ID; [all …]
|
D | RootWindowContainer.java | 19 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 2013 ? topFocusedStack.getRootTaskId() : INVALID_TASK_ID; in switchUser() 2282 return finishedTask != null ? finishedTask.mTaskId : INVALID_TASK_ID; in finishTopCrashedActivities() 2833 int taskId = INVALID_TASK_ID; in getLaunchStack() 2848 if (taskId != INVALID_TASK_ID) { in getLaunchStack() 2850 options.setLaunchTaskId(INVALID_TASK_ID); in getLaunchStack()
|
D | ActivityStack.java | 19 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 536 id, INVALID_TASK_ID, INVALID_TASK_ID, 0 /*taskAffiliationColor*/, in ActivityStack() 2364 ActivityRecord next = topRunningActivity(srec.appToken, INVALID_TASK_ID); in navigateUpTo() 2587 next = topRunningActivity(null, INVALID_TASK_ID); in moveTaskToBack()
|
D | ActivityStarter.java | 30 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 2225 if (mOptions.getLaunchTaskId() != INVALID_TASK_ID && mOptions.getTaskOverlay()) { in setInitialState() 2420 if (mOptions != null && mOptions.getLaunchTaskId() != INVALID_TASK_ID) { in getReusableTask()
|
D | ActivityRecord.java | 34 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 2129 return task != null ? task.getRootTaskId() : INVALID_TASK_ID; in getRootTaskId() 5632 return INVALID_TASK_ID; in getTaskForActivityLocked() 5637 return INVALID_TASK_ID; in getTaskForActivityLocked() 7570 return stringName + " t" + (task == null ? INVALID_TASK_ID : task.mTaskId) + in toString()
|
D | DisplayContent.java | 19 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 2922 proto.write(FOCUSED_ROOT_TASK_ID, INVALID_TASK_ID); in dumpDebug() 5620 if (taskId != INVALID_TASK_ID) { in findScrollCaptureTargetWindow()
|
D | ActivityTaskManagerService.java | 32 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 1710 r.getRootTask().topRunningActivity(token, INVALID_TASK_ID); in finishActivity() 3318 return INVALID_TASK_ID; in addAppTask()
|
D | WindowState.java | 19 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 3728 return INVALID_TASK_ID; in getRootTaskId()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | AppErrorDialog.java | 19 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 68 mIsRestartable = (data.taskId != INVALID_TASK_ID || data.isRestartableForService) in AppErrorDialog()
|
D | AppErrors.java | 19 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 515 if (taskId != INVALID_TASK_ID) { in crashApplicationInner()
|
D | ActivityManagerShellCommand.java | 20 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 333 mTaskId = INVALID_TASK_ID; in makeIntent() 522 if (mTaskId != INVALID_TASK_ID) {
|
/frameworks/base/core/java/android/app/ |
D | ActivityTaskManager.java | 55 public static final int INVALID_TASK_ID = -1; field in ActivityTaskManager
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskRecordTests.java | 19 import static android.app.ActivityTaskManager.INVALID_TASK_ID; 766 assertEquals("No task must be reported for activity that is above root", INVALID_TASK_ID, in testGetTaskForActivity_onlyRoot_finishing() 789 assertEquals("No task must be reported for activity that is above root", INVALID_TASK_ID, in testGetTaskForActivity_onlyRoot_relinquishTaskIdentity()
|
D | DisplayContentTests.java | 1435 ActivityTaskManager.INVALID_TASK_ID); in testFindScrollCaptureTargetWindow_behindWindow()
|