Searched refs:getTaskId (Results 1 – 25 of 66) sorted by relevance
123
130 final int taskId = mWmState.getTaskByActivity(STANDARD_ACTIVITY).getTaskId(); in testLaunchStandardActivity()147 mWmState.getTaskByActivity(SECOND_STANDARD_ACTIVITY).getTaskId()); in testLaunchStandardActivity()218 final int taskId = mWmState.getTaskByActivity(NO_HISTORY_ACTIVITY).getTaskId(); in testNoHistoryActivityWithDifferentTask()261 final int taskId = mWmState.getTaskByActivity(NO_HISTORY_ACTIVITY).getTaskId(); in testNoHistoryActivityWithTranslucentActivity()287 final int taskId = mWmState.getTaskByActivity(STANDARD_ACTIVITY).getTaskId(); in testLaunchSingleTopActivity()305 mWmState.getTaskByActivity(SINGLE_TOP_ACTIVITY).getTaskId()); in testLaunchSingleTopActivity()327 .getTaskByActivity(STANDARD_ACTIVITY).getTaskId(); in testLaunchSingleInstanceActivity()333 .getTaskByActivity(SINGLE_INSTANCE_ACTIVITY).getTaskId(); in testLaunchSingleInstanceActivity()362 final int taskId = mWmState.getTaskByActivity(STANDARD_ACTIVITY).getTaskId(); in testLaunchSingleTaskActivity()378 mWmState.getTaskByActivity(SINGLE_TASK_ACTIVITY).getTaskId()); in testLaunchSingleTaskActivity()[all …]
248 int noRelaunchTaskId = mWmState.getTaskByActivity(NO_RELAUNCH_ACTIVITY).getTaskId(); in testNoUserLeaveHintOnMultiWindowModeChanged()328 final int secondaryTaskId = mWmState.getTaskByActivity(targetActivityName).getTaskId(); in launchTargetToSide()347 secondaryTaskId2 = task.getTaskId(); in launchTargetToSide()385 int secondaryTaskId3 = taskFinal.getTaskId(); in launchTargetToSide()460 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(task.getTaskId())); in testDisallowUpdateWindowingModeWhenInLockedTask()468 mTaskOrganizer.getTaskInfo(task.getTaskId()).getToken(), in testDisallowUpdateWindowingModeWhenInLockedTask()495 mAtm.startSystemLockTaskMode(task.getTaskId()); in testDisallowReparentOperationWhenInLockedTask()506 mTaskOrganizer.getTaskInfo(root.getTaskId()).getToken(); in testDisallowReparentOperationWhenInLockedTask()508 mTaskOrganizer.getTaskInfo(task.getTaskId()).getToken(); in testDisallowReparentOperationWhenInLockedTask()519 .getTaskInfo(task.getTaskId()) in testDisallowReparentOperationWhenInLockedTask()[all …]
99 Bitmap bitmap = mWindowManager.snapshotTaskForRecents(mActivity.getTaskId()); in testSetDisablePreviewScreenshots()136 Bitmap bitmap = mWindowManager.snapshotTaskForRecents(mActivity.getTaskId()); in testSetDisablePreviewScreenshots()
91 int taskId = mTestActivity.getTaskId(); in testDisplayIdAndUserId()103 int taskId = mTestActivity.getTaskId(); in testTaskVisibility()112 assertThat(taskId).isNotEqualTo(secondActivity.getTaskId()); in testTaskVisibility()121 TaskInfo taskInfo = getTaskInfo(mTestActivity.getTaskId()); in testToString()138 TaskInfo taskInfo = getTaskInfo(mTestActivity.getTaskId()); in testGetBounds()
176 .that(task1TopActivity.getTaskId()).isEqualTo(task1BottomActivity.getTaskId()); in testSetFocusedTask()178 .that(task2TopActivity.getTaskId()).isNotEqualTo(task1TopActivity.getTaskId()); in testSetFocusedTask()189 ActivityManagerHelper.setFocusedTask(task1BottomActivity.getTaskId()); in testSetFocusedTask()214 int taskId = testActivity.getTaskId(); in testRemoveTask()429 msg, index, activityStack[index].getTaskId()); in logActivityStack()
49 assertThat(request.getTaskId()).isEqualTo(taskId); in testCreateCinematicEffectRequest()59 assertThat(copy.getTaskId()).isEqualTo(taskId); in testCreateCinematicEffectRequest()
76 final int firstAppTaskId = mWmState.getTaskByActivity(activityA).getTaskId(); in testActivitiesShouldBeInTheSameTask()81 final int secondAppTaskId = mWmState.getTaskByActivity(activityB).getTaskId(); in testActivitiesShouldBeInTheSameTask()
385 final int taskId = mWmState.getTaskByActivity(baseIntent.getComponent()).getTaskId(); in testStartActivitiesTaskOverlayStayOnTop()449 final int taskId = mWmState.getTaskByActivity(baseIntent.getComponent()).getTaskId(); in verifyStartActivitiesTaskOverlayWithLaunchFlags()472 mWmState.getTaskByActivity(intent.getComponent()).getTaskId()); in verifyStartActivitiesTaskOverlayWithLaunchFlags()492 taskIds[0] = mWmState.getTaskByActivity(TEST_ACTIVITY).getTaskId(); in startActivitiesAndGetTaskIds()494 taskIds[i + 1] = mWmState.getTaskByActivity(intents[i].getComponent()).getTaskId(); in startActivitiesAndGetTaskIds()
72 mActivity.getTaskId(), Runnable::run, callback), in testRegister()89 mActivity.getTaskId(), Runnable::run, callback)); in testRegisterWithoutPermission()
46 editor.putInt(getString(R.string.taskId), getTaskId()); in onCreate()49 if ((taskIdSaved - 1) == getTaskId()) { in onCreate()70 options.putInt(getString(R.string.attrLaunchTaskId), getTaskId() - 1); in onCreate()
33 .putExtra(getString(R.string.taskIdOfTargetActivity), getTaskId())); in onResume()
30 .putExtra(getString(R.string.taskId), getTaskId())); in onResume()
61 final int taskId = activity.getTaskId(); in activityLaunchedOnVirtualDeviceWithDefaultRecentPolicy_includedInRecents()83 final int taskId = activity.getTaskId(); in activityLaunchedOnVirtualDeviceWithCustomRecentPolicy_excludedFromRecents()
48 assertThat(fromParcel.getTaskId()).isEqualTo(taskId); in testParcel()
112 assertWithMessage("wrong task id on %s", request).that(request.request.getTaskId()) in assertBasicRequestInfo()113 .isEqualTo(activity.getTaskId()); in assertBasicRequestInfo()194 .append(", taskId=").append(request.getTaskId()); in toString()
136 mTaskOrganizer.putTaskInSplitPrimary(mActivity.getTaskId());138 mTaskOrganizer.putTaskInSplitSecondary(emptyActivity.getTaskId());
56 createGameSessionRequest.getTaskId()); in onNewSession()106 int getTaskId() { in getTaskId() method in TestGameSessionService.TestGameSession
74 createGameSession(gameStartedEvent.getTaskId()); in onGameStarted()
642 final TaskInfo info = mTaskOrganizer.getTaskInfo(task.getTaskId()); in testShouldDockBigOverlaysWithExpandedPip()1154 mWmState.getTaskByActivity(LAUNCH_ENTER_PIP_ACTIVITY).getTaskId(); in testPipFromTaskWithMultipleActivitiesAndRemoveOriginalTask()1231 mAtm.startSystemLockTaskMode(task.getTaskId()); in testDisallowEnterPipActivityLocked()1423 .getTaskId(); in testFinishPipActivityWithTaskOverlay()1444 int taskId = task.getTopTask().getTaskId(); in testNoResumeAfterTaskOverlayFinishes()1486 mWmState.getTaskByActivity(TEST_ACTIVITY_WITH_SAME_AFFINITY).getTaskId(); in testLaunchTaskByComponentMatchMultipleTasks()1497 mWmState.getTaskByActivity(TEST_ACTIVITY_WITH_SAME_AFFINITY).getTaskId()); in testLaunchTaskByComponentMatchMultipleTasks()1518 int rootActivityTaskId = mWmState.getTaskByActivity(TEST_ACTIVITY).getTaskId(); in testLaunchTaskByAffinityMatchMultipleTasks()1527 assertEquals(rootActivityTaskId, mWmState.getTaskByActivity(TEST_ACTIVITY).getTaskId()); in testLaunchTaskByAffinityMatchMultipleTasks()1542 int activityTaskId = mWmState.getTaskByActivity(PIP_ACTIVITY).getTaskId(); in testLaunchTaskByAffinityMatchSingleTask()[all …]
63 runWithShellPermission(() -> mAtm.startSystemLockTaskMode(task.getTaskId())); in startAllowedPackageIntoLockTaskMode_anotherAppPinned_exitsPinningEntersLockTaskMode()
127 if (activity.getTaskId() == info.id) { in assertTaskDescription()159 fail("Did not find activity (id=" + activity.getTaskId() + ") in recent tasks list"); in assertTaskDescription()
103 setTaskId(activity.getTaskId()); in ActivityRestartedEventLogger()
103 setTaskId(activity.getTaskId()); in ActivityResumedEventLogger()