Home
last modified time | relevance | path

Searched refs:mActivityMetricsLogger (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityMetricsLaunchObserverTests.java60 private ActivityMetricsLogger mActivityMetricsLogger; field in ActivityMetricsLaunchObserverTests
74 mActivityMetricsLogger = mSupervisor.getActivityMetricsLogger(); in setUpAMLO()
76 mLaunchObserverRegistry = mActivityMetricsLogger.getLaunchObserverRegistry(); in setUpAMLO()
124 mActivityMetricsLogger.notifyActivityLaunching(intent); in testOnIntentStarted()
138 mActivityMetricsLogger.notifyActivityLaunched(START_TASK_TO_FRONT, in testOnIntentFailed()
149 mActivityMetricsLogger.notifyActivityLaunched(START_SUCCESS, in testOnActivityLaunched()
160 mActivityMetricsLogger.notifyTransitionStarting(new SparseIntArray(), in testOnActivityLaunchFinished()
163 mActivityMetricsLogger.notifyWindowsDrawn(mActivityRecord.getWindowingMode(), in testOnActivityLaunchFinished()
177 mActivityMetricsLogger.notifyActivityLaunched(START_TASK_TO_FRONT, mActivityRecord); in testOnActivityLaunchCancelled()
187 mActivityMetricsLogger.notifyActivityLaunched(START_SUCCESS, in testOnActivityLaunchedTrampoline()
[all …]
DActivityStarterTests.java97 private ActivityMetricsLogger mActivityMetricsLogger; field in ActivityStarterTests
120 mActivityMetricsLogger = mock(ActivityMetricsLogger.class); in setUp()
121 clearInvocations(mActivityMetricsLogger); in setUp()
512 doReturn(mActivityMetricsLogger).when(mService.mStackSupervisor).getActivityMetricsLogger(); in testActivityStartsLogging_noLoggingWhenDisabled()
518 verify(mActivityMetricsLogger, never()).logAbortedBgActivityStart(any(), any(), anyInt(), in testActivityStartsLogging_noLoggingWhenDisabled()
529 doReturn(mActivityMetricsLogger).when(mService.mStackSupervisor).getActivityMetricsLogger(); in testActivityStartsLogging_logsWhenEnabled()
540 verify(mActivityMetricsLogger, times(1)).logAbortedBgActivityStart(any(), any(), in testActivityStartsLogging_logsWhenEnabled()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityStackSupervisor.java347 private ActivityMetricsLogger mActivityMetricsLogger; field in ActivityStackSupervisor
442 mActivityMetricsLogger = new ActivityMetricsLogger(this, mService.mContext, in initialize()
465 return mActivityMetricsLogger; in getActivityMetricsLogger()
2495 mActivityMetricsLogger.logWindowState(); in logStackState()
2771 mActivityMetricsLogger.notifyActivityLaunching(task.intent); in startActivityFromRecents()
2779 mActivityMetricsLogger.notifyActivityLaunched(START_TASK_TO_FRONT, in startActivityFromRecents()