Home
last modified time | relevance | path

Searched refs:mLaunchObserver (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityMetricsLaunchObserverTests.java65 private ActivityMetricsLaunchObserver mLaunchObserver; field in ActivityMetricsLaunchObserverTests
74 mLaunchObserver = mock(ActivityMetricsLaunchObserver.class); in setUpAMLO()
80 mLaunchObserverRegistry.registerLaunchObserver(mLaunchObserver); in setUpAMLO()
97 mLaunchObserverRegistry.unregisterLaunchObserver(mLaunchObserver); in tearDownAMLO()
130 verifyAsync(mLaunchObserver).onActivityLaunchFinished(eqProto(activity), anyLong()); in verifyOnActivityLaunchFinished()
139 verifyAsync(mLaunchObserver).onIntentStarted(eq(intent), anyLong()); in onIntentStarted()
141 verifyNoMoreInteractions(mLaunchObserver); in onIntentStarted()
152 verifyAsync(mLaunchObserver).onIntentFailed(); in testOnIntentFailed()
153 verifyNoMoreInteractions(mLaunchObserver); in testOnIntentFailed()
160 verifyAsync(mLaunchObserver).onActivityLaunched(eqProto(activity), anyInt()); in onActivityLaunched()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java156 private final LaunchObserverRegistryImpl mLaunchObserver; field in ActivityMetricsLogger
384 mLaunchObserver = new LaunchObserverRegistryImpl(looper); in ActivityMetricsLogger()
1121 return mLaunchObserver; in getLaunchObserverRegistry()
1130 mLaunchObserver.onIntentStarted(intent, timestampNs); in launchObserverNotifyIntentStarted()
1144 mLaunchObserver.onIntentFailed(); in launchObserverNotifyIntentFailed()
1161 mLaunchObserver.onActivityLaunched(convertActivityRecordToProto(info.mLastLaunchedActivity), in launchObserverNotifyActivityLaunched()
1173 mLaunchObserver.onReportFullyDrawn(convertActivityRecordToProto(r), timestampNs); in launchObserverNotifyReportFullyDrawn()
1188 mLaunchObserver.onActivityLaunchCancelled(activityRecordProto); in launchObserverNotifyActivityLaunchCancelled()
1201 mLaunchObserver.onActivityLaunchFinished( in launchObserverNotifyActivityLaunchFinished()