Searched refs:mActivityMetricsLogger (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityMetricsLaunchObserverTests.java | 76 private ActivityMetricsLogger mActivityMetricsLogger; field in ActivityMetricsLaunchObserverTests 94 mActivityMetricsLogger = mSupervisor.getActivityMetricsLogger(); in setUpAMLO() 95 mActivityMetricsLogger.getLaunchObserverRegistry().registerLaunchObserver(mLaunchObserver); in setUpAMLO() 211 () -> mActivityMetricsLogger.notifyActivityRelaunched(mTopActivity))) in testLaunchState() 215 () -> mActivityMetricsLogger.notifyBindApplication( in testLaunchState() 272 mActivityMetricsLogger.notifyVisibilityChanged(noDrawnActivity); in testOnActivityLaunchCancelled_finishedBeforeDrawn() 337 mActivityMetricsLogger.notifyFullyDrawn(mTopActivity, false /* restoredFromBundle */); in testOnReportFullyDrawn() 349 final ActivityMetricsLogger.TransitionInfoSnapshot fullyDrawnInfo = mActivityMetricsLogger in testOnReportFullyDrawn() 369 mLaunchingState = mActivityMetricsLogger.notifyActivityLaunching(intent, in notifyActivityLaunching() 381 mActivityMetricsLogger.notifyActivityLaunched(mLaunchingState, resultCode, in notifyActivityLaunched() [all …]
|
D | ActivityStarterTests.java | 162 private ActivityMetricsLogger mActivityMetricsLogger; field in ActivityStarterTests 172 mActivityMetricsLogger = mock(ActivityMetricsLogger.class); in setUp() 173 clearInvocations(mActivityMetricsLogger); in setUp() 688 doReturn(mActivityMetricsLogger).when(mAtm.mTaskSupervisor).getActivityMetricsLogger(); in testActivityStartsLogging_noLoggingWhenDisabled() 694 verify(mActivityMetricsLogger, never()).logAbortedBgActivityStart(any(), any(), anyInt(), in testActivityStartsLogging_noLoggingWhenDisabled() 705 doReturn(mActivityMetricsLogger).when(mAtm.mTaskSupervisor).getActivityMetricsLogger(); in testActivityStartsLogging_logsWhenEnabled() 716 verify(mActivityMetricsLogger, times(1)).logAbortedBgActivityStart(any(), any(), in testActivityStartsLogging_logsWhenEnabled() 924 doReturn(mActivityMetricsLogger).when(mSupervisor).getActivityMetricsLogger(); in testBringTaskToFrontOnSecondaryDisplay() 939 verify(mActivityMetricsLogger).notifyActivityLaunched(any() /* launchingState */, in testBringTaskToFrontOnSecondaryDisplay()
|
D | BackgroundActivityStartControllerTests.java | 93 ActivityMetricsLogger mActivityMetricsLogger; field in BackgroundActivityStartControllerTests
|
D | BackgroundActivityStartControllerExemptionTests.java | 100 ActivityMetricsLogger mActivityMetricsLogger; field in BackgroundActivityStartControllerExemptionTests
|
D | SizeCompatTests.java | 164 private ActivityMetricsLogger mActivityMetricsLogger; field in SizeCompatTests 169 mActivityMetricsLogger = mock(ActivityMetricsLogger.class); in setUp() 170 clearInvocations(mActivityMetricsLogger); in setUp() 171 doReturn(mActivityMetricsLogger).when(mAtm.mTaskSupervisor).getActivityMetricsLogger(); in setUp() 4893 verify(mActivityMetricsLogger, atLeastOnce()).logAppCompatState(
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | ActivityTaskSupervisor.java | 388 private ActivityMetricsLogger mActivityMetricsLogger; field in ActivityTaskSupervisor 466 mActivityMetricsLogger = new ActivityMetricsLogger(this, mHandler.getLooper()); in initialize() 493 return mActivityMetricsLogger; in getActivityMetricsLogger() 2806 mActivityMetricsLogger.notifyActivityLaunching(task.intent, in startActivityFromRecents() 2825 mActivityMetricsLogger.notifyActivityLaunched(launchingState, in startActivityFromRecents()
|