Home
last modified time | relevance | path

Searched refs:mActivityRecord (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityMetricsLaunchObserverTests.java66 private ActivityRecord mActivityRecord; field in ActivityMetricsLaunchObserverTests
84 mActivityRecord = new ActivityBuilder(mService).setTask(mTask).build(); in setUpAMLO()
150 mActivityRecord); in testOnActivityLaunched()
152 verifyAsync(mLaunchObserver).onActivityLaunched(eqProto(mActivityRecord), anyInt()); in testOnActivityLaunched()
163 mActivityMetricsLogger.notifyWindowsDrawn(mActivityRecord.getWindowingMode(), in testOnActivityLaunchFinished()
166 verifyAsync(mLaunchObserver).onActivityLaunchFinished(eqProto(mActivityRecord)); in testOnActivityLaunchFinished()
174 mActivityRecord.mDrawn = true; in testOnActivityLaunchCancelled()
177 mActivityMetricsLogger.notifyActivityLaunched(START_TASK_TO_FRONT, mActivityRecord); in testOnActivityLaunchCancelled()
179 verifyAsync(mLaunchObserver).onActivityLaunchCancelled(eqProto(mActivityRecord)); in testOnActivityLaunchCancelled()
188 mActivityRecord); in testOnActivityLaunchedTrampoline()
[all …]
DWindowTestUtils.java75 mActivityRecord = mock(ActivityRecord.class); in TestAppWindowToken()
76 mActivityRecord.app = mock(WindowProcessController.class); in TestAppWindowToken()
DAppWindowTokenTests.java349 doReturn(Configuration.ORIENTATION_LANDSCAPE).when(mToken.mActivityRecord) in testReportOrientationChangeOnVisibilityChange()
371 doReturn(Configuration.ORIENTATION_LANDSCAPE).when(mToken.mActivityRecord) in testReportOrientationChangeOnOpeningClosingAppChange()
/frameworks/base/services/core/java/com/android/server/wm/
DAppWindowToken.java260 ActivityRecord mActivityRecord; field in AppWindowToken
347 mActivityRecord = activityRecord; in AppWindowToken()
348 mActivityRecord.registerConfigurationChangeListener(this); in AppWindowToken()
431 if (mActivityRecord != null) { in updateReportedVisibilityLocked()
432 mActivityRecord.onWindowsDrawn(nowDrawn, SystemClock.uptimeMillis()); in updateReportedVisibilityLocked()
440 if (mActivityRecord != null) { in updateReportedVisibilityLocked()
451 if (mActivityRecord == null) { in onWindowsGone()
455 Slog.v(TAG_WM, "Reporting gone in " + mActivityRecord.appToken); in onWindowsGone()
457 mActivityRecord.onWindowsGone(); in onWindowsGone()
461 if (mActivityRecord == null) { in onWindowsVisible()
[all …]
DDisplayContent.java2820 mOpeningApps.valueAt(i).mActivityRecord.writeIdentifierToProto(proto, OPENING_APPS); in writeToProto()
2823 mClosingApps.valueAt(i).mActivityRecord.writeIdentifierToProto(proto, CLOSING_APPS); in writeToProto()
2826 mChangingApps.valueAt(i).mActivityRecord.writeIdentifierToProto(proto, CHANGING_APPS); in writeToProto()
DWindowState.java2610 mAppToken != null && mAppToken.mActivityRecord.canShowWhenLocked(); in canShowWhenLocked()