Home
last modified time | relevance | path

Searched refs:ActivityRecord (Results 1 – 25 of 46) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java289 final ArrayList<ActivityRecord> mLRUActivities = new ArrayList<>();
295 ActivityRecord mPausingActivity = null;
302 ActivityRecord mLastPausedActivity = null;
309 ActivityRecord mLastNoHistoryActivity = null;
314 ActivityRecord mResumedActivity = null;
322 ActivityRecord mTranslucentActivityWaiting = null;
323 ArrayList<ActivityRecord> mUndrawnActivitiesBelowTopTranslucent = new ArrayList<>();
354 private final ArrayList<ActivityRecord> mTmpActivities = new ArrayList<>();
360 private ActivityRecord mTopDismissingKeyguardActivity;
390 ActivityRecord r = (ActivityRecord)msg.obj; in handleMessage()
[all …]
DAppWarnings.java106 public void showUnsupportedDisplaySizeDialogIfNeeded(ActivityRecord r) { in showUnsupportedDisplaySizeDialogIfNeeded()
119 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 …]
DActivityStackSupervisor.java350 final ArrayList<ActivityRecord> mActivitiesWaitingForVisibleActivity = new ArrayList<>();
360 final ArrayList<ActivityRecord> mStoppingActivities = new ArrayList<>();
364 final ArrayList<ActivityRecord> mFinishingActivities = new ArrayList<>();
367 final ArrayList<ActivityRecord> mGoingToSleepActivities = new ArrayList<>();
371 final ArrayList<ActivityRecord> mMultiWindowModeChangedActivities = new ArrayList<>();
375 final ArrayList<ActivityRecord> mPipModeChangedActivities = new ArrayList<>();
381 final ArrayList<ActivityRecord> mNoAnimActivities = new ArrayList<>();
450 private final ArrayList<ActivityRecord> mTmpActivityList = new ArrayList<>();
531 ActivityRecord r;
580 final ActivityRecord r;
[all …]
DTaskRecord.java59 import static com.android.server.am.ActivityRecord.STARTING_WINDOW_SHOWN;
258 final ArrayList<ActivityRecord> mActivities;
381 int _effectiveUid, String _lastDescription, ArrayList<ActivityRecord> activities, in TaskRecord()
539 final ActivityRecord r = topRunningActivityLocked(); in resize()
632 final ActivityRecord topActivity = getTopActivity(); in reparent()
651 final ActivityRecord r = topRunningActivityLocked(); in reparent()
790 void setIntent(ActivityRecord r) { in setIntent()
895 boolean isSameIntentFilter(ActivityRecord r) { in isSameIntentFilter()
939 final ActivityRecord activity = getChildAt(i); in setStack()
967 protected ActivityRecord getChildAt(int index) { in getChildAt()
[all …]
DLaunchParamsController.java77 void calculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, in calculate()
78 ActivityRecord source, ActivityOptions options, LaunchParams result) { in calculate()
114 boolean layoutTask(TaskRecord task, WindowLayout layout, ActivityRecord activity, in layoutTask()
115 ActivityRecord source, ActivityOptions options) { in layoutTask()
252 int onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, in onCalculate()
253 ActivityRecord source, ActivityOptions options, LaunchParams currentParams, in onCalculate()
DActivityStarter.java141 private ActivityRecord mStartActivity;
152 private ActivityRecord mNotTop;
155 private ActivityRecord mSourceRecord;
183 private final ActivityRecord[] mLastStartActivityRecord = new ActivityRecord[1];
308 ActivityRecord[] outActivity;
467 ActivityRecord getStartActivity() { in getStartActivity()
516 int startResolvedActivity(final ActivityRecord r, ActivityRecord sourceRecord, in startResolvedActivity()
519 ActivityRecord[] outActivity) { in startResolvedActivity()
534 ActivityRecord[] outActivity, TaskRecord inTask, String reason, in startActivity()
577 boolean ignoreTargetSecurity, boolean componentSpecified, ActivityRecord[] outActivity, in startActivity()
[all …]
DActivityResult.java26 final ActivityRecord mFrom;
28 public ActivityResult(ActivityRecord from, String resultWho, in ActivityResult()
DKeyguardController.java69 private ActivityRecord mDismissingKeyguardActivity;
180 final ActivityRecord activityRecord = ActivityRecord.forTokenLocked(token); in dismissKeyguard()
245 boolean canShowActivityWhileKeyguardShowing(ActivityRecord r, boolean dismissKeyguard) { in canShowActivityWhileKeyguardShowing()
263 final ActivityRecord lastDismissingKeyguardActivity = mDismissingKeyguardActivity; in visibilitiesUpdated()
279 final ActivityRecord topDismissing = stack.getTopDismissingKeyguardActivity(); in visibilitiesUpdated()
DActivityMetricsLogger.java116 checkVisibility((TaskRecord) args.arg1, (ActivityRecord) args.arg2); in handleMessage()
123 private ActivityRecord launchedActivity;
236 void notifyActivityLaunched(int resultCode, ActivityRecord launchedActivity) { in notifyActivityLaunched()
250 private boolean hasStartedActivity(ProcessRecord record, ActivityRecord launchedActivity) { in hasStartedActivity()
251 final ArrayList<ActivityRecord> activities = record.activities; in hasStartedActivity()
253 final ActivityRecord activity = activities.get(i); in hasStartedActivity()
275 private void notifyActivityLaunched(int resultCode, ActivityRecord launchedActivity, in notifyActivityLaunched()
393 void notifyVisibilityChanged(ActivityRecord activityRecord) { in notifyVisibilityChanged()
409 private void checkVisibility(TaskRecord t, ActivityRecord r) { in checkVisibility()
596 void logAppTransitionReportedDrawn(ActivityRecord r, boolean restoredFromBundle) { in logAppTransitionReportedDrawn()
[all …]
DActivityLaunchParamsModifier.java39 ActivityRecord activity, ActivityRecord source, ActivityOptions options, in onCalculate()
DActivityStartController.java72 private ActivityRecord mLastHomeActivityStartRecord;
75 private ActivityRecord[] tmpOutRecord = new ActivityRecord[1];
154 void postStartActivityProcessingForLastStarter(ActivityRecord r, int result, in postStartActivityProcessingForLastStarter()
324 ActivityRecord[] outActivity = new ActivityRecord[1]; in startActivities()
424 final ActivityRecord r = pal.r; in clearPendingActivityLaunches()
DActivityRecord.java211 final class ActivityRecord extends ConfigurationContainer implements AppWindowContainerListener { class
280 ActivityRecord resultTo; // who started this entry, so will get our reply
789 private final WeakReference<ActivityRecord> weakActivity;
792 Token(ActivityRecord activity, Intent intent) { in Token()
797 private static ActivityRecord tokenToActivityRecordLocked(Token token) { in tokenToActivityRecordLocked()
801 ActivityRecord r = token.weakActivity.get(); in tokenToActivityRecordLocked()
825 static ActivityRecord forTokenLocked(IBinder token) { in forTokenLocked()
850 ActivityRecord(ActivityManagerService _service, ProcessRecord _caller, int _launchedFromPid, in ActivityRecord() method in ActivityRecord
853 ActivityRecord _resultTo, String _resultWho, int _reqCode, in ActivityRecord()
856 ActivityRecord sourceRecord) { in ActivityRecord()
[all …]
DLaunchTimeTracker.java32 void setLaunchTime(ActivityRecord r) { in setLaunchTime()
58 void setLaunchTime(ActivityRecord r) { in setLaunchTime()
DLaunchWarningWindow.java30 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) { in LaunchWarningWindow()
DCompatModePackages.java223 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in getFrontActivityAskCompatModeLocked()
235 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in setFrontActivityAskCompatModeLocked()
259 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in getFrontActivityScreenCompatModeLocked()
267 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in setFrontActivityScreenCompatModeLocked()
353 ActivityRecord starting = stack.restartPackage(packageName); in setPackageScreenCompatModeLocked()
DConnectionRecord.java32 final ActivityRecord activity; // If non-null, the owning activity.
85 ConnectionRecord(AppBindRecord _binding, ActivityRecord _activity, in ConnectionRecord()
DRecentsAnimation.java104 ActivityRecord targetActivity = getTargetActivity(targetStack, intent.getComponent()); in startRecentsActivity()
246 final ActivityRecord targetActivity = targetStack != null in finishAnimation()
361 private ActivityRecord getTargetActivity(ActivityStack targetStack, ComponentName component) { in getTargetActivity()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityStackSupervisorTests.java104 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack()
108 final ActivityRecord secondActivity = new ActivityBuilder(mService).setCreateTask(true) in testReplacingTaskInPinnedStack()
158 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testStoppingActivityRemovedWhenResumed()
172 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testReportWaitingActivityLaunchedIfNeeded()
275 final ActivityRecord firstActivity = new ActivityBuilder(mService).setCreateTask(true) in testRemovingStackOnAppCrash()
292 final ActivityRecord activity = new ActivityBuilder(mService).setCreateTask(true) in testFocusability()
307 final ActivityRecord pinnedActivity = new ActivityBuilder(mService).setCreateTask(true) in testFocusability()
339 final ActivityRecord activity = new ActivityBuilder(mService).setCreateTask(true) in testTopRunningActivity()
368 final ActivityRecord showWhenLockedActivity = new ActivityBuilder(mService) in testTopRunningActivity()
399 final ActivityRecord r = new ActivityBuilder(mService).setTask(task).build(); in testSplitScreenPrimaryChosenWhenTopActivityLaunchedToSecondary()
DActivityStackTests.java92 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testOccupiedTaskCleanupOnRemove()
100 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivity()
110 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivityFromTaskReparenting()
128 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testResumedActivityFromActivityReparenting()
167 final ActivityRecord r = new ActivityBuilder(mService).setTask(mTask).build(); in testStopActivityWhenActivityDestroyed()
177 final ActivityRecord r = new ActivityBuilder(mService) in testFindTaskWithOverlay()
184 final ActivityRecord taskOverlay = new ActivityBuilder(mService).setTask(task) in testFindTaskWithOverlay()
300 final ActivityRecord topRunningHomeActivity = homeStack.topRunningActivityLocked(); in testShouldBeVisible_Finishing()
302 final ActivityRecord topRunningTranslucentActivity = in testShouldBeVisible_Finishing()
504 final ActivityRecord r = new ActivityBuilder(mService).setUid(0).setStack(stack) in createStackForShouldBeVisibleTest()
[all …]
DActivityTestsBase.java176 ActivityRecord build() { in build()
197 final ActivityRecord activity = new ActivityRecord(mService, null /* caller */, in build()
404 void updateUsageStats(ActivityRecord component, boolean resumed) { in updateUsageStats()
525 void onActivityRemovedFromStack(ActivityRecord r) {
557 boolean isStackTranslucent(ActivityRecord starting) {
588 void startActivityLocked(ActivityRecord r, ActivityRecord focusedTopActivity,
DLaunchParamsControllerTests.java80 final ActivityRecord record = new ActivityBuilder(mService).build(); in testArgumentPropagation()
81 final ActivityRecord source = new ActivityBuilder(mService).build(); in testArgumentPropagation()
244 public int onCalculate(TaskRecord task, WindowLayout layout, ActivityRecord activity, in onCalculate()
245 ActivityRecord source, ActivityOptions options, in onCalculate()
DActivityRecordTests.java79 private ActivityRecord mActivity;
157 final ActivityRecord topActivity = new ActivityBuilder(mService).setTask(mTask).build(); in testPausingWhenVisibleFromStopped()
219 ActivityRecord activity2 = new ActivityBuilder(mService).setTask(mTask).build(); in testsApplyOptionsLocked()
248 final ActivityRecord record = new ActivityBuilder(mService).setTask(task).build(); in testSupportsLaunchingResizeable()
DActivityStartControllerTests.java75 final ActivityRecord activity = new ActivityBuilder(mService).build(); in testPendingActivityLaunches()
76 final ActivityRecord source = new ActivityBuilder(mService).build(); in testPendingActivityLaunches()
DRecentsAnimationTest.java76 ActivityRecord recentsActivity = new ActivityBuilder(mService) in testCancelAnimationOnStackOrderChange()
83 ActivityRecord fsActivity = new ActivityBuilder(mService) in testCancelAnimationOnStackOrderChange()
DActivityStarterTests.java232 final ActivityRecord source = builder.build(); in verifyStartActivityPreconditions()
391 final ActivityRecord focusActivity = new ActivityBuilder(mService) in testSplitScreenDeliverToTop()
397 final ActivityRecord reusableActivity = new ActivityBuilder(mService) in testSplitScreenDeliverToTop()
428 final ActivityRecord reusableActivity = new ActivityBuilder(mService) in testSplitScreenTaskToFront()
434 final ActivityRecord focusActivity = new ActivityBuilder(mService) in testSplitScreenTaskToFront()

12