Home
last modified time | relevance | path

Searched refs:activityRecord (Results 1 – 13 of 13) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DActivityAssistInfo.java32 public ActivityAssistInfo(ActivityRecord activityRecord) { in ActivityAssistInfo() argument
33 this.mActivityToken = activityRecord.appToken; in ActivityAssistInfo()
34 this.mAssistToken = activityRecord.assistToken; in ActivityAssistInfo()
35 this.mTaskId = activityRecord.getTask().mTaskId; in ActivityAssistInfo()
DEmbeddedWindowController.java117 void onActivityRemoved(ActivityRecord activityRecord) { in onActivityRemoved() argument
120 if (window.mHostActivityRecord == activityRecord) { in onActivityRemoved()
124 processController.removeHostActivity(activityRecord); in onActivityRemoved()
DKeyguardController.java243 final ActivityRecord activityRecord = ActivityRecord.forTokenLocked(token); in dismissKeyguard() local
244 if (activityRecord == null || !activityRecord.visibleIgnoringKeyguard) { in dismissKeyguard()
248 Slog.i(TAG, "Activity requesting to dismiss Keyguard: " + activityRecord); in dismissKeyguard()
252 if (activityRecord.getTurnScreenOnFlag() && activityRecord.isTopRunningActivity()) { in dismissKeyguard()
DTaskLaunchParamsModifier.java372 @NonNull ActivityRecord activityRecord, @Nullable Request request) { in getPreferredLaunchTaskDisplayArea() argument
450 if (taskDisplayArea != null && activityRecord.isActivityTypeHome() in getPreferredLaunchTaskDisplayArea()
451 && !mSupervisor.mRootWindowContainer.canStartHomeOnDisplayArea(activityRecord.info, in getPreferredLaunchTaskDisplayArea()
458 : getFallbackDisplayAreaForActivity(activityRecord, request); in getPreferredLaunchTaskDisplayArea()
477 @NonNull ActivityRecord activityRecord, @Nullable Request request) { in getFallbackDisplayAreaForActivity()
480 .getProcessController(activityRecord.launchedFromPid, in getFallbackDisplayAreaForActivity()
481 activityRecord.launchedFromUid); in getFallbackDisplayAreaForActivity()
489 activityRecord.getProcessName(), activityRecord.getUid()); in getFallbackDisplayAreaForActivity()
DWindowProcessController.java1252 void registerActivityConfigurationListener(ActivityRecord activityRecord) { in registerActivityConfigurationListener() argument
1253 if (activityRecord == null || activityRecord.containsListener(this) in registerActivityConfigurationListener()
1259 mConfigActivityRecord = activityRecord; in registerActivityConfigurationListener()
1260 activityRecord.registerConfigurationChangeListener(this); in registerActivityConfigurationListener()
1294 final ActivityRecord activityRecord = mActivities.get(i); in updateActivityConfigurationListener() local
1295 if (!activityRecord.finishing) { in updateActivityConfigurationListener()
1297 registerActivityConfigurationListener(activityRecord); in updateActivityConfigurationListener()
DLetterboxUiController.java63 LetterboxUiController(WindowManagerService wmService, ActivityRecord activityRecord) { in LetterboxUiController() argument
68 mActivityRecord = activityRecord; in LetterboxUiController()
DDisplayContent.java1407 final ActivityRecord activityRecord = (ActivityRecord) requestingContainer; in onDescendantOrientationChanged() local
1408 final boolean kept = updateDisplayOverrideConfigurationLocked(config, activityRecord, in onDescendantOrientationChanged()
1410 activityRecord.frozenBeforeDestroy = true; in onDescendantOrientationChanged()
1771 void rotateInDifferentOrientationIfNeeded(ActivityRecord activityRecord) { in rotateInDifferentOrientationIfNeeded() argument
1772 int rotation = rotationForActivityInDifferentOrientation(activityRecord); in rotateInDifferentOrientationIfNeeded()
1774 startFixedRotationTransform(activityRecord, rotation); in rotateInDifferentOrientationIfNeeded()
/frameworks/opt/car/services/src/com/android/server/wm/
DCarLaunchParamsModifier.java380 @NonNull ActivityRecord activityRecord, @Nullable Request request) { in getAlternativeDisplayAreaForPassengerLocked() argument
381 TaskDisplayArea sourceDisplayArea = sourceDisplayArea(userId, activityRecord, request); in getAlternativeDisplayAreaForPassengerLocked()
407 private TaskDisplayArea sourceDisplayArea(int userId, @NonNull ActivityRecord activityRecord, in sourceDisplayArea() argument
409 List<WindowProcessController> candidateControllers = candidateControllers(activityRecord, in sourceDisplayArea()
440 @NonNull ActivityRecord activityRecord, @Nullable Request request) { in candidateControllers()
442 activityRecord.getProcessName(), activityRecord.getUid()); in candidateControllers()
445 activityRecord.getLaunchedFromPid(), activityRecord.getLaunchedFromUid()); in candidateControllers()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskSnapshotSurfaceTest.java138 ActivityRecord activityRecord = createActivityRecord(mDisplayContent); in createSurface_asTrustedOverlay() local
139 createWindow(null, TYPE_BASE_APPLICATION, activityRecord, "window"); in createSurface_asTrustedOverlay()
143 TaskSnapshotSurface surface = TaskSnapshotSurface.create(mWm, activityRecord, taskSnapshot, in createSurface_asTrustedOverlay()
DWindowProcessControllerTests.java380 final ActivityRecord activityRecord = new ActivityBuilder(mSupervisor.mService).build(); in testTopActivityDisplayAreaMatchesTopMostActivity_singleActivity() local
383 when(activityRecord.getDisplayArea()) in testTopActivityDisplayAreaMatchesTopMostActivity_singleActivity()
386 mWpc.addActivityIfNeeded(activityRecord); in testTopActivityDisplayAreaMatchesTopMostActivity_singleActivity()
DActivityMetricsLaunchObserverTests.java117 public ActivityRecordMatcher(ActivityRecord activityRecord) { in ActivityRecordMatcher() argument
118 mExpected = activityRecordToProto(activityRecord); in ActivityRecordMatcher()
DWindowContainerTests.java810 final ActivityRecord activityRecord = mock(ActivityRecord.class); in testOnDescendantOrientationRequestChangedPropagation() local
813 child.setOrientation(ActivityInfo.SCREEN_ORIENTATION_LOCKED, activityRecord); in testOnDescendantOrientationRequestChangedPropagation()
814 verify(root).onDescendantOrientationChanged(activityRecord); in testOnDescendantOrientationRequestChangedPropagation()
/frameworks/base/core/java/android/app/
DActivityThread.java3263 final ActivityClientRecord activityRecord = mActivities.get(token); in getActivity() local
3264 return activityRecord != null ? activityRecord.activity : null; in getActivity()