Searched refs:mActivityRecord (Results 1 – 6 of 6) sorted by relevance
66 private ActivityRecord mActivityRecord; field in ActivityMetricsLaunchObserverTests84 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 …]
75 mActivityRecord = mock(ActivityRecord.class); in TestAppWindowToken()76 mActivityRecord.app = mock(WindowProcessController.class); in TestAppWindowToken()
349 doReturn(Configuration.ORIENTATION_LANDSCAPE).when(mToken.mActivityRecord) in testReportOrientationChangeOnVisibilityChange()371 doReturn(Configuration.ORIENTATION_LANDSCAPE).when(mToken.mActivityRecord) in testReportOrientationChangeOnOpeningClosingAppChange()
260 ActivityRecord mActivityRecord; field in AppWindowToken347 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 …]
2820 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()
2610 mAppToken != null && mAppToken.mActivityRecord.canShowWhenLocked(); in canShowWhenLocked()