/frameworks/base/services/core/java/com/android/server/location/injector/ |
D | SystemUserInfoHelper.java | 24 import android.app.ActivityManagerInternal; 48 @Nullable private ActivityManagerInternal mActivityManagerInternal; 59 protected final ActivityManagerInternal getActivityManagerInternal() { in getActivityManagerInternal() 62 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in getActivityManagerInternal() 110 ActivityManagerInternal activityManagerInternal = getActivityManagerInternal(); in isCurrentUserId() 125 ActivityManagerInternal activityManagerInternal = getActivityManagerInternal(); in getCurrentUserId() 163 ActivityManagerInternal activityManagerInternal = getActivityManagerInternal(); in dump()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/job/ |
D | GracePeriodObserverTest.java | 25 import android.app.ActivityManagerInternal; 59 ActivityManagerInternal activityManagerInternal = mock(ActivityManagerInternal.class); in setUpOnce() 60 LocalServices.addService(ActivityManagerInternal.class, activityManagerInternal); in setUpOnce() 66 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in tearDownOnce() 75 .when(LocalServices.getService(ActivityManagerInternal.class)).getCurrentUserId(); in setUp()
|
/frameworks/base/services/core/java/com/android/server/content/ |
D | SyncAdapterStateFetcher.java | 18 import android.app.ActivityManagerInternal; 60 final ActivityManagerInternal ami = LocalServices.getService(ActivityManagerInternal.class); in isAppActive()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobConcurrencyManagerTest.java | 26 import android.app.ActivityManagerInternal; 55 private ActivityManagerInternal mActivityManagerInternal; 65 ActivityManagerInternal.class, mock(ActivityManagerInternal.class)); in setUpOnce() 71 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in tearDownOnce() 86 mActivityManagerInternal = LocalServices.getService(ActivityManagerInternal.class); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/content/ |
D | ObserverNodeTest.java | 30 import android.app.ActivityManagerInternal; 133 final ActivityManagerInternal ami = mock(ActivityManagerInternal.class); in testCluster() 136 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in testCluster() 137 LocalServices.addService(ActivityManagerInternal.class, ami); in testCluster()
|
/frameworks/base/services/searchui/java/com/android/server/searchui/ |
D | SearchUiManagerService.java | 20 import static android.app.ActivityManagerInternal.ALLOW_NON_FULL; 26 import android.app.ActivityManagerInternal; 145 ActivityManagerInternal am = LocalServices.getService(ActivityManagerInternal.class); in runForUserLocked()
|
/frameworks/base/services/smartspace/java/com/android/server/smartspace/ |
D | SmartspaceManagerService.java | 20 import static android.app.ActivityManagerInternal.ALLOW_NON_FULL; 27 import android.app.ActivityManagerInternal; 157 ActivityManagerInternal am = LocalServices.getService(ActivityManagerInternal.class); in runForUserLocked()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | PinnerServiceTest.java | 27 import android.app.ActivityManagerInternal; 89 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in setUp() 99 ActivityManagerInternal mockActivityManagerInternal = mock(ActivityManagerInternal.class); in setUp() 101 LocalServices.addService(ActivityManagerInternal.class, mockActivityManagerInternal); in setUp()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | ActivityStartInterceptorTest.java | 31 import android.app.ActivityManagerInternal; 110 private ActivityManagerInternal mAmInternal; 127 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in setUp() 128 LocalServices.addService(ActivityManagerInternal.class, mAmInternal); in setUp() 167 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in tearDown()
|
D | SystemServicesTestRule.java | 39 import android.app.ActivityManagerInternal; 258 final ActivityManagerInternal amInternal = mAmService.mInternal; 278 LocalServices.addService(ActivityManagerInternal.class, amInternal); 377 LocalServices.removeServiceForTest(ActivityManagerInternal.class);
|
/frameworks/base/services/appprediction/java/com/android/server/appprediction/ |
D | AppPredictionManagerService.java | 21 import static android.app.ActivityManagerInternal.ALLOW_NON_FULL; 28 import android.app.ActivityManagerInternal; 176 ActivityManagerInternal am = LocalServices.getService(ActivityManagerInternal.class); in runForUserLocked()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | PendingIntentControllerTest.java | 30 import android.app.ActivityManagerInternal; 63 private ActivityManagerInternal mActivityManagerInternal; 81 () -> LocalServices.getService(ActivityManagerInternal.class)); in setUp()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/uri/ |
D | UriGrantsMockContext.java | 25 import android.app.ActivityManagerInternal; 102 final ActivityManagerInternal mAmInternal; 114 mAmInternal = mock(ActivityManagerInternal.class); in UriGrantsMockContext() 115 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in UriGrantsMockContext() 116 LocalServices.addService(ActivityManagerInternal.class, mAmInternal); in UriGrantsMockContext()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/power/hint/ |
D | HintManagerServiceTest.java | 40 import android.app.ActivityManagerInternal; 80 @Mock private ActivityManagerInternal mAmInternalMock; 94 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in setUp() 95 LocalServices.addService(ActivityManagerInternal.class, mAmInternalMock); in setUp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | PreBootBroadcaster.java | 23 import android.app.ActivityManagerInternal; 116 final ActivityManagerInternal amInternal = in sendNext() 117 LocalServices.getService(ActivityManagerInternal.class); in sendNext()
|
D | PendingIntentController.java | 28 import android.app.ActivityManagerInternal; 81 ActivityManagerInternal mAmInternal; 109 mAmInternal = LocalServices.getService(ActivityManagerInternal.class); in onActivityManagerInternalAdded()
|
/frameworks/base/services/core/java/com/android/server/audio/ |
D | SystemServerAdapter.java | 22 import android.app.ActivityManagerInternal; 101 ActivityManagerInternal.class).getCurrentProfileIds(); in broadcastStickyIntentToCurrentProfileGroup()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | SystemUserInfoHelperTest.java | 24 import android.app.ActivityManagerInternal; 71 LocalServices.removeServiceForTest(ActivityManagerInternal.class); in tearDown()
|
/frameworks/base/services/core/java/com/android/server/vr/ |
D | Vr2dDisplay.java | 5 import android.app.ActivityManagerInternal; 73 private final ActivityManagerInternal mActivityManagerInternal; 104 ActivityManagerInternal activityManagerInternal, in Vr2dDisplay()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | DeviceProvisionedCoordinatorTest.java | 27 import android.app.ActivityManagerInternal; 65 @Mock private ActivityManagerInternal mActivityMangerInternal;
|
/frameworks/base/services/core/java/com/android/server/servicewatcher/ |
D | CurrentUserServiceSupplier.java | 30 import android.app.ActivityManagerInternal; 159 private final ActivityManagerInternal mActivityManager; 192 LocalServices.getService(ActivityManagerInternal.class)); in CurrentUserServiceSupplier()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/am/ |
D | ActivityManagerInternalTest.java | 24 import android.app.ActivityManagerInternal; 55 private ActivityManagerInternal mAmi;
|
/frameworks/base/core/java/android/webkit/ |
D | WebViewLibraryLoader.java | 20 import android.app.ActivityManagerInternal; 125 boolean success = LocalServices.getService(ActivityManagerInternal.class) in createRelroFile()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | EnvironmentImpl.java | 24 import android.app.ActivityManagerInternal; 144 return LocalServices.getService(ActivityManagerInternal.class).getCurrentUserId(); in getCurrentUserId()
|
/frameworks/base/services/core/java/com/android/server/power/hint/ |
D | HintManagerService.java | 20 import android.app.ActivityManagerInternal; 64 private final ActivityManagerInternal mAmInternal; 81 LocalServices.getService(ActivityManagerInternal.class)); in HintManagerService()
|