/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | LockTaskControllerTest.java | 168 TaskRecord tr = getTaskRecord(TaskRecord.LOCK_TASK_AUTH_WHITELISTED); in testStartLockTaskMode_once() 185 TaskRecord tr1 = getTaskRecord(TaskRecord.LOCK_TASK_AUTH_WHITELISTED); in testStartLockTaskMode_twice() 186 TaskRecord tr2 = getTaskRecord(TaskRecord.LOCK_TASK_AUTH_WHITELISTED); in testStartLockTaskMode_twice() 205 TaskRecord tr = getTaskRecord(TaskRecord.LOCK_TASK_AUTH_PINNABLE); in testStartLockTaskMode_pinningRequest() 217 TaskRecord tr = getTaskRecord(TaskRecord.LOCK_TASK_AUTH_PINNABLE); in testStartLockTaskMode_pinnedBySystem() 236 TaskRecord tr = getTaskRecord(TaskRecord.LOCK_TASK_AUTH_WHITELISTED); in testLockTaskViolation() 243 assertTrue(mLockTaskController.isLockTaskModeViolation(getTaskRecord( in testLockTaskViolation() 246 assertTrue(mLockTaskController.isLockTaskModeViolation(getTaskRecord( in testLockTaskViolation() 250 assertFalse(mLockTaskController.isLockTaskModeViolation(getTaskRecord( in testLockTaskViolation() 252 assertFalse(mLockTaskController.isLockTaskModeViolation(getTaskRecord( in testLockTaskViolation() [all …]
|
D | LaunchParamsControllerTests.java | 92 mController.calculate(record.getTaskRecord(), layout, record, source, options, PHASE_BOUNDS, in testArgumentPropagation() 94 verify(positioner, times(1)).onCalculate(eq(record.getTaskRecord()), eq(layout), eq(record), in testArgumentPropagation() 117 mController.calculate(activity.getTaskRecord(), null /*layout*/, activity, null /*source*/, in testStoredParamsRecovery() 266 mController.calculate(record.getTaskRecord(), layout, record, source, options, PHASE_BOUNDS, in testCalculatePhase() 268 verify(positioner, times(1)).onCalculate(eq(record.getTaskRecord()), eq(layout), eq(record), in testCalculatePhase()
|
D | RecentsAnimationTest.java | 168 targetActivity.getTaskRecord().getBaseIntent().getComponent(), in testSetLaunchTaskBehindOfTargetActivity() 276 otherUserHomeActivity.getTaskRecord().userId = TEST_USER_ID; in testMultipleUserHomeActivity_findUserHomeTask() 291 startRecentsActivity(otherUserHomeActivity.getTaskRecord().getBaseIntent().getComponent(), in testMultipleUserHomeActivity_findUserHomeTask()
|
D | ActivityStackSupervisorTests.java | 121 final TaskRecord task = unresizableActivity.getTaskRecord(); in testHandleNonResizableTaskOnSecondaryDisplay()
|
D | RootActivityContainerTests.java | 114 final TaskRecord firstTask = firstActivity.getTaskRecord(); in testReplacingTaskInPinnedStack() 118 final TaskRecord secondTask = secondActivity.getTaskRecord(); in testReplacingTaskInPinnedStack() 271 pinnedStack.removeTask(pinnedActivity.getTaskRecord(), "testFocusability", in testFocusability()
|
D | TaskLaunchParamsModifierTests.java | 180 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(reusableActivity.getTaskRecord(), in testUsesTasksDisplayIdPriorToSourceIfSet() 192 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(source.getTaskRecord(), null /* layout */, in testUsesTaskDisplayIdIfSet() 211 assertEquals(RESULT_CONTINUE, mTarget.onCalculate(reusableActivity.getTaskRecord(), in testUsesNoDisplaySourceHandoverDisplayIdIfSet()
|
D | ActivityDisplayTests.java | 353 activity.getTaskRecord().getConfiguration().windowConfiguration.setAppBounds( in testHandleActivitySizeCompatMode()
|
D | ActivityStackTests.java | 253 final TaskRecord task = r.getTaskRecord(); in testFindTaskWithOverlay()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStarter.java | 708 && sourceRecord.getTaskRecord().voiceSession != null) { in startActivity() 1482 reusedActivity != null ? reusedActivity.getTaskRecord() : mInTask, in startActivityUnchecked() 1502 reusedActivity.getTaskRecord(), in startActivityUnchecked() 1519 if (mStartActivity.getTaskRecord() == null && !clearTopAndResetStandardLaunchMode) { in startActivityUnchecked() 1520 mStartActivity.setTask(reusedActivity.getTaskRecord()); in startActivityUnchecked() 1523 if (reusedActivity.getTaskRecord().intent == null) { in startActivityUnchecked() 1526 reusedActivity.getTaskRecord().setIntent(mStartActivity); in startActivityUnchecked() 1531 reusedActivity.getTaskRecord().intent.addFlags(FLAG_ACTIVITY_TASK_ON_HOME); in startActivityUnchecked() 1533 reusedActivity.getTaskRecord().intent.removeFlags(FLAG_ACTIVITY_TASK_ON_HOME); in startActivityUnchecked() 1543 final TaskRecord task = reusedActivity.getTaskRecord(); in startActivityUnchecked() [all …]
|
D | ActivityStack.java | 566 mStackSupervisor.mRecentTasks.add(record.getTaskRecord()); in onActivityStateChanged() 1182 final TaskRecord task = r.getTaskRecord(); in isInStackLocked() 1391 + "/aff=" + r.getTaskRecord().rootAffinity + " to new cls=" in findTaskLocked() 1687 prev.getTaskRecord().touchActiveTime(); in startPausingLocked() 2838 prev.getTaskRecord() == next.getTaskRecord() ? TRANSIT_ACTIVITY_CLOSE in resumeTopActivityInnerLocked() 2850 prev.getTaskRecord() == next.getTaskRecord() ? TRANSIT_ACTIVITY_OPEN in resumeTopActivityInnerLocked() 2976 System.identityHashCode(next), next.getTaskRecord().taskId, in resumeTopActivityInnerLocked() 3139 TaskRecord rTask = r.getTaskRecord(); in startActivityLocked() 3180 final TaskRecord activityTask = r.getTaskRecord(); in startActivityLocked() 3253 TaskRecord prevTask = r.getTaskRecord(); in startActivityLocked() [all …]
|
D | RecentsAnimation.java | 145 if (targetStack.topTask() != targetActivity.getTaskRecord()) { in startRecentsActivity() 146 targetStack.addTask(targetActivity.getTaskRecord(), true /* toTop */, in startRecentsActivity() 273 targetStack.moveTaskToFrontLocked(targetActivity.getTaskRecord(), in finishAnimation()
|
D | WindowProcessController.java | 543 TaskRecord task = mActivities.get(i).getTaskRecord(); in hasActivityInVisibleTask() 691 intent.putExtra(HeavyWeightSwitcherActivity.KEY_CUR_TASK, hist.getTaskRecord().taskId); in updateIntentForHeavyWeightActivity() 701 final TaskRecord otherTask = activity.getTaskRecord(); in shouldKillProcessForRemovedTask() 734 final TaskRecord task = r.getTaskRecord(); in getReleaseSomeActivitiesTasks() 778 final TaskRecord task = r.getTaskRecord(); in computeOomAdjFromActivities()
|
D | LockTaskController.java | 240 final TaskRecord task = activity.getTaskRecord(); in activityBlockedFromFinish() 662 final TaskRecord task = (r != null) ? r.getTaskRecord() : null; in updateLockTaskPackages()
|
D | ActivityTaskManagerService.java | 1555 final TaskRecord tr = r.getTaskRecord(); in finishActivity() 1639 final TaskRecord task = r.getTaskRecord(); in finishActivityAffinity() 1970 final TaskRecord task = r.getTaskRecord(); in convertToTranslucent() 2325 final TaskRecord task = r.getTaskRecord(); in onBackPressedOnTaskRoot() 2812 startLockTaskModeLocked(r.getTaskRecord(), false /* isSystemCaller */); in startLockTaskModeByToken() 2845 stopLockTaskModeInternal(r.getTaskRecord(), false /* isSystemCaller */); in stopLockTaskModeByToken() 2938 final TaskRecord task = r.getTaskRecord(); in setTaskDescription() 2995 return r != null && r.getTaskRecord().getTopActivity() == r; in isTopOfTask() 3034 structure.setTaskId(pae.activity.getTaskRecord().taskId); in reportAssistContextExtras() 3061 pae.activity.getTaskRecord().taskId); in reportAssistContextExtras() [all …]
|
D | ActivityStackSupervisor.java | 718 final TaskRecord task = r.getTaskRecord(); in realStartActivityLocked() 2081 final TaskRecord task = r.getTaskRecord(); in handleLaunchTaskBehindCompleteLocked() 2093 top.getTaskRecord().touchActiveTime(); in handleLaunchTaskBehindCompleteLocked() 2234 if (lastTask != r.getTaskRecord()) { in dumpHistoryList() 2235 lastTask = r.getTaskRecord(); in dumpHistoryList()
|
D | TaskChangeNotificationController.java | 321 r.getTaskRecord().taskId, r.getStackId(), r.packageName); in notifyActivityPinned()
|
D | ActivityRecord.java | 810 return getTaskRecord(); in getParent() 813 TaskRecord getTaskRecord() { in getTaskRecord() method in ActivityRecord 835 if (task != null && task == getTaskRecord()) { in setTask() 1508 final TaskRecord task = getTaskRecord(); in moveFocusableActivityToTop() 1866 final TaskRecord parent = getTaskRecord(); in setState() 3300 getTaskRecord().getTask().isDragResizing(); in ensureActivityConfiguration()
|
D | RootActivityContainer.java | 1018 final TaskRecord task = r.getTaskRecord(); in moveActivityToPinnedStack() 1797 if (r.getDisplayId() == displayId && r.getTaskRecord() == candidateTask) { in getValidLaunchStackOnDisplay()
|
D | ActivityMetricsLogger.java | 522 final TaskRecord t = activityRecord.getTaskRecord(); in notifyVisibilityChanged()
|
D | TaskRecord.java | 1298 TaskRecord task = r.getTaskRecord(); in addActivityAtIndex() 1372 if (r.getTaskRecord() != this) { in removeActivity()
|