Home
last modified time | relevance | path

Searched refs:getTaskRecord (Results 1 – 20 of 20) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DLockTaskControllerTest.java168 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 …]
DLaunchParamsControllerTests.java92 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()
DRecentsAnimationTest.java222 targetActivity.getTaskRecord().getBaseIntent().getComponent(), in testSetLaunchTaskBehindOfTargetActivity()
331 otherUserHomeActivity.getTaskRecord().userId = TEST_USER_ID; in testMultipleUserHomeActivity_findUserHomeTask()
346 startRecentsActivity(otherUserHomeActivity.getTaskRecord().getBaseIntent().getComponent(), in testMultipleUserHomeActivity_findUserHomeTask()
DActivityStackSupervisorTests.java121 final TaskRecord task = unresizableActivity.getTaskRecord(); in testHandleNonResizableTaskOnSecondaryDisplay()
DRootActivityContainerTests.java116 final TaskRecord firstTask = firstActivity.getTaskRecord(); in testReplacingTaskInPinnedStack()
120 final TaskRecord secondTask = secondActivity.getTaskRecord(); in testReplacingTaskInPinnedStack()
273 pinnedStack.removeTask(pinnedActivity.getTaskRecord(), "testFocusability", in testFocusability()
DTaskLaunchParamsModifierTests.java180 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()
DActivityDisplayTests.java353 activity.getTaskRecord().getConfiguration().windowConfiguration.setAppBounds( in testHandleActivitySizeCompatMode()
DActivityStackTests.java253 final TaskRecord task = r.getTaskRecord(); in testFindTaskWithOverlay()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStarter.java710 && sourceRecord.getTaskRecord().voiceSession != null) { in startActivity()
1492 reusedActivity != null ? reusedActivity.getTaskRecord() : mInTask, in startActivityUnchecked()
1520 reusedActivity.getTaskRecord(), in startActivityUnchecked()
1537 if (mStartActivity.getTaskRecord() == null && !clearTopAndResetStandardLaunchMode) { in startActivityUnchecked()
1538 mStartActivity.setTask(reusedActivity.getTaskRecord()); in startActivityUnchecked()
1541 if (reusedActivity.getTaskRecord().intent == null) { in startActivityUnchecked()
1544 reusedActivity.getTaskRecord().setIntent(mStartActivity); in startActivityUnchecked()
1549 reusedActivity.getTaskRecord().intent.addFlags(FLAG_ACTIVITY_TASK_ON_HOME); in startActivityUnchecked()
1551 reusedActivity.getTaskRecord().intent.removeFlags(FLAG_ACTIVITY_TASK_ON_HOME); in startActivityUnchecked()
1561 final TaskRecord task = reusedActivity.getTaskRecord(); in startActivityUnchecked()
[all …]
DActivityStack.java569 mStackSupervisor.mRecentTasks.add(record.getTaskRecord()); in onActivityStateChanged()
1185 final TaskRecord task = r.getTaskRecord(); in isInStackLocked()
1394 + "/aff=" + r.getTaskRecord().rootAffinity + " to new cls=" in findTaskLocked()
1690 prev.getTaskRecord().touchActiveTime(); in startPausingLocked()
2847 prev.getTaskRecord() == next.getTaskRecord() ? TRANSIT_ACTIVITY_CLOSE in resumeTopActivityInnerLocked()
2859 prev.getTaskRecord() == next.getTaskRecord() ? TRANSIT_ACTIVITY_OPEN in resumeTopActivityInnerLocked()
2985 System.identityHashCode(next), next.getTaskRecord().taskId, in resumeTopActivityInnerLocked()
3148 TaskRecord rTask = r.getTaskRecord(); in startActivityLocked()
3191 final TaskRecord activityTask = r.getTaskRecord(); in startActivityLocked()
3268 TaskRecord prevTask = r.getTaskRecord(); in startActivityLocked()
[all …]
DRecentsAnimation.java210 if (targetStack.topTask() != targetActivity.getTaskRecord()) { in startRecentsActivity()
211 targetStack.addTask(targetActivity.getTaskRecord(), true /* toTop */, in startRecentsActivity()
328 targetStack.moveTaskToFrontLocked(targetActivity.getTaskRecord(), in finishAnimation()
DWindowProcessController.java550 TaskRecord task = mActivities.get(i).getTaskRecord(); in hasActivityInVisibleTask()
703 intent.putExtra(HeavyWeightSwitcherActivity.KEY_CUR_TASK, hist.getTaskRecord().taskId); in updateIntentForHeavyWeightActivity()
713 final TaskRecord otherTask = activity.getTaskRecord(); in shouldKillProcessForRemovedTask()
746 final TaskRecord task = r.getTaskRecord(); in getReleaseSomeActivitiesTasks()
790 final TaskRecord task = r.getTaskRecord(); in computeOomAdjFromActivities()
DLockTaskController.java240 final TaskRecord task = activity.getTaskRecord(); in activityBlockedFromFinish()
662 final TaskRecord task = (r != null) ? r.getTaskRecord() : null; in updateLockTaskPackages()
DActivityTaskManagerService.java1570 final TaskRecord tr = r.getTaskRecord(); in finishActivity()
1654 final TaskRecord task = r.getTaskRecord(); in finishActivityAffinity()
1985 final TaskRecord task = r.getTaskRecord(); in convertToTranslucent()
2340 final TaskRecord task = r.getTaskRecord(); in onBackPressedOnTaskRoot()
2834 startLockTaskModeLocked(r.getTaskRecord(), false /* isSystemCaller */); in startLockTaskModeByToken()
2867 stopLockTaskModeInternal(r.getTaskRecord(), false /* isSystemCaller */); in stopLockTaskModeByToken()
2960 final TaskRecord task = r.getTaskRecord(); in setTaskDescription()
3017 return r != null && r.getTaskRecord().getTopActivity() == r; in isTopOfTask()
3056 structure.setTaskId(pae.activity.getTaskRecord().taskId); in reportAssistContextExtras()
3083 pae.activity.getTaskRecord().taskId); in reportAssistContextExtras()
[all …]
DActivityStackSupervisor.java733 final TaskRecord task = r.getTaskRecord(); in realStartActivityLocked()
2085 final TaskRecord task = r.getTaskRecord(); in handleLaunchTaskBehindCompleteLocked()
2097 top.getTaskRecord().touchActiveTime(); in handleLaunchTaskBehindCompleteLocked()
2238 if (lastTask != r.getTaskRecord()) { in dumpHistoryList()
2239 lastTask = r.getTaskRecord(); in dumpHistoryList()
DTaskChangeNotificationController.java337 r.getTaskRecord().taskId, r.getStackId(), r.packageName); in notifyActivityPinned()
DActivityRecord.java810 return getTaskRecord(); in getParent()
813 TaskRecord getTaskRecord() { in getTaskRecord() method in ActivityRecord
835 if (task != null && task == getTaskRecord()) { in setTask()
1510 final TaskRecord task = getTaskRecord(); in moveFocusableActivityToTop()
1864 final TaskRecord parent = getTaskRecord(); in setState()
3292 getTaskRecord().getTask().isDragResizing(); in ensureActivityConfiguration()
DRootActivityContainer.java1019 final TaskRecord task = r.getTaskRecord(); in moveActivityToPinnedStack()
1818 if (r.getDisplayId() == displayId && r.getTaskRecord() == candidateTask) { in getValidLaunchStackOnDisplay()
DActivityMetricsLogger.java522 final TaskRecord t = activityRecord.getTaskRecord(); in notifyVisibilityChanged()
DTaskRecord.java1298 TaskRecord task = r.getTaskRecord(); in addActivityAtIndex()
1372 if (r.getTaskRecord() != this) { in removeActivity()