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.java61 private ActivityMetricsLaunchObserver mLaunchObserver; field in ActivityMetricsLaunchObserverTests
71 mLaunchObserver = mock(ActivityMetricsLaunchObserver.class); in setUpAMLO()
77 mLaunchObserverRegistry.registerLaunchObserver(mLaunchObserver); in setUpAMLO()
91 mLaunchObserverRegistry.unregisterLaunchObserver(mLaunchObserver); in tearDownAMLO()
126 verifyAsync(mLaunchObserver).onIntentStarted(eq(intent)); in testOnIntentStarted()
127 verifyNoMoreInteractions(mLaunchObserver); in testOnIntentStarted()
141 verifyAsync(mLaunchObserver).onIntentFailed(); in testOnIntentFailed()
142 verifyNoMoreInteractions(mLaunchObserver); in testOnIntentFailed()
152 verifyAsync(mLaunchObserver).onActivityLaunched(eqProto(mActivityRecord), anyInt()); in testOnActivityLaunched()
153 verifyNoMoreInteractions(mLaunchObserver); in testOnActivityLaunched()
[all …]
/frameworks/base/services/core/java/com/android/server/wm/
DActivityMetricsLogger.java159 private final LaunchObserverRegistryImpl mLaunchObserver; field in ActivityMetricsLogger
268 mLaunchObserver = new LaunchObserverRegistryImpl(looper); in ActivityMetricsLogger()
1005 return mLaunchObserver; in getLaunchObserverRegistry()
1014 mLaunchObserver.onIntentStarted(intent); in launchObserverNotifyIntentStarted()
1028 mLaunchObserver.onIntentFailed(); in launchObserverNotifyIntentFailed()
1045 mLaunchObserver.onActivityLaunched(convertActivityRecordToProto(info.launchedActivity), in launchObserverNotifyActivityLaunched()
1062 mLaunchObserver.onActivityLaunchCancelled(activityRecordProto); in launchObserverNotifyActivityLaunchCancelled()
1075 mLaunchObserver.onActivityLaunchFinished( in launchObserverNotifyActivityLaunchFinished()