Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityMetricsLaunchObserverTests.java98 public ActivityRecordMatcher(ActivityRecord activityRecord) { in ActivityRecordMatcher() argument
99 mExpected = activityRecordToProto(activityRecord); in ActivityRecordMatcher()
134 ActivityRecord activityRecord = null; in testOnIntentFailed() local
139 activityRecord); in testOnIntentFailed()
DDisplayContentTests.java665 ActivityRecord activityRecord = mock(ActivityRecord.class); in testOnDescendantOrientationRequestChanged() local
668 dc.onDescendantOrientationChanged(window.mToken.token, activityRecord)); in testOnDescendantOrientationRequestChanged()
672 same(activityRecord), anyBoolean(), eq(dc.getDisplayId())); in testOnDescendantOrientationRequestChanged()
691 ActivityRecord activityRecord = mock(ActivityRecord.class); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation() local
695 dc.onDescendantOrientationChanged(window.mToken.token, activityRecord)); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()
697 eq(activityRecord), anyBoolean(), eq(dc.getDisplayId())); in testOnDescendantOrientationRequestChanged_FrozenToUserRotation()
DWindowContainerTests.java730 final ActivityRecord activityRecord = mock(ActivityRecord.class); in testOnDescendantOrientationRequestChangedPropagation() local
733 child.setOrientation(ActivityInfo.SCREEN_ORIENTATION_LOCKED, binder, activityRecord); in testOnDescendantOrientationRequestChangedPropagation()
734 verify(root).onDescendantOrientationChanged(binder, activityRecord); in testOnDescendantOrientationRequestChangedPropagation()
/frameworks/base/services/core/java/com/android/server/wm/
DKeyguardController.java203 final ActivityRecord activityRecord = ActivityRecord.forTokenLocked(token); in dismissKeyguard() local
204 if (activityRecord == null || !activityRecord.visibleIgnoringKeyguard) { in dismissKeyguard()
208 Slog.i(TAG, "Activity requesting to dismiss Keyguard: " + activityRecord); in dismissKeyguard()
212 if (activityRecord.getTurnScreenOnFlag() && activityRecord.isTopRunningActivity()) { in dismissKeyguard()
DActivityMetricsLogger.java513 void notifyVisibilityChanged(ActivityRecord activityRecord) { in notifyVisibilityChanged() argument
515 activityRecord.getWindowingMode()); in notifyVisibilityChanged()
519 if (info.launchedActivity != activityRecord) { in notifyVisibilityChanged()
522 final TaskRecord t = activityRecord.getTaskRecord(); in notifyVisibilityChanged()
525 args.arg2 = activityRecord; in notifyVisibilityChanged()
DRootActivityContainer.java2164 final ActivityRecord activityRecord = task.getTopActivity(); in taskTopActivityIsUser() local
2165 final ActivityRecord resultTo = (activityRecord != null ? activityRecord.resultTo : null); in taskTopActivityIsUser()
2167 return (activityRecord != null && activityRecord.mUserId == userId) in taskTopActivityIsUser()
DAppWindowToken.java344 ActivityRecord activityRecord) { in AppWindowToken() argument
347 mActivityRecord = activityRecord; in AppWindowToken()
363 cds.attachColorTransformController(activityRecord.packageName, activityRecord.mUserId, in AppWindowToken()
DDisplayContent.java1241 final ActivityRecord activityRecord = (ActivityRecord) requestingContainer; in onDescendantOrientationChanged() local
1243 config, activityRecord, false /* deferResume */, getDisplayId()); in onDescendantOrientationChanged()
1244 activityRecord.frozenBeforeDestroy = true; in onDescendantOrientationChanged()
/frameworks/base/core/java/android/app/
DActivityThread.java3032 final ActivityClientRecord activityRecord = mActivities.get(token); in getActivity() local
3033 return activityRecord != null ? activityRecord.activity : null; in getActivity()