Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DActivityStartInterceptorTest.java133 private SparseArray<ActivityInterceptorCallback> mActivityInterceptorCallbacks = field in ActivityStartInterceptorTest
180 when(mService.getActivityInterceptorCallbacks()).thenReturn(mActivityInterceptorCallbacks); in setUp()
398 int size = mActivityInterceptorCallbacks.size(); in addMockInterceptorCallback()
399 mActivityInterceptorCallbacks.put(size, new ActivityInterceptorCallback() { in addMockInterceptorCallback()
469 assertEquals(1, mActivityInterceptorCallbacks.size()); in testActivityLaunchedCallback_singleCallback()
470 final ActivityInterceptorCallback callback = mActivityInterceptorCallbacks.valueAt(0); in testActivityLaunchedCallback_singleCallback()
/frameworks/base/services/core/java/com/android/server/wm/
DActivityTaskManagerService.java498 private SparseArray<ActivityInterceptorCallback> mActivityInterceptorCallbacks = field in ActivityTaskManagerService
1186 return mActivityInterceptorCallbacks; in getActivityInterceptorCallbacks()
7274 if (mActivityInterceptorCallbacks.contains(id)) { in registerActivityStartInterceptor()
7289 mActivityInterceptorCallbacks.put(id, callback); in registerActivityStartInterceptor()
7297 if (!mActivityInterceptorCallbacks.contains(id)) { in unregisterActivityStartInterceptor()
7301 mActivityInterceptorCallbacks.remove(id); in unregisterActivityStartInterceptor()