Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/am/
DActivityStack.java66 import static com.android.server.am.ActivityRecord.APPLICATION_ACTIVITY_TYPE;
67 import static com.android.server.am.ActivityRecord.ASSISTANT_ACTIVITY_TYPE;
68 import static com.android.server.am.ActivityRecord.HOME_ACTIVITY_TYPE;
272 final ArrayList<ActivityRecord> mLRUActivities = new ArrayList<>();
278 final ArrayList<ActivityRecord> mNoAnimActivities = new ArrayList<>();
284 ActivityRecord mPausingActivity = null;
291 ActivityRecord mLastPausedActivity = null;
298 ActivityRecord mLastNoHistoryActivity = null;
303 ActivityRecord mResumedActivity = null;
311 ActivityRecord mTranslucentActivityWaiting = null;
[all …]
DActivityStarter.java74 import static com.android.server.am.ActivityRecord.APPLICATION_ACTIVITY_TYPE;
75 import static com.android.server.am.ActivityRecord.ASSISTANT_ACTIVITY_TYPE;
76 import static com.android.server.am.ActivityRecord.HOME_ACTIVITY_TYPE;
154 private ActivityRecord mStartActivity;
167 private ActivityRecord mNotTop;
170 private ActivityRecord mSourceRecord;
196 private final ActivityRecord[] mLastHomeActivityStartRecord = new ActivityRecord[1];
200 private final ActivityRecord[] mLastStartActivityRecord = new ActivityRecord[1];
262 ActivityRecord[] outActivity, ActivityStackSupervisor.ActivityContainer container, in startActivityLocked()
292 ActivityRecord[] outActivity, ActivityStackSupervisor.ActivityContainer container, in startActivity()
[all …]
DActivityStackSupervisor.java80 import static com.android.server.am.ActivityRecord.APPLICATION_ACTIVITY_TYPE;
81 import static com.android.server.am.ActivityRecord.HOME_ACTIVITY_TYPE;
356 final ArrayList<ActivityRecord> mActivitiesWaitingForVisibleActivity = new ArrayList<>();
366 final ArrayList<ActivityRecord> mStoppingActivities = new ArrayList<>();
370 final ArrayList<ActivityRecord> mFinishingActivities = new ArrayList<>();
373 final ArrayList<ActivityRecord> mGoingToSleepActivities = new ArrayList<>();
377 final ArrayList<ActivityRecord> mMultiWindowModeChangedActivities = new ArrayList<>();
381 final ArrayList<ActivityRecord> mPipModeChangedActivities = new ArrayList<>();
521 ActivityRecord r;
565 final ActivityRecord r;
[all …]
DTaskRecord.java112 import static com.android.server.am.ActivityRecord.APPLICATION_ACTIVITY_TYPE;
113 import static com.android.server.am.ActivityRecord.ASSISTANT_ACTIVITY_TYPE;
114 import static com.android.server.am.ActivityRecord.HOME_ACTIVITY_TYPE;
115 import static com.android.server.am.ActivityRecord.RECENTS_ACTIVITY_TYPE;
116 import static com.android.server.am.ActivityRecord.STARTING_WINDOW_SHOWN;
254 final ArrayList<ActivityRecord> mActivities;
387 int _effectiveUid, String _lastDescription, ArrayList<ActivityRecord> activities, in TaskRecord()
553 final ActivityRecord r = topRunningActivityLocked(); in resize()
638 final ActivityRecord topActivity = getTopActivity(); in reparent()
657 final ActivityRecord r = topRunningActivityLocked(); in reparent()
[all …]
DKeyguardController.java64 private ActivityRecord mDismissingKeyguardActivity;
142 final ActivityRecord activityRecord = ActivityRecord.forTokenLocked(token); in dismissKeyguard()
199 boolean canShowActivityWhileKeyguardShowing(ActivityRecord r, boolean dismissKeyguard) { in canShowActivityWhileKeyguardShowing()
217 final ActivityRecord lastDismissingKeyguardActivity = mDismissingKeyguardActivity; in visibilitiesUpdated()
228 final ActivityRecord topDismissing = stack.getTopDismissingKeyguardActivity(); in visibilitiesUpdated()
DActivityResult.java26 final ActivityRecord mFrom;
28 public ActivityResult(ActivityRecord from, String resultWho, in ActivityResult()
DActivityMetricsLogger.java78 private ActivityRecord launchedActivity;
149 void notifyActivityLaunched(int resultCode, ActivityRecord launchedActivity) { in notifyActivityLaunched()
166 private boolean hasStartedActivity(ProcessRecord record, ActivityRecord launchedActivity) { in hasStartedActivity()
167 final ArrayList<ActivityRecord> activities = record.activities; in hasStartedActivity()
169 final ActivityRecord activity = activities.get(i); in hasStartedActivity()
191 private void notifyActivityLaunched(int resultCode, ActivityRecord launchedActivity, in notifyActivityLaunched()
288 void notifyVisibilityChanged(ActivityRecord activityRecord, boolean visible) { in notifyVisibilityChanged()
DActivityRecord.java185 final class ActivityRecord extends ConfigurationContainer implements AppWindowContainerListener { class
258 ActivityRecord resultTo; // who started this entry, so will get our reply
747 private final WeakReference<ActivityRecord> weakActivity;
749 Token(ActivityRecord activity) { in Token()
753 private static ActivityRecord tokenToActivityRecordLocked(Token token) { in tokenToActivityRecordLocked()
757 ActivityRecord r = token.weakActivity.get(); in tokenToActivityRecordLocked()
776 static ActivityRecord forTokenLocked(IBinder token) { in forTokenLocked()
789 ActivityRecord(ActivityManagerService _service, ProcessRecord _caller, int _launchedFromPid, in ActivityRecord() method in ActivityRecord
792 ActivityRecord _resultTo, String _resultWho, int _reqCode, in ActivityRecord()
795 ActivityContainer container, ActivityOptions options, ActivityRecord sourceRecord) { in ActivityRecord()
[all …]
DLaunchWarningWindow.java30 public LaunchWarningWindow(Context context, ActivityRecord cur, ActivityRecord next) { in LaunchWarningWindow()
DConnectionRecord.java30 final ActivityRecord activity; // If non-null, the owning activity.
47 ConnectionRecord(AppBindRecord _binding, ActivityRecord _activity, in ConnectionRecord()
DCompatModePackages.java225 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in getFrontActivityAskCompatModeLocked()
241 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in setFrontActivityAskCompatModeLocked()
275 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in getFrontActivityScreenCompatModeLocked()
283 ActivityRecord r = mService.getFocusedStack().topRunningActivityLocked(); in setFrontActivityScreenCompatModeLocked()
369 ActivityRecord starting = stack.restartPackage(packageName); in setPackageScreenCompatModeLocked()
DActivityManagerService.java665 private ActivityRecord mLastResumedActivity;
735 public final ActivityRecord activity;
748 public PendingAssistExtras(ActivityRecord _activity, Bundle _extras, Intent _intent, in PendingAssistExtras()
1876 ActivityRecord ar = (ActivityRecord) msg.obj; in handleMessage()
1904 final ActivityRecord ar = (ActivityRecord) msg.obj; in handleMessage()
2092 ActivityRecord root = (ActivityRecord)msg.obj; in handleMessage()
2183 + "' for " + (ActivityRecord)msg.obj); in handleMessage()
2257 ActivityRecord r = ActivityRecord.forTokenLocked((IBinder) msg.obj); in handleMessage()
2422 if (!mVrController.onVrModeChanged((ActivityRecord) msg.obj)) { in handleMessage()
3111 void setResumedActivityUncheckLocked(ActivityRecord r, String reason) { in setResumedActivityUncheckLocked()
[all …]
DPinnedActivityStack.java67 final ActivityRecord top = topRunningNonOverlayTaskActivity(); in skipResizeAnimation()
DAppErrors.java674 final ArrayList<ActivityRecord> activities = app.activities; in handleAppCrashLocked()
678 final ActivityRecord r = activities.get(activityNdx); in handleAppCrashLocked()
776 final void appNotResponding(ProcessRecord app, ActivityRecord activity, in appNotResponding()
777 ActivityRecord parent, boolean aboveSystem, final String annotation) { in appNotResponding()
1022 mContext, proc, (ActivityRecord)data.get("activity"), in handleShowAnrUi()
DVrController.java154 public boolean onVrModeChanged(ActivityRecord record) { in onVrModeChanged()
DAppNotRespondingDialog.java55 ProcessRecord app, ActivityRecord activity, boolean aboveSystem) { in AppNotRespondingDialog()
DActivityStartInterceptor.java190 ActivityRecord homeActivityRecord = mSupervisor.getHomeActivity(); in interceptWorkProfileChallengeIfNeeded()
DPendingIntentRecord.java65 final ActivityRecord activity;
79 Key(int _t, String _p, ActivityRecord _a, String _w, in Key()
DProcessRecord.java163 final ArrayList<ActivityRecord> activities = new ArrayList<>();
514 ActivityRecord r = activities.get(i); in isInterestingToUserLocked()
DActiveServices.java1242 ActivityRecord activity = null; in bindServiceLocked()
1244 activity = ActivityRecord.isInStackLocked(token); in bindServiceLocked()
2573 ConnectionRecord c, ProcessRecord skipApp, ActivityRecord skipAct) { in removeConnectionLocked()
/frameworks/base/services/tests/servicestests/src/com/android/server/am/
DActivityRecordTests.java48 final ActivityRecord record = createActivity(service, testActivityComponent, task); in testStackCleanupOnClearingTask()
58 final ActivityRecord record = createActivity(service, testActivityComponent, task); in testStackCleanupOnActivityRemoval()
68 final ActivityRecord record = createActivity(service, testActivityComponent, task); in testStackCleanupOnTaskRemoval()
81 final ActivityRecord record = createActivity(service, testActivityComponent, oldTask); in testNoCleanupMovingActivityInSameStack()
DActivityStackTests.java62 final ActivityRecord activityRecord = createActivity(service, testActivityComponent, task); in testOccupiedTaskCleanupOnRemove()
73 final ActivityRecord activityRecord = createActivity(service, testActivityComponent, task); in testNoPauseDuringResumeTopActivity()
94 final ActivityRecord activityRecord = createActivity(service, testActivityComponent, task); in testStopActivityWhenActivityDestroyed()
116 final ActivityRecord activityRecord = createActivity(service, testActivityComponent, task); in testShouldBeVisibleWithVisibleBehindActivity()
DActivityTestsBase.java87 protected static ActivityRecord createActivity(ActivityManagerService service, in createActivity()
95 final ActivityRecord activity = new ActivityRecord(service, null /* caller */, in createActivity()
185 void ensureActivitiesVisibleLocked(ActivityRecord starting, int configChanges, in ensureActivitiesVisibleLocked()
285 void onActivityRemovedFromStack(ActivityRecord r) { in onActivityRemovedFromStack()
DActivityStackSupervisorTests.java75 final ActivityRecord firstActivity = createActivity(service, testActivityComponent, in testReplacingTaskInPinnedStack()
80 final ActivityRecord secondActivity = createActivity(service, testActivityComponent, in testReplacingTaskInPinnedStack()
/frameworks/base/services/
Dprofile-classes3859 Lcom/android/server/am/ActivityRecord;
3860 Lcom/android/server/am/ActivityRecord$Token;