/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityStack.java | 331 private final ArrayList<ActivityRecord> mLRUActivities = new ArrayList<>(); 337 ActivityRecord mPausingActivity = null; 344 ActivityRecord mLastPausedActivity = null; 351 ActivityRecord mLastNoHistoryActivity = null; 356 ActivityRecord mResumedActivity = null; 364 ActivityRecord mTranslucentActivityWaiting = null; 365 ArrayList<ActivityRecord> mUndrawnActivitiesBelowTopTranslucent = new ArrayList<>(); 403 private final ArrayList<ActivityRecord> mTmpActivities = new ArrayList<>(); 410 private ActivityRecord mTopDismissingKeyguardActivity; 443 ActivityRecord r = (ActivityRecord)msg.obj; in handleMessage() [all …]
|
D | AppWarnings.java | 105 public void showUnsupportedDisplaySizeDialogIfNeeded(ActivityRecord r) { in showUnsupportedDisplaySizeDialogIfNeeded() 118 public void showUnsupportedCompileSdkDialogIfNeeded(ActivityRecord r) { in showUnsupportedCompileSdkDialogIfNeeded() 155 public void showDeprecatedTargetDialogIfNeeded(ActivityRecord r) { in showDeprecatedTargetDialogIfNeeded() 166 public void onStartActivity(ActivityRecord r) { in onStartActivity() 177 public void onResumeActivity(ActivityRecord r) { in onResumeActivity() 239 private void showUnsupportedDisplaySizeDialogUiThread(ActivityRecord ar) { in showUnsupportedDisplaySizeDialogUiThread() 260 private void showUnsupportedCompileSdkDialogUiThread(ActivityRecord ar) { in showUnsupportedCompileSdkDialogUiThread() 281 private void showDeprecatedTargetSdkDialogUiThread(ActivityRecord ar) { in showDeprecatedTargetSdkDialogUiThread() 386 final ActivityRecord ar = (ActivityRecord) msg.obj; in handleMessage() 393 final ActivityRecord ar = (ActivityRecord) msg.obj; in handleMessage() [all …]
|
D | ActivityStackSupervisor.java | 279 final ArrayList<ActivityRecord> mStoppingActivities = new ArrayList<>(); 283 final ArrayList<ActivityRecord> mFinishingActivities = new ArrayList<>(); 286 final ArrayList<ActivityRecord> mGoingToSleepActivities = new ArrayList<>(); 290 final ArrayList<ActivityRecord> mMultiWindowModeChangedActivities = new ArrayList<>(); 294 final ArrayList<ActivityRecord> mPipModeChangedActivities = new ArrayList<>(); 300 final ArrayList<ActivityRecord> mNoAnimActivities = new ArrayList<>(); 306 private ActivityRecord mTopResumedActivity; 401 final ActivityRecord r; 402 final ActivityRecord sourceRecord; 407 PendingActivityLaunch(ActivityRecord _r, ActivityRecord _sourceRecord, in PendingActivityLaunch() [all …]
|
D | ActivityTaskManagerService.java | 626 ActivityRecord mLastResumedActivity; 633 private @Nullable ActivityRecord mTracedResumedActivity; 1101 final ActivityRecord r = ActivityRecord.isInStackLocked(callingActivity); in startNextMatchingActivity() 1174 final ActivityRecord resultTo = r.resultTo; in startNextMatchingActivity() 1297 final ActivityRecord sourceRecord; in startActivityAsCaller() 1550 ActivityRecord r = ActivityRecord.isInStackLocked(token); in finishActivity() 1556 ActivityRecord rootR = tr.getRootActivity(); in finishActivity() 1570 final ActivityRecord next = r.getActivityStack().topRunningActivityLocked(token, 0); in finishActivity() 1632 ActivityRecord r = ActivityRecord.isInStackLocked(token); in finishActivityAffinity() 1656 ActivityStack stack = ActivityRecord.getStackLocked(token); in activityIdle() [all …]
|
D | RootActivityContainer.java | 205 private final ArrayList<ActivityRecord> mTmpActivityList = new ArrayList<>(); 209 ActivityRecord mRecord; 324 ActivityRecord getDefaultDisplayHomeActivity() { in getDefaultDisplayHomeActivity() 328 ActivityRecord getDefaultDisplayHomeActivityForUser(int userId) { in getDefaultDisplayHomeActivityForUser() 514 boolean resumeHomeActivity(ActivityRecord prev, String reason, int displayId) { in resumeHomeActivity() 524 final ActivityRecord r = getActivityDisplay(displayId).getHomeActivity(); in resumeHomeActivity() 629 boolean ensureVisibilityAndConfig(ActivityRecord starting, int displayId, in ensureVisibilityAndConfig() 678 final ActivityRecord top = stack.getTopActivity(); in getTopVisibleActivities() 702 ActivityRecord getTopResumedActivity() { in getTopResumedActivity() 707 final ActivityRecord resumedActivity = focusedStack.getResumedActivity(); in getTopResumedActivity() [all …]
|
D | TaskRecord.java | 69 import static com.android.server.wm.ActivityRecord.STARTING_WINDOW_SHOWN; 268 final ArrayList<ActivityRecord> mActivities; 402 int _effectiveUid, String _lastDescription, ArrayList<ActivityRecord> activities, in TaskRecord() 595 final ActivityRecord r = topRunningActivityLocked(); in resize() 708 final ActivityRecord topActivity = getTopActivity(); in reparent() 727 final ActivityRecord r = topRunningActivityLocked(); in reparent() 871 void setIntent(ActivityRecord r) { in setIntent() 975 boolean isSameIntentFilter(ActivityRecord r) { in isSameIntentFilter() 1020 final ActivityRecord activity = getChildAt(i); in setStack() 1048 protected ActivityRecord getChildAt(int index) { in getChildAt() [all …]
|
D | WindowProcessController.java | 162 private final ArrayList<ActivityRecord> mActivities = new ArrayList<>(); 166 private ActivityRecord mPreQTopResumedActivity = null; 491 void addActivityIfNeeded(ActivityRecord r) { in addActivityIfNeeded() 500 void removeActivity(ActivityRecord r) { in removeActivity() 525 final ActivityRecord r = mActivities.get(i); in hasVisibleActivities() 547 ActivityRecord topActivity = task.getTopActivity(); in hasActivityInVisibleTask() 562 boolean updateTopResumingActivityInProcessIfNeeded(@NonNull ActivityRecord activity) { in updateTopResumingActivityInProcessIfNeeded() 619 ArrayList<ActivityRecord> activities = new ArrayList<>(mActivities); in finishActivities() 621 final ActivityRecord r = activities.get(i); in finishActivities() 633 ActivityRecord r = mActivities.get(i); in isInterestingToUser() [all …]
|
D | ActivityStarter.java | 155 private ActivityRecord mStartActivity; 170 private ActivityRecord mNotTop; 173 private ActivityRecord mSourceRecord; 201 private final ActivityRecord[] mLastStartActivityRecord = new ActivityRecord[1]; 328 ActivityRecord[] outActivity; 495 ActivityRecord getStartActivity() { in getStartActivity() 547 int startResolvedActivity(final ActivityRecord r, ActivityRecord sourceRecord, in startResolvedActivity() 572 ActivityRecord[] outActivity, TaskRecord inTask, String reason, in startActivity() 617 boolean ignoreTargetSecurity, boolean componentSpecified, ActivityRecord[] outActivity, in startActivity() 648 ActivityRecord sourceRecord = null; in startActivity() [all …]
|
D | LaunchParamsController.java | 77 void calculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, in calculate() 78 ActivityRecord source, ActivityOptions options, int phase, LaunchParams result) { in calculate() 127 boolean layoutTask(TaskRecord task, WindowLayout layout, ActivityRecord activity, in layoutTask() 128 ActivityRecord source, ActivityOptions options) { in layoutTask() 307 int onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, in onCalculate() 308 ActivityRecord source, ActivityOptions options, @Phase int phase, in onCalculate()
|
D | ActivityDisplay.java | 133 private ActivityRecord mLastCompatModeActivity; 391 <T extends ActivityStack> T getOrCreateStack(@Nullable ActivityRecord r, in getOrCreateStack() 527 ActivityRecord getResumedActivity() { in getResumedActivity() 534 ActivityRecord resumedActivity = focusedStack.getResumedActivity(); in getResumedActivity() 554 final ActivityRecord r = mStacks.get(stackNdx).getResumedActivity(); in allResumedActivitiesComplete() 580 boolean pauseBackStacks(boolean userLeaving, ActivityRecord resuming, boolean dontWait) { in pauseBackStacks() 584 final ActivityRecord resumedActivity = stack.getResumedActivity(); in pauseBackStacks() 600 void findTaskLocked(final ActivityRecord r, final boolean isPreferredDisplay, in findTaskLocked() 844 int resolveWindowingMode(@Nullable ActivityRecord r, @Nullable ActivityOptions options, in resolveWindowingMode() 880 int validateWindowingMode(int windowingMode, @Nullable ActivityRecord r, in validateWindowingMode() [all …]
|
D | ActivityResult.java | 26 final ActivityRecord mFrom; 28 public ActivityResult(ActivityRecord from, String resultWho, in ActivityResult()
|
D | TaskLaunchParamsModifier.java | 107 int onCalculate(TaskRecord task, ActivityInfo.WindowLayout layout, ActivityRecord activity, in onCalculate() 108 ActivityRecord source, ActivityOptions options, LaunchParams currentParams, in onCalculate() 116 ActivityRecord activity, ActivityRecord source, ActivityOptions options, in onCalculate() 126 ActivityRecord activity, ActivityRecord source, ActivityOptions options, int phase, in calculate() 128 final ActivityRecord root; in calculate() 294 @Nullable ActivityOptions options, ActivityRecord source, LaunchParams currentParams) { in getPreferredLaunchDisplay() 347 private void getLayoutBounds(@NonNull ActivityDisplay display, @NonNull ActivityRecord root, in getLayoutBounds() 427 private boolean isTaskForcedMaximized(@NonNull ActivityRecord root) { in isTaskForcedMaximized() 448 private int resolveOrientation(@NonNull ActivityRecord activity) { in resolveOrientation() 488 private void getTaskBounds(@NonNull ActivityRecord root, @NonNull ActivityDisplay display, in getTaskBounds() [all …]
|
D | ActivityStartController.java | 78 private ActivityRecord mLastHomeActivityStartRecord; 81 private ActivityRecord[] tmpOutRecord = new ActivityRecord[1]; 162 void postStartActivityProcessingForLastStarter(ActivityRecord r, int result, in postStartActivityProcessingForLastStarter() 174 if (!ActivityRecord.isResolverActivity(aInfo.name)) { in startHomeActivity() 429 final ActivityRecord[] outActivity = new ActivityRecord[1]; in startActivities() 482 final ActivityRecord r = pal.r; in clearPendingActivityLaunches()
|
D | ActivityRecord.java | 239 final class ActivityRecord extends ConfigurationContainer { class 312 ActivityRecord resultTo; // who started this entry, so will get our reply 875 private final WeakReference<ActivityRecord> weakActivity; 878 Token(ActivityRecord activity, Intent intent) { in Token() 883 private static @Nullable ActivityRecord tokenToActivityRecordLocked(Token token) { in tokenToActivityRecordLocked() 887 ActivityRecord r = token.weakActivity.get(); in tokenToActivityRecordLocked() 911 static @Nullable ActivityRecord forTokenLocked(IBinder token) { in forTokenLocked() 940 ActivityRecord(ActivityTaskManagerService _service, WindowProcessController _caller, in ActivityRecord() method in ActivityRecord 943 ActivityRecord _resultTo, String _resultWho, int _reqCode, boolean _componentSpecified, in ActivityRecord() 945 ActivityOptions options, ActivityRecord sourceRecord) { in ActivityRecord() [all …]
|
D | ActivityServiceConnectionsHolder.java | 39 private final ActivityRecord mActivity; 49 ActivityServiceConnectionsHolder(ActivityTaskManagerService service, ActivityRecord activity) { in ActivityServiceConnectionsHolder()
|
D | KeyguardController.java | 201 final ActivityRecord activityRecord = ActivityRecord.forTokenLocked(token); in dismissKeyguard() 266 boolean canShowActivityWhileKeyguardShowing(ActivityRecord r, boolean dismissKeyguard) { in canShowActivityWhileKeyguardShowing() 448 private ActivityRecord mDismissingKeyguardActivity; 478 final ActivityRecord lastDismissActivity = mDismissingKeyguardActivity; in visibilitiesUpdated() 485 final ActivityRecord topDismissing = stack.getTopDismissingKeyguardActivity(); in visibilitiesUpdated()
|
D | LaunchWarningWindow.java | 30 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) { in LaunchWarningWindow()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStackTests.java | 103 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testOccupiedTaskCleanupOnRemove() 111 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivity() 121 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivityFromTaskReparenting() 139 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivityFromActivityReparenting() 238 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testStopActivityWhenActivityDestroyed() 248 final ActivityRecord r = new ActivityBuilder(mService) in testFindTaskWithOverlay() 255 final ActivityRecord taskOverlay = new ActivityBuilder(mService).setTask(task) in testFindTaskWithOverlay() 283 final ActivityRecord r1 = new ActivityBuilder(mService).setComponent( in testFindTaskAlias() 290 final ActivityRecord r2 = new ActivityBuilder(mService).setComponent( in testFindTaskAlias() 565 final ActivityRecord topRunningHomeActivity = homeStack.topRunningActivityLocked(); in testShouldBeVisible_Finishing() [all …]
|
D | ActivityMetricsLaunchObserverTests.java | 66 private ActivityRecord mActivityRecord; 67 private ActivityRecord mActivityRecordTrampoline; 98 public ActivityRecordMatcher(ActivityRecord activityRecord) { in ActivityRecordMatcher() 107 static @ActivityRecordProto byte[] activityRecordToProto(ActivityRecord record) { in activityRecordToProto() 111 static @ActivityRecordProto byte[] eqProto(ActivityRecord record) { in eqProto() 134 ActivityRecord activityRecord = null; in testOnIntentFailed()
|
D | LaunchParamsControllerTests.java | 87 final ActivityRecord record = new ActivityBuilder(mService).build(); in testArgumentPropagation() 88 final ActivityRecord source = new ActivityBuilder(mService).build(); in testArgumentPropagation() 108 final ActivityRecord activity = new ActivityBuilder(mService).setComponent(name) in testStoredParamsRecovery() 231 final ActivityRecord vrActivity = new ActivityBuilder(mService).build(); in testVrPreferredDisplay() 240 final ActivityRecord vr2dActivity = new ActivityBuilder(mService).build(); in testVrPreferredDisplay() 261 final ActivityRecord record = new ActivityBuilder(mService).build(); in testCalculatePhase() 262 final ActivityRecord source = new ActivityBuilder(mService).build(); in testCalculatePhase() 372 public int onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, in onCalculate() 373 ActivityRecord source, ActivityOptions options, int phase, in onCalculate() 436 void getLaunchParams(TaskRecord task, ActivityRecord activity, LaunchParams params) { in getLaunchParams()
|
D | ActivityStackSupervisorTests.java | 70 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testStoppingActivityRemovedWhenResumed() 85 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReportWaitingActivityLaunchedIfNeeded() 120 final ActivityRecord unresizableActivity = stack.getTopActivity(); in testHandleNonResizableTaskOnSecondaryDisplay() 138 final ActivityRecord resizableActivity = new ActivityBuilder(mService) in testHandleNonResizableTaskOnSecondaryDisplay()
|
D | RecentsAnimationTest.java | 88 ActivityRecord recentActivity = new ActivityBuilder(mService) in testRecentsActivityVisiblility() 93 ActivityRecord topActivity = new ActivityBuilder(mService).setCreateTask(true).build(); in testRecentsActivityVisiblility() 119 ActivityRecord recentActivity = new ActivityBuilder(mService).setComponent( in testRestartRecentsActivity() 152 ActivityRecord targetActivity = homeStack.getTopActivity(); in testSetLaunchTaskBehindOfTargetActivity() 154 ActivityRecord anotherHomeActivity = new ActivityBuilder(mService) in testSetLaunchTaskBehindOfTargetActivity() 271 ActivityRecord otherUserHomeActivity = new ActivityBuilder(mService) in testMultipleUserHomeActivity_findUserHomeTask()
|
D | TaskRecordTests.java | 249 private void setActivityRequestedOrientation(ActivityRecord activity, int orientation) { in setActivityRequestedOrientation() 277 ActivityRecord root = task.getTopActivity(); in testFullscreenBoundsForcedOrientation() 290 ActivityRecord top = new ActivityBuilder(mService).setTask(task).setStack(stack).build(); in testFullscreenBoundsForcedOrientation() 342 ActivityRecord root = task.getTopActivity(); in testIgnoresForcedOrientationWhenParentHandles() 398 final ActivityRecord.CompatDisplayInsets compatIntsets = in testComputeConfigResourceOverrides() 399 new ActivityRecord.CompatDisplayInsets(displayContent); in testComputeConfigResourceOverrides() 431 ActivityRecord aliasActivity = new ActivityBuilder(mService).setComponent( in testTaskIntentActivityAlias() 436 ActivityRecord targetActivity = new ActivityBuilder(mService).setComponent( in testTaskIntentActivityAlias() 441 ActivityRecord defaultActivity = new ActivityBuilder(mService).build(); in testTaskIntentActivityAlias() 521 ArrayList<ActivityRecord> activities, long lastTimeMoved, in create()
|
D | ActivityStarterTests.java | 242 final ActivityRecord source = builder.build(); in verifyStartActivityPreconditions() 421 final ActivityRecord focusActivity = new ActivityBuilder(mService) in testSplitScreenDeliverToTop() 427 final ActivityRecord reusableActivity = new ActivityBuilder(mService) in testSplitScreenDeliverToTop() 458 final ActivityRecord reusableActivity = new ActivityBuilder(mService) in testSplitScreenTaskToFront() 464 final ActivityRecord focusActivity = new ActivityBuilder(mService) in testSplitScreenTaskToFront() 700 final ActivityRecord activity = new ActivityBuilder(mService) in testBringTaskToFrontWhenFocusedStackIsFinising() 707 final ActivityRecord finishingTopActivity = new ActivityBuilder(mService) in testBringTaskToFrontWhenFocusedStackIsFinising() 740 final ActivityRecord topActivityOnSecondaryDisplay = createSingleTaskActivityOn(stack); in testDeliverIntentToTopActivityOfNonTopDisplay() 774 final ActivityRecord singleTaskActivity = createSingleTaskActivityOn( in testBringTaskToFrontOnSecondaryDisplay() 799 private ActivityRecord createSingleTaskActivityOn(ActivityStack stack) { in createSingleTaskActivityOn() [all …]
|
D | ActivityTestsBase.java | 248 ActivityRecord build() { in build() 275 final ActivityRecord activity = new ActivityRecord(mService, null /* caller */, in build() 522 void updateBatteryStats(ActivityRecord component, boolean resumed) { in updateBatteryStats() 526 void updateActivityUsageStats(ActivityRecord activity, int event) { in updateActivityUsageStats() 769 void onActivityRemovedFromStack(ActivityRecord r) { in onActivityRemovedFromStack() 800 boolean isStackTranslucent(ActivityRecord starting) { in isStackTranslucent() 831 void startActivityLocked(ActivityRecord r, ActivityRecord focusedTopActivity, in startActivityLocked()
|